]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* calendar/todos.el (todos-edit-multiline, todos-edit-quit):
[gnu-emacs] / lisp / ChangeLog
1 2013-02-14 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el (todos-edit-multiline, todos-edit-quit):
4 Revert buffer renaming.
5
6 2013-02-11 Stephen Berman <stephen.berman@gmx.net>
7
8 * calendar/todos.el (todos-edit-quit): On quitting file editing,
9 rename buffer back to current Todos file. After selecting
10 category, put point at top instead of recentering.
11
12 2013-02-08 Stephen Berman <stephen.berman@gmx.net>
13
14 * calendar/todos.el (todos-edit-multiline-item): Revert to using
15 indirect buffer, which makes it easier to return to Todos mode.
16 (todos-edit-quit): Don't delete and reinsert items that don't need
17 indenting. Revert to just killing buffer on quitting single item
18 editing. On quitting file editing, select nearest category.
19
20 2013-02-07 Stephen Berman <stephen.berman@gmx.net>
21
22 * calendar/todos.el: Bug fixes and improvements to item editing
23 and insertion.
24 (todos-check-format): Compare current value of todos-categories
25 with actual categories sexp.
26 (todos-repair-categories-sexp): Add warning to doc string about
27 category order getting restored to list element order.
28 (todos-mode-external-set): When todos-categories is nil, as in
29 Todos Edit mode, set it by reading actual categories sexp.
30 (todos-edit-mode): Make buffer writeable.
31 (todos-done-item-section-p): New function.
32 (todos-insert-item): Use it as part of preventing insertion here
33 in done items section. Move check for display of done items only
34 to just before setting new item's priority, and if cancelled after
35 toggling to todo items, restore display of done items.
36 (todos-edit-multiline-item): Don't base on todos-edit-multiline
37 but just narrow and change mode.
38 (todos-edit-multiline): Don't make indirect buffer but just widen
39 and change mode; also remove overlays.
40 (todos-edit-quit): Restore Todos mode and category display; when
41 quitting multiline item editing, ensure items above edited item
42 are visible in window if possible.
43 (todos-done-item-add-edit-or-delete-comment): If user moved point
44 during editing, make sure it moves back to edited item before
45 returning.
46
47 2013-02-05 Stephen Berman <stephen.berman@gmx.net>
48
49 * calendar/todos.el (todos-reset-done-separator-string):
50 Complete the implementation.
51 (todos-hide-show-done-items): If start of done items sections is
52 below the bottom of the window, make it visible.
53 (todos-insert-item): Allow inserting item here to work outside of
54 the current category, but then at top of category. After checking
55 whether only done items are shown, restore point to ensure
56 inserting item here works correctly.
57 (todos-set-item-priority): Delete leftover right paren at end.
58
59 2013-02-04 Stephen Berman <stephen.berman@gmx.net>
60
61 * calendar/todos.el: Bug fixes involving or displaying done items.
62 (todos-done-separator): Make length of long separator one less
63 than window-width, in order to avoid following empty line.
64 (todos-forward-item, todos-backward-item): Make empty line below
65 last todo item accessible only by invoking without a numerical
66 prefix argument and make the latter invocations move only to items.
67 (todos-insert-item): Set todos-current-todos-file after selecting
68 buffer, in order not to set global value. If only done items are
69 shown when this command is invoked, toggle to show todo items to
70 avoid insertion into done items section. When done items are
71 shown, protect from cancelling before setting item priority: this
72 also needs recentering to display all items.
73 (todos-set-item-priority): Only call on (not done) todo items.
74 Check that done items are visible not because file is widened.
75 Use only `any' argument of called-interactively-p. Make sure that
76 giving an undone item lowest priority restores it to the todo
77 section.
78 (todos-item-done): If done items are visible on invoking this
79 command, keep them visible afterwards. Stop looking for marked
80 items on reaching the empty line below the last todo item.
81
82 2013-02-02 Stephen Berman <stephen.berman@gmx.net>
83
84 * calendar/todos.el: Several small fixes and improvements.
85 (todos-done-separator-string): Change default value.
86 (todos-update-categories-sexp): Remove unnecessary and misquided
87 setq of todos-default-todos-file. Use delete-region instead of
88 kill-region to avoid polluting kill-ring.
89 (todos-unload-hook): Remove (was not used).
90 (todos-edit-multiline): Don't generate new edit buffer name on
91 each invocation---that can cause confusion due to indirect buffer.
92 (todos-edit-quit): Ensure lines in edit buffer that follow hard
93 newlines are indented in the file to conform to diary format.
94 (todos-set-item-priority): If done items in category are visible,
95 keep them visible.
96
97 2013-01-30 Stephen Berman <stephen.berman@gmx.net>
98
99 * calendar/todos.el: Fix done separator overlay bug. Remove most
100 FIXME comments.
101 (todos-reset-and-enable-done-separator): Remove commented out
102 workaround for done separator overlay bug; fix doc string.
103 (todos-reset-done-separator): Delete old overlay after adding new
104 overlay to fix done separator overlay bug; improve implementation.
105 (todos-prefix-overlays): Improve first line of doc string.
106
107 2013-01-29 Stephen Berman <stephen.berman@gmx.net>
108
109 * calendar/todos.el: Improve item marking and handling of marked items.
110 (todos-prefix): Add validator to ensure value differs from that of
111 todos-item-mark.
112 (todos-item-mark): New defcustom.
113 (todos-prefix-overlay): New function.
114 (todos-marked-item-p): Use it. Adapt implementation to new
115 handling of marked items.
116 (todos-insert-with-overlays): When inserting pushes down a marked
117 item, move its prefix overlay.
118 (todos-prefix-overlays): Add overlay even when prefix is empty string,
119 otherwise item marking fails. Improve handling of marked items.
120 (todos-mark-unmark-item): Adapt to new handling of marked items
121 and simplify by removing marking of all items in category.
122 (todos-mark-category): Adapt to new handling of marked items and
123 don't use todos-mark-unmark-item.
124 (todos-unmark-category): Adapt to new handling of marked items.
125 (todos-delete-item): Remove obsolete handling of marked items and
126 useless restoration of point.
127 (todos-set-item-priority): Use new handling of marked items.
128 (todos-move-item, todos-item-done, todos-item-undo)
129 (todos-archive-done-item): Remove obsolete handling of marked items.
130
131 2013-01-25 Stephen Berman <stephen.berman@gmx.net>
132
133 * calendar/todos.el: Improve definitions and use of some faces.
134 (todos-top-priority): Use current definition of font-lock-constant-face.
135 (todos-diary-expired): Make default value contrast more with
136 default value of todos-date face.
137 (todos-nondiary, todos-category-string): New faces.
138 (todos-nondiary-face, todos-category-string-face): Corresponding
139 new variables.
140 (todos-done, todos-comment): Switch default values to go better
141 with default value of todos-date face.
142 (todos-done-sep): Change default value.
143 (todos-category-string-matcher-1)
144 (todos-category-string-matcher-2): Improve doc string.
145 (todos-font-lock-keywords): Use todos-nondiary-face and
146 todos-category-string-face.
147 (todos-done-separator): Propertize string with todos-done-sep face.
148 (todos-filtered-items-mode): Fix typo.
149
150 2013-01-23 Stephen Berman <stephen.berman@gmx.net>
151
152 * calendar/todos.el: Improve handling of saved top priorities items.
153 (todos-find-item): Find done items and items whose priority has
154 changed or whose text was truncated or augmented; add doc string.
155 (todos-check-top-priorities): Highlight each item that is not up
156 to date.
157 (todos-jump-to-item): Jump to items whose priority has changed or
158 whose text was truncated or augmented.
159
160 2013-01-22 Stephen Berman <stephen.berman@gmx.net>
161
162 * calendar/todos.el: Revise handling of initial display and extend
163 to top priorities file.
164 (todos-display-categories-first): Remove, replacing by this:
165 (todos-show-first): New defcustom.
166 (todos-first-visit): Remove, replacing by this:
167 (todos-visited): New variable.
168 (todos-absolute-file-name): Extend possible values of optional
169 argument to take top priorities files into account.
170 (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
171 (todos-mode-external-set): Call find-file-noselect instead of
172 find-buffer-visiting, since the latter may fail.
173 (todos-show): Revise handling of initial display using
174 todos-show-first and todos-visited and extend to top priorities
175 file.
176 (todos-quit): Adapt to new handling of initial display.
177
178 2013-01-14 Stephen Berman <stephen.berman@gmx.net>
179
180 * calendar/todos.el: Implement saving top priority items buffers,
181 improve implementation of item filtering commands and
182 infrastucture, and fix two bugs.
183 (todos-prefix-overlays): Use todos-top-priority face only in Todos
184 mode.
185 (todos-multiple-filter-files): Get file-truename of Todos file.
186 (todos-filter-items): Pass a list of files from the caller instead
187 of building it here, and move handling of cancelled file selection
188 dialog to callers. Correct omission of file-wide default number
189 of top priorities.
190 (todos-filtered-buffer-name): Treat file-list argument only as a list.
191 (todos-find-item, todos-check-top-priorities)
192 (todos-top-priorities-filename)
193 (todos-save-top-priorities-buffer): New functions.
194 (todos-save): Use todos-save-top-priorities-buffer.
195 (todos-jump-to-item): Refactor and use todos-find-item.
196 (todos-top-priorities): Simplify semantics of prefix argument.
197 Check if top priorities file exists and if so, visit it, reporting
198 whether it is up to date. Add optional argument and use it to
199 handle multiple files.
200 (todos-diary-items, todos-regexp-items): Add optional argument and
201 use it to handle multiple files.
202 (todos-top-priorities-multifile, todos-diary-items-multifile)
203 (todos-regexp-items-multifile): Refactor, using corresponding
204 non-multifile command.
205 (auto-mode-alist): Add pattern for top priorities files to visit
206 these in Todos Filtered Items mode.
207
208 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
209
210 * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
211 (todos-adjusted-category-label-length): New function.
212 (todos-padded-string): Use it.
213
214 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
215
216 * calendar/todos.el (todos-move-item): Allow moving done items to
217 done section of another category.
218
219 2013-01-06 Stephen Berman <stephen.berman@gmx.net>
220
221 * calendar/todos.el: Display numerical priority string of top
222 priority items in category in a distinctive face.
223 (todos-prefix-string): Make doc string more precise.
224 (todos-top-priority): New defface.
225 (todos-done, todos-done-sep): Use more compact face definition
226 \(taken from font-lock.el).
227 (todos-comment): Give a complete face definition, instead of
228 inheriting from todos-done.
229 (todos-font-lock-keywords): Use todos-comment-face for
230 todos-comment-string-matcher.
231 (todos-prefix-overlays): Use todos-top-priority as the face
232 property of top priority items; don't condition reapplying item
233 prefix overlay on whether the string changed, since that prevents
234 updating display after changing number of top priorities.
235 (todos-set-top-priorities): Call todos-prefix-overlays to update
236 display.
237
238 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
239
240 * calendar/todos.el (todos-reset-global-current-todos-file)
241 (todos-display-categories-1): Use absolute name of
242 todos-default-todos-file.
243
244 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
245
246 * calendar/todos.el (todos-insert-item): Fix copy and paste error
247 from previous change.
248
249 2013-01-03 Stephen Berman <stephen.berman@gmx.net>
250
251 * calendar/todos.el: Implement extended category completions.
252 (todos-default-todos-file): Change default value to correct custom
253 type.
254 (todos-category-completions-files): New defcustom.
255 (todos-reevaluate-category-completions-files-defcustom)
256 (todos-absolute-file-name, todos-category-completions): New defuns.
257 (todos-reevaluate-filelist-defcustoms):
258 Add todos-category-completions-files and
259 todos-reevaluate-category-completions-files-defcustom.
260 (todos-allcats-file, todos-all-categories-alist)
261 (todos-jump-to-category-other-file, todos-jump-to-any-category)
262 (todos-move-item-to-file): Remove (todos-all-categories-alist both
263 as defvar and as defun).
264 (todos-read-category): Rewrite using extended category completions
265 and better handling of completion against existing or non-existing
266 categories.
267 (todos-validate-name): Correct doc string; use local instead of
268 dynamic variables in function body.
269 (todos-insert-category-line): Adjust use of todos-jump-to-category
270 to new argument list.
271 (todos-key-bindings, todos-menu): Delete entries for removed
272 commands.
273 (todos-show): Get absolute name of todos-default-todos-file;
274 add `nowarn' argument to find-file-noselect; adjust use of
275 todos-add-category to new argument list.
276 (todos-jump-to-category): Rewrite using extended category
277 completions; reverse argument list, adapting FILE argument to new
278 completion mechanism; add autoload cookie; call todos-show if
279 there are no Todos files.
280 (todos-add-category): Rewrite using extended category completions;
281 add FILE argument to accommodate new completion mechanism.
282 (todos-merge-category): Adapt to extended category completions,
283 adding prefix argument.
284 (todos-insert-item): Adapt to extended category completions; use
285 todos-read-category instead of todos-jump-to-category in prefix
286 argument calls; call todos-show if there are no Todos files; if
287 item is inserted at end of category, recenter to ensure the items
288 above it are displayed in the window.
289 (todos-move-item): Adapt to extended category completions, making
290 argument prefix argument; allow moving within category (for the
291 sake of code simplification); add `nowarn' argument to
292 find-file-noselect.
293 (todos-archive-done-item): Prevent error when attempting to
294 archive not-done todo item; adjust use of todos-add-category to
295 new argument list.
296
297 2012-12-15 Stephen Berman <stephen.berman@gmx.net>
298
299 * calendar/todos.el (todos-archive-done-item): Fix archiving of
300 all done items in a category and resulting display of todo file.
301
302 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
303
304 * calendar/todos.el (todos-priorities-rules): Fix customization
305 type to prevent mismatch error.
306 (todos-set-top-priorities): Fix rule construction; fix input check;
307 improve prompt.
308
309 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
310
311 * calendar/todos.el (todos-insert-item): If user exits Calendar
312 before choosing a date, cancel item insertion.
313 (todos-set-date-from-calendar): If user exits Calendar before
314 choosing a date, clean up properly.
315
316 2012-12-12 Stephen Berman <stephen.berman@gmx.net>
317
318 * calendar/todos.el: Extend and improve handling of item editing,
319 especially of date/time header.
320 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
321 (todos-date-pattern): Use explicitly numbered groups.
322 (todos-read-date): Optionally read and return just one of the date
323 string components year, month or monthname, day.
324 (todos-key-bindings): Add bindings for new item header editing
325 commands.
326 (todos-edit-item): Exclude date/time header from minibuffer by
327 default; include it by passing a prefix argument.
328 (todos-edit-item-header-1): New function containing the guts of
329 the commands for editing item date/time headers.
330 (todos-edit-item-header): Use it. Condition editing of time
331 string on value of `todos-always-add-time-string'.
332 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
333 (todos-edit-item-date-to-today): Rename from
334 todos-edit-item-date-is-today and use todos-edit-item-header-1.
335 (todos-edit-item-date): Remove.
336 (todos-edit-item-date-day-name, todos-edit-item-date-year)
337 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
338
339 2012-12-02 Stephen Berman <stephen.berman@gmx.net>
340
341 * calendar/todos.el (todos-show): Fix a comment.
342 (todos-add-category): Prompt for a new category if passed category
343 is the empty string, not nil.
344
345 2012-11-26 Stephen Berman <stephen.berman@gmx.net>
346
347 * calendar/todos.el (todos-make-categories-list)
348 (todos-convert-legacy-files, todos-jump-to-item)
349 (todos-move-category, todos-merge-category)
350 (todos-archive-done-item, todos-unarchive-items): Include end of
351 line in regex searches for beginning of category, in order not to
352 get a category whose name contains the searched for category name.
353
354 2012-11-15 Stephen Berman <stephen.berman@gmx.net>
355
356 * calendar/todos.el (todos-forward-category): Fix typo.
357
358 2012-10-30 Stephen Berman <stephen.berman@gmx.net>
359
360 * calendar/todos.el (todos-define-insertion-command):
361 Let generated insertion commands accept a prefix argument.
362
363 2012-10-08 Stephen Berman <Stephen.Berman@rub.de>
364
365 * calendar/todos.el (todos-move-item): If user quits before
366 completing movement, restore display of initial category; if item
367 is moved to end of target category, make sure the items above it
368 are displayed in the window.
369
370 2012-10-08 Stephen Berman <stephen.berman@gmx.net>
371
372 * calendar/todos.el: Fixes to todos-move-item and some of its
373 subroutines.
374 (todos-move-item): When there are marked items, point need not be
375 on an item; remove obsolete use of todos-add-category, since this
376 is now already done in todos-read-category; fix typo.
377 (todos-diary-item-p): Exclude empty lines.
378 (todos-read-category): Restore point and narrowing after adding
379 new category, to avoid moving to beginning of file when moving
380 marked items to a new category.
381 (todos-set-item-priority): Prompt for priority only when the
382 category has at least one todo item; only use non-nil priority to
383 calculate insertion location.
384 (todos-read-category): Don't reset todos-categories when a new
385 category is added due to todos-move-item or todos-jump-to-item.
386
387 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
388
389 Changes from 2012-07-14 (revision 110020).
390 * calendar/todos.el (todos-copy-item): New command.
391 (todos-insertion-map): Add key binding for it.
392
393 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
394
395 Changes from 2012-07-13 (revision 110019).
396 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
397 (todos-item-undo): Use it.
398 (todos-allcats-file, todos-all-categories-alist): New variables.
399 (todos-all-categories-alist): New function.
400 (todos-jump-to-any-category): New command.
401 (todos-move-item): Remove mark overlays from buffer items were
402 moved from; update todos-categories-with-marks,
403
404 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
405
406 Changes from 2012-06-27 (revision 110018).
407 * calendar/todos.el: Further code rearrangement; further new and
408 revised comments.
409 (todos-reevaluate-filelist-defcustoms): Rename from
410 todos-reevaluate-defcustoms and adjust callers.
411 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
412 (todos-date-string-start, todos-done-string-start)
413 (todos-item-start): Change from defvar to defconst.
414 (todos-set-top-priorities): Use read-number and simplify.
415 (todos-insert-item): Check whether date-type argument is a string.
416 (todos-set-date-from-calendar): Check whether
417 todos-date-from-calendar is a string; simplify cond clause.
418 (todos-archive-done-item, todos-unarchive-items):
419 Use buffer-substring-no-properties.
420
421 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
422
423 Changes from 2012-06-25 (revision 110017).
424 * calendar/todos.el (todos-item-undo): Fix restoration on
425 cancelling; use buffer-substring-no-properties; comment out code
426 removing mark overlay; fix insertion of undone items; display any
427 remaining done items.
428
429 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
430
431 Changes from 2012-06-24 (revision 110016).
432 * calendar/todos.el: Further significant code rearrangement;
433 further comment revision.
434 (todos-mode-display): New defgroup.
435 (todos-prefix, todos-number-priorities)
436 (todos-done-separator-string, todos-done-string)
437 (todos-comment-string, todos-show-with-done)
438 (todos-mode-line-function, todos-skip-archived-categories)
439 (todos-highlight-item, todos-wrap-lines)
440 (todos-line-wrapping-function): Use it.
441 (todos-item-insertion): New defgroup.
442 (todos-include-in-diary, todos-diary-nonmarking)
443 (todos-nondiary-marker, todos-always-add-time-string)
444 (todos-use-only-highlighted-region): Use it.
445 (todos-forward-button, todos-backward-button): New commands.
446 (todos-categories-mode-map): Use them, replacing forward-button
447 and backward-button.
448 (todos-merge-category): Fix and improve implementation; handle
449 archived items.
450 (todos-insert-item, todos-set-date-from-calendar): Handle setting
451 date by calling todos-insert-item-from-calendar.
452 (todos-delete-item): Fix overlay handling.
453 (todos-move-item): Highlight item to be moved.
454 (todos-item-undo): Handle marked items.
455 (todos-insert-item-from-calendar): Rewrite using
456 todos-date-from-calendar.
457
458 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
459
460 Changes from 2012-06-21 (revision 110015).
461 * calendar/todos.el: Further comment revision.
462 (todos-sorted-column): Change default value, also taking tty into
463 account.
464 (todos-reset-done-separator): Fix faulty variable binding.
465 (todos-reset-and-enable-done-separator): Save match data; comment
466 out code that causes problems for Edebug.
467 (todos-item-start): Handle empty line between todo and done items
468 when done items are hidden.
469 (todos-read-date): Use a leap year for `*' to allow
470 calendar-last-day-of-month to return Feb. 29.
471 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
472 (todos-filtered-items-mode): Delete faulty parentheses.
473 (todos-quit): Save Todos and archive files unconditionally.
474 (todos-forward-item): Accept only positive prefix argument.
475 (todos-backward-item): Accept only positive prefix argument; don't
476 move point to beginning of buffer if it is on the first item.
477 (todos-hide-show-date-time): Remove obsolete interactive spec.
478 (todos-move-category): Improve prompt string; ensure file moved to
479 is different from file moved from.
480 (todos-merge-categories): Remove.
481 (todos-set-category-priority): New command.
482 (todos-raise-category-priority, todos-lower-category-priority):
483 Use it to define these commands.
484 (todos-set-item-priority): Rewrite and generalize.
485 (todos-raise-item-priority, todos-lower-item-priority): Use it to
486 define these commands.
487
488 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
489
490 Changes from 2012-06-15 (revision 110014).
491 * calendar/todos.el (todos-reset-done-separator)
492 (todos-reset-and-enable-done-separator): New functions.
493 (todos-reset-done-separator-string): Rewrite using
494 todos-reset-done-separator for string longer than 1 character.
495 (todos-mode): Add todos-reset-and-enable-done-separator to
496 window-configuration-change-hook, replacing previous anonymous
497 function.
498 (todos-unload-hook): And remove it.
499
500 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
501
502 Changes from 2012-06-14 (revision 110013).
503 * calendar/todos.el (todos-done-separator-string): New defcustom.
504 (todos-done-separator): New variable replacing defcustom of the
505 same name.
506 (todos-reset-done-separator-string, todos-done-separator):
507 New functions.
508 (todos-mode): Make function added to
509 window-configuration-change-hook do a better job of updating the
510 done items separator string overlay.
511 (todos-unload-hook): Remove it here.
512 (todos-item-undo): Fix search for item's end.
513
514 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
515
516 Changes from 2012-06-03 (revision 110012).
517 * calendar/todos.el: Further comment revision.
518 (todos-sorted-column): Change default value.
519 (todos-item-start): Handle empty category (needed in
520 todos-filter-items).
521 (todos-read-date): Don't use calendar-read; make code cleaner.
522 (todos-multiple-filter-files): Rename this variable from
523 todos-multiple-files and adjust users.
524 (todos-multiple-filter-files-widget): Rename from
525 todos-multiple-files-widget and adjust users.
526 (todos-multiple-filter-files): Rename this function from
527 todos-multiple-files and adjust callers.
528 (todos-filter-items): Remove unused code.
529 (todos-insert-category-line): Add space so highlighting of last
530 column is consistent with the others; adjust display of column
531 highlighting.
532 (todos-menu): Remove obsolete entry.
533 (todos-categories-mode-map): Add new bindings.
534 (todos-display-categories-alphabetically-or-by-priority): New command.
535 (todos-display-categories-sorted-by-todo)
536 (todos-display-categories-sorted-by-diary)
537 (todos-display-categories-sorted-by-done)
538 (todos-display-categories-sorted-by-archived): Restore and fix
539 implementation.
540
541 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
542
543 Changes from 2012-06-02 (revision 110011).
544 * calendar/todos.el: Significant code rearrangement; further
545 comment revision.
546 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
547 adjust users.
548 (todos-filtered-buffer-name): Rename from
549 todos-special-buffer-name and adjust users.
550 (todos-filtered-items-mode-map): Rename from
551 todos-filter-items-mode-map and adjust users.
552 (todos-mode-external-set): Use todos-categories instead of
553 todos-set-categories (and add comment to check if this DTRT).
554 (todos-filtered-items-mode): Rename from todos-filter-items-mode
555 and adjust users.
556 (todos-add-category): Don't call todos-validate-name, since
557 todos-read-category does.
558 (todos-edit-quit): Use todos-repair-categories-sexp.
559 (todos-done-item-add-edit-or-delete-comment): Rename from
560 todos-done-item-add-or-edit-comment and adjust users; add optional
561 argument to prompt to delete comment.
562 (todos-item-undo): Delete done item comment on undoing if user
563 confirms.
564
565 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
566
567 Changes from 2012-06-02 (revision 110010).
568 * calendar/todos.el: Further code rearrangement and comment
569 revision.
570 (todos-item-start): Handle empty line between todo and done items
571 when done items are displayed.
572 (todos-key-bindings): Comment out bindings meant only for
573 todos-archive-mode.
574 (todos-archive-mode-map): Fix typo.
575 (todos-archive-mode): Derive from special-mode instead of
576 todos-mode to prevent its key bindings from being available here.
577 (todos-archive-done-item): Remove obsolete code; fix item count
578 updating.
579 (todos-unarchive-items): Simplify; fix unarchiving of all items in
580 category; fix item count updating; fix typo.
581
582 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
583
584 Changes from 2012-06-01 (revision 110009).
585 * calendar/todos.el: Further code rearrangement and comment
586 revision.
587 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
588 (todos-file-buffers): New variable.
589 (todos-reset-global-current-todos-file): Use it to simplify
590 implementation of this function.
591 (todos-filtered): New defgroup.
592 (todos-filter-buffer, todos-top-priorities-buffer)
593 (todos-diary-items-buffer, todos-regexp-items-buffer)
594 (todos-priorities-rules, todos-show-priorities)
595 (todos-filter-files, todos-filter-done-items): Use it.
596 (todos-skip-archived-categories): Rename from
597 todos-ignore-archived-categories and adjust users.
598 (todos-display-as-todos-file): Rename from todos-after-find-file
599 and adjust callers.
600 (todos-reset-highlight-item, todos-mode-external-set)
601 (todos-jump-to-category, todos-jump-to-item)
602 (todos-raise-category-priority, todos-insert-item)
603 (todos-move-item): Use find-file-visiting.
604 (todos-make-categories-list): Use file-truename.
605 (todos-display-categories-1): Adjust title text for archive files;
606 use done label for item counts in archive files.
607 (todos-modes-set-3): Add todos-display-as-todos-file to
608 find-file-hook.
609 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
610 todos-update-buffer-list post-command-hook.
611 (todos-unload-hook): And remove them.
612 (todos-show): Only when interactively invoked from an archive,
613 switch to corresponding Todos file.
614 (todos-archive-done-item): Remove obsolete code; fix handling of
615 marked items; fix search for existing category; check whether
616 archive exists and write to file if not; improve display handling.
617
618 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
619
620 Changes from 2012-05-29 (revision 110008).
621 * calendar/todos.el: Further comment revision.
622 (todos-item-end): Replace use of command todos-forward-item by
623 regexp searches using internal variables.
624 (todos-raise-category-priority): Improve and comment.
625 (todos-insert-item): Fix insertion of empty time string.
626
627 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
628
629 Changes from 2012-05-29 (revision 110007).
630 * calendar/todos.el (todos-ignore-archived-categories):
631 Revert last change; remove :initialize and :set functions; change
632 use and change users accordingly.
633 (todos-reset-categories, todos-categories-full)
634 (todos-truncate-categories-list): Remove.
635 (todos-set-categories, todos-update-categories-sexp):
636 Use todos-categories instead of todos-categories-full; remove use
637 of todos-ignore-archived-categories and
638 todos-truncate-categories-list.
639 (todos-check-format, todos-repair-categories-sexp):
640 Use todos-categories instead of todos-categories-full.
641 (todos-read-category): Improve last change.
642 (todos-validate-name): Use completing-read.
643 (todos-categories-category-number): Rename from
644 todos-category-number and adjust users.
645 (todos-update-categories-display, todos-mode-external-set)
646 (todos-delete-category, todos-move-category, todos-merge-category)
647 (todos-unarchive-items): Remove use of todos-categories-full and
648 todos-ignore-archived-categories.
649 (todos-modes-set-3, todos-add-category): Remove use of
650 todos-categories-full.
651 (todos-edit-mode): Fix typo.
652 (todos-forward-category): Use todos-ignore-archived-categories.
653
654 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
655
656 Changes from 2012-05-28 (revision 110006).
657 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
658 (todos-ignore-archived-categories): Change default value.
659
660 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
661
662 Changes from 2012-05-27 (revision 110005).
663 * calendar/todos.el: Further comment revision.
664 (todos-reset-global-current-todos-file):
665 Try to make this not slow down kill-buffer.
666 (todos-update-categories-sexp): Handle the case where there is no
667 categories sexp yet, i.e. after inserting the first item in the
668 file, so todos-display-categories works.
669 (todos-read-file-name): Improve implementation.
670 (todos-validate-name): Use variable todos-files.
671 (todos-category-number): New variable.
672 (todos-insert-category-line, todos-update-categories-display)
673 (todos-raise-category-priority): Use it.
674 (todos-add-file): Remove unused remnant code.
675
676 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
677
678 Changes from 2012-05-25 (revision 110004).
679 * calendar/todos.el: Further comment revision.
680 (todos-set-item-top-priority): New command.
681 (todos-reset-global-current-todos-file):
682 Use todos-files-function instead of todos-files.
683 (todos-read-category): Add optional argument to test whether
684 caller adds new category; if so, don't prompt for new category and
685 don't restore original todos-categories list.
686 (todos-categories-mode-map): Update to renamed commands.
687 (todos-filter-items-mode-map): Add binding for new command.
688 (todos-mode): Fix typo.
689 (todos-show): If called from archive file, show corresponding
690 category in Todos file, if it exists.
691 (todos-jump-to-category): Remove code to add new category, since
692 todos-read-category can do that.
693 (todos-add-file): Remove obsolete code; visit new file in selected
694 window.
695 (todos-add-category): Simplify.
696 (todos-rename-category): Use force-mode-line-update instead of
697 setting mode-line-buffer-identification.
698 (todos-delete-category): Improve logic of prompts; use
699 todos-categories-full and check todos-ignore-archived-categories.
700 (todos-raise-category-priority, todos-lower-category-priority):
701 Rename from todos-{raise,lower}-category and adjust callers.
702 (todos-move-category, todos-merge-category):
703 Set todos-categories-full; on setting todos-categories check
704 todos-ignore-archived-categories.
705 (todos-insert-item): Let-bind use-empty-active-region and use
706 use-region-p instead of transient-mark-mode.
707 (todos-raise-item-priority): Improve implementation.
708 (todos-archive-done-item): Rename from
709 todos-archive-done-item-or-items and adjust callers; confine to
710 Todos mode.
711 (todos-unarchive-items): On setting todos-categories check
712 todos-ignore-archived-categories.
713
714 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
715
716 Changes from 2012-05-23 (revision 110003).
717 * calendar/todos.el (todos-key-bindings): Remove binding of
718 deleted command.
719 (todos-menu): Remove entry of deleted command.
720 (todos-show-archive): Fix last change.
721 (todos-done-item-add-or-edit-comment): Rename from
722 todos-comment-done-item and adjust callers; prompt to edit an
723 existing comment.
724
725 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
726
727 Changes from 2012-05-22 (revision 110002).
728 * calendar/todos.el (todos-set-show-current-file): Rename from
729 todos-toggle-show-current-file and adjust callers.
730 (todos-number-priorities): Rename from todos-number-prefix and
731 adjust users.
732 (todos-update-count): Rename from todos-set-count and adjust
733 callers.
734 (todos-hide-show-item-numbering): Rename from
735 todos-toggle-item-numbering and adjust callers.
736 (todos-hide-show-done-items): Rename from
737 todos-toggle-view-done-items and adjust callers.
738 (todos-show-done-only): Rename from todos-toggle-show-done-only.
739 (todos-view-archived-items): Comment out.
740 (todos-show-archive): Prompt to choose another archive file if
741 current Todos file lacks an archive; prompt to visit archive
742 anyway when current category has no archived items.
743
744 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
745
746 Changes from 2012-05-21 (revision 110001).
747 * calendar/todos.el: Further comment revision and code
748 rearrangement.
749 (todos-item-end): Revert last change.
750 (todos-key-bindings, todos-menu, todos-archive-mode-map)
751 (todos-filter-items-mode-map): Use renamed commands.
752 (todos-hide-show-date-time): Rename from
753 todos-toggle-display-date-time.
754 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
755 adjust caller.
756 (todos-backward-item): Exempt special handling only from
757 todos-regexp-items-buffer instead of todos-filter-items-mode.
758 (todos-raise-item-priority): Don't allow item reprioritizing in
759 Todos filter items mode except for top priority items.
760
761 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
762
763 Changes from 2012-05-19 (revision 110000).
764 * calendar/todos.el: Add and revise further doc strings and
765 comments.
766 (todos-filter-function, todos-custom-items)
767 (todos-custom-items-multifile): Remove.
768 (todos-filter-done-items): New defcustom.
769 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
770 (todos-filter-items): Check return value of caller first; tag
771 archived items for todos-jump-to-item; delete categories sexp
772 before processing filter; check todos-filter-done-items for
773 whether to leave done items; remove custom filter; fix regexp for
774 file and category tags; don't invoke buffer fontification.
775 (powerset-recursive): Fix typo.
776 (todos-key-bindings): Remove unused bindings.
777 (todos-top-priorities-multifile, todos-diary-items-multifile)
778 (todos-regexp-items-multifile): Use variable todos-multiple-files.
779 (todos-jump-to-item): Fix regexp; handle archive tags; take
780 todos-filter-done-items into account.
781 (todos-insert-item-from-calendar): Relocate to end of file
782 together with key-binding as addition to calendar.el.
783
784 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
785
786 Changes from 2012-05-17 (revision 109999).
787 * calendar/todos.el: Add and revise further doc strings and
788 comments; major code rearrangement.
789 (todos-merged-files, todos-prompt-merged-files)
790 (todos-print-priorities, todos-tmp-buffer-name)
791 (todos-top-priorities-widgets, todos-update-merged-files)
792 (todos-merged-top-priorities, todos-merged-diary-items)
793 (todos-merged-regexp-items, todos-merged-custom-items)
794 (todos-raw-mode, todos-change-default-file)
795 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
796 (todos-toggle-diary-nonmarking, todos-validate-category-name):
797 Remove.
798 (todos-category-string-matcher): Comment out.
799 (todos-categories): New defgroup.
800 (todos-initial-file, todos-filter-buffer)
801 (todos-top-priorities-buffer, todos-categories-category-label)
802 (todos-diary-items-buffer, todos-regexp-items-buffer)
803 (todos-custom-items-buffer, todos-filter-files)
804 (todos-highlight-item, todos-todo-mode-date-time-regexp):
805 New defcustoms.
806 (todos-diary-expired): New face.
807 (todos-print-buffer, todos-multiple-files)
808 (todos-multiple-files-widget, todos-key-bindings): New variables.
809 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
810 (todos-special-buffer-name)
811 (todos-reevaluate-filter-files-defcustom)
812 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
813 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
814 (todos-diary-expired-matcher, todos-category-string-matcher-1)
815 (todos-category-string-matcher-2, todos-repair-categories-sexp)
816 (todos-validate-name, todos-multiple-files)
817 (todos-display-categories-1, todos-update-categories-display)
818 (todos-modes-set-3, todos-mode-external-set): New functions.
819 (todos-set-top-priorities-in-file)
820 (todos-set-top-priorities-in-category)
821 (todos-top-priorities-multifile, todos-diary-items-multifile)
822 (todos-regexp-items-multifile, todos-custom-items-multifile)
823 (todos-convert-legacy-files, todos-jump-to-item)
824 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
825 (todos-edit-item-diary-inclusion)
826 (todos-edit-category-diary-inclusion)
827 (todos-edit-item-diary-nonmarking)
828 (todos-edit-category-diary-nonmarking): New commands.
829 (todos, todos-faces): Update :version.
830 (todos-done-separator, todos-completion-ignore-case):
831 Change default value.
832 (todos-done-separator): Change :set function.
833 (todos-indent-to-here): Add :validate function to :type.
834 (todos-prefix-string, todos-mark, todos-button)
835 (todos-sorted-column, todos-archived-only, todos-search)
836 (todos-done, todos-done-sep): Provide full face definitions
837 instead of inheriting.
838 (todos-edit-buffer, todos-categories-buffer): Change from
839 defcustom to defvar.
840 (todos-category-beg, todos-category-done): Change from defvar to
841 defconst.
842 (todos-files): Check if todos-files-directory exists.
843 (todos-default-todos-file, todos-mode-line-control, todos-print):
844 Use todos-short-file-name.
845 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
846 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
847 todos-category-string-matcher-2, todos-diary-expired-matcher.
848 (todos-category-select): Use todos-done-string-start, and
849 condition search on todos-show-with-done; don't make display
850 overlay for done items separator string if there already is one;
851 use todos-highlight-item, require hl-line and activate
852 hl-line-mode here in order to avoid a hang if done in todos-mode
853 or the mode hook.
854 (todos-update-categories-sexp): Use todos-categories-full if set,
855 otherwise todos-categories.
856 (todos-make-categories-list): Don't test for archive file when
857 processing a legacy todo-mode file.
858 (todos-check-format): Add check for todos-categories sexp.
859 (todos-diary-item-p): Use todos-nondiary-start instead of
860 todos-date-pattern.
861 (todos-marked-item-p): Rename from todos-item-marked-p.
862 (todos-read-file-name): Don't accept empty name; validate.
863 (todos-read-category): Validate new name before prompting whether
864 to add new category; force quit if user answers no.
865 (todos-filter-items): Improve implementation.
866 (todos-set-top-priorities): Rewrite as a noninteractive function
867 using minibuffer input instead of widgets.
868 (todos-insert-sort-button): Call todos-display-sorted with
869 argument nil to display categories in numerical order, instead of
870 calling todos-display-categories.
871 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
872 Common Lisp powerset function at
873 http://rosettacode.org/wiki/Power_set#Common_Lisp.
874 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
875 powerset function at http://rosettacode.org/wiki/Power_set#C.
876 (todos-powerset): Defalias to powerset-bitwise.
877 (todos-mode-map): Generate from todos-key-bindings instead of
878 listing each key definition.
879 (todos-categories-mode-map): Add two bindings.
880 (todos-filter-items-mode-map): Add some bindings, remove others.
881 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
882 function setting todos-done-separator to
883 window-configuration-change-hook.
884 (todos-unload-hook): Remove function setting todos-done-separator
885 from window-configuration-change-hook.
886 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
887 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
888 (todos-categories-mode): Derive from special-mode; use
889 todos-mode-external-set.
890 (todos-filter-items-mode): Derive from special-mode.
891 (todos-quit): Save archive file if it hasn't yet been saved.
892 (todos-display-categories): Delegate all functionality to
893 todos-display-categories-1 and todos-update-categories-display.
894 (todos-toggle-view-done-items): Improve implementation.
895 (todos-highlight-item): Require hl-line.
896 (todos-toggle-display-date-time): Remove argument and make it
897 apply only to whole file.
898 (todos-top-priorities, todos-diary-items, todos-regexp-items)
899 (todos-custom-items): Use todos-special-buffer-name.
900 (todos-add-file): Use todos-short-file-name and
901 todos-reevaluate-defcustoms; remove validation, since it's now
902 done in todos-read-file-name.
903 (todos-add-category): Also update todos-categories-full if non-nil.
904 (todos-delete-category): Delete file after confirmation if only
905 category is deleted.
906 (todos-move-category): Use todos-short-file-name and
907 todos-reevaluate-defcustoms.
908 (todos-insert-item): Fix getting date from the calendar and
909 insertion of time string.
910 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
911 display of diary entries.
912 (todos-edit-multiline): Add optional argument to restrict editing
913 buffer to current item, otherwise make entire buffer (i.e. whole
914 file) editable.
915 (todos-edit-quit): When whole file is editable, check file format
916 validity before killing buffer, and if valid, recalculate
917 categories sexp to be safe.
918 (todos-edit-item-header): Allow choosing date from calendar.
919 (todos-item-done): Handle marked items.
920
921 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
922
923 Changes from 2011-12-03 (revision 109998).
924 * calendar/todos.el (todos-item-start): Restore commented out code
925 to prevent wrongly moving point in widened buffer.
926
927 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
928
929 Changes from 2011-12-02 (revision 109997).
930 * calendar/todos.el: Remove old commentary from todo-mode.el; add
931 and revise further doc strings and comments; require cl.el at
932 compile time for remove-duplicates; use function powerset from
933 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
934 code rearrangement. Add adapted version of diary-goto-entry as comment.
935 (todos-file-top, todos-archived-categories-buffer)
936 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
937 (todos-save-top-priorities, todos-reset-separator)
938 (todos-switch-todos-file, todos-item-string-start, todos-counts)
939 (todos-string-count-lines, todos-string-multiline-p)
940 (todos-display-categories-alphabetically): Remove.
941 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
942 (todos-insert-item-ask-date-time-for-diary)
943 (todos-insert-item-ask-date-time-for-diary-here)
944 (todos-insert-item-ask-date-time-here)
945 (todos-insert-item-ask-date-maybe-notime)
946 (todos-insert-item-ask-date-maybe-notime-for-diary)
947 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
948 (todos-insert-item-ask-date-maybe-notime-here)
949 (todos-insert-item-ask-date-for-diary)
950 (todos-insert-item-ask-date-for-diary-here)
951 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
952 (todos-insert-item-ask-dayname-time)
953 (todos-insert-item-ask-dayname-time-for-diary)
954 (todos-insert-item-ask-dayname-time-for-diary-here)
955 (todos-insert-item-ask-dayname-time-here)
956 (todos-insert-item-ask-dayname-maybe-notime)
957 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
958 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
959 (todos-insert-item-ask-dayname-maybe-notime-here)
960 (todos-insert-item-ask-dayname-for-diary)
961 (todos-insert-item-ask-dayname-for-diary-here)
962 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
963 (todos-insert-item-ask-time-for-diary)
964 (todos-insert-item-ask-time-for-diary-here)
965 (todos-insert-item-ask-time-here)
966 (todos-insert-item-maybe-notime)
967 (todos-insert-item-maybe-notime-for-diary)
968 (todos-insert-item-maybe-notime-for-diary-here)
969 (todos-insert-item-maybe-notime-here)
970 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
971 (todos-insert-item-here): Remove; all of these are now generated
972 on loading (some with the same name, most with other names.)
973 (todos-item-counts, todos-display-categories-alphabetically)
974 (todos-display-categories-sorted-by-todo)
975 (todos-display-categories-sorted-by-diary)
976 (todos-display-categories-sorted-by-done)
977 (todos-display-categories-sorted-by-archived): Comment out.
978 (todos-comment-string, todos-mode-line-function)
979 (todos-filter-function, todos-priorities-rules)
980 (todos-visit-files-commands, todos-categories-totals-label)
981 (todos-use-only-highlighted-region, todos-diary-nonmarking):
982 New defcustoms.
983 (todos-mark, todos-comment): New faces.
984 (todos-comment-face): Corresponding new variable.
985 (todos-categories-full, todos-global-current-todos-file)
986 (todos-first-visit, todos-insertion-commands-args-genlist)
987 (todos-insertion-commands-args, todos-insertion-commands-names)
988 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
989 (todos-top-priorities-widgets, todos-date-from-calendar)
990 (todos-item-mark, todos-categories-with-marks): New variables.
991 (todos-mode-line-control, todos-reset-global-current-todos-file)
992 (todos-gen-arglists, todos-insertion-command-name)
993 (todos-insertion-key-bindings, todos-unload-hook)
994 (todos-filter-items, todos-set-date-from-calendar)
995 (todos-comment-string-matcher, todos-after-find-file)
996 (todos-reset-nondiary-marker, todos-reset-done-string)
997 (todos-reset-comment-string, todos-show-current-file)
998 (todos-item-marked-p, todos-total-item-counts): New functions.
999 (todos-define-insertion-command): New macro.
1000 (todos-toggle-mark-item, todos-mark-category)
1001 (todos-unmark-category, todos-set-top-priorities)
1002 (todos-merged-diary-items, todos-regexp-items)
1003 (todos-merged-regexp-items, todos-custom-items)
1004 (todos-merged-custom-items, todos-comment-done-item)
1005 (todos-archive-category-done-items, todos-unarchive-items)
1006 (todos-print-to-file): New commands.
1007 (todos-done-separator): Change :set function.
1008 (todos-done-string): Uncomment :initialize and :set functions.
1009 (todos-files): Use file-truename.
1010 (todos-show-current-file): Rename from
1011 todos-auto-switch-todos-file and change :set function accordingly.
1012 (todos-font-lock-keywords): Use todos-comment-string-matcher;
1013 change names of other matcher functions to new *-matcher.
1014 (todos-category-number): Change initial value.
1015 (todos-insertion-map): Use todos-insertion-key-bindings to
1016 generate key definitions.
1017 (todos-mode-map): Don't suppress digit keys, so they can supply
1018 prefix arguments; add new and change some existing bindings.
1019 (todos-archive-mode-map): Change a key binding.
1020 (todos-categories-mode-map): Comment out a key binding.
1021 (todos-filter-items-mode-map): Rename from
1022 todos-top-priorities-mode-map.
1023 (todos-mode): Make todos-current-todos-file,
1024 todos-categories-full, todos-categories, todos-first-visit,
1025 todos-category-number, todos-show-done-only,
1026 todos-categories-with-marks local variables and set them; add
1027 todos-show-current-file to pre-command-hook, todos-after-find-file
1028 to post-command-hook and todos-reset-global-current-todos-file to
1029 kill-buffer-hook.
1030 (todos-archive-mode): Make todos-current-todos-file,
1031 todos-categories and todos-category-number local variables and set
1032 them; add todos-after-find-file to post-command-hook.
1033 (todos-raw-mode): New derived major mode.
1034 (todos-categories-mode): Don't set font-lock-defaults and
1035 buffer-read-only; make todos-current-todos-file and
1036 todos-categories local variables and set them.
1037 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
1038 (todos-quit): Don't reset todos-categories on quitting
1039 todos-categories-mode; handle quitting todos-filter-items-mode.
1040 (todos-show): Simplify; when visiting an archive file switch to
1041 corresponding Todos file; use todos-first-visit.
1042 (todos-view-archived-items): Simplify; call todos-category-number.
1043 (todos-show-archive): Rename from todos-switch-to-archive and
1044 adjust callers; simplify.
1045 (todos-toggle-display-date-time): Add optional argument to toggle
1046 display in entire file.
1047 (todos-top-priorities): Use todos-filter-items, which now contains
1048 the previous core of this command.
1049 (todos-merged-top-priorities, todos-diary-items):
1050 Use todos-filter-items.
1051 (todos-forward-category): Add optional argument to go to the
1052 previous category.
1053 (todos-backward-category): Use todos-forward-category.
1054 (todos-jump-to-category): Refine implementation.
1055 (todos-forward-item, todos-backward-item): Fix movement from todo
1056 to done item and vice versa.
1057 (todos-add-file): Remove argument and simplify.
1058 (todos-rename-category): Use todos-current-todos-file and
1059 todos-mode-line-function; set todos-categories with
1060 todos-set-categories.
1061 (todos-delete-category): Ask what to do if category has archived items.
1062 (todos-raise-category): Ensure modified todos-categories is added
1063 to file's categories sexp.
1064 (todos-move-category): Improve implementation, especially handling
1065 of archived categories.
1066 (todos-merge-category): Tweak; set item counts.
1067 (todos-insert-item): Improve handling of various argument values;
1068 add new argument values to control marking of diary items and to
1069 use region for item body.
1070 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1071 (todos-delete-item, todos-edit-item-header): Handle marked items.
1072 (todos-edit-item): Incorporate functionality of removed
1073 todos-string-multiline-p.
1074 (todos-edit-multiline): Use set-window-buffer instead of
1075 switch-to-buffer.
1076 (todos-edit-quit): Don't save on quitting; use todos-show instead
1077 of todos-category-select.
1078 (todos-raise-item-priority): Add argument to lower priority;
1079 improve handling of top priority items in todos-filter-items-mode;
1080 restore marks.
1081 (todos-lower-item-priority): Use todos-raise-item-priority.
1082 (todos-set-item-priority): Increment maximum number if item is new.
1083 (todos-move-item): Handle marked items; delay changing category
1084 moved from till after movement to avoid restoring if user cancels
1085 before insertion.
1086 (todos-item-done): Add optional argument to insert comment; fix
1087 item counts and update sexp.
1088 (todos-item-undo): Fix item counts and update.
1089 (todos-archive-done-item-or-items): Rename from
1090 todos-archive-done-items; add optional argument to archive all
1091 items in category; handle marked items.
1092 (todos-unarchive-category): Use todos-unarchive-items.
1093 (todos-toggle-diary-inclusion): Incorporate functionality of
1094 removed todos-toggle-item-diary-inclusion; handle marked items.
1095 (todos-print): Add optional argument to print to file.
1096 (todos-done-string-start): Don't use todos-nondiary-start.
1097 (todos-date-string-matcher, todos-time-string-matcher)
1098 (todos-done-string-matcher, todos-category-string-matcher): Rename
1099 from *-match and adjust callers.
1100 (todos-wrap-and-indent): Use set instead of setq for local variables.
1101 (todos-prefix-overlays): Improve overlay handling.
1102 (todos-reset-categories): Fix and complete implementation.
1103 (todos-toggle-show-current-file): Rename from
1104 todos-toggle-switch-todos-file-noninteractively.
1105 (todos-category-select): Use todos-mode-line-function.
1106 (todos-item-start): Comment out code used by removed function.
1107 (todos-remove-item): Handle presence of both prefix/number and
1108 mark overlays.
1109 (todos-get-count): Simplify.
1110 (todos-set-count): Change argument list and adjust callers; simplify.
1111 (todos-set-categories): Handle new archive files; use
1112 todos-categories-full and todos-ignore-archived-categories.
1113 (todos-truncate-categories-list): Use todos-categories-full.
1114 (todos-update-categories-sexp): Use kill-region instead of
1115 kill-line; use todos-categories-full.
1116 (todos-read-file-name): Add argument to require existing file and
1117 adjust callers; use file-truename.
1118 (todos-read-category): Remove argument to require existing
1119 category and delegate it to completing-read in function body.
1120 (todos-validate-category-name): Make empty string prompt only for
1121 initial category name.
1122 (todos-read-date): Use = instead of eq for testing if month = 13,
1123 and if it is, set monthname to *.
1124 (todos-display-categories): Use todos-global-current-todos-file;
1125 use set-window-buffer instead of switch-to-buffer; add a line
1126 showing item count totals.
1127 (todos-padded-string): Use the longest of category name or label.
1128 (todos-descending-counts): Rename from
1129 todos-descending-counts-store and adjust users.
1130 (todos-insert-category-line): Adjust format; use mapconcat; kill
1131 buffer after jumping to category.
1132
1133 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
1134
1135 Changes from 2011-05-16 (revision 109996).
1136 * calendar/todos.el Add and revise various doc strings, remove
1137 further commented out code; add further comments; further code
1138 rearrangement.
1139 (todos-file-do, todos-archive-file, todos-mode-hook)
1140 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1141 (todos-view-archive, todos-search-string)
1142 (todos-jump-to-category-noninteractively, todos-initial-setup):
1143 Remove.
1144 (todos-files): Remove this defcustom.
1145 (todos-initial-category, todos-display-categories-first)
1146 (todos-auto-switch-todos-file, todos-default-todos-file)
1147 (todos-categories-category-label, todos-categories-todo-label)
1148 (todos-categories-diary-label, todos-categories-done-label)
1149 (todos-categories-archived-label)
1150 (todos-categories-number-separator, todos-categories-align)
1151 (todos-ignore-archived-categories, todos-nondiary-marker):
1152 New defcustoms.
1153 (todos-prefix, todos-done-separator, todos-file-top)
1154 (todos-categories-buffer, todos-archived-categories-buffer)
1155 (todos-edit-buffer, todos-always-add-time-string, todos-button):
1156 Change default value.
1157 (todos-done-string): Add todos-reset-done-string as :set function,
1158 but keep this commented out.
1159 (todos-files, todos-archives, todos-insertion-map)
1160 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1161 (todos-show-done-only, todos-date-string-start)
1162 (todos-done-string-start): New variables.
1163 (todos-files-directory, todos-files-function, todos-merged-files)
1164 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1165 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1166 (todos-toggle-switch-todos-file-noninteractively)
1167 (todos-switch-todos-file, todos-counts, todos-get-count)
1168 (todos-set-count, todos-set-categories)
1169 (todos-truncate-categories-list, todos-update-categories-sexp)
1170 (todos-read-file-name, todos-sort, todos-display-sorted)
1171 (todos-label-to-key, todos-insert-sort-button): New functions.
1172 (todos-display-categories-sorted-by-todo)
1173 (todos-display-categories-sorted-by-diary)
1174 (todos-display-categories-sorted-by-done)
1175 (todos-display-categories-sorted-by-archived)
1176 (todos-update-merged-files, todos-switch-to-archive)
1177 (todos-choose-archive, todos-merged-top-priorities)
1178 (todos-jump-to-category-other-file, todos-clear-matches)
1179 (todos-add-file, todos-change-default-file, todos-move-category)
1180 (todos-merge-category, todos-merge-categories)
1181 (todos-edit-item-time, todos-move-item-to-file)
1182 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1183 (todos-toggle-diary-nonmarking): New commands.
1184 (todos-toggle-show-done-only): New command replacing todos-view-archive.
1185 (todos-faces): New defgroup; use in all face definitions.
1186 (todos-sorted-column, todos-archived-only, todos-search): New faces.
1187 (todos-font-lock-keywords): Use subexpression 1 with matcher
1188 todos-category-string-match.
1189 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1190 (todos-categories-mode-map): Add new key bindings; change some
1191 existing bindings.
1192 (todos-top-priorities-mode-map): New keymap.
1193 (todos-menu): Add submenues and new entries.
1194 (auto-mode-alist): Add extension of Todos and Todos archive files.
1195 (todos-mode, todos-archive-mode): Make derived mode; use
1196 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1197 and todos-switch-todos-file; make todos-show-done-only local
1198 variable.
1199 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1200 (todos-categories-mode): Make derived mode.
1201 (todos-top-priorities-mode): New derived major mode.
1202 (todos-save): Remove unused code.
1203 (todos-quit): Handle todos-categories-mode; save archive buffer.
1204 (todos-show): Add optional argument to prompt for a Todos file; if
1205 called interactively or with prefix arg or from an archive, don't
1206 make a no-op but reset todos-current-todos-file, todos-categories
1207 and todos-category-number; use todos-read-file-name,
1208 todos-display-categories-first, todos-ignore-archived-categories.
1209 (todos-display-categories): Change argument name; refactor code
1210 for inserting table labels and lines, using
1211 todos-ignore-archived-categories, todos-sort,
1212 todos-categories-number-separator, todos-insert-sort-button,
1213 todos-categories-*-labels, and todos-insert-category-line.
1214 (todos-display-categories-alphabetically): Use todos-display-sorted.
1215 (todos-toggle-view-done-items): Use todos-done-string-start and
1216 todos-get-count.
1217 (todos-toggle-display-date-time): Use todos-done-string-start.
1218 (todos-top-priorities): Remove autoload cookie; partially rewrite:
1219 new argument list; allow combining top priorities of multiple
1220 Todos files; change display to include category (and file) name as
1221 part of item header; use todos-top-priorities-mode.
1222 (todos-diary-items): Reimplement using only todos-top-priorities.
1223 (todos-forward-category, todos-backward-category): Adjust to
1224 1-based numbering of categories; move point to top of category.
1225 (todos-jump-to-category): Rewrite, adding optional arguments to
1226 provide a category in non-interactive uses and to prompt for which
1227 Todos file to jump to.
1228 (todos-search): Reimplement; highlight each match as found, say
1229 how many matches remain and prompt whether to go to next one; at
1230 end of search prompt whether to remove highlighting.
1231 (todos-add-category): Remove autoload cookie; assign new category
1232 the highest category number; associate zero-initialized vector of
1233 item counts, instead of property list, with new category; use
1234 todos-validate-category-name and todos-update-categories-sexp.
1235 (todos-rename-category): Use todos-validate-category-name and
1236 todos-update-categories-sexp; take archive files into account.
1237 (todos-delete-category): Use todos-get-count and
1238 todos-update-categories-sexp, let-bind variable that were
1239 mistakenly global; use delete-region instead of kill-region;
1240 adjust to 1-based numbering of categories; move point to top of
1241 category.
1242 (todos-raise-category): Handle item count vectors; use
1243 todos-insert-category-line and todos-update-categories-sexp.
1244 (todos-insert-item): Use nil time-string argument to omit time
1245 string; use todos-nondiary-start and todos-nondiary-end and
1246 todos-update-categories-sexp; if category named to insert into
1247 does not exist, add it; take new diary items into account.
1248 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1249 (todos-insert-item-ask-date-time-for-diary)
1250 (todos-insert-item-ask-date-time-for-diary-here)
1251 (todos-insert-item-ask-date-time-here)
1252 (todos-insert-item-ask-date-maybe-notime)
1253 (todos-insert-item-ask-date-maybe-notime-for-diary)
1254 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1255 (todos-insert-item-ask-date-maybe-notime-here)
1256 (todos-insert-item-ask-date-for-diary)
1257 (todos-insert-item-ask-date-for-diary-here)
1258 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1259 (todos-insert-item-ask-dayname-time)
1260 (todos-insert-item-ask-dayname-time-for-diary)
1261 (todos-insert-item-ask-dayname-time-for-diary-here)
1262 (todos-insert-item-ask-dayname-time-here)
1263 (todos-insert-item-ask-dayname-maybe-notime)
1264 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1265 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1266 (todos-insert-item-ask-dayname-maybe-notime-here)
1267 (todos-insert-item-ask-dayname-for-diary)
1268 (todos-insert-item-ask-dayname-for-diary-here)
1269 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1270 (todos-insert-item-ask-time-for-diary)
1271 (todos-insert-item-ask-time-for-diary-here)
1272 (todos-insert-item-ask-time-here)
1273 (todos-insert-item-maybe-notime)
1274 (todos-insert-item-maybe-notime-for-diary)
1275 (todos-insert-item-maybe-notime-for-diary-here)
1276 (todos-insert-item-maybe-notime-here)
1277 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1278 New insertion commands.
1279 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1280 (todos-delete-item): Handle diary items;
1281 use todos-update-categories-sexp.
1282 (todos-edit-item): Check if point is with item string;
1283 use read-string instead of read-from-minibuffer;
1284 use todos-date-string-start; after editing put point at start of
1285 item text.
1286 (todos-edit-multiline): Narrow to item before invoking
1287 todos-edit-mode; show key binding of todos-edit-quit in a message.
1288 (todos-edit-quit): Use todos-save; kill buffer.
1289 (todos-edit-item-header): Add optional argument to prompt for
1290 editing only date string or only time string;
1291 use todos-date-string-start.
1292 (todos-edit-item-date, todos-edit-item-date-is-today)
1293 (todos-raise-item-priority, todos-lower-item-priority): Rename
1294 from todos-{raise, lower}-item and make them DTRT in
1295 todos-top-priorities-mode.
1296 (todos-set-item-priority): Make interactive; use todos-get-count
1297 and todos-insert-with-overlays; interactively, just relocate the
1298 item within its category.
1299 (todos-move-item): Add optional argument to prompt for a category
1300 in another Todos file; handle diary items; fix restoration after
1301 cancelling before inserting.
1302 (todos-item-done): Handle diary items; simplify handling of
1303 insertion in done items section.
1304 (todos-item-undo): Handle diary items.
1305 (todos-archive-done-items): Adjust to new handling of archive
1306 files (in parallel with Todos files); handle diary items; use
1307 todos-done-string-start.
1308 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1309 todos-nondiary-end and todos-item-counts.
1310 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1311 todos-category-end.
1312 (todos-print): Remove autoload cookie; rewrite to make overlays,
1313 line wrapping and wrap prefixes printable.
1314 (todos-date-pattern): Make parenthesized groups shy.
1315 (todos-date-string-match): Use todos-date-string-start; make
1316 todos-date-pattern an explicitly numbered group.
1317 (todos-time-string-match): Use todos-date-string-start.
1318 (todos-done-string-match): Use todos-done-string-start.
1319 (todos-category-string-match): Rewrite to match new category and
1320 category+filename patterns in todos-top-priorities-mode.
1321 (todos-prefix-overlays): Use todos-done-string-start and
1322 todos-category-done.
1323 (todos-reset-prefix): Handle archive files; restore point after
1324 changing prefix.
1325 (todos-reset-separator): Handle archive files.
1326 (todos-category-number): Make category number one more than its
1327 list index.
1328 (todos-current-category): Adjust to 1-based numbering of categories.
1329 (todos-category-select): Simplify handling of done items and done
1330 separator string overlay.
1331 (todos-item-start): Use todos-date-string-start and
1332 todos-done-string-start.
1333 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1334 (todos-item-string): Restore point after getting item bounds; use
1335 buffer-substring-no-properties.
1336 (todos-done-item-p): Use todos-done-string-start.
1337 (todos-make-categories-list): Add optional argument to force
1338 looping through file to get categories and their item counts,
1339 otherwise set todos-categories from sexp in first line; use
1340 vectors of item counts instead of plists; count diary items.
1341 (todos-item-counts): Use todos-counts, todos-set-counts,
1342 todos-get-counts, and todos-update-categories-sexp instead of
1343 getting and setting properties; handle diary items.
1344 (todos-read-category): Add argument to set prompt; don't offer
1345 default category.
1346 (todos-validate-category-name): Rename from
1347 todos-check-category-name; take into account whether there are
1348 already categories or not.
1349 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1350 (todos-padded-string): Accommodate new structure of
1351 todos-categories as alists; use todos-categories-align.
1352 (todos-descending-counts-store): New variable.
1353 (todos-insert-category-line): Rename from
1354 todos-insert-category-name and reimplement using labels and
1355 todos-get-counts instead of properties; use
1356 todos-ignore-archived-categories; highlight sorted column.
1357
1358 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
1359
1360 Changes from 2010-07-09 (revision 109995).
1361 * calendar/todos.el Remove lots of commented out code; add various
1362 comments; further code rearrangement.
1363 (todos-insert-item-here-ask-date-time)
1364 (todos-insert-item-ask-date-time)
1365 (todos-insert-item-ask-dayname-time)
1366 (todos-insert-item-for-diary)
1367 (todos-insert-item-for-diary-ask-date-time)
1368 (todos-make-categories-alist, todos-categories-alist): Remove.
1369 (todos-categories-list): Comment out.
1370 (todos-make-categories-list): New function replacing
1371 todos-make-categories-alist, using category plists to get item
1372 counts and taking archive into account.
1373 (todos-current-todos-file): New variable.
1374 (todos-mode-map): Update key bindings.
1375 (todos-save): Add as comment code to make sure todos-categories
1376 sexp is current on saving.
1377 (todos-quit): Call todos-show on quitting Todos archive buffer.
1378 (todos-show): If todos-current-todos-file is not set to Todos
1379 file, set it as a new file; set todos-categories from
1380 todos-make-categories-alist.
1381 (todos-display-categories): Use a different display format for
1382 archive file; put point initially on the first button.
1383 (todos-toggle-view-done-items): Check the category's `done'
1384 property to determine if there are done items.
1385 (todos-view-archive): Set todos-current-todos-file to the archive
1386 file; jump from the Todos file to the same category in the
1387 archive, if it exists, else jump to the first category; use
1388 message instead of error.
1389 (todos-add-category): Intern a special symbol for the new category
1390 and set its property list to holds counts of the numbers of todo,
1391 done and archived items in the category; assign the new category
1392 the current highest category number.
1393 (todos-rename-category): Don't use todos-categories-alist.
1394 (todos-delete-category): Check the category's `todo' and `done'
1395 properties to determine if it is empty; ensure that the end of the
1396 last category is found; after deleting the category, empty its
1397 plist and unintern its special symbol.
1398 (todos-insert-item-here): Fix argument list of todos-insert-item.
1399 (todos-delete-item, todos-raise-item, todos-lower-item):
1400 Use message instead of error.
1401 (todos-move-item): If the category to be moved to does not exist,
1402 add it as a new category.
1403 (todos-item-done, todos-reset-separator):
1404 Use todos-category-select instead of todos-show.
1405 (todos-archive-done-items): Make buffer writeable; conditionalize
1406 search for end of category; save after adding to archive in case
1407 the file is new, so it can be found.
1408 (todos-category-select): Wrap search in if instead of or+and;
1409 don't hide done items in an archive.
1410 (todos-set-item-priority): Check the category's `todo'
1411 property to determine if there are not done todo items.
1412 (todos-jump-to-category-noninteractively): Just switch to buffer
1413 visiting todos-current-todos-file, since this can be either a
1414 Todos file or an archive.
1415 (todos-item-counts): Use category's plist instead of an alist.
1416 (todos-longest-category-name-length): Argument is now a list of
1417 category names, not an alist, so just test each element, not each
1418 element's the car.
1419 (todos-padded-string): Use todos-categories instead of
1420 todos-categories-alist.
1421 (todos-insert-category-name): Use category plist to get item
1422 counts; take archived items into account.
1423
1424 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1425
1426 Changes from 2010-06-18 (revision 109994).
1427 * calendar/todos.el: Numerous spelling and comment fixes, doc
1428 string fixes to conform with checkdoc, further rearrangement of
1429 definitions, etc.
1430 (todos-previous-line, todos-previous-answer)
1431 (todos-insert-item-ask-date, todos-change-date)
1432 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1433 (todos-count-items-in-category, todos-count-all-items): Remove.
1434 (todos-update-numbered-prefix, todos-item-start-overlays)
1435 (todos-add-item-non-interactively): Comment out, also in uses.
1436 (todos-done-separator): Change default value.
1437 (todos-always-add-time-string): Rename from todos-add-time-string
1438 and adjust uses.
1439 (todos-read-category): Rename from todos-completing-read and
1440 adjust callers; use todos-current-category.
1441 (todos-make-categories-alist): Rename from function
1442 todos-categories-alist.
1443 (todos-categories-alist): New variable.
1444 (todos-indent-to-here): New defcustom.
1445 (todos-button): New face.
1446 (todos-display-categories-alphabetically, todos-raise-category)
1447 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1448 (todos-insert-item-here-ask-date-time)
1449 (todos-insert-item-ask-date-time)
1450 (todos-insert-item-ask-dayname-time): New commands.
1451 (todos-edit-item-header): New command replacing todos-change-date.
1452 (todos-category-number, todos-indent, todos-item-counts)
1453 (todos-check-category-name, todos-read-date, todos-read-dayname)
1454 (todos-read-time, todos-padded-string)
1455 (todos-insert-category-name): New functions.
1456 (todos-set-item-priority): New function replacing
1457 todos-add-item-non-interactively.
1458 (todos-mode-map): Remap newline to newline-and-indent.
1459 (todos-edit-mode-map): Make sparse keymap; remap newline to
1460 newline-and-indent.
1461 (todos-categories-mode-map): New keymap.
1462 (todos-mode, todos-edit-mode): Make indent-line-function local
1463 variable and set to todos-indent.
1464 (todos-categories-mode): New major mode.
1465 (todos-display-categories): List categories initially in their
1466 numerical order; add optional argument to switch to alphabetical
1467 listing.
1468 (todos-toggle-view-done-items): Simplify implementation.
1469 (todos-toggle-display-date-time): Fix regexp search string.
1470 (todos-backward-item, todos-forward-item): Use variable
1471 todos-item-start.
1472 (todos-add-category): Use todos-check-category-name and
1473 todos-categories-alist.
1474 (todos-rename-category): Use todos-current-category,
1475 todos-check-category-name and todos-categories-alist.
1476 (todos-delete-category): Use todos-check-category-name and
1477 todos-categories-alist and take done items into account.
1478 (todos-insert-item): Use separate arguments to handle insertion of
1479 date/dayname and time strings, add new argument to mark item for
1480 diary inclusion, use new todos-read-* functions,
1481 todos-set-item-priority and todos-item-counts.
1482 (todos-insert-item-here, todos-insert-item-for-diary)
1483 (todos-insert-item-from-calendar): Adapt to new version of
1484 todos-insert-item.
1485 (todos-delete-item, todos-item-done): Use todos-item-counts.
1486 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1487 char follows.
1488 (todos-lower-item): Ensure only not-done items can be lowered.
1489 (todos-move-item): Use todos-current-category, todos-read-category
1490 and todos-item-counts.
1491 (todos-archive-done-items): Use todos-current-category and
1492 todos-item-counts; fix regexp search string.
1493 (todos-item-undo): Use todos-current-category,
1494 todos-set-item-priority, todos-insert-with-overlays and
1495 todos-item-counts; restore if user quits before inserting undone
1496 item.
1497 (todos-date-pattern): Rewrite without using
1498 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1499 (todos-date-string-match): Do not make todos-date-pattern an
1500 unnumbered group.
1501 (todos-time-string-match): Make todos-date-pattern a shy group.
1502 (todos-wrap-and-indent): Use todos-indent-to-here.
1503 (todos-reset-prefix): Revert to using todos-show instead of
1504 todos-category-select.
1505 (todos-prefix-overlays): Fix numbering of done items and updating
1506 of prefix.
1507 (todos-category-select): Use todos-current-category; fix display
1508 of separator string; don't move point to top of category.
1509 (todos-jump-to-category-noninteractively): Use todos-category-number.
1510 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1511 (todos-item-start): New variable.
1512 (todos-item-start): Use it to define this function.
1513 (todos-item-end): Adjust if item is last unfinished one before
1514 displayed done items.
1515 (todos-remove-item): Use todos-item-start and todos-item-end
1516 instead of todos-forward-item and todos-backward-item.
1517 (todos-longest-category-name-length): Add argument for list of
1518 categories.
1519
1520 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1521
1522 Changes from 2010-05-25 (revision 109993).
1523 * calendar/todos.el: Comment out calendar require, since diary-lib
1524 requires calendar. Rearrange file to group definitions according
1525 to their use (types of commands, internal functions, etc.)
1526 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1527 (todos-date-string, todos-time-string, todos-check-overlay)
1528 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1529 Comment out.
1530 (todos-current-date, todos-item-end-overlays)
1531 (todos-list-categories): Remove.
1532 (todos-item-end): Remove (the variable, not the function).
1533 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1534 callers.
1535 (todos-done-separator, todos-done-string, todos-show-with-done)
1536 (todos-files, todos-archive-file, todos-categories-buffer)
1537 (todos-archived-categories-buffer, todos-wrap-lines)
1538 (todos-line-wrapping-function): New defcustoms.
1539 (todos-done, todos-done-sep): New faces.
1540 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1541 (todos-search-string, todos-date-nodayname-pattern)
1542 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1543 (todos-done-string-match, todos-category-string-match)
1544 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1545 (todos-current-category, todos-count-items-in-category)
1546 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1547 (todos-longest-category-name-length): New functions.
1548 (todos-categories-list): New buffer-specific function replacing
1549 todos-list-categories.
1550 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1551 (todos-search, todos-view-archive, todos-diary-items)
1552 (todos-toggle-display-date-time, todos-insert-item-no-time)
1553 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1554 (todos-insert-item-from-calendar, todos-edit-quit)
1555 (todos-change-date, todos-item-done, todos-archive-done-items)
1556 (todos-item-undo): New commands.
1557 (todos-archive-mode): New major mode.
1558 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1559 (todos-category-beg): Change value.
1560 (todos-number-prefix): Change default value.
1561 (todos-edit-buffer): Change from defvar to defcustom.
1562 (todos-font-lock-keywords): Use todos-done-string-match and
1563 todos-category-string-match.
1564 (todos-backward-item, todos-forward-item): Use todos-done-string
1565 and todos-date-pattern.
1566 (todos-display-categories): Reimplement using buttons from
1567 button.el instead of widgets.
1568 (todos-top-priorities): Use with-current-buffer; take done items
1569 into account; ensure buffers gets fontified.
1570 (todos-add-category): Ensure new category does not begin with
1571 empty lines.
1572 (todos-jump-to-category): Use todos-category-select instead of
1573 todos-show.
1574 (todos-rename-category): Prompt for new name in body instead of in
1575 interactive spec.
1576 (todos-insert-item): Don't insert in done items section of
1577 category. Add two optional arguments to control insertion: (i) to
1578 insert near point without prompting for priority; (ii) to use
1579 defaults for date and time strings, to prompt for these, or to
1580 choose date from the Calendar.
1581 (todos-insert-item-here): Reimplement using todos-insert-item.
1582 (todos-delete-item): Don't move point after deleting last item.
1583 (todos-raise-item, todos-lower-item): Take done items into account.
1584 (todos-move-item): Don't move done items; update item numbering;
1585 restore if user quits before inserting moved item.
1586 (todos-print): Prompt for confirmation to print.
1587 (todos-reset-prefix): Search backward from end of file instead of
1588 forward from top.
1589 (todos-jump-to-category-noninteractively): Take Todos archive into
1590 account.
1591 (todos-category-select): Show or hide done items according to
1592 todos-show-with-done; if shown, coordinate separator and prefix
1593 overlays.
1594 (todos-add-item-non-interactively): Replace binary insertion
1595 algorithm with prompting for numerical priority.
1596 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1597 (todos-item-start): Take done items into account; use
1598 todos-date-pattern.
1599 (todos-item-end): Reimplement using todos-forward-item.
1600 (todos-remove-item): Reimplement using todos-forward-item and
1601 todos-backward-item; redo overlay handling.
1602 (todos-mode-map): Add some new key bindings and change numerous
1603 existing bindings; use "i" as prefix key for item insertion
1604 commands.
1605 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1606 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1607 spec; set buffer-read-only to t and consequently let-bind this
1608 variable in all Todos commands that change buffer content.
1609 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1610 (todos-save): Don't save top priorities buffer.
1611 (todos-show): Make a no-op if called interactively in narrowed
1612 Todos mode, since, also to work around item prefix reduplication
1613 bug with show-paren-mode enabled; use todos-categories-list.
1614
1615 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1616
1617 Changes from 2009-11-07 (revision 109992).
1618 * calendar/todos.el: Comment out time-stamp require; require
1619 calendar and diary-lib.
1620 (todos-prefix): Change default value and doc string to reflect new
1621 meaning; add :initialize and :set functions.
1622 (todos-time-string-format, todos-entry-prefix-function)
1623 (todos-initials, todos-entry-timestamp-initials)
1624 (todos-prefix-face, todos-category-sep, todos-category-end)
1625 (todos-cp): Comment out.
1626 (todos-prefix-string): Inherit from font-lock-comment-face.
1627 (todos-item-header, todos-item-header-face): Remove.
1628 (todos-date, todos-time): New faces.
1629 (todos-date-face, todos-time-face): Corresponding new variables.
1630 (todos-add-time-string, todos-include-in-diary)
1631 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1632 New defcustoms.
1633 (todos-item-end, todos-item-start-overlays)
1634 (todos-item-end-overlays): New variables.
1635 (todos-date-string-match, todos-time-string-match): New functions.
1636 (todos-font-lock-keywords): Use them.
1637 (todos-current-date, todos-date-string, todos-time-string)
1638 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1639 (todos-reset-prefix, todos-update-numbered-prefix)
1640 (todos-check-overlay, todos-item-overlays)
1641 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1642 (todos-highlight-item): New command.
1643 (todos-category-beg): Change value.
1644 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1645 (todos-backward-item): Add optional count argument; use it and
1646 todos-item-start.
1647 (todos-forward-item): Use todos-check-overlay, todos-item-start
1648 and variable todos-item-end.
1649 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1650 todos-update-numbered-prefix, todos-item-overlays.
1651 (todos-add-category, todos-rename-category)
1652 (todos-list-categories): Use new category format.
1653 (todos-delete-category): Allow deleting non-empty category;
1654 use new category format.
1655 (todos-add-item-non-interactively): Comment out unnecessary
1656 save-excursion; use todos-insert-with-overlays.
1657 (todos-insert-item): Comment out unnecessary save-excursion; use
1658 new item format for date/time header and diary inclusion marking.
1659 (todos-insert-item-here): Use new item format for date/time header
1660 and diary inclusion marking; use todos-insert-with-overlays.
1661 (todos-raise-item): Make a no-op if point is on an empty line; use
1662 todos-insert-with-overlays.
1663 (todos-lower-item): Use todos-insert-with-overlays.
1664 (todos-top-priorities): Move call to todos-show inside
1665 save-excursion; add save-current-buffer after save-restriction.
1666 (todos-item-start): Use variable todos-item-end.
1667 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1668 (todos-remove-item): Take item overlays into account.
1669 (todos-mode): Change calculation of wrap-prefix; make
1670 hl-line-range-function a local variable and set it to highlight
1671 todo item.
1672 (todos-show): Ensure point stays at top of category.
1673
1674 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1675
1676 Changes from 2009-07-04 (revision 109991).
1677 * calendar/todos.el (todos-window-configuration): Comment out.
1678 (todos-display-categories): Comment out use of
1679 todos-window-configuration; use switch-to-buffer instead of
1680 pop-to-buffer.
1681 (todos-jump-to-category-noninteractively): Comment out use of
1682 todos-window-configuration.
1683 (todos-edit-item): Don't allow editing of date/time item header.
1684 (todos-insert-item, todos-insert-item-here): Insert date/time
1685 header in front of new item string.
1686 (todos-mode): Tweak wrap-prefix.
1687
1688 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1689
1690 Changes from 2009-06-26 (revision 109989).
1691 * calendar/todos.el (todos-file-do, todos-file-done):
1692 Change default location to directory "~/.emacs.d/".
1693 (todos-completion-ignore-case, todos-categories-buffer):
1694 New defcustoms.
1695 (todos-prefix-string, todos-item-header): New faces.
1696 (todos-prefix-face, todos-item-header-face): Corresponding
1697 new variables.
1698 (todos-rename-category, todos-delete-category)
1699 (todos-display-categories, todos-move-item): New commands.
1700 (todos-mode-map): Add key bindings for new commands and for
1701 todos-add-category, which had no key binding.
1702 (todos-jump-to-category-noninteractively): New function.
1703 (todos-top-priorities): Comment out code using a previously
1704 deleted variable.
1705 (todos-completing-read): Allow SPC to insert a space when entering
1706 a new category name; use todos-completion-ignore-case.
1707 (todos-font-lock-keywords, todos-window-configuration):
1708 New variables.
1709 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1710 word-wrap, and wrap-prefix local variables.
1711
1712 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1713
1714 Changes from 2009-02-16 (revision 109988).
1715 * calendar/todos.el (todos-list-categories): Fix typos.
1716 (todos-show): Ensure file is in todos-mode.
1717
1718 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1719
1720 Changes from 2009-02-12 (revision 109987).
1721 * calendar/todos.el (todos-header): Remove defvar.
1722 (todos-add-category): Comment out code that inserts and updates
1723 the file local variables first line of the file todos-file-do.
1724 (todos-list-categories): New function.
1725 (todos-show): Use it; remove use of a previously deleted variable.
1726
1727 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1728
1729 Changes from 2009-02-12 (revision 109986).
1730 * calendar/todos.el: New file. This is a copy of todo-mode.el
1731 from revision 94343 except for the following changes: replace all
1732 occurrences of the namespace prefix "todo-" with "todos-", delete
1733 the defvar todo-cats (the old name of todo-categories) and its use
1734 in todos-add-category, delete all defaliases of old command names.
1735
1736 2012-09-11 Bastien Guerry <bzg@gnu.org>
1737
1738 * subr.el (set-temporary-overlay-map): Add a docstring.
1739 (bug#12346)
1740
1741 2012-09-11 Bastien Guerry <bzg@gnu.org>
1742
1743 * minibuffer.el (completion-table-subvert): Fix docstring.
1744 (bug#12347)
1745
1746 2012-09-11 Bastien Guerry <bzg@gnu.org>
1747
1748 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1749
1750 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1751
1752 * progmodes/sql.el: Version 3.1
1753 (sql-db2-escape-newlines): New variable.
1754 (sql-escape-newlines-filter): Use it.
1755
1756 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1757
1758 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1759
1760 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1761
1762 * vc/diff-mode.el (diff-mode-menu): Bind
1763 diff-remove-trailing-whitespace.
1764
1765 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1768 (emacs-lisp-byte-code-comment)
1769 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1770 New functions.
1771 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1772 (eval-defun-2): Remove bogus interactive spec.
1773 (lisp-indent-line): Remove redundant whole-exp code, now done in
1774 indent-according-to-mode.
1775 (save-match-data): Remove redundant indent data.
1776
1777 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1778 Use `declare'.
1779
1780 2012-09-09 Juri Linkov <juri@jurta.org>
1781
1782 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1783 (replace-lax-whitespace, query-replace-regexp)
1784 (query-replace-regexp-eval, replace-regexp): Doc fix.
1785 (perform-replace, replace-highlight): Let-bind
1786 isearch-lax-whitespace to replace-lax-whitespace and
1787 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1788
1789 * isearch.el (isearch-query-replace): Let-bind
1790 replace-lax-whitespace to isearch-lax-whitespace and
1791 replace-regexp-lax-whitespace to
1792 isearch-regexp-lax-whitespace. (Bug#10885)
1793
1794 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1797
1798 2012-09-09 Alan Mackenzie <acm@muc.de>
1799
1800 * progmodes/cc-engine.el (c-state-cache-init):
1801 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1802 (c-record-parse-state-state):
1803 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1804
1805 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1806
1807 * register.el (register-separator): Rename from
1808 separator-register. All uses changed. Doc fix.
1809 (register): Fix version.
1810
1811 2012-09-09 Chong Yidong <cyd@gnu.org>
1812
1813 * replace.el (query-replace-map): Bind four new symbols for
1814 requesting window scrolling.
1815
1816 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1817 query-replace-map (Bug#8948).
1818
1819 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1820
1821 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1822 since they are now in query-replace-map.
1823
1824 * window.el (scroll-other-window-down): Make the arg optional.
1825
1826 2012-09-09 Chong Yidong <cyd@gnu.org>
1827
1828 * files.el (hack-local-variables-confirm): Use quit-window to kill
1829 the *Local Variables* buffer.
1830
1831 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1834 not just expect to be at its beginning. Adjust callees.
1835 Succeed when do-end block has no space before the pipe character.
1836 (ruby-brace-to-do-end): When the original block is one-liner,
1837 convert to multiline. Reindent the result.
1838
1839 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1840
1841 * register.el (register): New group.
1842 (register-separator): New user option.
1843 (increment-register): Route it to `append-to-register', if
1844 register contains text. Implication is that `C-x r +' can now be
1845 used for appending to a text register (bug#12217).
1846 (append-to-register, prepend-to-register): Add separator based on
1847 `register-separator.
1848
1849 2012-09-08 Alan Mackenzie <acm@muc.de>
1850
1851 AWK Mode: make auto-newline work when there's "==" in the pattern.
1852 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1853 correctly.
1854 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1855 Test more rigorously for "=" token.
1856
1857 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1858
1859 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1860 Only fail when reached LIMIT.
1861
1862 2012-09-08 Chong Yidong <cyd@gnu.org>
1863
1864 * dired.el (dired-mode-map): Don't bind M-=.
1865
1866 * dired-aux.el (dired-diff): Use backup file as default.
1867
1868 2012-09-08 Drew Adams <drew.adams@oracle.com>
1869
1870 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1871
1872 2012-09-08 Chong Yidong <cyd@gnu.org>
1873
1874 * subr.el (syntax-after, syntax-class): Doc fix.
1875
1876 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1877
1878 * window.el (display-buffer-in-previous-window): New buffer
1879 display action function.
1880
1881 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1882 (debugger-previous-window): New variable.
1883 (debug): Rewrite using display-buffer-in-previous-window,
1884 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1885
1886 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1889
1890 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1891
1892 * progmodes/python.el (python-shell-send-string):
1893 When default-directory is remote, create temp file on remote
1894 filesystem.
1895 (python-shell-send-file): When file is remote, pass local view of
1896 file paths to remote Python interpreter. (Bug#12340)
1897
1898 2012-09-07 Chong Yidong <cyd@gnu.org>
1899
1900 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1901
1902 * files.el (after-find-file): Don't fail on a read-only buffer if
1903 require-final-newline is `visit' or `visit-save' (Bug#11156).
1904
1905 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1906
1907 * userlock.el (ask-user-about-supersession-threat):
1908 Use read-char-choice (Bug#12093).
1909
1910 2012-09-07 Chong Yidong <cyd@gnu.org>
1911
1912 * subr.el (buffer-narrowed-p): New function.
1913
1914 * ses.el (ses-widen):
1915 * simple.el (count-words--buffer-message):
1916 * net/browse-url.el (browse-url-of-buffer): Use it
1917
1918 * simple.el (count-words-region): Don't signal an error if there
1919 is a non-nil prefix arg and the mark is not set.
1920
1921 * help.el (describe-key-briefly): Allow the message to be seen
1922 when invoked from the minibuffer (Bug#7014).
1923
1924 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1925
1926 * progmodes/ruby-mode.el (ruby-end-of-defun)
1927 (ruby-beginning-of-defun): Simplify, allow indentation before
1928 block beginning and end keywords.
1929 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1930 (ruby-end-of-defun): Expect that the point is at the beginning of
1931 the defun.
1932
1933 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1936 (bug#12367).
1937 (cl--make-usage-args): Strip _ from argument names.
1938
1939 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1940
1941 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1942 obsolete alias speedbar-key-map.
1943 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1944 (vhdl-index-menu-init): Don't use obsolete variable
1945 font-lock-maximum-size.
1946
1947 2012-09-06 Chong Yidong <cyd@gnu.org>
1948
1949 * frame.el (window-system-version): Mark as obsolete.
1950
1951 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1952 of obsolete variable speedbar-key-map.
1953
1954 2012-09-06 Juri Linkov <juri@jurta.org>
1955
1956 * replace.el (replace-lax-whitespace): New defcustom.
1957 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1958 (replace-string, replace-regexp): Mention it in docstrings.
1959 (perform-replace, replace-highlight): Let-bind
1960 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1961 to the values of replace-lax-whitespace and regexp-flag.
1962 Don't let-bind search-whitespace-regexp. (Bug#10885)
1963
1964 * isearch.el (isearch-query-replace): Let-bind
1965 replace-lax-whitespace instead of let-binding
1966 replace-search-function and replace-re-search-function.
1967 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1968 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1969 (isearch-toggle-symbol): Set isearch-regexp to nil
1970 in isearch-word mode (like in isearch-toggle-word).
1971
1972 2012-09-06 Juri Linkov <juri@jurta.org>
1973
1974 * replace.el (replace-search-function)
1975 (replace-re-search-function): Set default values to nil.
1976 (perform-replace): Let-bind isearch-related variables based on
1977 replace-related values, call `isearch-search-fun' and let-bind
1978 the result to `search-function'. Remove code that sets
1979 `search-function' and `search-string' separately for
1980 `delimited-flag'.
1981 (replace-highlight): Add new argument `delimited-flag' and
1982 rename other arguments to the names used in `perform-replace'.
1983 Let-bind `isearch-word' to the argument `delimited-flag'.
1984 (Bug#10885, bug#10887)
1985
1986 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1987
1988 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1989 ruby-beginning-of-indent, simplify, allow all keywords to have
1990 indentation before them.
1991 (ruby-beginning-of-indent): Adjust for above. Search until the
1992 found point is not inside a string or comment.
1993 (ruby-font-lock-keywords): Allow symbols to start with "@"
1994 character, give them higher priority than variables.
1995 (ruby-syntax-propertize-function)
1996 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1997 matchers. Expression expansions are not comments when inside a
1998 string, and there comment syntax status is irrelevant.
1999 (ruby-match-expression-expansion): New function. Check that
2000 expression expansion is inside a string, and it's not escaped.
2001 (ruby-font-lock-keywords): Use it.
2002
2003 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2004
2005 * help.el (temp-buffer-max-height): New default value.
2006 (temp-buffer-resize-frames): New option.
2007 (resize-temp-buffer-window): Optionally resize frame.
2008
2009 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2010 (fit-frame-to-buffer): New function.
2011
2012 2012-09-05 Glenn Morris <rgm@gnu.org>
2013
2014 * emulation/cua-rect.el (cua--init-rectangles):
2015 * textmodes/picture.el (picture-mode-map):
2016 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2017 like forward-char and backward-char. (Bug#12317)
2018
2019 2012-09-05 Leo Liu <sdl.web@gmail.com>
2020
2021 * progmodes/flymake.el (flymake-warning-re): New variable.
2022 (flymake-parse-line): Use it.
2023
2024 2012-09-05 Glenn Morris <rgm@gnu.org>
2025
2026 * calendar/holidays.el (holiday-christian-holidays):
2027 Rename an entry. (Bug#12289)
2028
2029 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2032 (bug#12222).
2033
2034 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * loadup.el: Load macroexp. Remove hack.
2037 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2038 (macroexp--expand-all): Use it to get better warnings.
2039 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2040 (internal-macroexpand-for-load): New functions.
2041 (macroexp--pending-eager-loads): New var.
2042 (emacs-startup-hook): New hack to replace one in loadup.el.
2043 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2044 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2045 (cl-psetf): Simplify.
2046 (cl-defstruct): Add indent rule.
2047
2048 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2049
2050 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2051 over `user-mail-address' for the SMTP MAIL FROM envelope.
2052 (smtpmail-via-smtp): Ditto.
2053
2054 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2055
2056 * progmodes/ruby-mode.el: Clean up keybindings.
2057 (ruby-mode-map): Don't bind ruby-electric-brace,
2058 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2059 backward-kill-word, reindent-then-newline-and-indent.
2060 (ruby-mark-defun): Remove.
2061 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2062 (ruby-mode): Set local beginning-of-defun-function and
2063 end-of-defun-function values.
2064
2065 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2066
2067 * window.el (temp-buffer-window-setup-hook)
2068 (temp-buffer-window-show-hook): New hooks.
2069 (temp-buffer-window-setup, temp-buffer-window-show)
2070 (with-temp-buffer-window): New functions.
2071 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2072 (special-display-popup-frame): Make sure the window used shows BUFFER.
2073
2074 * help.el (temp-buffer-resize-mode): Fix doc-string.
2075 (resize-temp-buffer-window): New optional argument WINDOW.
2076
2077 * files.el (recover-file, save-buffers-kill-emacs):
2078 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2079
2080 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2083 remote definition of `default-directory', ensure we can connect.
2084
2085 2012-09-02 Juri Linkov <juri@jurta.org>
2086
2087 Toggle whitespace matching mode with M-s SPC.
2088 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2089
2090 * isearch.el (search-whitespace-regexp): Doc fix.
2091 Remove cons cell customization.
2092 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2093 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2094 New variables.
2095 (isearch-forward, isearch-forward-regexp): Doc fix.
2096 (isearch-toggle-lax-whitespace): New command.
2097 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2098 (re-search-forward-lax-whitespace)
2099 (re-search-backward-lax-whitespace): New functions.
2100 (isearch-whitespace-regexp): Remove function.
2101 (isearch-query-replace): Let-bind replace-search-function and
2102 replace-re-search-function.
2103 (isearch-occur): Let-bind search-spaces-regexp according to the
2104 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2105 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2106 condition for C-q SPC.
2107 (isearch-search-fun-default): Use new functions mentioned above.
2108 (isearch-search-forward, isearch-search-backward): Remove functions.
2109 (isearch-search): Don't let-bind search-spaces-regexp.
2110 (isearch-lazy-highlight-space-regexp): Remove variable.
2111 (isearch-lazy-highlight-lax-whitespace)
2112 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2113 (isearch-lazy-highlight-new-loop): Use them.
2114 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2115
2116 2012-09-02 Chong Yidong <cyd@gnu.org>
2117
2118 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2119
2120 2012-09-02 Glenn Morris <rgm@gnu.org>
2121
2122 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2123
2124 2012-09-01 Glenn Morris <rgm@gnu.org>
2125
2126 * term.el: Tidy up menu definitions.
2127 (term-mode-map): Use easymenu for In/Out, Complete menus.
2128 (term-pager-break-map): Initialize in the defvar.
2129 (term-terminal-menu, term-signals-menu): Define with easymenu.
2130 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2131 (term-pager-menu): New, extracted from term-process-pager.
2132 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2133 (term-update-mode-line): Propertize line/char and page items.
2134 (term-process-pager): Move keymap initialization elsewhere.
2135
2136 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2137
2138 * window.el (switch-to-prev-buffer): Handle additional values of
2139 BURY-OR-KILL argument. Don't switch in minibuffer window.
2140 (switch-to-next-buffer): Don't switch in minibuffer window.
2141 (quit-restore-window): New function based on quit-window.
2142 Handle additional values of former KILL argument.
2143 (quit-window): Call quit-restore-window with appropriate
2144 interpretation of KILL argument.
2145 (display-buffer-below-selected): New buffer display action
2146 function.
2147
2148 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * minibuffer.el (completion-at-point-functions): Complete docstring
2151 (bug#12254).
2152
2153 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2154
2155 Better seed support for (random).
2156 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2157 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2158 * play/mpuz.el, play/tetris.el, play/zone.el:
2159 * calc/calc-comb.el (math-init-random-base):
2160 * play/blackbox.el (bb-init-board):
2161 * play/life.el (life):
2162 * server.el (server-use-tcp):
2163 * type-break.el (type-break):
2164 Remove unnecessary call to (random t).
2165 * net/sasl.el (sasl-unique-id-function):
2166 Change (random t) to (random), now that the latter is more random.
2167 * play/life.el (life-initialized): Remove no-longer-needed var.
2168
2169 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2170
2171 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2172 Consider frame's buffer predicate when choosing the buffer.
2173 (Bug#12081)
2174
2175 2012-08-30 Richard Stallman <rms@gnu.org>
2176
2177 * simple.el (special-mode-map): Delete binding for `z'.
2178
2179 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2180
2181 * progmodes/compile.el (compilation-always-kill): Doc fix.
2182
2183 2012-08-30 Chong Yidong <cyd@gnu.org>
2184
2185 * window.el (display-buffer-reuse-frames): Make the obsolescence
2186 message more informative.
2187
2188 2012-08-30 Glenn Morris <rgm@gnu.org>
2189
2190 * paren.el (show-paren-delay):
2191 Add a :set function. Doc fix. (Bug#12297)
2192
2193 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2194
2195 * progmodes/compile.el (compilation-always-kill): New var.
2196 (compilation-start): Use it.
2197
2198 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2201 * files.el (read-only-mode): Move to simple.el.
2202
2203 * files.el (read-only-mode): New minor mode.
2204 (toggle-read-only): Use it and mark obsolete.
2205 (find-file--read-only):
2206 * vc/vc.el (vc-next-action, vc-checkout):
2207 * vc/vc-cvs.el (vc-cvs-checkout):
2208 * obsolete/vc-mcvs.el (vc-mcvs-update):
2209 * ffap.el (ffap--toggle-read-only): Update callers.
2210
2211 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * eshell/esh-ext.el (eshell-external-command): Do not examine
2214 remote shell scripts.
2215 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2216
2217 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2218 "/usr/local/sbin".
2219
2220 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2223
2224 2012-08-28 Leo Liu <sdl.web@gmail.com>
2225
2226 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2227 completion-at-point. (Bug#12220)
2228
2229 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2230
2231 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2232
2233 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2234
2235 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2236 be buffer-local; add delete-trailing-whitespace (bug#12259).
2237
2238 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2239
2240 * progmodes/hideif.el (hif-compress-define-list):
2241 Fix typo. (Bug#11951)
2242
2243 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2244
2245 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2246 buffer local setting.
2247
2248 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2249 rcirc-encode-coding-system.
2250
2251 2012-08-28 Leo Liu <sdl.web@gmail.com>
2252
2253 * net/rcirc.el (rcirc-split-message): New function.
2254 (rcirc-send-message): Use it. (Bug#12051)
2255
2256 2012-08-28 Juri Linkov <juri@jurta.org>
2257
2258 * info.el (Info-fontify-node): Hide empty lines at the end of
2259 the node. (Bug#12272)
2260
2261 2012-08-27 Drew Adams <drew.adams@oracle.com>
2262
2263 * dired.el (dired-pop-to-buffer): Make window start at beginning
2264 of buffer (Bug#12281).
2265
2266 2012-08-26 Chong Yidong <cyd@gnu.org>
2267
2268 * window.el (special-display-regexps, special-display-frame-alist)
2269 (special-display-buffer-names, special-display-function)
2270 (display-buffer-reuse-frames): Mark as obsolete.
2271
2272 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2273
2274 * help.el (help-print-return-message): Don't treat
2275 display-buffer-reuse-frames specially.
2276
2277 2012-08-26 Chong Yidong <cyd@gnu.org>
2278
2279 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2280 New variable, replacing gdb-frame-parameters.
2281 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2282 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2283 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2284 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2285 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2286 the functions directly with gdb-display-buffer-other-frame-action.
2287 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2288 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2289 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2290 (gdb-display-registers-buffer): Define directly.
2291 (def-gdb-display-buffer): Macro deleted.
2292 (gdb-display-buffer): Remove second and third args, callers don't
2293 use them. Defer to the default display-buffer behavior, apart
2294 from making windows dedicated.
2295 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2296
2297 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2298
2299 * window.el (display-buffer-pop-up-frame): Handle a
2300 pop-up-frame-parameters alist entry.
2301 (display-buffer): Document it.
2302
2303 2012-08-26 Chong Yidong <cyd@gnu.org>
2304
2305 * isearch.el (search-whitespace-regexp): Make string and nil
2306 values apply to both ordinary and regexp search. Allow a cons
2307 cell value to distinguish between the two.
2308 (isearch-whitespace-regexp, isearch-search-forward)
2309 (isearch-search-backward): New functions.
2310 (isearch-occur, isearch-search-fun-default, isearch-search)
2311 (isearch-lazy-highlight-new-loop): Use them.
2312 (isearch-forward, isearch-forward-regexp): Doc fix.
2313
2314 2012-08-26 Chong Yidong <cyd@gnu.org>
2315
2316 * faces.el (help-argument-name): Always inherit from italic
2317 (Bug#12213).
2318
2319 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2320
2321 * window.el (window--even-window-heights): Even heights when
2322 WINDOW and the selected window form a vertical combination.
2323 (display-buffer-use-some-window): Provide that window used gets
2324 sized back by quit-window. (Bug#11880) and (Bug#12091)
2325
2326 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2327
2328 Fix file time stamp problem with bzr and CVS (Bug#12001).
2329 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2330 in the file's time stamp, since the version control system loses
2331 that information.
2332
2333 2012-08-22 Juri Linkov <juri@jurta.org>
2334
2335 * info.el (Info-fontify-node): Hide the suffix of the
2336 Info file name in the header line. (Bug#12187)
2337
2338 2012-08-22 Glenn Morris <rgm@gnu.org>
2339
2340 * calendar/cal-tex.el (cal-tex-weekly-common):
2341 Restore leading blank page.
2342
2343 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2344
2345 * misc.el (forward-to-word, backward-to-word): Activate or extend
2346 the region under `shift-select-mode'. (Bug#12231)
2347
2348 2012-08-22 Bastien Guerry <bzg@gnu.org>
2349
2350 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2351 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2352 gives details on why the space is never needed.
2353
2354 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2355
2356 * window.el (walk-window-tree, window-with-parameter):
2357 New optional argument MINIBUF to control whether these functions
2358 should run on the minibuffer window.
2359 (window-at-side-list): Don't operate on minibuffer window.
2360 (window-in-direction): Simplify and rewrite doc-string.
2361 (window--size-ignore): Rename to window--size-ignore-p.
2362 Update callers.
2363 (display-buffer-in-atom-window, window--major-non-side-window)
2364 (window--major-side-window, display-buffer-in-major-side-window)
2365 (delete-side-window, display-buffer-in-side-window):
2366 New functions.
2367 (window--side-check, window-deletable-p, delete-window)
2368 (delete-other-windows, split-window): Handle side windows and
2369 atomic windows appropriately.
2370 (window--display-buffer): Call display-buffer-record-window also
2371 when the window buffer did not change.
2372
2373 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2374
2375 * help-fns.el (help-fns--key-bindings):
2376 Abbreviate non-symbol remap targets. (Bug#12174)
2377
2378 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2379
2380 * dired.el (dired-mark-remembered): Don't clobber point.
2381 (Bug#11795)
2382
2383 2012-08-22 Glenn Morris <rgm@gnu.org>
2384
2385 * progmodes/bug-reference.el (bug-reference): New custom group.
2386 (bug-reference-bug-regexp): Make it a defcustom.
2387
2388 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2389
2390 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2391 (js-paren-indent-offset, js-square-indent-offset)
2392 (js-curly-indent-offset): Add :safe (Bug#12257).
2393
2394 2012-08-22 Edward O'Connor <hober0@gmail.com>
2395
2396 * json.el (json-key-format): Add error properties.
2397 (json-encode-key): New function.
2398 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2399 Use json-encode-key.
2400
2401 2012-08-22 Glenn Morris <rgm@gnu.org>
2402
2403 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2404 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2405 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2406 Update for above change.
2407
2408 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2409
2410 * cus-face.el (custom-face-attributes): Fix customize type for the
2411 :underline attribute. (Bug#11805)
2412
2413 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2414
2415 * window.el (window-point-1, set-window-point-1): Remove.
2416 (window-in-direction, record-window-buffer)
2417 (set-window-buffer-start-and-point, split-window-below)
2418 (window--state-get-1, display-buffer-record-window):
2419 Replace calls to window-point-1 and set-window-point-1 by calls to
2420 window-point and set-window-point respectively.
2421
2422 2012-08-21 Glenn Morris <rgm@gnu.org>
2423
2424 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2425 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2426 Use it.
2427
2428 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2429 (cal-tex-shortday): New function.
2430 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2431 (cal-tex-cursor-filofax-daily): Use the above.
2432
2433 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2434 New functions.
2435 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2436 (cal-tex-cursor-filofax-week): Use them.
2437
2438 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2439 New constants.
2440 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2441 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2442
2443 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2444 (cal-tex-end-document): Don't rely on buffer name.
2445
2446 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2447 Use cal-tex-vspace.
2448 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2449 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2450 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2451 Use cal-tex-arg.
2452
2453 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2454 (cal-tex-cursor-week, cal-tex-cursor-week2)
2455 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2456 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2457 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2458 (cal-tex-insert-preamble, cal-tex-b-document)
2459 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2460 Improve cal-tex-cmd usage.
2461
2462 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2463 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2464 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2465 (cal-tex-weekly-paper): New function.
2466 (cal-tex-cursor-week, cal-tex-cursor-week2)
2467 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2468 (cal-tex-cursor-day): Use it.
2469
2470 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2471 (cal-tex-cursor-filofax-week): Remove leading blank page.
2472
2473 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2474 Add autoload cookie. For now at least, don't use color, since
2475 no other cal-tex function does.
2476
2477 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2478 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2479 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2480
2481 2012-08-21 Juri Linkov <juri@jurta.org>
2482
2483 * info.el (Info-file-attributes): New variable.
2484 (info-insert-file-contents): Add file attributes to
2485 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2486 `Info-toc-nodes' when previous modtime of the Info file is less
2487 than new modtime.
2488 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2489 of info.el. (Bug#12230)
2490
2491 2012-08-20 Glenn Morris <rgm@gnu.org>
2492
2493 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2494 * calendar/holidays.el (calendar-holiday-list):
2495 Report errors with display-warning rather than beep'n'sleep.
2496
2497 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-accept-process-output): Accept only output
2500 from PROC. Otherwise, process filters and sentinels might be
2501 confused. (Bug#12145)
2502
2503 2012-08-20 Chong Yidong <cyd@gnu.org>
2504
2505 * descr-text.el (describe-text-properties-1): Use overlays-in to
2506 report on empty overlays (Bug#3322).
2507
2508 2012-08-20 Glenn Morris <rgm@gnu.org>
2509
2510 * mail/rmailout.el (rmail-output-read-file-name):
2511 Trap and report errors in rmail-output-file-alist elements.
2512
2513 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2514 since most non-font-lock faces are not also variables).
2515
2516 2012-08-20 Edward Reingold <reingold@iit.edu>
2517
2518 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2519 New function. (Bug12160)
2520
2521 2012-08-19 Glenn Morris <rgm@gnu.org>
2522
2523 * mail/rmailout.el (rmail-output-read-file-name):
2524 Fix previous change (when the alist is nil or does not match).
2525
2526 2012-08-19 Chong Yidong <cyd@gnu.org>
2527
2528 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2529 (Bug#12228).
2530
2531 2012-08-18 Chong Yidong <cyd@gnu.org>
2532
2533 * simple.el (yank-handled-properties): New defcustom.
2534 (yank-excluded-properties): Add font-lock-face and category.
2535 (yank): Doc fix.
2536
2537 * subr.el (remove-yank-excluded-properties):
2538 Obey yank-handled-properties. The special handling of font-lock-face
2539 and category is now done this way, instead of being hard-coded.
2540 (insert-for-yank-1): Remove font-lock-face handling.
2541 (yank-handle-font-lock-face-property)
2542 (yank-handle-category-property): New function.
2543
2544 2012-08-17 Glenn Morris <rgm@gnu.org>
2545
2546 * mail/rmailout.el (rmail-output-read-file-name):
2547 Check rmail-output-file-alist against the full message body
2548 in the correct rmail buffer. (Bug#12214)
2549
2550 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2553 Eliminate superfluous prompt. (Bug#12203)
2554
2555 2012-08-17 Chong Yidong <cyd@gnu.org>
2556
2557 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2558 font spec, set the font directly (Bug#3228).
2559
2560 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2561
2562 * window.el (delete-window): Fix last fix.
2563
2564 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2565
2566 * window.el (window-valid-p): Move to window.c.
2567 (window-child, window-child-count, window-last-child)
2568 (window-normalize-window, window-combined-p)
2569 (window-combinations, window-atom-root, window-min-size)
2570 (window-sizable, window-sizable-p, window-size-fixed-p)
2571 (window-min-delta, window-max-delta, window--resizable)
2572 (window--resizable-p, window-resizable, window-total-size)
2573 (window-full-height-p, window-full-width-p, window-body-size)
2574 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2575 (minimize-window, window-deletable-p, delete-window)
2576 (delete-other-windows, set-window-buffer-start-and-point)
2577 (next-buffer, previous-buffer, split-window, balance-windows-2)
2578 (set-window-text-height, window-buffer-height)
2579 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2580 (truncated-partial-width-window-p): Minor code adjustments.
2581 In doc-strings state whether the argument window has to denote a
2582 live, valid or any window.
2583
2584 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2585
2586 * progmodes/subword.el (subword-forward-function)
2587 (subword-backward-function, subword-forward-regexp)
2588 (subword-backward-regexp): New variables.
2589 (subword-forward, subword-forward-internal, subword-backward-internal):
2590 Use new variables, eg so that different "word" definitions
2591 can be easily used. (Bug#11411)
2592
2593 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2596 for composite selectors.
2597 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2598 operation just because we can't find a previous revision.
2599
2600 2012-08-15 Chong Yidong <cyd@gnu.org>
2601
2602 * frame.el (set-frame-font): Accept font objects.
2603
2604 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2607
2608 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2609
2610 * man.el (Man-overstrike-face, Man-underline-face)
2611 (Man-reverse-face): Remove variables.
2612 (Man-overstrike, Man-underline, Man-reverse): New faces.
2613 (Man-fontify-manpage): Use them instead of the variables.
2614 (Man-cleanup-manpage): Comment change.
2615 (Man-ansi-color-map): New variable.
2616 (Man-fontify-manpage): Use it.
2617 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2618
2619 Implement ANSI SGR parameters 22-27 (bug#12146).
2620 * ansi-color.el (ansi-colors): Doc fix.
2621 (ansi-color-context, ansi-color-context-region): Doc fix.
2622 (ansi-color--find-face): New function.
2623 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2624 Rename the local variable `face' to `codes' since it is now a list of
2625 ansi codes. Doc fix.
2626 (ansi-color-get-face): Remove.
2627 (ansi-color-parse-sequence): New function, derived from
2628 ansi-color-get-face.
2629 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2630 codes 22-27.
2631
2632 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * subr.el (read-passwd): Allow use from a minibuffer.
2635
2636 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2637
2638 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2639 inside comments and strings as identifiers.
2640
2641 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2642 expression to evaluate. This allows to evaluate expressions with
2643 embedded whitespace.
2644 (gud-tooltip-tips): Add a blank before the newline in the
2645 message-box text, for the benefit of message-box emulation on
2646 MS-Windows.
2647
2648 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2649 messages from GDB, pop them up in a tooltip to give feedback to
2650 user.
2651 (gdb-tooltip-print-1): Quote the expression to evaluate.
2652 This allows to evaluate expressions with embedded whitespace.
2653 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2654 if the TTY name is nil or empty (which happens when communicating
2655 with the inferior via pipes, e.g. on MS-Windows).
2656 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2657 don't send that to the GUD buffer.
2658
2659 2012-08-14 Glenn Morris <rgm@gnu.org>
2660
2661 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2662 Optimize away setq-default with no args, as for setq. (Bug#12195)
2663
2664 2012-08-14 Chong Yidong <cyd@gnu.org>
2665
2666 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2667
2668 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2669 (Bug#12085).
2670
2671 2012-08-14 Glenn Morris <rgm@gnu.org>
2672
2673 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2674
2675 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2676
2677 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2678 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2679 Use cached shell name.
2680
2681 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2682
2683 * progmodes/python.el (python-shell-send-string):
2684 (python-shell-send-setup-code): Do not use `format' with `message'.
2685
2686 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2687
2688 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2689 (ruby-percent-literal-beg-re): New constant.
2690 (ruby-syntax-general-delimiters-goto-beg): Rename to
2691 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2692 (ruby-syntax-propertize-general-delimiters): Rename to
2693 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2694 popular term. Adjust comments everywhere.
2695 (ruby-syntax-propertize-percent-literal): Only propertize when not
2696 inside a simple string or comment. When the literal is unclosed,
2697 leave the text after it unpropertized.
2698 (ruby-syntax-methods-before-regexp): New constant.
2699 (ruby-syntax-propertize-function): Use it to recognize regexps.
2700 Don't look at the text after regexp, just use the whitelist.
2701
2702 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2703
2704 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2705 non-nil always load the compiled file if it exists. (Bug#12197)
2706
2707 2012-08-14 Chong Yidong <cyd@gnu.org>
2708
2709 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2710 (hi-lock-set-pattern): When deciding whether to use font lock or
2711 overlays, look at font-lock-mode instead of font-lock-fontified
2712 (Bug#12168).
2713 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2714 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2715
2716 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2717
2718 * subr.el (internal--after-with-selected-window): Fix typo
2719 (Bug#12193).
2720
2721 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2722
2723 Use `completion-table-dynamic' for completion functions.
2724 * progmodes/python.el
2725 (python-shell-completion--do-completion-at-point)
2726 (python-shell-completion--get-completions):
2727 Remove functions.
2728 (python-shell-completion-complete-at-point): New function.
2729 (python-completion-complete-at-point): Use it.
2730
2731 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2732
2733 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2734 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2735
2736 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * subr.el (function-get): Refine `autoload' arg so it can also
2739 autoload functions for gv.el (bug#12191).
2740 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2741 autoloads macros.
2742
2743 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2744 Prefer pcase-let over destructuring-bind.
2745 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2746 Also, remove whitespace as we go, rather than after accumulating the
2747 various places.
2748
2749 * subr.el (internal--before-with-selected-window)
2750 (internal--after-with-selected-window): Fix typo seleted->selected.
2751 (with-selected-window): Adjust callers.
2752 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2753
2754 2012-08-13 Bastien Guerry <bzg@gnu.org>
2755
2756 * window.el (special-display-popup-frame): Minor docstring
2757 enhancement. (Bug#12172)
2758
2759 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2762 type 1-6.
2763 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2764 extended headers.
2765
2766 * files.el (hack-local-variables-filter): Remove useless eval.
2767
2768 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2769
2770 * subr.el (with-selected-window): Fix last change.
2771
2772 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * subr.el (internal--before-with-seleted-window)
2775 (internal--after-with-seleted-window): New functions.
2776 (with-selected-window): Use them, to replace dependency on
2777 tty-top-frame.
2778
2779 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2780
2781 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2782 binding for `newline'.
2783 (ruby-move-to-block): When moving backward, stop at block opening,
2784 not indentation.
2785 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2786 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2787 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2788 `ruby-toggle-block'.
2789
2790 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * ibuffer.el (ibuffer-do-toggle-read-only):
2793 * dired.el (dired-toggle-read-only):
2794 * buff-menu.el (Buffer-menu-toggle-read-only):
2795 * bindings.el (mode-line-toggle-read-only):
2796 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2797
2798 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2799
2800 * descr-text.el (describe-char): Put the overlays over the
2801 "displayed as" character.
2802
2803 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2804
2805 * calc/calc-units.el (math-default-units-table): Give an
2806 initial value.
2807 (math-put-default-units): Add options to put composite units and
2808 unit systems in the default units table.
2809 (calc-convert-units): Send composite units to
2810 `math-put-default-units' when appropriate.
2811
2812 2012-08-11 Glenn Morris <rgm@gnu.org>
2813
2814 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2815
2816 * tutorial.el (help-with-tutorial):
2817 * emacs-lisp/copyright.el (copyright-update-directory):
2818 * emacs-lisp/autoload.el (autoload-find-generated-file)
2819 (autoload-find-file): Disable local eval: (for insurance).
2820
2821 * files.el (hack-local-variables-filter): If an eval: form is not
2822 known to be safe, and enable-local-variables is :safe, then ignore
2823 the form totally, as is done for non-eval forms. (Bug#12155)
2824 This is CVE-2012-3479.
2825
2826 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2829 (rx-form): Simplify.
2830
2831 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2832
2833 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2834 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2835 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2836 (ruby-syntax-propertize-function): Adjust for changes in
2837 `ruby-syntax-propertize-heredoc'.
2838
2839 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2840
2841 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2842 binding (use `M-;' instead).
2843 (ruby-singleton-class-p): New function.
2844 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2845
2846 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2849
2850 2012-08-10 Chong Yidong <cyd@gnu.org>
2851
2852 * progmodes/python.el (python-shell-get-process-name): Don't mess
2853 with same-window-buffer-names.
2854
2855 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2856 (eshell-remove-from-window-buffer-names): Make obsolete.
2857 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2858 (eshell): Just use pop-to-buffer-same-window instead.
2859
2860 2012-08-10 Chong Yidong <cyd@gnu.org>
2861
2862 * bindings.el: Bind M-= back to count-words-region.
2863
2864 * simple.el (count-words-region): Accept a prefix arg for acting
2865 on the entire buffer.
2866 (count-words--buffer-message): New helper function.
2867
2868 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2871 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2872 (event-start, event-end): Use posn-at-point to return a more
2873 informative posn.
2874 (posnp): New function.
2875 * mouse.el (popup-menu-normalize-position): Use it.
2876
2877 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2878
2879 * mouse.el (popup-menu-normalize-position): New function.
2880 (popup-menu): Use `popup-menu-normalize-position' to normalize
2881 the form for POSITION argument.
2882
2883 * term/x-win.el (x-menu-bar-open):
2884 Use the value returend from (posn-at-point) as position
2885 passed to `popup-menu'.
2886
2887 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2888
2889 * calc/calccomp.el (math-compose-expr): Add extra argument
2890 indicating that parentheses should be put around products in
2891 denominators. Give multiplication precedence over division during
2892 composition.
2893
2894 2012-08-09 Chong Yidong <cyd@gnu.org>
2895
2896 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2897 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2898 (Man-untabify-command, manual-program): Convert to defcustom
2899 (Bug#10429).
2900
2901 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2902
2903 * descr-text.el (describe-char): Don't insert extra newlines
2904 (Bug#10127).
2905
2906 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2907 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2908
2909 * align.el (align-region): Delete temporary markers (Bug#10047).
2910 Plus some code cleanups.
2911
2912 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2913
2914 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2915 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2916 (python-shell-internal-last-output): Use make-local-variable
2917 instead of make-variable-buffer-local.
2918
2919 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2920
2921 * progmodes/python.el: Enhancements to forward-sexp.
2922 (python-nav-forward-sexp): Rename from
2923 python-nav-forward-sexp-function.
2924 (python-nav--forward-sexp, python-nav--backward-sexp):
2925 New functions.
2926
2927 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2928
2929 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2930 modes and simplification modes.
2931
2932 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * delsel.el (delete-selection-pre-hook): Don't propagate the
2935 file-supersession signals (bug#12161).
2936
2937 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2940 (cl-map-extents): Add compatibility aliases (bug#12135).
2941
2942 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2945 tests by `ignore-error'.
2946 (tramp-find-shell): Open also a new shell, when cache is already
2947 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2948
2949 2012-08-08 Juri Linkov <juri@jurta.org>
2950
2951 * bookmark.el: Add `defaults' property to the bookmark record.
2952 (bookmark-current-buffer): Doc fix.
2953 (bookmark-make-record): Add `defaults' property with default values
2954 to the bookmark record.
2955 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2956 with `bookmark-insert-current-bookmark'.
2957 (bookmark-set): Get `defaults' property from the bookmark record
2958 and use it in `read-from-minibuffer'.
2959 (bookmark-insert-current-bookmark): Remove function.
2960
2961 * info.el (Info-bookmark-make-record): Add `defaults' property
2962 with values of canonical Info node name, the current Info file
2963 name and the current Info node name. (Bug#12107)
2964
2965 2012-08-08 Juri Linkov <juri@jurta.org>
2966
2967 * files.el (basic-save-buffer): Use `buffer-name' as the default
2968 of `read-file-name' when buffer is not visiting a file (bug#12128).
2969
2970 2012-08-08 Juri Linkov <juri@jurta.org>
2971
2972 * info.el (Info-isearch-search): Doc fix.
2973 (Info-search): Change search-failed message from "initial node" to
2974 "end of node" (bug#12078).
2975 (Info-isearch-search): Change `isearch-string-state' to
2976 `isearch--state-string'.
2977
2978 2012-08-08 Glenn Morris <rgm@gnu.org>
2979
2980 * language/persian.el: Remove file.
2981 * language/misc-lang.el: Move unique part of persian.el here.
2982 * loadup.el: Remove language/persian.
2983
2984 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
2985
2986 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2987
2988 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
2989
2990 * progmodes/python.el Fixed defsubst warning.
2991 (python-syntax-context) Rename from python-info-ppss-context.
2992 (python-syntax-context-type): Rename from
2993 python-info-ppss-context-type.
2994 (python-syntax-comment-or-string-p): Rename from
2995 python-info-ppss-comment-or-string-p.
2996
2997 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
2998
2999 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3000
3001 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3002
3003 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3004 a defcustom that is quoted with backquote.
3005
3006 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3007 Fix handling of interactive spec when the body uses return.
3008 (math-do-arg-check, math-define-function-body): Use backquote forms.
3009 * calc/calc-ext.el (math-defcache): Likewise.
3010 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3011 * allout.el (allout-new-exposure): Likewise.
3012 * calc/calcalg2.el (math-tracing-integral): Likewise.
3013 * info.el (Info-last-menu-item): Likewise.
3014 * emulation/vip.el (vip-loop): Likewise.
3015 * textmodes/artist.el (artist-funcall): Likewise.
3016 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3017 Construct menu-item directly.
3018
3019 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3020 Don't declare.
3021
3022 2012-08-07 Chong Yidong <cyd@gnu.org>
3023
3024 * simple.el (deactivate-mark): Preserve text properties when
3025 saving the primary selection (Bug#8384).
3026
3027 2012-08-07 Kevin Ryde <user42@zip.com.au>
3028
3029 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3030 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3031 and continue processing (Bug#12110).
3032
3033 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3036 syntax-propertize-function (bug#10095).
3037
3038 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3041 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3042 describe-function-1.
3043 (describe-function-1): Use them. Move compiler macro after sig.
3044 (help-fns--compiler-macro): Use function-get. Assume we're already in
3045 standard-output. Adjust layout to new call order.
3046
3047 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3048 re-binding a symbol that has a symbol-macro (bug#12119).
3049
3050 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3051
3052 * language/persian.el: New file. (Bug#11812)
3053 * loadup.el: Add language/persian.el.
3054
3055 2012-08-06 Chong Yidong <cyd@gnu.org>
3056
3057 * window.el (window--maybe-raise-frame): New function.
3058 (window--display-buffer): Split off from here.
3059 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3060 (display-buffer-pop-up-window, display-buffer-use-some-window):
3061 Obey an inhibit-switch-frame action alist entry.
3062 (display-buffer): Update doc.
3063
3064 * replace.el (occur-after-change-function): Avoid losing focus by
3065 using the inhibit-switch-frame display parameter (Bug#12139).
3066
3067 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3068
3069 Make internal shell process buffer names start with space.
3070 * progmodes/python.el (python-shell-make-comint): Add optional
3071 argument INTERNAL.
3072 (run-python-internal): Use it.
3073 (python-shell-internal-get-or-create-process): Check for new
3074 internal buffer names.
3075
3076 2012-08-06 Glenn Morris <rgm@gnu.org>
3077
3078 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3079 Do less getting and setting of environment variables.
3080
3081 2012-08-05 Chong Yidong <cyd@gnu.org>
3082
3083 * proced.el (proced): Add substitution string to docstring to
3084 trigger autoloading of the proced library on C-h f (Bug#1768).
3085
3086 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3087 Don't show defvars which have no second argument (Bug#8638).
3088
3089 * imenu.el (imenu-generic-expression): Move documentation here
3090 from imenu--generic-function.
3091 (imenu--generic-function): Refer to imenu-generic-expression.
3092
3093 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3094
3095 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3096 indentation declaration.
3097 (viper-loop): Add indentation declaration (Bug#7025).
3098
3099 2012-08-05 Chong Yidong <cyd@gnu.org>
3100
3101 * help-fns.el (describe-variable): Add hyperlink for
3102 directory-local variables files. Improve buffer-local and
3103 permanent-local reporting; suggested by MON KEY (Bug#6644).
3104
3105 * help-mode.el (help-dir-local-var-def): New button type.
3106
3107 * files.el (kill-buffer-hook): Provide a defvar.
3108
3109 2012-08-05 Glenn Morris <rgm@gnu.org>
3110
3111 * eshell/esh-ext.el (eshell/addpath):
3112 Also update eshell-path-env. (Bug#12013)
3113
3114 2012-08-05 Chong Yidong <cyd@gnu.org>
3115
3116 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3117
3118 * fringe.el (fringe-styles): Add docstring.
3119 (fringe--check-mode): New function.
3120 (set-fringe-mode, set-fringe-style): Use it.
3121 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3122
3123 * files.el (set-auto-mode): Fix invalid setq call.
3124
3125 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * isearch.el: Misc simplification; use defstruct.
3128 (isearch-mode-map): Dense maps now work like sparse ones.
3129 (isearch--state): New defstruct.
3130 (isearch-string-state, isearch-message-state, isearch-point-state)
3131 (isearch-success-state, isearch-forward-state)
3132 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3133 (isearch-wrapped-state, isearch-barrier-state)
3134 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3135 replaced by defstruct's accessors.
3136 (isearch--set-state): Rename from isearch-top-state and change
3137 calling convention.
3138 (isearch-push-state): Use new isearch--get-state.
3139 (isearch-toggle-word): Disable regexp when enabling word.
3140 (isearch-message-prefix): Remove unused arg _c-q-hack.
3141 (isearch-message-suffix): Remove unused arg _ellipsis.
3142
3143 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3144
3145 * simple.el (list-processes--refresh): For a server use :host or
3146 :local as the address.
3147 (list-processes): Doc fix.
3148
3149 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
3150
3151 * lisp/mpc.el: Support password in host argument.
3152 (mpc--proc-connect): Parse and use new password element.
3153 Set mpc-proc variable instead of returning process.
3154 (mpc-proc): Adjust accordingly.
3155
3156 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3157
3158 * whitespace.el (whitespace-display-mappings): Use Unicode
3159 codepoints, instead of emacs-mule codepoints. See
3160 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3161 for the details.
3162
3163 * files.el (file-truename): Don't skip symlink-chasing part on
3164 windows-nt. Incorporate the resolution of 8+3 short aliases on
3165 Windows into the loop that recursively chases symlinks.
3166 Compare directory and its parent case-insensitively on MS-Windows and
3167 MS-DOS.
3168
3169 2012-08-03 Chong Yidong <cyd@gnu.org>
3170
3171 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3172
3173 * sort.el (sort-regexp-fields): Doc fix.
3174
3175 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3176
3177 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3178 labels regex position point at the expected place.
3179
3180 2012-08-03 MON KEY <monkey@sandpframing.com>
3181
3182 * net/imap.el (imap-interactive-login, imap-authenticate)
3183 (imap-mailbox-lsub, imap-mailbox-list)
3184 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3185 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3186 (imap-parse-response): Doc fix.
3187
3188 2012-08-03 João Távora <joaotavora@gmail.com>
3189
3190 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3191 if sexp scanning does not move point (Bug#5734).
3192
3193 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3194
3195 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3196 Add listings, minted, and ctable packages.
3197 (reftex-label-alist-builtin): Move listings, minted, and ctable
3198 entries before LaTeX.
3199 (reftex-label-alist): Docfix.
3200
3201 2012-08-02 Bastien Guerry <bzg@gnu.org>
3202
3203 * replace.el (occur): Fix docstring (bug#12122).
3204
3205 2012-08-02 Glenn Morris <rgm@gnu.org>
3206
3207 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3208
3209 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3210
3211 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3212 * international/mule-cmds.el: Create
3213 inactivate-current-input-method-function as an obsolete alias for
3214 deactivate-current-input-method-function. See Katsumi Yamaoka in
3215 <http://bugs.gnu.org/10150#46>.
3216
3217 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3218
3219 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3220 of nested `if's.
3221
3222 2012-08-01 Glenn Morris <rgm@gnu.org>
3223
3224 * progmodes/autoconf.el (autoconf-definition-regexp):
3225 Add AH_TEMPLATE, adjust submatch numbering.
3226 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3227 (autoconf-current-defun-function): Update for above change.
3228 (autoconf-current-defun-function): First skip to end of current word.
3229
3230 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3231
3232 * calendar/cal-html.el (cal-html-insert-agenda-days):
3233 Fix typo. (Bug#12018)
3234
3235 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3236
3237 Shell processes: enhancements to startup and CEDET compatibility.
3238 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3239 (python-shell-make-comint): accept-process-output at startup.
3240 (run-python-internal): Set inferior-python-mode-hook to nil.
3241 (python-shell-internal-get-or-create-process): call sit-for.
3242 (python-preoutput-result): Add obsolete alias.
3243 (python-shell-internal-send-string): Use it.
3244 (python-shell-send-setup-code): Remove call to
3245 accept-process-output.
3246
3247 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3248
3249 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3250 (Bug#12108)
3251
3252 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3253
3254 * calc-mode.el (calc-basic-simplification-mode): Rename from
3255 `calc-limited-simplification-mode'.
3256 (calc-alg-simplification-mode): New function.
3257 (calc-set-simplify-mode): Adjust message.
3258
3259 * calc.el (calc-set-mode-line): Adjust mode line display for
3260 basic simplification mode.
3261
3262 * calc-help.el (calc-m-prefix-help): Update help message.
3263
3264 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3265 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3266
3267 2012-07-31 Bastien Guerry <bzg@gnu.org>
3268
3269 * man.el (man): Fix comment. (bug#12101)
3270
3271 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3272
3273 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3274 Don't return a non-nil value when no suitable buffer was found.
3275
3276 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3277
3278 * progmodes/python.el (run-python-internal): Disable font lock for
3279 internal shells.
3280
3281 2012-07-30 Stefan Merten <smerten@oekonux.de>
3282
3283 * rst.el: Silence `checkdoc-ispell'.
3284 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3285 (rst-official-version, rst-official-cvs-rev)
3286 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3287 (rst-mode-map): New key binding.
3288
3289 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3290
3291 Update .PHONY listings in makefiles.
3292 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3293 autoloads, update-subdirs, updates, bzr-update, update-authors,
3294 compile-onefile, compile-calc, backup-compiled-files,
3295 compile-after-backup, compile-one-process, mh-autoloads,
3296 bootstrap-clean, distclean, maintainer-clean.
3297
3298 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3299
3300 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3301 (calc-set-mode-line): Don't display "AlgSimp ".
3302
3303 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3304 (calc-lim-simplify-mode): New function.
3305 (calc-set-simplify-mode): Default to 'alg.
3306 (calc-default-simplify-mode): Make algebraic simplifications
3307 the default.
3308
3309 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3310 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3311
3312 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3313 indicate new simplification modes.
3314
3315 * calc/README: Mention new default simplification mode.
3316
3317 * calc/calc.el (math-normalize-error): New variable.
3318 (math-normalize): Set `math-normalize-error' to t
3319 when there's an error.
3320
3321 * calc/calc-alg.el (math-simplify): Don't simplify when
3322 `math-normalize' returns an error.
3323
3324 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3325
3326 * international/mule-cmds.el (set-locale-environment): Revert last
3327 change, since display-graphic-p returns nil when this function is
3328 called during startup. Instead...
3329
3330 * term/w32console.el (terminal-init-w32console): ...setup the
3331 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3332
3333 2012-07-29 Juri Linkov <juri@jurta.org>
3334
3335 * simple.el (goto-line): Don't display default line number in the
3336 prompt because it should be displayed by `read-number' (bug#9952).
3337 Add the current line number to the defaults of `goto-line' to
3338 allow its easier modification by users with `M-n' (bug#9201).
3339
3340 * subr.el (read-number): Support multiple default values like in
3341 other minibuffer reading functions. Replace `read' with
3342 `string-to-number' for consistency with `number-to-string'.
3343
3344 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3345
3346 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3347 * emulation/viper-init.el (viper-deactivate-input-method-action):
3348 Rename from viper-inactivate-input-method-action.
3349 (viper-deactivate-input-method):
3350 Rename from viper-inactivate-input-method.
3351 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3352 * international/mule-cmds.el (deactivate-input-method):
3353 Rename from inactivate-input-method.
3354 Also run input-method-deactivate-hook.
3355 (deactivate-current-input-method-function):
3356 Rename from inactivate-current-input-method-function.
3357 (input-method-deactivate-hook): New hook.
3358 (input-method-inactivate-hook): Mark obsolete.
3359 (inactivate-input-method): Mark obsolete.
3360
3361 * international/quail.el (quail-activate):
3362 Also run quail-deactivate-hook.
3363 (quail-deactivate): Rename from quail-inactivate.
3364 * international/robin.el (robin-activate):
3365 Also run robin-deactivate-hook.
3366 (robin-deactivate): Rename from robin-inactivate.
3367
3368 2012-07-29 Chong Yidong <cyd@gnu.org>
3369
3370 * simple.el (indicate-copied-region): New function.
3371 (kill-ring-save): Split off from here.
3372
3373 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3374 (kill-rectangle): Set deactivate-mark to t on read-only error.
3375
3376 * register.el (copy-to-register, copy-rectangle-to-register):
3377 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3378 (append-to-register, prepend-to-register):
3379 Call 2012-07-29 Juri Linkov <juri@jurta.org>
3380
3381 * simple.el (async-shell-command-buffer): New defcustom.
3382 (shell-command): Use it. (Bug#4719)
3383
3384 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3385
3386 * international/mule-cmds.el (set-locale-environment): In a
3387 console session on MS-Windows, set up keyboard and terminal
3388 encoding from the OEM codepage, not the ANSI codepage.
3389 (Bug#12055)
3390
3391 2012-07-28 Chong Yidong <cyd@gnu.org>
3392
3393 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3394 gdb-get-location.
3395
3396 2012-07-28 Leo Liu <sdl.web@gmail.com>
3397
3398 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3399 the alist (bug#12029).
3400
3401 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3402
3403 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3404 (compile-always, compile-first)
3405 ($(lisp)/calendar/cal-loaddefs.el)
3406 ($(lisp)/calendar/diary-loaddefs.el)
3407 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3408 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3409 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3410 instead of on update-subdirs.
3411 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3412
3413 2012-07-28 Chong Yidong <cyd@gnu.org>
3414
3415 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3416 directory if vc-deduce-backend returns nil (Bug#7350).
3417
3418 * simple.el (delete-trailing-lines): New option.
3419 (delete-trailing-whitespace): Obey it (Bug#11879).
3420
3421 2012-07-28 David Engster <deng@randomsample.de>
3422
3423 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3424 Explanation of new 'symbol-qnames feature in doc-strings.
3425 (xml-maybe-do-ns): Return expanded names as plain symbols if
3426 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3427 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3428
3429 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3430
3431 Consistent completion in inferior python with emacs -nw.
3432 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3433 binding in inferior-python-mode-map with "\t".
3434 (python-shell-completion-complete-at-point)
3435 (python-completion-complete-at-point): Remove interactive spec.
3436
3437 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3438
3439 * calc/calccomp.el (math-compose-expr): Undo previous change.
3440
3441 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3442
3443 * progmodes/python.el (python-mode-map): Add keybinding for
3444 run-python.
3445 (python-shell-make-comint): Fix pop-to-buffer call.
3446 (run-python): Autoload. New arg SHOW.
3447 (python-shell-get-or-create-process): Do not pop python process
3448 buffer.
3449
3450 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3451
3452 * notifications.el (notifications-on-action-signal)
3453 (notifications-on-closed-signal): Use also the bus address for the map.
3454 (notifications-notify, notifications-close-notification)
3455 (notifications-get-capabilities): Add optional argument BUS.
3456
3457 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3458
3459 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3460 Add support for the lstlisting and minted environments, and for the
3461 ctable macro.
3462 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3463 labels written in keyvals syntax.
3464
3465 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3466
3467 * calc/calccomp.el (math-compose-expr): Use parentheses when
3468 there is a product in the denominator of a fraction.
3469
3470 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3471
3472 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3473 ($(lisp)/calendar/diary-loaddefs.el)
3474 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3475 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3476 Fixes failures in parallel bootstrap because subdirs.el is being
3477 rewritten while the autoload files are built at the same time,
3478 which needs to load subdirs.el.
3479
3480 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3481
3482 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3483 (mouse-drag-line): Don't exit tracking when a switch-frame or
3484 switch-window event occurs (Bug#12006).
3485
3486 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * mouse.el (popup-menu): Fix last change.
3489
3490 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 Autoload from Lisp with more care. Follow aliases when looking for
3493 function properties.
3494 * subr.el (autoloadp): New function.
3495 (symbol-file): Use it.
3496 (function-get): New function.
3497 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3498 autoload-do-load.
3499 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3500 (lisp-indent-function):
3501 * emacs-lisp/gv.el (gv-get):
3502 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3503 * emacs-lisp/byte-opt.el (byte-optimize-form):
3504 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3505 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3506 Use function-get.
3507 * emacs-lisp/cl.el: Don't propagate function properties any more.
3508
3509 * speedbar.el (speedbar-add-localized-speedbar-support):
3510 * emacs-lisp/disass.el (disassemble-internal):
3511 * desktop.el (desktop-load-file):
3512 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3513 (describe-function-1):
3514 * emacs-lisp/find-func.el (find-function-noselect):
3515 * emacs-lisp/elp.el (elp-instrument-function):
3516 * emacs-lisp/advice.el (ad-has-proper-definition):
3517 * apropos.el (apropos-safe-documentation, apropos-macrop):
3518 * emacs-lisp/debug.el (debug-on-entry):
3519 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3520 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3521 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3522
3523 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3524
3525 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3526 function, not an obsolete variable (Bug#12046).
3527
3528 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3529
3530 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3531
3532 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3533
3534 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3535 window only if it is still live (Bug#12034).
3536
3537 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3538
3539 * subr.el (redirect-frame-focus): Add advertised calling
3540 convention (Bug#12030).
3541
3542 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3543
3544 Prefer typical American spelling for "acknowledgment".
3545 * vc/add-log.el (change-log-acknowledgment): Rename from
3546 change-log-acknowledgement, with an alias for the old name.
3547
3548 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3549
3550 * calc-alg.el (math-simplify-divide): Don't cross multiply
3551 in an equation when the lhs is a variable.
3552
3553 2012-07-24 Julien Danjou <julien@danjou.info>
3554
3555 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3556 Remove, unused.
3557
3558 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3559
3560 * startup.el (command-line): Don't display an empty user name in
3561 the error message about non-existent home directory, when
3562 init-file-user was set to an empty string. See
3563 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3564 for the details and context.
3565
3566 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3567
3568 * ses.el (ses-cell-formula-aset): New macro.
3569 (ses-cell-references-aset): New macro.
3570 (ses-cell-p): New function.
3571 (ses-rename-cell): Do no longer rely on complex operations like
3572 ses-cell-set-formula or ses-set-cell to change the cell and handle
3573 the undo at the same time, but rather use lower level new macros
3574 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3575 the undo directly. Refresh the mode line.
3576
3577 2012-07-21 Leo Liu <sdl.web@gmail.com>
3578
3579 * progmodes/cc-cmds.el (c-defun-name):
3580 Use match-string-no-properties instead for consistency.
3581
3582 2012-07-20 Leo Liu <sdl.web@gmail.com>
3583
3584 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3585 (Bug#7879)
3586
3587 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3588
3589 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3592 * progmodes/bug-reference.el, misearch.el: Provide themselves
3593 (bug#11915).
3594
3595 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3596 of narrowed buffer (bug#11966).
3597
3598 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3599
3600 * ses.el (ses-rename-cell): Set new name also in reference list of
3601 cells of which the renamed cell depends.
3602
3603 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3604
3605 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3606 to check whether menu-bar is shown or not. If not shown,
3607 show the menu-bar as a popup menu instead of using tmm.
3608 * mouse.el (popup-menu): Accept `point' as `position' argument.
3609
3610 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3611
3612 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3613 up inside string symbol literal (bug#11923).
3614
3615 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3616
3617 * startup.el (fancy-startup-text): Read the whole tutorial, not
3618 just its first 256 bytes. Prevents gibberish in display of the
3619 tutorial title.
3620
3621 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3622
3623 Drop idle buffer compaction due to an absence of the
3624 proved efficiency.
3625 * compact.el: Remove.
3626
3627 2012-07-19 Sam Steingold <sds@gnu.org>
3628
3629 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3630 vc-bzr-pull & vc-bzr-merge-branch.
3631 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3632 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3633 for consistency with compilation-error-regexp-alist.
3634 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3635 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3636 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3637 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3638
3639 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3640
3641 * emacs-lisp/chart.el: Use lexical-binding.
3642 (chart-emacs-storage): Don't hardcode the list of entries.
3643
3644 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3645
3646 Next round of tweaks caused by Fgarbage_collect changes.
3647 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3648
3649 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3650
3651 Compact buffers when idle.
3652 * compact.el: New file.
3653
3654 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * subr.el (eventp): Presume that if it looks vaguely like an event,
3657 it's an event (bug#10190).
3658
3659 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3660
3661 Enhancements to ppss related code (thanks Stefan).
3662 * progmodes/python.el (python-indent-context)
3663 (python-indent-calculate-indentation, python-indent-dedent-line)
3664 (python-indent-electric-colon, python-nav-forward-block)
3665 (python-mode-abbrev-table)
3666 (python-info-assignment-continuation-line-p): Simplify checks
3667 for ppss context.
3668 (python-info-continuation-line-p): Cleanup.
3669 (python-info-ppss-context): Do not catch 'quote.
3670 (python-info-ppss-context-type)
3671 (python-info-ppss-comment-or-string-p): Simplify.
3672
3673 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3674
3675 * progmodes/python.el: Enhancements to eldoc support.
3676 (python-info-current-symbol): New function.
3677 (python-eldoc-at-point): Use python-info-current-symbol.
3678 (python-info-current-defun): Fix cornercase on first defun scan.
3679 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3680 and signal error when no inferior python process is available.
3681
3682 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3683
3684 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3685 assume it's always t.
3686 (vc-git-registered): Remove caching, the function is only called
3687 once.
3688 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3689
3690 2012-07-18 Chong Yidong <cyd@gnu.org>
3691
3692 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3693
3694 * simple.el (count-words): Report on narrowing (Bug#9959).
3695
3696 * bindings.el: Bind M-= to count-words.
3697
3698 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3699
3700 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3701
3702 * progmodes/sh-script.el (sh-imenu-generic-expression):
3703 Capture a function with `function' keyword and without parentheses
3704 like "function FOO" (bug#11856).
3705
3706 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3707
3708 * window.el (split-window-sensibly): Make WINDOW argument
3709 optional.
3710
3711 2012-07-18 Chong Yidong <cyd@gnu.org>
3712
3713 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3714
3715 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3716 and make C-x 8 RET exit isearch (Bug#11439).
3717
3718 * international/iso-transl.el: Move isearch-mode-map key
3719 definitions to isearch.el.
3720
3721 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3722
3723 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3724 (eieio-defclass): Use gv-define-setter when possible.
3725
3726 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3727
3728 Reflect recent changes in Fgarbage_collect.
3729 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3730 reflect new format of data returned by Fgarbage_collect.
3731
3732 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3733
3734 New utility functions + python-info-ppss-context fix (Bug#11910).
3735 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3736 (python-info-ppss-comment-or-string-p): New functions.
3737 (python-info-ppss-context): Small fix for string check.
3738
3739 2012-07-17 Juri Linkov <juri@jurta.org>
3740
3741 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3742 (dired-do-async-shell-command): Don't add `*' at the end of the
3743 command (Bug#11815).
3744 (dired-do-shell-command): Doc fix.
3745 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3746 Join the individual commands using either "&" or ";" as the
3747 separator depending on the values of these trailing characters.
3748 At the end re-add the trailing "&". (Bug#10598)
3749
3750 * simple.el (async-shell-command): Sync the interactive spec with
3751 `shell-command'. Doc fix.
3752 (shell-command): Doc fix.
3753
3754 2012-07-17 Juri Linkov <juri@jurta.org>
3755
3756 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3757
3758 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3759
3760 Final renames and doc fixes for movement commands (bug#11899).
3761 * progmodes/python.el (python-nav-beginning-of-statement):
3762 Rename from python-nav-statement-start.
3763 (python-nav-end-of-statement): Rename from
3764 python-nav-statement-end.
3765 (python-nav-beginning-of-block): Rename from
3766 python-nav-block-start.
3767 (python-nav-end-of-block): Rename from python-nav-block-end.
3768
3769 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3770
3771 * progmodes/python.el (python-shell-send-string-no-output):
3772 Allow accept-process-output to quit, keeping shell process ready for
3773 future interactions (Bug#11868).
3774
3775 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3778
3779 * emacs-lisp/elint.el (elint-find-args-in-code):
3780 Use help-function-arglist, so as to handle lexical byte-code.
3781
3782 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3783 change (bug#11826).
3784
3785 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3786
3787 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3788 Avoid spuriously marking the buffer as modified because of c-is-sws.
3789
3790 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3791 as not-a-comment (bug#11946).
3792
3793 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3794 for uninterned vars.
3795
3796 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3797 Use read-event since we don't really want to read chars but bytes.
3798
3799 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3800 $$..$$ but also $..$ using regexps (bug#11953).
3801 Use tex-verbatim for \url and \path.
3802 (tex-font-lock-keywords): Define as defconst like the others.
3803 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3804
3805 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3806
3807 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3808 alias for insert-char.
3809
3810 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3811
3812 * progmodes/python.el: Simplified imenu implementation.
3813 (python-nav-jump-to-defun): Remove command.
3814 (python-mode-map): Use `imenu' instead.
3815 (python-nav-list-defun-positions-cache)
3816 (python-imenu-include-defun-type, python-imenu-make-tree)
3817 (python-imenu-subtree-root-label, python-imenu-index-alist):
3818 Remove vars.
3819 (python-nav-list-defun-positions, python-nav-read-defun)
3820 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3821 (python-imenu-make-tree, python-imenu-create-index):
3822 Remove functions.
3823 (python-mode): Update to interact with imenu by setting
3824 `imenu-extract-index-name-function' only.
3825
3826 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3827
3828 * progmodes/python.el: Enhancements to navigation commands.
3829 (python-nav-backward-sentence)
3830 (python-nav-forward-sentence): Remove.
3831 (python-nav-backward-statement, python-nav-forward-statement)
3832 (python-nav-statement-start, python-nav-statement-end)
3833 (python-nav-backward-block, python-nav-forward-block)
3834 (python-nav-block-start, python-nav-block-end)
3835 (python-nav-forward-sexp-function)
3836 (python-info-current-line-comment-p)
3837 (python-info-current-line-empty-p): New functions.
3838 (python-indent-context): Use `python-nav-statement-start'.
3839
3840 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3841
3842 * eshell/em-ls.el (eshell/ls): Use `apply'.
3843
3844 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3845 multi-hops, instead of Tramp internals.
3846
3847 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3848
3849 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3850 when F1 and F2 are located on different hosts.
3851
3852 2012-07-14 Chong Yidong <cyd@gnu.org>
3853
3854 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3855 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3856 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3857 (xterm-mouse--read-event-sequence-1000)
3858 (xterm-mouse--read-event-sequence-1006): New functions. For old
3859 mouse protocol, handle M-mouse-X events correctly.
3860 (xterm-mouse-event): New arg specifying mouse protocol.
3861 (turn-on-xterm-mouse-tracking-on-terminal)
3862 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3863 sequence to toggle extended coordinates on newer XTerms.
3864 This appears to be harmless on terminals which do not support this.
3865
3866 2012-07-14 Leo Liu <sdl.web@gmail.com>
3867
3868 Add fringe bitmap indicators for flymake. (Bug#11253)
3869 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3870 (flymake-make-overlay): New arg BITMAP.
3871 (flymake-error-bitmap, flymake-warning-bitmap)
3872 (flymake-fringe-indicator-position): New user variables.
3873
3874 * fringe.el: New bitmap exclamation-mark.
3875
3876 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3877
3878 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3879 also (Bug#7879).
3880
3881 2012-07-14 Chong Yidong <cyd@gnu.org>
3882
3883 * electric.el (electric-pair-post-self-insert-function): Fix pair
3884 insertion in empty-region case (Bug#11520).
3885
3886 2012-07-14 Chong Yidong <cyd@gnu.org>
3887
3888 * bindings.el: Consolidate ctl-x-r-map bindings.
3889 Bind copy-rectangle-as-kill to C-x r w.
3890
3891 * rect.el, register.el: Move bindings to bindings.el.
3892
3893 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3894
3895 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3896
3897 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3898
3899 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3900
3901 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3902
3903 * bindings.el (top): Use `mapc' instead of `mapcar'.
3904
3905 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3906
3907 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3908
3909 * progmodes/sql.el (sql-comint): Suppress the check for program on
3910 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3911 (Bug#11908)
3912
3913 2012-07-13 Chong Yidong <cyd@gnu.org>
3914
3915 * bindings.el: Assign a non-nil permanent-local property to
3916 per-buffer variables which lack a default value (Bug#11930).
3917
3918 * help-fns.el (describe-variable): In the "automatically becomes
3919 local" notice, take note of permanent-local variables.
3920
3921 2012-07-13 Chong Yidong <cyd@gnu.org>
3922
3923 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3924 to allow printing the message when called from Lisp.
3925
3926 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3927 Remove toggle-read-only.
3928
3929 * bs.el (bs-toggle-readonly):
3930 * buff-menu.el (Buffer-menu-toggle-read-only):
3931 Remove with-no-warnings around toggle-read-only.
3932
3933 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3934 Remove with-no-warnings around toggle-read-only.
3935 (ffap-read-only, ffap-read-only-other-window)
3936 (ffap-read-only-other-frame): Callers changed.
3937
3938 * help-mode.el: Don't require view package.
3939 (help-mode-finish): Set buffer-read-only instead of calling
3940 toggle-read-only.
3941
3942 * bindings.el (mode-line-toggle-read-only):
3943 * dired.el (dired-toggle-read-only):
3944 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3945 with non-nil second arg.
3946
3947 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3948 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3949 directly.
3950
3951 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3952
3953 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3954 not incf.
3955
3956 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3957
3958 More CL cleanups and reduction of use of cl.el.
3959 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3960 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3961 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3962 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3963 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3964 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3965 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3966 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3967 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3968 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3969 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3970 * eshell/em-cmpl.el, eshell/em-banner.el:
3971 * calendar/parse-time.el: Use cl-lib.
3972 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3973 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3974 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3975 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3976 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3977 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3978 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3979 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3980 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3981 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3982 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3983 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3984 `lambda' rather than with `quote'.
3985 (eshell-do-opt): Adjust accordingly.
3986 (eshell-process-option): Simplify.
3987 * eshell/esh-var.el:
3988 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3989 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3990 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3991 to `pcase--dontcare'.
3992 * emacs-lisp/cl.el (labels): Mark obsolete.
3993 (cl--letf, letf): Move to cl-lib.
3994 (cl--letf*, letf*): Remove.
3995 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3996 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3997 (cl-progv): Rewrite.
3998 (cl--letf, cl-letf): Move from cl.el.
3999 (cl-letf*): New macro.
4000 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4001
4002 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4003
4004 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4005
4006 2012-07-11 Chong Yidong <cyd@gnu.org>
4007
4008 * vc/log-edit.el (log-edit-vc-backend): New variable.
4009 (log-edit): Doc fix.
4010
4011 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4012 argument of log-edit to set up all local variables.
4013 (vc-start-logentry): New optional arg specifying VC backend.
4014
4015 * vc/vc.el (vc-checkin): Use it.
4016 (vc-deduce-fileset): Handle Log Edit buffers.
4017 (vc-diff): Make first argument optional too.
4018
4019 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4020
4021 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4024 command, just in case. The function is not needed anymore.
4025 (eshell-external-command): Do not call `eshell-remote-command'.
4026
4027 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4028
4029 Reduce use of (require 'cl).
4030 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4031 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4032 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4033 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4034 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4035 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4036 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4037 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4038 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4039 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4040 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4041 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4042 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4043 (byte-compile-unfold-bcf, byte-compile-check-variable):
4044 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4045 (byte-compile-nilconstp):
4046 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4047 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4048
4049 * emacs-lisp/gv.el (cond): Make it a valid place.
4050 (if): Simplify slightly.
4051
4052 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4053 (pcase--self-quoting-p): New function.
4054 (pcase--u1): Use it.
4055
4056 2012-07-10 Glenn Morris <rgm@gnu.org>
4057
4058 * emacs-lisp/authors.el (authors-fixed-entries):
4059 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4060
4061 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4062
4063 Rename configure.in to configure.ac (Bug#11603).
4064 * emacs-lisp/authors.el (authors-canonical-file-name):
4065 * progmodes/autoconf.el (autoconf-mode):
4066 Prefer configure.ac to configure.in.
4067
4068 2012-07-08 Chong Yidong <cyd@gnu.org>
4069
4070 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4071 Implement the mouse-1-click-follows-link handling properly.
4072
4073 * info.el (Info-link-keymap): Use follow-link mechanism for
4074 header-line links (Bug#374).
4075
4076 * simple.el (deactivate-mark): Do not set the primary selection
4077 if another program has acquired it (Bug#11772).
4078
4079 2012-07-07 Kevin Ryde <user42@zip.com.au>
4080
4081 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4082 (woman-decode-region): Replace escaped-escapes without destroying
4083 bold or underline (Bug#11552).
4084 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4085
4086 2012-07-07 Chong Yidong <cyd@gnu.org>
4087
4088 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4089 (interprogram-cut-function, interprogram-paste-function):
4090 Mention that we typically mean the clipboard.
4091
4092 2012-07-06 Glenn Morris <rgm@gnu.org>
4093
4094 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4095
4096 * files.el (toggle-read-only): Restrict message to interactive use.
4097
4098 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4101
4102 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4103
4104 2012-07-06 Glenn Morris <rgm@gnu.org>
4105
4106 * Makefile.in (compile-one-process): Rename from "recompile".
4107
4108 * Makefile.in (bzr-update): "compile" is the same as "recompile
4109 autoloads", but parallelizable, so use that instead.
4110
4111 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4112
4113 * window.el (quit-window): Always restore window height when
4114 it's saved in quit-restore parameter (Bug#11810).
4115
4116 2012-07-06 Glenn Morris <rgm@gnu.org>
4117
4118 * simple.el (kill-whole-line): Doc tweak.
4119
4120 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4121
4122 * files.el (file-relative-name): Compare file names
4123 case-insensitively if on MS-Windows or MS-DOS, or if
4124 read-file-name-completion-ignore-case is non-nil. Don't use
4125 case-fold-search for this purpose. (Bug#11827)
4126
4127 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4128
4129 * calendar/cal-dst.el (calendar-current-time-zone):
4130 Return calendar-current-time-zone-cache if non-nil.
4131
4132 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4133 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4134
4135 * calendar/cal-dst.el (calendar-current-time-zone):
4136 Return calendar-current-time-zone-cache if non-nil.
4137
4138 2012-07-06 Glenn Morris <rgm@gnu.org>
4139
4140 * Makefile.in (cvs-update): Remove old alias.
4141
4142 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4143
4144 Sync with Tramp 2.2.6-pre.
4145
4146 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4147 compatible declaration.
4148
4149 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4150 Protect `list-load-path-shadows' call.
4151
4152 * net/tramp-compat.el (top): Require packages, which aren't
4153 autoloaded anymore for XEmacs. Protect call of
4154 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4155 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4156 it hurts at least for SXEmacs.
4157 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4158 standard-value for `temporary-file-directory'.
4159
4160 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4161 Redirect stderr to /dev/null.
4162 (tramp-sh-handle-write-region): uid and gid can be floats.
4163 Reported by Russell Sim <russell.sim@gmail.com>.
4164 (tramp-sh-handle-vc-registered): Hide errors.
4165 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4166 and `start-file-process'.
4167 (tramp-maybe-open-connection): Check also whether `non-essential'
4168 is bound.
4169
4170 2012-07-04 Chong Yidong <cyd@gnu.org>
4171
4172 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4173 (xml-parse-tag): Likewise, and avoid changing entity tables.
4174 (xml-syntax-table): Define from scratch, making sure not to give
4175 x2000 and other Unicode spaces whitespace syntax, since those are
4176 not spaces in XML.
4177 (xml-parse-fragment): Delete unused function.
4178 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4179 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4180 (xml-entity-ref, xml-pe-reference-re)
4181 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4182 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4183 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4184 (xml-entity-value-re): Use syntax references in regexps where
4185 possible; no need to define inside a let-binding.
4186 (xml-parse-dtd): Use xml-pe-reference-re.
4187 (xml-entity-or-char-ref-re): New defconst.
4188 (xml-parse-string, xml-substitute-special): Use it.
4189
4190 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4191
4192 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4193 (find-file--read-only): New function.
4194 (find-file-read-only, find-file-read-only-other-window)
4195 (find-file-read-only-other-frame): Use it.
4196 (insert-file-contents-literally): Don't `fset'.
4197 (get-free-disk-space): Use locate-dominating-file.
4198
4199 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4200 function is already compiled.
4201
4202 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4203
4204 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4207 files on the same host.
4208
4209 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4210
4211 * help-fns.el (describe-function-1): Only call
4212 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4213
4214 2012-07-03 Chong Yidong <cyd@gnu.org>
4215
4216 * xml.el: Protect parser against XML bombs.
4217 (xml-entity-expansion-limit): New variable.
4218 (xml-parse-string, xml-substitute-special): Use it.
4219 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4220
4221 2012-07-03 Glenn Morris <rgm@gnu.org>
4222
4223 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4224 Allow linking to specific messages in debbugs reports (eg 123#5).
4225
4226 2012-07-02 Chong Yidong <cyd@gnu.org>
4227
4228 * xml.el: Fix entity and character reference expansion, allowing
4229 them to expand into markup as per XML spec.
4230 (xml-default-ns): New variable.
4231 (xml-entity-alist): Use XML spec definitions for lt and amp.
4232 (xml-parse-region): Make first two arguments optional.
4233 Discard text properties.
4234 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4235 All callers changed.
4236 (xml-parse-tag): Call xml-parse-tag-1. For backward
4237 compatibility, this function should not modify buffer contents.
4238 (xml-parse-tag-1): Fix opening-tag regexp.
4239 (xml-parse-string): Rewrite, handling entity and character
4240 references properly.
4241 (xml--entity-replacement-text): Signal an error if a parameter
4242 entity is undefined.
4243
4244 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4245
4246 * comint.el (comint-output-filter): Filter out repeated prompts.
4247
4248 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4249 and file-name-absolute-p.
4250 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4251 internal calls.
4252
4253 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4254
4255 Spelling fixes.
4256 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4257 Rename from byte-compile--refiy-function. All uses changed.
4258
4259 2012-07-01 Chong Yidong <cyd@gnu.org>
4260
4261 * xml.el (xml--parse-buffer): New function. Move most of
4262 xml-parse-region here.
4263 (xml-parse-region): Copy region into a temporary buffer, since
4264 parameter entity substitution requires changing buffer contents.
4265 Use xml--parse-buffer.
4266 (xml-parse-file): Use xml--parse-buffer.
4267 (xml-parse-dtd): Make parameter entity substitution work right.
4268 Use proper regexps for ELEMENT declarations (Bug#7172).
4269
4270 2012-06-30 Glenn Morris <rgm@gnu.org>
4271
4272 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4273
4274 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4275 Remove outdated and unnecessary dbus declarations.
4276
4277 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4278
4279 * emacs-lisp/timer.el (timer-until): Subtract results of
4280 float-time, instead of taking float-time of the result of
4281 time-subtract, since float-time signals an error for negative time
4282 arguments.
4283
4284 2012-06-30 Chong Yidong <cyd@gnu.org>
4285
4286 * xml.el (xml-*-re): Convert defvars into defconsts, and
4287 eval-and-compile them so eval-and-compile works on derivatives.
4288 (xml--entity-replacement-text): Use eval-and-comple.
4289
4290 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4291
4292 * vc/vc-git.el (vc-git-registered): Use cache property
4293 `git-registered'.
4294 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4295 `vc-git-working-revision' in order to benefit from the cache.
4296 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4297
4298 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4299
4300 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4301 removed (likely outside Emacs). (Bug#11757)
4302
4303 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4304
4305 * emacs-lisp/cl-lib.el: Require macroexp.
4306
4307 2012-06-30 Chong Yidong <cyd@gnu.org>
4308
4309 * xml.el: Implement XML parameter entities.
4310 (xml-parameter-entity-alist): New variable.
4311 (xml-parse-region, xml-parse-fragment): Preserve previous values
4312 of xml-entity-alist and xml-parameter-entity-alist, so that
4313 repeated calls on different documents do not change them.
4314 (xml-parse-tag): Fix doctype regexp.
4315 (xml--entity-replacement-text): New function.
4316 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4317 properly requires url retrieval which is unimplemented.
4318 (xml-escape-string): Doc fix.
4319
4320 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4323
4324 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4325
4326 * fringe.el (fringe-mode): Doc fix.
4327
4328 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4331 is non-nil.
4332 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4333 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4334
4335 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4336
4337 * calendar/cal-dst.el (calendar-current-time-zone):
4338 Return calendar-current-time-zone-cache if non-nil.
4339
4340 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4341
4342 * progmodes/which-func.el (which-func-format):
4343 Add mouse-face. (Bug#11698)
4344
4345 2012-06-29 Leo Liu <sdl.web@gmail.com>
4346
4347 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4348
4349 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4350
4351 * minibuffer.el (minibuffer-confirm-exit-commands):
4352 Add completion-at-point (bug#11725).
4353
4354 2012-06-29 Glenn Morris <rgm@gnu.org>
4355
4356 * progmodes/f90.el (f90-font-lock-keywords-2):
4357 Add some preprocessor elements. (Bug#10499)
4358
4359 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4362 Use syntax-propertize (bug#11739).
4363
4364 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4367
4368 2012-06-28 Julien Danjou <julien@danjou.info>
4369
4370 * term.el (term-handle-colors-array): Use a set of new faces to
4371 color the terminal. Also uses :inverse-video property.
4372 (term-default-fg-color): Set to nil by default, deprecate in favor
4373 of `term-face'.
4374 (term-default-bg-color): Set to nil by default, deprecate in favor
4375 of `term-face'.
4376 (term-current-face): Use `term-face' by default.
4377 (term-bold-attribute): Variable deleted.
4378
4379 2012-06-28 Glenn Morris <rgm@gnu.org>
4380
4381 * simple.el (completion-list-mode-finish):
4382 Don't use toggle-read-only. (Since completion-list-mode has
4383 a special mode-class, it wasn't doing anything extra anyway.)
4384
4385 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 Make inlining of other-mode interpreted functions work (bug#11799).
4388 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4389 (byte-compile): Use it to fix compilation of lexical-binding closures.
4390 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4391 function, if needed.
4392
4393 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * help-mode.el (help-make-xrefs): Don't just withstand
4396 cyclic-variable-indirection but any error in documentation-property.
4397
4398 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4399 memory use.
4400 * bindings.el (bindings--define-key): New function.
4401 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4402 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4403 * bindings.el: Use it to purecopy define-key bindings.
4404
4405 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4406
4407 * emacs-lisp/cl.el (flet): Mark obsolete.
4408 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4409 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4410 * progmodes/js.el (js-c-fill-paragraph):
4411 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4412 (ebrowse-switch-member-buffer-to-derived-class):
4413 * play/5x5.el (5x5-solver): Use cl-flet.
4414
4415 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4416 (cl--symbol-function): New macro.
4417 (cl--letf, cl--letf*): Use it.
4418
4419 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4420 Strip "toggle-" if any.
4421
4422 2012-06-27 Glenn Morris <rgm@gnu.org>
4423
4424 * info.el (Info-default-directory-list): Move here from paths.el.
4425 * paths.el: Remove file, which is now empty.
4426 * loadup.el: No longer load "paths".
4427
4428 * custom.el (custom-initialize-delay): Doc fix.
4429
4430 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4431 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4432 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4433 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4434 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4435 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4436 * eshell/eshell.el (eshell-defgroup): Remove alias.
4437
4438 2012-06-27 Chong Yidong <cyd@gnu.org>
4439
4440 * help.el (help-enable-auto-load): New variable.
4441
4442 * help-fns.el (help-fns--autoloaded-p): New function.
4443 (describe-function-1): Refer to a function as "autoloaded" if it
4444 was autoloaded at any time in the past. Perform autoloading if
4445 help-enable-auto-load is non-nil.
4446
4447 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4448
4449 * makefile.w32-in (compile, compile-always): Depend on
4450 update-subdirs, not on subdirs.el. Otherwise, several different
4451 sub-targets of 'bootstrap' running in parallel could
4452 simultaneously write to subdirs.el, producing a garbled file.
4453
4454 2012-06-26 Sam Steingold <sds@gnu.org>
4455
4456 * files.el (file-name-base): New convenience function.
4457 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4458 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4459 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4460 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4461 * textmodes/ispell.el, textmodes/reftex-ref.el:
4462 * textmodes/tex-mode.el: Use it.
4463 Did not touch cedet and org because they are maintained elsewhere.
4464
4465 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4466
4467 * calendar/calendar.el (calendar-exit): Don't try to delete or
4468 iconify last frame. See:
4469 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4470
4471 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4472
4473 * server.el (server-process-filter): Remember dir in the
4474 process's `server-client-directory' properties.
4475
4476 2012-06-24 Chong Yidong <cyd@gnu.org>
4477
4478 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4479 non-tag text.
4480
4481 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4482
4483 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4484
4485 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * help-fns.el (describe-variable): Don't croak when doc is not found.
4488 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4489 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4490 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4491 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4492 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4493 ((lambda ..) ..).
4494 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4495
4496 2012-06-23 Chong Yidong <cyd@gnu.org>
4497
4498 * info.el (Info-mouse-follow-link): Accept symbol values of
4499 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4500 (Info-fontify-node): Use Info-link-keymap for all navigation
4501 buttons, with link-args property to perform the desired action.
4502 (Info-link-keymap): Doc fix.
4503 (Info-next-link-keymap, Info-prev-link-keymap)
4504 (Info-up-link-keymap): Delete now-unused keymaps.
4505
4506 2012-06-23 Chong Yidong <cyd@gnu.org>
4507
4508 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4509
4510 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4511 system abbrevs.
4512
4513 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4514
4515 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4516
4517 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4518 (bug#11719).
4519
4520 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4521 the requote function doesn't work properly (bug#11714).
4522
4523 2012-06-23 Glenn Morris <rgm@gnu.org>
4524
4525 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4526
4527 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4528
4529 Further GV/CL cleanups.
4530 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4531 gv-expander.
4532 (gv--defun-declaration): New function.
4533 (defun-declarations-alist): Use it.
4534 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4535 (gv-place): Autoload.
4536 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4537 original definition of dotimes and dolist.
4538 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4539 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4540 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4541 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4542 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4543 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4544 to the function's definition.
4545 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4546 * window.el:
4547 * files.el:
4548 * faces.el:
4549 * env.el: Don't use CL.
4550
4551 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4552
4553 Support higher-resolution time stamps (Bug#9000).
4554
4555 * calendar/time-date.el (with-decoded-time-value): New arg
4556 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4557 (encode-time-value): New optional arg PICO. New type 3.
4558 (time-to-seconds) [!float-time]: Support the new picoseconds
4559 component if it's used.
4560 (seconds-to-time, time-subtract, time-add):
4561 Support ps-resolution time stamps as well.
4562
4563 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4564 (timerp): Timer vectors now have length 9, not 8.
4565 (timer--time): Support new-style (4-part) time stamps.
4566 (timer-next-integral-multiple-of-time): Time stamps now have
4567 picosecond resolution, so take a bit more care about rounding.
4568 (timer-relative-time, timer-inc-time): New optional arg psecs.
4569 (timer-set-time-with-usecs): Set psecs to 0.
4570 (timer--activate): Check psecs component, too.
4571
4572 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4573
4574 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4575
4576 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4577 Move the non-essential binding to the post/pre-command-hook where it is
4578 more obviously correct.
4579
4580 * subr.el (read-passwd): Don't use a history at all.
4581 * savehist.el (savehist-save): Remove password saved accidentally
4582 because of the above bug.
4583
4584 2012-06-22 Bastien Guerry <bzg@gnu.org>
4585
4586 * files.el (toggle-read-only): Display a message telling whether
4587 the buffer is read-only or not (bug#11726).
4588
4589 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * emacs-lisp/gv.el: New file.
4592 * subr.el (push, pop): Extend to generalized variables.
4593 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4594 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4595 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4596 gv-define-simple-setter, and gv-define-expander.
4597 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4598 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4599 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4600 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4601 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4602 gv-letplace.
4603 (cl-defstruct): Don't define setf-method any more.
4604 * emacs-lisp/cl.el (flet): Don't autoload.
4605 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4606 (define-setf-expander, defsetf, define-modify-macro)
4607 (cl-struct-setf-expander): Move from cl-lib.el.
4608 * emacs-lisp/syntax.el:
4609 * emacs-lisp/ewoc.el:
4610 * emacs-lisp/smie.el:
4611 * emacs-lisp/cconv.el:
4612 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4613 (timer--time): Use gv-define-simple-setter.
4614 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4615 to avoid coding-system problems in subr.el. Adjust all users.
4616 (macroexp--maxsize, macroexp-small-p): New functions.
4617 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4618 * scroll-bar.el (scroll-bar-mode):
4619 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4620 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4621 * winner.el (winner-configuration, winner-make-point-alist)
4622 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4623 * files.el (locate-file-completion-table): Avoid list*.
4624
4625 2012-06-22 Chong Yidong <cyd@gnu.org>
4626
4627 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4628 (dired-create-files): Doc fix (Bug#11329).
4629 (dired-do-copy): Doc fix (Bug#11334).
4630 (dired-mark-read-string): Doc fix (Bug#11553).
4631
4632 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4633 Doc fix (Bug#11326).
4634 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4635 (dired-dwim-target): Doc fix.
4636
4637 * wdired.el (wdired-mode): Doc fix.
4638
4639 2012-06-22 Glenn Morris <rgm@gnu.org>
4640
4641 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4642 (pcmpl-rpm-cache-stamp-file): New constant.
4643 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4644 (pcmpl-rpm-packages): Optionally cache list of packages.
4645
4646 * pcmpl-rpm.el (pcmpl-rpm): New group.
4647 (pcmpl-rpm-query-options): New option.
4648 (pcmpl-rpm-packages): No need to inline it.
4649 Use pcmpl-rpm-query-options.
4650
4651 * calendar/calendar.el (calendar-in-read-only-buffer):
4652 Avoid some needless mode changes.
4653
4654 2012-06-21 Chong Yidong <cyd@gnu.org>
4655
4656 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4657 (desktop-path): Remove . from the default value (Bug#10977).
4658 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4659
4660 2012-06-20 Chong Yidong <cyd@gnu.org>
4661
4662 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4663
4664 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4665
4666 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4667 (bug#11201).
4668
4669 2012-06-20 Chong Yidong <cyd@gnu.org>
4670
4671 * term.el (term-window-width): Handle the case of a missing right
4672 fringe (Bug#8837).
4673 (term-check-size): Use window-text-height (Bug#5445).
4674 (term-mode): Use define-derived-mode. Minor cleanups.
4675 Set font-lock-defaults (Bug#7692).
4676 (term-move-columns, term-insert-char, term-emulate-terminal)
4677 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4678
4679 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4680
4681 * net/ange-ftp.el (ange-ftp-get-passwd):
4682 Bind `enable-recursive-minibuffers'.
4683 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4684
4685 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4686
4687 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4688
4689 2012-06-19 Glenn Morris <rgm@gnu.org>
4690
4691 * progmodes/python.el (python-mode): Derive from prog-mode.
4692
4693 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4694
4695 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4696 (edt-user-menu-bar-update-buffers): New functions.
4697 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4698
4699 2012-06-19 Chong Yidong <cyd@gnu.org>
4700
4701 * subr.el (with-selected-window): Preserve the selected window's
4702 terminal's top-frame (Bug#4702).
4703
4704 * window.el (save-selected-window): Likewise.
4705
4706 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * progmodes/python.el (python-rx-constituents): Move backquote.
4709 (python-skeleton-define, python-define-auxiliary-skeleton):
4710 Use `declare'.
4711
4712 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4713
4714 * minibuffer.el (read-file-name-default): Revert the patch from
4715 2012-06-17.
4716
4717 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4720 (pcase--u1, pcase--q1): Don't use apply-partially.
4721
4722 2012-06-18 Glenn Morris <rgm@gnu.org>
4723
4724 * progmodes/python.el (python-proc, python-buffer)
4725 (python-send-receive, python-send-string): Fix obsolete versions.
4726
4727 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4728
4729 * window.el (special-display-p): Completely remove stringp
4730 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4731
4732 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4733
4734 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4735
4736 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4737
4738 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4739 * net/tramp-sh.el (tramp-maybe-open-connection):
4740 Throw if `non-essential' is non-nil.
4741
4742 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4743
4744 * window.el (special-display-p): Signal an error if BUFFER-NAME
4745 is not a string (Bug#11713).
4746
4747 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4748
4749 * progmodes/python.el (python-info-beginning-of-backslash):
4750 Rename from python-info-beginning-of-backlash, as a spelling fix.
4751
4752 2012-06-17 Chong Yidong <cyd@gnu.org>
4753
4754 * term.el (term-emulate-terminal): If term-check-size is called,
4755 move point to the process mark without resetting point (Bug#4635).
4756
4757 2012-06-17 Glenn Morris <rgm@gnu.org>
4758
4759 * international/mule-cmds.el (mule-menu-keymap)
4760 (set-language-environment, set-locale-environment): Doc tweaks.
4761
4762 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4763
4764 * cus-face.el (custom-face-attributes): Add wave-style underline
4765 attribute.
4766 * faces.el (set-face-attribute): Update docstring to describe
4767 wave-style underline attribute.
4768
4769 2012-06-16 Chong Yidong <cyd@gnu.org>
4770
4771 * term/xterm.el (terminal-init-xterm): Discard input before
4772 querying background mode (Bug#10959).
4773
4774 2012-06-16 Stefan Merten <smerten@oekonux.de>
4775
4776 * textmodes/rst.el: Added and corrected some comments.
4777 (rst-re-alist-def): Improve symbol syntax.
4778 (rst-mode-syntax-table): Correct syntax entries.
4779 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4780 (rst-official-version, rst-official-cvs-rev): Update version
4781 information.
4782
4783 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4786 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4787
4788 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4789
4790 * progmodes/python.el: New python.el merge.
4791 (python-guess-indent): Obsolete var.
4792 (python-indent-guess-indent-offset): New defcustom.
4793 (python-indent): Obsolete var.
4794 (python-indent-offset): New defcustom.
4795 (python-python-command, python-jython-command): Delete var.
4796 (python-shell-interpreter): New defcustom.
4797 (python-pdbtrack-do-tracking-p): Delete var.
4798 (python-pdbtrack-activate): New defcustom.
4799 (python-use-skeletons): Obsolete var.
4800 (python-skeleton-autoinsert): New defcustom.
4801 (inferior-python-filter-regexp, python-continuation-offset)
4802 (python-honour-comment-indentation, python-indent-string-contents)
4803 (python-jython-packages, python-mode-hook)
4804 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4805 (python-shell-prompt-alist)
4806 (python-source-modes): Delete defcustoms.
4807 (python-check-buffer-name, python-eldoc-setup-code)
4808 (python-eldoc-string-code, python-ffap-setup-code)
4809 (python-ffap-string-code, python-fill-comment-function)
4810 (python-fill-decorator-function, python-fill-paren-function)
4811 (python-fill-string-function, python-imenu-include-defun-type)
4812 (python-imenu-make-tree, python-imenu-subtree-root-label)
4813 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4814 (python-shell-compilation-regexp-alist)
4815 (python-shell-completion-module-string-code)
4816 (python-shell-completion-pdb-string-code)
4817 (python-shell-completion-setup-code)
4818 (python-shell-completion-string-code)
4819 (python-shell-enable-font-lock, python-shell-exec-path)
4820 (python-shell-extra-pythonpaths)
4821 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4822 (python-shell-process-environment)
4823 (python-shell-prompt-block-regexp)
4824 (python-shell-prompt-output-regexp)
4825 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4826 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4827 (python-shell-virtualenv-path): New defcustoms.
4828 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4829 (inferior-python-mode-syntax-table, python--prompt-regexp)
4830 (python-buffer, python-command python-python-command)
4831 (python-default-template, python-imports, python-indent-index)
4832 (python-indent-list, python-indent-list-length)
4833 (python-mode-running, python-pdbtrack-is-tracking-p)
4834 (python-preoutput-continuation, python-preoutput-leftover)
4835 (python-preoutput-result, python-preoutput-skip-next-prompt)
4836 (python-prev-dir/file, python-recursing)
4837 (python-saved-check-command, python-version-checked)
4838 (python-which-func-length-limit)
4839 (view-return-to-alist): Delete vars.
4840 (python-check-custom-command, python-dotty-syntax-table)
4841 (python-imenu-index-alist, python-indent-current-level)
4842 (python-indent-dedenters, python-indent-levels)
4843 (python-nav-beginning-of-defun-regexp)
4844 (python-nav-list-defun-positions-cache)
4845 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4846 (python-shell-internal-buffer)
4847 (python-skeleton-available): New vars.
4848 (def-python-skeleton): Delete macro.
4849 (python-skeleton-define): New macro.
4850 (python-define-auxiliary-skeleton, python-rx): New macros.
4851 (python-insert-class): Delete command.
4852 (python-skeleton-class): New command.
4853 (python-insert-def): Delete command.
4854 (python-skeleton-def): New command.
4855 (python-insert-for): Delete command.
4856 (python-skeleton-for): New command.
4857 (python-insert-if): Delete command.
4858 (python-skeleton-if): New command.
4859 (python-insert-try/except, python-insert-try/finally): Delete commands.
4860 (python-skeleton-try): New command.
4861 (python-insert-while): Delete command.
4862 (python-skeleton-while): New command.
4863 (python-backspace): Delete command.
4864 (python-indent-dedent-line-backspace): New command.
4865 (python-electric-colon): Delete command.
4866 (python-indent-electric-colon): New command.
4867 (python-guess-indent): Delete command.
4868 (python-indent-guess-indent-offset): New command.
4869 (python-shift-left): Delete command.
4870 (python-indent-shift-left): New command.
4871 (python-shift-right): Delete command.
4872 (python-indent-shift-right): New command.
4873 (python-find-function): Delete command.
4874 (python-nav-jump-to-defun): New command.
4875 (python-next-statement): Delete command.
4876 (python-nav-forward-sentence): New command.
4877 (python-previous-statement): Delete command.
4878 (python-nav-backward-sentence): New command.
4879 (python-fill-paragraph): Delete command.
4880 (python-fill-paragraph-function): New command.
4881 (python-send-buffer): Delete command.
4882 (python-shell-send-buffer): New command.
4883 (python-send-defun): Delete command.
4884 (python-shell-send-defun): New command.
4885 (python-send-region, python-send-region-and-go): Delete commands.
4886 (python-shell-send-region)
4887 (python-shell-switch-to-shell): New commands.
4888 (python-send-string): Delete command.
4889 (python-shell-send-string): New command.
4890 (python-switch-to-python): Delete command.
4891 (python-shell-switch-to-shell): New command.
4892 (python-describe-symbol): Delete command.
4893 (python-eldoc-at-point): New command.
4894 (python--set-prompt-regexp, python-args-to-list)
4895 (python-after-info-look, python-check-version)
4896 (python-check-comint-prompt, python-find-imports)
4897 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4898 (python-unload-function, python-expand-template)
4899 (python-maybe-jython, python-preoutput-filter)
4900 (python-pdbtrack-get-source-buffer)
4901 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4902 (python-pdbtrack-toggle-stack-tracking)
4903 (python-pdbtrack-track-stack-file, python-initial-text)
4904 (python-first-word, python-comment-line-p, python-send-command)
4905 (python-setup-brm, python-sentinel, python-set-proc)
4906 (python-skip-out, python-input-filter, python-outdent-p)
4907 (python-outline-level, python-backslash-continuation-line-p)
4908 (python-end-of-block, python-end-of-statement, python-mark-block)
4909 (python-beginning-of-block, python-beginning-of-statement)
4910 (python-blank-line-p, python-beginning-of-string)
4911 (python-open-block-statement-p): Delete functions.
4912 (python-indent-line, python-indent-line-1): Delete functions.
4913 (python-indent-line): New function.
4914 (python-indentation-levels): Delete function.
4915 (python-indent-calculate-levels): New function.
4916 (python-proc): Delete function.
4917 (python-shell-get-process): New function.
4918 (python-send-receive): Delete function.
4919 (python-shell-send-string-no-output): New function.
4920 (python-module-path): Delete function.
4921 (python-ffap-module-path): New function.
4922 (python-completion-at-point)
4923 (python-symbol-completions): Delete functions.
4924 (python-completion-complete-at-point): New function.
4925 (python-load-file): Delete function.
4926 (python-shell-send-file): New function.
4927 (python-calculate-indentation): Delete function.
4928 (python-indent-calculate-indentation): New function.
4929 (python-skip-comments/blanks): Delete function.
4930 (python-util-forward-comment): New function.
4931 (python-continuation-line-p): Delete function.
4932 (python-info-continuation-line-p): New function.
4933 (python-which-func, python-current-defun): Delete function.
4934 (python-info-current-defun): New function.
4935 (python-beginning-of-defun): Delete function.
4936 (python-nav-beginning-of-defun): New function.
4937 (python-close-block-statement-p)
4938 (python-block-end-p): Delete function.
4939 (python-info-closing-block): New function.
4940 (python-comint-output-filter-function)
4941 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4942 (python-fill-comment, python-fill-decorator, python-fill-paren)
4943 (python-fill-string, python-imenu-make-element-tree)
4944 (python-imenu-make-tree, python-imenu-tree-assoc)
4945 (python-indent-context, python-indent-dedent-line)
4946 (python-indent-line-function)
4947 (python-indent-post-self-insert-function)
4948 (python-indent-toggle-levels)
4949 (python-info-assignment-continuation-line-p)
4950 (python-info-beginning-of-backlash)
4951 (python-info-block-continuation-line-p)
4952 (python-info-closing-block-message)
4953 (python-info-line-ends-backslash-p)
4954 (python-info-looking-at-beginning-of-defun)
4955 (python-info-ppss-context, python-info-ppss-context-type)
4956 (python-nav-list-defun-positions, python-nav-read-defun)
4957 (python-nav-sentence-end, python-nav-sentence-start)
4958 (python-pdbtrack-comint-output-filter-function)
4959 (python-pdbtrack-set-tracked-buffer)
4960 (python-shell-calculate-exec-path)
4961 (python-shell-calculate-process-environment)
4962 (python-shell-completion--do-completion-at-point)
4963 (python-shell-completion--get-completions)
4964 (python-shell-completion-complete-at-point)
4965 (python-shell-completion-complete-or-indent)
4966 (python-shell-get-or-create-process)
4967 (python-shell-get-process-name)
4968 (python-shell-internal-get-or-create-process)
4969 (python-shell-internal-get-process-name)
4970 (python-shell-internal-send-string, python-shell-make-comint)
4971 (python-shell-parse-command, python-shell-send-setup-code)
4972 (python-skeleton-add-menu-items)
4973 (python-util-clone-local-variables, python-util-position)
4974 (run-python-internal, python-indentation-levels)
4975 (python-nav-beginning-of-defun)
4976 (python-completion-complete-at-point): New functions.
4977 (run-python): Change arguments. New API requirements.
4978
4979 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4980
4981 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4982 (bug#11649).
4983
4984 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4985 (macroexp--expand-all): Use it.
4986
4987 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4988 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4989 Use `cl-function' instead.
4990
4991 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4994 Suggested by Stefan Monnier while discussing bug#11657.
4995
4996 2012-06-14 Sam Steingold <sds@gnu.org>
4997
4998 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4999
5000 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5001
5002 * play/doctor.el (doctor-doc): Remove parameter and use
5003 doctor-sent instead of sent.
5004 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5005
5006 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5007
5008 * files.el: Require cl-lib.
5009 (file-name-non-special): Replace case -> cl-case.
5010
5011 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5012
5013 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5014 mapping from #' to function*.
5015
5016 2012-06-13 Chong Yidong <cyd@gnu.org>
5017
5018 * mouse.el (mouse-drag-track): Do not set the mark if the user
5019 releases the mouse without selecting anything (Bug#11588).
5020
5021 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5024 as well (bug#11646).
5025
5026 * loadup.el: Count byte-code functions as well.
5027
5028 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5029 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5030
5031 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5032 (bug#11649). Add cl-defun and cl-defmacro.
5033
5034 2012-06-13 Drew Adams <drew.adams@oracle.com>
5035
5036 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5037 Fix last change.
5038
5039 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5040
5041 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5042 Otherwise, it blocks in batch mode.
5043
5044 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5045
5046 * help-mode.el (bookmark-make-record-default): Declare.
5047
5048 2012-06-13 Chong Yidong <cyd@gnu.org>
5049
5050 * emacs-lisp/package.el (list-packages): Compute a list of
5051 packages that are newly-available since the last list-packages
5052 invocation.
5053 (package-menu--new-package-list): New var.
5054 (package-menu--generate, package-menu--print-info)
5055 (package-menu--status-predicate, package-menu-mark-install):
5056 Handle new status label "new".
5057
5058 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5059
5060 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5061 conversion to backquotes.
5062
5063 2012-06-12 Chong Yidong <cyd@gnu.org>
5064
5065 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5066 Rename from gud-inhibit-global-bindings.
5067
5068 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5069
5070 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5071 hook from nxml-glyph-set-hook.
5072
5073 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5074 declaration.
5075
5076 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5077
5078 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5079 Convert to defcustom.
5080
5081 2012-06-12 Drew Adams <drew.adams@oracle.com>
5082
5083 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5084 New functions.
5085 (help-mode): Use them.
5086
5087 2012-06-11 Glenn Morris <rgm@gnu.org>
5088
5089 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5090 Use preprocessor face for directives.
5091 (fortran-directive-re): Doc fix.
5092
5093 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5094
5095 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5096 conversion to backquotes (bug#11652).
5097
5098 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5099 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5100 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5101 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5102 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5103 (cl-ninth, cl-tenth): Mark them as inlinable.
5104 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5105 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5106 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5107 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5108 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5109 (cl-list*, cl-adjoin): Don't put an autoload manually.
5110 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5111 (cl--compiler-macro-list*): Add autoload cookie.
5112 (cl--compiler-macro-cXXr): New function.
5113
5114 * help-fns.el (help-fns--compiler-macro): New function extracted from
5115 describe-function-1; follow aliases and use `compiler-macro' property.
5116 (describe-function-1): Use it.
5117
5118 2012-06-11 Chong Yidong <cyd@gnu.org>
5119
5120 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5121 is uninstalled, if imagemagick is installed.
5122
5123 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * emacs-lisp/cl-lib.el: Use lexical-binding.
5126 (cl-map-extents, cl-maclisp-member): Remove.
5127 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5128 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5129 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5130 * emacs-lisp/cl-extra.el: Use lexical-binding.
5131 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5132 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5133 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5134 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5135 * emacs-lisp/cl-seq.el: Use lexical-binding.
5136 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5137 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5138 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5139 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5140 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5141 CL's internals.
5142
5143 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5144
5145 Sync with Tramp 2.2.6-pre.
5146
5147 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5148 `print-length' and `print-level' to nil, in order to avoid
5149 truncation. Reported by Christopher Schmidt
5150 <christopher@ristopher.com>.
5151
5152 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5153
5154 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5155 New defmacro.
5156 (tramp-compat-copy-directory): Add optional argument
5157 COPY-CONTENTS. It is not handled yet.
5158
5159 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5160 (tramp-ftp-file-name-p): Simplify.
5161
5162 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5163 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5164 connection vector.
5165
5166 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5167 (tramp-methods): Do not use `tramp-password-end-of-line'.
5168 (tramp-completion-function-alist-putty): Handle UNIX case.
5169 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5170 (tramp-do-file-attributes-with-stat)
5171 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5172 gid as real numbers. They could run out of integer range on cygwin.
5173 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5174 (tramp-sh-handle-expand-file-name): Handle hops.
5175 (tramp-open-connection-setup-interactive-shell):
5176 Use `tramp-cleanup'. Move check for busyboxes ...
5177 (tramp-find-shell): ... here. Simplify implementation.
5178 Set "remote-shell" property also for alternative shells.
5179 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5180 If failing, a regular file would be written otherwise.
5181 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5182 (tramp-find-inline-encoding): Cache the coding commands in the
5183 process cache. Apply test command on the remote side, if defined.
5184 (tramp-find-inline-compress): Cache the compress commands in the
5185 process cache.
5186 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5187 when requested. Handle hops.
5188 (tramp-current-connection): New defvar.
5189 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5190 Throw `suppress', if there was a failed connection shortly before.
5191 Handle user interrupt. (Bug#10187)
5192 (tramp-get-inline-compress, tramp-get-inline-coding):
5193 Read connection properties from the process cache.
5194
5195 * net/tramp-smb.el (tramp-smb-server-version)
5196 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5197 New defconsts.
5198 (tramp-smb-prompt): Extend for powershell prompt.
5199 (tramp-smb-file-name-handler-alist): Add handlers for
5200 `process-file', `shell-command' and `start-file-process'.
5201 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5202 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5203 (tramp-smb-file-name-p): Simplify.
5204 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5205 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5206 (tramp-smb-shell-quote-argument): New defuns.
5207 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5208 Implement using "tar". By this, time-stamps are preserved.
5209 (tramp-smb-handle-copy-file): Handle also the case of directories.
5210 (tramp-smb-do-file-attributes-with-stat)
5211 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5212 Use `tramp-get-connection-buffer').
5213 (tramp-smb-handle-rename-file): Use "rename", when source and
5214 target are on the same share.
5215 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5216 Use `tramp-smb-server-version'.
5217 (tramp-smb-wait-for-output): Remove prompt.
5218
5219 * net/tramp.el (top): Require 'cl.
5220 (tramp-methods, tramp-rsh-end-of-line):
5221 Remove `tramp-password-end-of-line' from docstring.
5222 (tramp-save-ad-hoc-proxies): New defcustom.
5223 (tramp-completion-function-alist): Adapt docstring.
5224 (tramp-default-password-end-of-line): Remove defcustom.
5225 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5226 (tramp-user-regexp, tramp-file-name-regexp-unified)
5227 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5228 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5229 (tramp-remote-file-name-spec-regexp): New defconst.
5230 (tramp-file-name-structure): Extend structure for hops.
5231 (tramp-get-method-parameter): Move up.
5232 (tramp-file-name-p, tramp-dissect-file-name)
5233 (with-parsed-tramp-file-name): Handle hops.
5234 (tramp-file-name-hop): New defun.
5235 (tramp-make-tramp-file-name): New optional arg HOP.
5236 (tramp-message-show-progress-reporter-message): New defvar.
5237 (tramp-with-progress-reporter): Use it. We cannot use
5238 `tramp-message-show-message' here, because this suppresses also
5239 error buffers.
5240 (tramp-error-with-buffer): Suppress buffer view, if
5241 `tramp-message-show-message' is nil.
5242 Use `tramp-get-connection-buffer'.
5243 (tramp-cleanup): New defun.
5244 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5245 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5246 an error unchanged.
5247 (tramp-completion-handle-file-name-all-completions): Handle hops.
5248 Fix an error when called from ido.
5249 (tramp-completion-dissect-file-name): Use better local variable
5250 name. Add hop to the vector.
5251 (tramp-handle-insert-file-contents): Use progress-reporter for the
5252 whole scenario.
5253 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5254 to `t'.
5255 (tramp-check-for-regexp): Simplify search.
5256 (tramp-enter-password): Remove it. Move implementation ...
5257 (tramp-action-password): ... here.
5258 (tramp-mode-string-to-int, tramp-local-host-p)
5259 (tramp-make-tramp-temp-file, tramp-read-passwd)
5260 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5261 Set tramp-autoload cookie.
5262
5263 * net/trampver.el: Update release number.
5264
5265 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5266 Michael Albinus <michael.albinus@gmx.de>
5267
5268 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5269 (tramp-parse-group, tramp-parse-file)
5270 (tramp-parse-shostkeys-sknownhosts): New defuns.
5271 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5272 (tramp-parse-shosts-group, tramp-parse-sconfig)
5273 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5274 (tramp-parse-sknownhosts, tramp-parse-hosts)
5275 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5276 Use them.
5277 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5278 (tramp-parse-putty-group): Don't narrow.
5279 (tramp-parse-putty): Make a loop.
5280 (tramp-file-name-handler): Catch the `suppress' signal.
5281
5282 2012-06-11 Chong Yidong <cyd@gnu.org>
5283
5284 * image.el (imagemagick-register-types): Put the ImageMagick entry
5285 at the end of image-type-file-name-regexps.
5286
5287 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5288
5289 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5290 (pcase, pcase-let*, pcase-dolist): Use them.
5291
5292 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * emacs-lisp/pcase.el (pcase--let*): New function.
5295 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5296 (pcase--expand): Use macroexp-let².
5297
5298 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5299
5300 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5301 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5302 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5303 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5304 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5305 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5306
5307 2012-06-10 Glenn Morris <rgm@gnu.org>
5308
5309 * mail/rmail.el (rmail-yank-current-message): Leave point at
5310 correct position. (Bug#11660)
5311
5312 2012-06-10 Chong Yidong <cyd@gnu.org>
5313
5314 * allout-widgets.el: Fix code header.
5315
5316 2012-06-10 Chong Yidong <cyd@gnu.org>
5317
5318 * cus-edit.el (customize-changed-options-previous-release):
5319 Bump to 24.1.
5320
5321 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5322
5323 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5324
5325 2012-06-09 Chong Yidong <cyd@gnu.org>
5326
5327 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5328
5329 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5330
5331 * window.el (special-display-popup-frame): Don't use
5332 window--display-buffer (Bug#11651).
5333
5334 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5335
5336 Fix parallel builds: make sure loaddefs.el is not being written
5337 while Lisp files are compiled.
5338 (compile): Don't depend on 'mh-autoloads'.
5339 (compile-CMD, compile-SH): Depend on 'autoloads'.
5340 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5341
5342 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5343
5344 2012-06-09 Chong Yidong <cyd@gnu.org>
5345
5346 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5347 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5348 Doc fixes (Bug#11225).
5349
5350 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5353 a function if there's a clear indication that it has a compiler-macro.
5354 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5355 (macro-declarations-alist): Add arglist to declaration functions.
5356 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5357 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5358 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5359 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5360 Also add autoload to find the compiler macro.
5361 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5362 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5363 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5364 (cl--compiler-macro-get): New functions, replacing calls to
5365 cl-define-compiler-macro.
5366 (cl-typep) [compiler-macro]: Use macroexp-let².
5367
5368 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5369
5370 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5371 string properly, fixes Bug#11473.
5372
5373 2012-06-08 Chong Yidong <cyd@gnu.org>
5374
5375 * faces.el (set-face-attribute): Doc fix.
5376 (modify-face): Don't use :bold and :italic.
5377 (error, warning, success): Tweak definitions.
5378
5379 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5380 (custom-modified, custom-set, custom-changed, custom-themed)
5381 (custom-saved, custom-button, custom-button-mouse)
5382 (custom-button-pressed, custom-state, custom-comment-tag)
5383 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5384 (custom-group-subtitle): Use new-style face specs.
5385 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5386 (custom-set-face, custom-changed-face, custom-saved-face)
5387 (custom-button-face, custom-button-pressed-face)
5388 (custom-documentation-face, custom-state-face)
5389 (custom-comment-face, custom-comment-tag-face)
5390 (custom-variable-tag-face, custom-variable-button-face)
5391 (custom-face-tag-face, custom-group-tag-face-1)
5392 (custom-group-tag-face): Remove obsolete face alias.
5393
5394 * epa.el (epa-validity-high, epa-validity-medium)
5395 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5396 (epa-field-name, epa-field-body):
5397 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5398 (font-lock-keyword-face, font-lock-builtin-face)
5399 (font-lock-function-name-face, font-lock-variable-name-face)
5400 (font-lock-type-face, font-lock-constant-face):
5401 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5402 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5403 * speedbar.el (speedbar-button-face, speedbar-file-face)
5404 (speedbar-directory-face, speedbar-tag-face)
5405 (speedbar-selected-face, speedbar-highlight-face)
5406 (speedbar-separator-face):
5407 * whitespace.el (whitespace-newline, whitespace-space)
5408 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5409 (whitespace-line, whitespace-space-before-tab)
5410 (whitespace-space-after-tab, whitespace-indentation)
5411 (whitespace-empty):
5412 * emulation/cua-base.el (cua-global-mark):
5413 * eshell/em-prompt.el (eshell-prompt):
5414 * net/newst-plainview.el (newsticker-new-item-face)
5415 (newsticker-old-item-face, newsticker-immortal-item-face)
5416 (newsticker-obsolete-item-face, newsticker-date-face)
5417 (newsticker-statistics-face, newsticker-default-face):
5418 * net/newst-reader.el (newsticker-feed-face)
5419 (newsticker-extra-face, newsticker-enclosure-face):
5420 * net/newst-treeview.el (newsticker-treeview-face)
5421 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5422 (newsticker-treeview-immortal-face)
5423 (newsticker-treeview-obsolete-face)
5424 (newsticker-treeview-selection-face):
5425 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5426 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5427 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5428 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5429 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5430 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5431 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5432 (mpuz-text):
5433 * progmodes/vera-mode.el (vera-font-lock-number)
5434 (vera-font-lock-function, vera-font-lock-interface):
5435 * textmodes/table.el (table-cell): Use new-style face specs, and
5436 don't use the old :bold and :italic attributes.
5437
5438 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5439 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5440 (ebrowse-member-class, ebrowse-progress): Likewise.
5441 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5442 (ebrowse-file-name-face, ebrowse-default-face)
5443 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5444 (ebrowse-progress-face): Remove obsolete faces.
5445
5446 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5447 Inherit from error and warning faces respectively.
5448
5449 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5450 Likewise.
5451 (flyspell-incorrect-face, flyspell-duplicate-face):
5452 Remove obsolete aliases.
5453
5454 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5455
5456 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5457 Avoid infloop.
5458
5459 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * startup.el (argv, argi): Make lexically scoped.
5462 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5463 * emacs-lisp/cl-macs.el: Use lexical-binding.
5464 Rename cl-bind-* to cl--bind-*.
5465 * files.el: Don't require `cl' since it doesn't use it.
5466 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5467
5468 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5469
5470 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5471 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5472 instead of calling external sort utility.
5473 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5474
5475 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5476
5477 * descr-text.el (describe-char): Mention how to insert the
5478 character, if the current input method doesn't support it.
5479 See the discussion in this thread for the details:
5480 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5481
5482 2012-06-08 Sam Steingold <sds@gnu.org>
5483
5484 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5485 XF86Back to previous-buffer.
5486 (minibuffer-local-map): Bind them to next-history-element and
5487 previous-history-element respectively.
5488 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5489 help-go-back respectively.
5490 * info.el (Info-mode-map): Bind them to Info-history-forward and
5491 Info-history-back respectively.
5492 These are the keys next to Up on the ThinkPad keyboard.
5493
5494 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5495
5496 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5497 * emacs-lisp/cl-macs.el: Provide itself.
5498 (cl--labels-convert-cache): New var.
5499 (cl--labels-convert): New function.
5500 (cl-flet, cl-labels): New implementation with new semantics, relying on
5501 lexical-binding.
5502 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5503 (cl-closure-vars, cl--function-convert-cache)
5504 (cl--function-convert): Move from cl-macs.el.
5505 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5506 rename by removing the "cl-" prefix.
5507 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5508
5509 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5512 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5513 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5514 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5515 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5516 (cl-hash-table-count): Add old compatibility aliases.
5517
5518 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5519 Use macroexpand-all-environment instead.
5520 (cl--old-macroexpand): New var.
5521 (cl--sm-macroexpand): New function.
5522 (cl-symbol-macrolet): Use it during macro expansion.
5523 (cl--function-convert-cache): New var.
5524 (cl--function-convert): New function, extracted from
5525 cl-macroexpand-all.
5526 (cl-lexical-let): Use it.
5527
5528 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5529 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5530 (cl-member): Remove old alias.
5531
5532 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5533 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5534 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5535 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5536 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5537 (cl-macroexpand-cmacs): Remove var.
5538 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5539 Use macroexpand-all instead.
5540
5541 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5544 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5545 (macroexp-copyable-p): New functions and macros.
5546 * emacs-lisp/edebug.el (edebug-unwrap):
5547 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5548 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5549 (pcase--let*): Remove.
5550 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5551 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5552 macroexp-const-p instead.
5553 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5554
5555 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5556 instead of "cl-" for internal definitions. Use macroexp-const-p.
5557 (cl-old-bc-file-form): Remove var.
5558 (cl-const-exprs-p): Remove fun.
5559 (cl-labels, cl-macrolet): Use backquote.
5560 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5561 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5562 (cl-define-setf-expander): Rename from cl-define-setf-method.
5563 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5564
5565 * international/mule-cmds.el: Don't require CL.
5566 (view-hello-file): Don't use `letf'.
5567
5568 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * tmm.el (tmm-prompt): Use string-prefix-p.
5571 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5572 (tmm-add-prompt): Use minibuffer-completion-help.
5573 (tmm-delete-map): Remove.
5574
5575 * subr.el (kbd): Make it its own function.
5576
5577 2012-06-07 Stefan Merten <smerten@oekonux.de>
5578
5579 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5580 Silence compiler warnings. Fix versions.
5581 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5582 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5583 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5584 (rst-package-emacs-version-alist): Correct Emacs version to
5585 represent major merge with upstream.
5586 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5587
5588 2012-06-06 Glenn Morris <rgm@gnu.org>
5589
5590 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5591 Only print environment variables if set.
5592
5593 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5594
5595 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5596 (macroexp--cons): Rename from maybe-cons.
5597 (macroexp--accumulate): Rename from macroexp-accumulate.
5598 (macroexp--all-forms): Rename from macroexpand-all-forms.
5599 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5600 (macroexp--expand-all): Rename from macroexpand-all-1.
5601
5602 2012-06-06 Sam Steingold <sds@gnu.org>
5603
5604 * calendar/calendar.el (calendar-in-read-only-buffer):
5605 Call `special-mode' to enable the standard read-only keybindings.
5606
5607 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5610 with "loading" messages (bug#11635).
5611
5612 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5613
5614 * files.el (enable-remote-dir-locals): New option.
5615 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5616
5617 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5618 Ensure, that the temp directory is local.
5619
5620 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5621 `temporary-file-directory'.
5622
5623 * progmodes/python.el (python-send-region): Ensure, that the
5624 temporary file is created also in the remote case.
5625
5626 2012-06-06 Glenn Morris <rgm@gnu.org>
5627
5628 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5629 (vc-rcs-update-changelog): Use it.
5630
5631 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5632
5633 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5634 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5635 (vc-sccs-diff): Replace use of the external vcdiff script.
5636
5637 2012-06-05 Glenn Morris <rgm@gnu.org>
5638
5639 * ledit.el: Move to obsolete/.
5640
5641 2012-06-05 Sam Steingold <sds@gnu.org>
5642
5643 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5644 patch (Bug#11140).
5645
5646 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * emacs-lisp/cust-print.el: Move to obsolete.
5649
5650 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5651 compiler-macro expansion.
5652
5653 Add native compiler-macro support.
5654 * emacs-lisp/macroexp.el (macroexpand-all-1):
5655 Support compiler-macros directly. Properly follow aliases and apply
5656 the compiler macros more thoroughly.
5657 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5658 macroexpand now properly follows aliases.
5659 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5660 (cl-compiler-macroexpand): Use new prop.
5661 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5662
5663 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5664
5665 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5666
5667 * window.el (get-lru-window, get-mru-window, get-largest-window):
5668 New argument NOT-SELECTED to avoid picking the selected window.
5669 (window--display-buffer-1, window--display-buffer-2): Replace by
5670 new function window--display-buffer
5671 (display-buffer-same-window, display-buffer-reuse-window)
5672 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5673 Use window--display-buffer.
5674 (display-buffer-use-some-window): Remove temporary dedication
5675 hack by calling get-lru-window and get-largest-window with
5676 NOT-SELECTED argument non-nil. Call window--display-buffer.
5677
5678 2012-06-05 Glenn Morris <rgm@gnu.org>
5679
5680 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5681 Replace external vcdiff script.
5682
5683 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5686
5687 2012-06-04 Chong Yidong <cyd@gnu.org>
5688
5689 * image.el (imagemagick-types-inhibit): Revert last change.
5690 Add INFO and M.
5691 (imagemagick-enabled-types): Remove CIN and EPS*.
5692
5693 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * emacs-lisp/cl-lib.el: Rename from cl.el.
5696 * emacs-lisp/cl.el: New compatibility file.
5697 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5698 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5699 to obey the "cl-" prefix.
5700 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5701
5702 2012-06-03 Glenn Morris <rgm@gnu.org>
5703
5704 * emacs-lisp/authors.el (authors-aliases): Addition.
5705
5706 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5707 Fix :version.
5708
5709 2012-06-03 Stefan Merten <smerten@oekonux.de>
5710
5711 * textmodes/rst.el: Add comments.
5712 (rst-transition, rst-adornment): New faces.
5713 (rst-adornment-faces-alist): Make default safe to reevaluate.
5714 Fixes
5715 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5716 Improve customization tags.
5717 (rst-define-level-faces): Clarify meaning.
5718
5719 2012-06-03 Chong Yidong <cyd@gnu.org>
5720
5721 * progmodes/compile.el (compilation-mode-line-fail)
5722 (compilation-mode-line-run, compilation-mode-line-exit):
5723 New faces.
5724 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5725
5726 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5727
5728 * progmodes/which-func.el (which-func-update-ediff-windows):
5729 New function. Use it in ediff-select-hook (Bug#11478).
5730
5731 2012-06-03 Chong Yidong <cyd@gnu.org>
5732
5733 * bindings.el: Remove explicit help text from format-mode-line.
5734 It is now supplied by mode-line-default-help-echo.
5735 (mode-line-front-space, mode-line-end-spaces)
5736 (mode-line-misc-info): New variables.
5737 (mode-line-modes, mode-line-position): Move the default value to
5738 the variable definition.
5739 (mode-line-default-help-echo): New defcustom.
5740 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5741 (mode-line-modified-help-echo): New functions.
5742 (mode-line-mule-info, mode-line-modified): Use them.
5743 (mode-line-eol-desc, propertized-buffer-identification):
5744 Consistency fixes for help text.
5745 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5746 set-buffer-file-coding-system (Bug#289).
5747 (mode-line-mule-info-help-echo): Update help text.
5748
5749 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * simple.el (execute-extended-command): Set real-this-command
5752 (bug#11506).
5753
5754 2012-06-02 Chong Yidong <cyd@gnu.org>
5755
5756 Remove incorrect uses of "modeline" in comments, docstrings, and
5757 function/variable names (Bug#10329).
5758
5759 * cus-edit.el (mode-line):
5760 * dframe.el (dframe-mouse-hscroll):
5761 * emacs-lisp/re-builder.el:
5762 * emacs-lisp/easy-mmode.el (define-minor-mode):
5763 * frame.el (set-frame-name):
5764 * help.el (lookup-minor-mode-from-indicator):
5765 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5766 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5767 (c-toggle-hungry-state):
5768 * progmodes/antlr-mode.el (antlr-language-alist):
5769 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5770 * progmodes/vhdl-mode.el (vhdl-mode):
5771 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5772 * term/ns-win.el (ns-face-at-pos):
5773 * term/sup-mouse.el (sup-mouse-report):
5774 * textmodes/flyspell.el (flyspell-mode-line-string):
5775 * textmodes/ispell.el (ispell-highlight-face):
5776 * textmodes/reftex-global.el:
5777 * vc/vc-arch.el (vc-arch-mode-line-string):
5778 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5779 * vc/vc-git.el (vc-git-mode-line-string):
5780 * vc/vc-hooks.el (vc-display-status)
5781 (vc-default-mode-line-string):
5782 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5783
5784 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5785
5786 * dired.el (dired-sort-set-mode-line): Rename from
5787 dired-sort-set-modeline. All callers changed.
5788
5789 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5790 eshell-status-in-modeline.
5791
5792 * foldout.el (foldout-mode-line-string): Rename from
5793 foldout-modeline-string. All callers changed.
5794 (foldout-update-mode-line): Rename from foldout-update-modeline.
5795
5796 * subr.el (redraw-modeline): Make into obsolete alias.
5797
5798 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5799 timeclock-modeline-display. Make old name an alias.
5800 (timeclock-update-mode-line): Likewise. All callers changed.
5801 (timeclock-mode-line-display): No need to check before using
5802 add-hook.
5803 (timeclock-relative, timeclock-day-over-hook)
5804 (timeclock-use-elapsed, timeclock-mode-string)
5805 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5806
5807 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5808 crisp-mode-modeline-string.
5809
5810 * play/solitaire.el (solitaire-build-mode-line): Rename from
5811 solitaire-build-modeline. All callers changed.
5812
5813 * play/zone.el (zone-hiding-mode-line): Rename from
5814 zone-hiding-modeline. All callers changed.
5815 (zone): Remove unusued `modeline-hidden-level' property.
5816
5817 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5818 xscheme-modeline-initialize. All callers changed.
5819
5820 * strokes.el (strokes-lighter): Rename from
5821 strokes-modeline-string.
5822
5823 * textmodes/sgml-mode.el (html-face-tag-alist)
5824 (html-tag-face-alist): Use mode-line face instead of obsolete
5825 alias modeline.
5826
5827 2012-06-02 Stefan Merten <smerten@oekonux.de>
5828
5829 * textmodes/rst.el: Always require `cl'.
5830 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5831
5832 2012-06-02 Chong Yidong <cyd@gnu.org>
5833
5834 * image.el (imagemagick-enabled-types): Rename from
5835 imagemagick-types-enable. Add many more types.
5836 (imagemagick-types-inhibit): Change default to nil.
5837 (imagemagick-filter-types): Caller changed.
5838
5839 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * emacs-lisp/cl-macs.el: Use backquotes.
5842 (cl-transform-function-property): Use eval-and-compile rather than
5843 abusing `require'.
5844 (defstruct): Use declare-function instead of with-no-warnings.
5845
5846 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5847 (byte-compile-output-docform): Re-add the print-circle bindings.
5848 (byte-compile-fix-header): Use #$ just because it's shorter.
5849 (byte-compile-output-file-form): Remove defun/defmacro.
5850
5851 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5852
5853 * simple.el (choose-completion): Remove now obsolete binding for
5854 owindow.
5855
5856 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5857
5858 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5859 in order to avoid "Stack overflow in regexp matcher".
5860
5861 2012-05-31 Glenn Morris <rgm@gnu.org>
5862
5863 * image.el: For clarity, call imagemagick-register-types at
5864 top-level, rather than relying on a custom :initialize.
5865 (imagemagick-types-enable): New option. (Bug#11557)
5866 (imagemagick-filter-types): New function. (Bug#7406)
5867 (imagemagick-register-types): Use imagemagick-filter-types.
5868 If disabling support, remove elements altogether rather
5869 than using an impossible regexp.
5870 (imagemagick-types-inhibit): Give it the default init function.
5871
5872 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5873
5874 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5875 Handle arbitrary file name lengths (Bug#11585).
5876
5877 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5878
5879 * desktop.el (desktop-read): Clear previous and next buffers for
5880 all windows and bury *Messages* buffer (bug#11556).
5881
5882 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 Add `declare' for `defun'. Align `defmacro's with it.
5885 * emacs-lisp/easy-mmode.el (define-minor-mode)
5886 (define-globalized-minor-mode): Don't autoload the var definitions.
5887 * emacs-lisp/byte-run.el: Use lexical-binding.
5888 (defun-declarations-alist, macro-declarations-alist): New vars.
5889 (defmacro, defun): Use them.
5890 (make-obsolete, define-obsolete-function-alias)
5891 (make-obsolete-variable, define-obsolete-variable-alias):
5892 Use `declare'.
5893 (macro-declaration-function): Mark obsolete.
5894 * emacs-lisp/autoload.el: Use lexical-binding.
5895 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5896
5897 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5898
5899 * textmodes/ispell.el (ispell-with-no-warnings):
5900 Define as a macro.
5901 (ispell-kill-ispell, ispell-change-dictionary):
5902 Use `called-interactively-p' for Emacs instead of obsolete
5903 `interactive-p'.
5904
5905 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5908 (macro-declaration-function): Move var from C code.
5909 (macro-declaration-function): Define function with defalias.
5910 * emacs-lisp/macroexp.el (macroexpand-all-1):
5911 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5912 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5913 defun/defmacro any more.
5914 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5915 Provide fallback for unknown arglist.
5916 (byte-compile-arglist-warn): Change calling convention.
5917 (byte-compile-output-file-form): Move print-vars binding.
5918 (byte-compile-output-docform): Simplify accordingly.
5919 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5920 (byte-compile-defmacro-declaration): Remove.
5921 (byte-compile-file-form-defmumble): Generalize to defalias.
5922 (byte-compile-output-as-comment): Return byte-positions.
5923 Simplify callers accordingly.
5924 (byte-compile-lambda): Use `assert'.
5925 (byte-compile-defun, byte-compile-defmacro): Remove.
5926 (byte-compile-file-form-defalias):
5927 Use byte-compile-file-form-defmumble.
5928 (byte-compile-defalias-warn): Remove.
5929
5930 2012-05-29 Stefan Merten <smerten@oekonux.de>
5931
5932 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5933 possible. Fix authors. Improve comments. Improve loading of `cl'.
5934
5935 (rst-mode-abbrev-table): Merge definition.
5936 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5937 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5938
5939 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5940
5941 * calendar/icalendar.el
5942 (icalendar-export-region): Export UID properly.
5943
5944 2012-05-29 Leo Liu <sdl.web@gmail.com>
5945 * calendar/icalendar.el (icalendar-import-format):
5946 Add `icalendar-import-format-uid' (Bug#11525).
5947 (icalendar-import-format-uid): New.
5948 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5949 Export UID.
5950
5951 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5954 different alternative patterns.
5955 (pcase-codegen): Be more careful to preserve identity.
5956 (pcase--u1): Don't forget to mark vars as used.
5957
5958 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5959 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5960 (byte-compile-from-buffer): ...rather than here.
5961
5962 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5963 functions from byte-compile-function-environment.
5964
5965 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
5966
5967 * window.el (window-deletable-p): Avoid deleting the root window
5968 of a frame with an active minibuffer.
5969
5970 2012-05-29 Martin Rudalics <rudalics@gmx.at>
5971
5972 * simple.el (choose-completion): Use quit-window (Bug#11567).
5973
5974 2012-05-29 Chong Yidong <cyd@gnu.org>
5975
5976 * whitespace.el (whitespace-cleanup): Fix usage of
5977 whitespace-empty-at-bob-regexp (Bug#11492).
5978
5979 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5980
5981 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5982 revert (Bug#11488).
5983
5984 2012-05-29 Juri Linkov <juri@jurta.org>
5985
5986 * isearch.el (isearch-mode-map): Bind `M-s _' to
5987 `isearch-toggle-symbol'. Bind `M-s c' to
5988 `isearch-toggle-case-fold'.
5989 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5990 (isearch-forward): Add `M-s _' to the docstring.
5991 (isearch-forward-symbol, isearch-toggle-case-fold)
5992 (isearch-symbol-regexp): New functions. (Bug#11381)
5993
5994 2012-05-29 Juri Linkov <juri@jurta.org>
5995
5996 * isearch.el (isearch-word): Add docstring. (Bug#11381)
5997 (isearch-occur, isearch-search-and-update): If `isearch-word' is
5998 a function, call it to get the regexp.
5999 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6000 property `isearch-message-prefix' instead of the string "word ".
6001 (isearch-search-fun-default): For the case of `isearch-word',
6002 return a lambda that calls re-search-forward/re-search-backward
6003 with a regexp returned by `word-search-regexp' or by the function
6004 in `isearch-word'.
6005
6006 2012-05-29 Juri Linkov <juri@jurta.org>
6007
6008 * isearch.el (isearch-search-fun-default): New function.
6009 (isearch-search-fun): Move default part to the new function
6010 `isearch-search-fun-default'.
6011 (isearch-search-fun-function): Set the default value to
6012 `isearch-search-fun-default'. (Bug#11381)
6013
6014 * comint.el (comint-history-isearch-end):
6015 Use `isearch-search-fun-default'.
6016 (comint-history-isearch-search): Use `isearch-search-fun-default'
6017 and remove spacial case for `isearch-word'.
6018 (comint-history-isearch-wrap): Remove spacial case for
6019 `isearch-word'.
6020
6021 * hexl.el (hexl-isearch-search-function):
6022 Use `isearch-search-fun-default'.
6023
6024 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6025 Use `word-search-regexp' for `isearch-word'.
6026
6027 * misearch.el (multi-isearch-search-fun):
6028 Use `isearch-search-fun-default'.
6029
6030 * simple.el (minibuffer-history-isearch-search):
6031 Use `isearch-search-fun-default' and remove spacial case for
6032 `isearch-word'.
6033 (minibuffer-history-isearch-wrap): Remove spacial case for
6034 `isearch-word'.
6035
6036 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6037 Remove spacial case for `isearch-word'.
6038 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6039
6040 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6041
6042 Decrease XEmacs incompatibilities.
6043 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6044 Use `string-match'.
6045 (flyspell-delete-region-overlays): Use alternative definition for
6046 XEmacs.
6047 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6048 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6049 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6050 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6051 `define-obsolete-face-alias' under XEmacs, but old method.
6052
6053 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6054 `with-no-warnings' definition or Emacs alias.
6055 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6056 (ispell-word): Do not use `region-p' if XEmacs.
6057
6058 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6059
6060 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6061 Check for `ispell-dictionary-base-alist' instead of full
6062 `ispell-dictionary-alist'.
6063 (ispell-init-process): Show spellchecker when starting new Ispell
6064 process.
6065
6066 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6069 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6070
6071 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6072
6073 * version.el (motif-version-string, gtk-version-string)
6074 (ns-version-string): Declare.
6075
6076 2012-05-27 Juri Linkov <juri@jurta.org>
6077
6078 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6079 after the `eval-defun-1' specialcaseing
6080 like in `edebug-eval-defun' (bug#10181).
6081
6082 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6083 like in `eval-defun-1'.
6084
6085 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6086
6087 * mail/sendmail.el (mail-yank-region):
6088 Recognize rmail-yank-current-message in addition to insert-buffer.
6089 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6090 a *mail* buffer created through rmail-start-mail with sendmail as
6091 mail-user-agent.
6092
6093 2012-05-27 Chong Yidong <cyd@gnu.org>
6094
6095 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6096 Default to 256 (Bug#11267).
6097
6098 * help.el (describe-mode): Doc fix.
6099
6100 2012-05-26 Glenn Morris <rgm@gnu.org>
6101
6102 * w32-fns.el (w32-init-info): Remove.
6103 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6104
6105 * info.el (info-initialize): For self-contained NS builds, put the
6106 included info/ directory at the front. (Bug#2791)
6107
6108 * paths.el (Info-default-directory-list): Make it a defcustom,
6109 mainly so that we can use custom-initialize-delay.
6110
6111 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6112
6113 * subr.el (buffer-has-markers-at): Mark obsolete.
6114
6115 * subr.el (lambda): Use declare.
6116
6117 * emacs-lisp/lisp-mode.el (lambda):
6118 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6119
6120 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6121
6122 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6123
6124 2012-05-26 Glenn Morris <rgm@gnu.org>
6125
6126 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6127
6128 2012-05-25 Glenn Morris <rgm@gnu.org>
6129
6130 * paths.el: Remove no-byte-compile.
6131 * loadup.el: No need to load paths.el uncompiled.
6132
6133 * image.el (imagemagick-types-inhibit): Doc fix.
6134
6135 * version.el: Remove no-byte-compile and associated formatting.
6136 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6137 is ancient code from when there was an "inc-vers.el".
6138
6139 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * progmodes/gdb-mi.el: Minor style changes.
6142 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6143 Turn into minor modes.
6144 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6145 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6146 (gdb-shell): Remove unneeded let-binding.
6147 (gdb-get-many-fields): Eliminate O(n²) behavior.
6148
6149 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6150
6151 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6152 platforms that don't link in fontset.c.
6153
6154 2012-05-25 Juri Linkov <juri@jurta.org>
6155
6156 Use the same diff color scheme as in modern VCSes (bug#10181).
6157
6158 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6159 to avoid confusion with `diff-added' that now uses green colors.
6160 (diff-removed): Use shades of red.
6161 (diff-added): Use shades of green.
6162 (diff-changed): Leave just the yellow color.
6163 (diff-use-changed-face): New variable.
6164 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6165 how to highlight context diff changes.
6166 (diff-refine-change): Use shades of yellow.
6167 (diff-refine-removed): New face that uses shades of red.
6168 (diff-refine-added): New face that uses shades of green.
6169 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6170 `diff-refine-removed' in the call to `smerge-refine-subst'
6171 depending on the value of `diff-use-changed-face'.
6172
6173 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6174 (smerge-other): Use shades of green.
6175 (smerge-base): Use shades of yellow.
6176 (smerge-refined-change): Empty face.
6177 (smerge-refined-removed): New face that uses shades of red.
6178 (smerge-refined-added): New face that uses shades of green.
6179 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6180 args `props-r' and `props-a', and use them. Doc fix.
6181 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6182 on its value use different faces `smerge-refined-change',
6183 `smerge-refined-removed', `smerge-refined-added' in the call to
6184 `smerge-refine-subst'.
6185
6186 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6187 Add face condition `min-colors 88' with shades of red.
6188 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6189 `min-colors 88' with shades of green.
6190 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6191 `min-colors 88' with shades of yellow.
6192
6193 2012-05-24 Glenn Morris <rgm@gnu.org>
6194
6195 * paths.el (prune-directory-list, remote-shell-program): Move to...
6196 * files.el (prune-directory-list, remote-shell-program): ...here.
6197 For the latter, delay initialization, prefer ssh, just search PATH.
6198
6199 * paths.el (term-file-prefix): Move to faces.el (the only user).
6200 * faces.el (term-file-prefix): Move here, make it a defcustom.
6201
6202 * paths.el (news-directory, news-path, news-inews-program):
6203 Move to gnus/nnspool.el.
6204
6205 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6206
6207 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6208 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6209 Make the latter a defcustom, with a delayed initialization.
6210
6211 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6212 These were deleted from Gnus itself late 2010.
6213
6214 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * progmodes/which-func.el (which-func-ff-hook):
6217 Check against user-error, not error.
6218
6219 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6220 cl-specs.el, which no longer exists.
6221
6222 2012-05-22 Glenn Morris <rgm@gnu.org>
6223
6224 * info.el (info-emacs-bug): New command.
6225 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6226 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6227
6228 2012-05-21 Glenn Morris <rgm@gnu.org>
6229
6230 * makefile.w32-in (update-subdirs-SH):
6231 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6232
6233 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6234
6235 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6236
6237 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6238 Simplify Maven regexp, and make sure the file can't start with a space
6239 (bug#11517).
6240
6241 2012-05-21 Glenn Morris <rgm@gnu.org>
6242
6243 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6244 Scrap superfluous subshells.
6245
6246 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6247
6248 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6249 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6250
6251 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6252
6253 * calc/calc.el (calc-ensure-consistent-units): New variable.
6254
6255 * calc/calc-units.el (math-consistent-units-p)
6256 (math-check-unit-consistency): New functions.
6257 (calc-quick-units, calc-convert-units):
6258 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6259 is non-nil.
6260 (calc-extract-units): Fix typo.
6261
6262 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6265
6266 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6267 (flyspell-default-deplacement-commands): Don't spell check after
6268 repeated window/frame switches (e.g. triggered by mouse-movement).
6269 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6270 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6271 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6272 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6273 Remove unused vars.
6274 (flyspell-get-casechars, flyspell-get-not-casechars):
6275 Simplify; Don't bother removing a ] just to add it back.
6276 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6277
6278 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6279
6280 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6281 New functions.
6282 (math-function-table): Add support for more C functions.
6283
6284 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6285
6286 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6287 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6288 Protect delay handling for otherchars against empty otherchars.
6289
6290 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6293 their respective macro declarations.
6294 * skeleton.el (define-skeleton):
6295 * progmodes/compile.el (define-compilation-mode):
6296 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6297 (define-ibuffer-filter):
6298 * emacs-lisp/generic.el (define-generic-mode):
6299 * emacs-lisp/easy-mmode.el (define-minor-mode)
6300 (define-globalized-minor-mode):
6301 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6302 * emacs-lisp/byte-run.el (defsubst):
6303 * custom.el (deftheme): Add doc-string metadata.
6304
6305 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6308
6309 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6312
6313 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6314 * emacs-lisp/cl-macs.el: Idem.
6315 * emacs-lisp/cl-specs.el: Remove.
6316
6317 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6318
6319 Minor renaming of internal CL functions and variables.
6320 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6321 (cl--position): Rename from cl-position.
6322 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6323 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6324 (cl--random-state): Rename from *random-state*.
6325
6326 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6329 parens around the arg list (bug#11499).
6330
6331 2012-05-17 Juri Linkov <juri@jurta.org>
6332
6333 * isearch.el (word-search-regexp, word-search-backward)
6334 (word-search-forward, word-search-backward-lax)
6335 (word-search-forward-lax): Move functions from search.c
6336 (bug#10145, bug#11381).
6337
6338 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6339
6340 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6341 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6342 Delay for otherchars as for normal word components.
6343
6344 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6345
6346 * minibuffer.el (completion--sifn-requote): Fix last change.
6347 (minibuffer-local-must-match-filename-map):
6348 Move define-obsolete-variable-alias before its var.
6349
6350 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6353
6354 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6355 behavior.
6356 (completion--string-equal-p): New function.
6357 (completion--twq-all): Use it to get better assertion failure data.
6358
6359 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6360 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6361 (shell--requote-argument): New functions.
6362 (shell-completion-vars): Use them.
6363 (shell--parse-pcomplete-arguments): Rename from
6364 shell-parse-pcomplete-arguments.
6365 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6366 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6367 Obey comint-file-name-quote-list.
6368
6369 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6370 (smie-indent-keyword): Use it.
6371
6372 2012-05-14 Stefan Merten <smerten@oekonux.de>
6373
6374 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6375
6376 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * net/rlogin.el (rlogin-mode-map): Fix last change.
6379
6380 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6381
6382 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6383 the following \r\n using a single `process-send-string', since the
6384 Lotus SMTP server refuses to accept any commands if they are sent
6385 with two `process-send-string's (Bug#11444).
6386
6387 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * shell.el (shell-parse-pcomplete-arguments):
6390 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6391
6392 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6393
6394 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6395 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6396 (image-transform-width, image-transform-fit-width): New functions.
6397 (image-transform-properties): Use them.
6398 (image-transform-check-size): New function.
6399 (image-toggle-display-image): Use it (for testing).
6400 (image-transform-set-rotation): Reduce angle mod 360.
6401 Delete obsolete comment.
6402
6403 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6404
6405 * image-mode.el: Fix scaling (bug#11399).
6406 (image-transform-resize): Doc fix.
6407 (image-transform-properties): Default scale is 1 and height should
6408 be an integer.
6409
6410 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6411
6412 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6413 than hard-coding `car', to fix misbehavior when moving forward.
6414
6415 2012-05-13 Chong Yidong <cyd@gnu.org>
6416
6417 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6418 (tabulated-list-entries, tabulated-list-padding)
6419 (tabulated-list-sort-key): Make permanent-local.
6420
6421 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6422 (electric-buffer-list): Put electric buffer menu
6423 command descriptions in this docstring, instead of the docstring
6424 of electric-buffer-menu-mode. Code cleanups.
6425 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6426 Electric-buffer-menu-mode.
6427 (electric-buffer-update-highlight): Minor code cleanup.
6428
6429 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6430
6431 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6432 (Bug#11447)
6433
6434 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 Move define-obsolete-variable-alias before the var's definition.
6437 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6438 * tooltip.el (tooltip-hook):
6439 * textmodes/reftex-toc.el (reftex-toc-map):
6440 * textmodes/reftex-sel.el (reftex-select-label-map)
6441 (reftex-select-bib-map):
6442 * textmodes/reftex-index.el (reftex-index-map)
6443 (reftex-index-phrases-map):
6444 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6445 * progmodes/meta-mode.el (meta-mode-map):
6446 * novice.el (disabled-command-hook):
6447 * loadhist.el (unload-hook-features-list):
6448 * frame.el (blink-cursor):
6449 * files.el (find-file-not-found-hooks, write-file-hooks)
6450 (write-contents-hooks):
6451 * emulation/tpu-edt.el (GOLD-map):
6452 * emacs-lock.el (emacs-lock-from-exiting):
6453 * emacs-lisp/generic.el (generic-font-lock-defaults):
6454 * emacs-lisp/chart.el (chart-map):
6455 * dos-fns.el (register-name-alist):
6456 * dired-x.el (dired-omit-files-p):
6457 * desktop.el (desktop-enable):
6458 * cus-edit.el (custom-mode-hook):
6459 * buff-menu.el (buffer-menu-mode-hook):
6460 * bookmark.el (bookmark-read-annotation-text-func)
6461 (bookmark-exit-hooks):
6462 * allout.el (allout-mode-deactivate-hook)
6463 (allout-exposure-change-hook, allout-structure-added-hook)
6464 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6465 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6466 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6467 comes before the corresponding variable's definition.
6468
6469 2012-05-12 Chong Yidong <cyd@gnu.org>
6470
6471 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6472 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6473 (Buffer-menu-mode-map): Bind it.
6474 (Buffer-menu--pretty-name): Add a mouse-face property.
6475
6476 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6479 (prolog-upper-case-string, prolog-lower-case-string)
6480 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6481 (prolog-use-smie, prolog-smie-grammar): New vars.
6482 (prolog-smie-forward-token, prolog-smie-backward-token)
6483 (prolog-smie-rules): New funs.
6484 (prolog-comment-indent): Remove.
6485 (prolog-mode-variables): Use default comment indentation instead.
6486 Setup SMIE.
6487 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6488 (prolog-mode): Don't call them any more.
6489 (prolog-electric-colon, prolog-electric-dash)
6490 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6491
6492 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6493
6494 * minibuffer.el (completion--twq-all): Again, allow case differences.
6495
6496 * term.el: Move keymap initialization code to be more idiomatic.
6497 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6498 (term-terminal-menu): Move initialization into declaration.
6499 (term-escape-char): Let the user set it in her .emacs.
6500
6501 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6502 Provide SMIE-based indentation (not enabled by default yet).
6503 (sh-mode-map): Don't bind electric keys.
6504 Use electric-pair-mode instead of skeleton-pair.
6505 (sh-assignment-regexp): Fit within 80 columns.
6506 (sh-indent-supported): Specify actual shell name instead of boolean.
6507 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6508 (sh-maybe-here-document): Use it. Make obsolete.
6509 (sh-electric-here-document-mode) New minor mode.
6510 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6511 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6512 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6513 (sh-smie-rc-grammar, sh-use-smie): New vars.
6514 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6515 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6516 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6517 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6518 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6519 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6520 (sh-set-shell): Use smie-setup if requested.
6521
6522 * term.el (term-set-escape-char): Properly set term-escape-char.
6523 See http://stackoverflow.com/questions/10524656.
6524
6525 2012-05-10 Chong Yidong <cyd@gnu.org>
6526
6527 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6528 Use url-generic-parse-url, and handle host names and Windows
6529 filenames properly.
6530 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6531 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6532 URL schemes to work on.
6533 (ffap--toggle-read-only): New function.
6534 (ffap-read-only, ffap-read-only-other-window)
6535 (ffap-read-only-other-frame): Use it.
6536 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6537 necessary for ffap-url-unwrap-remote.
6538
6539 2012-05-10 Dave Abrahams <dave@boostpro.com>
6540
6541 * cus-start.el (create-lockfiles): Add it.
6542
6543 2012-05-09 Chong Yidong <cyd@gnu.org>
6544
6545 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6546 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6547
6548 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6551
6552 2012-05-09 Chong Yidong <cyd@gnu.org>
6553
6554 * ansi-color.el (ansi-color-process-output): Check for validity of
6555 comint-last-output-start before using it. This avoids a bad
6556 interaction with gdb-mi's input/output buffer.
6557
6558 2012-05-09 Glenn Morris <rgm@gnu.org>
6559
6560 * files.el (dir-locals-read-from-file):
6561 Mention dir-locals in any error message.
6562
6563 2012-05-09 Chong Yidong <cyd@gnu.org>
6564
6565 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6566 package (Bug#11410).
6567
6568 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6569 variables into description.
6570
6571 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6574 shell-delimiter-argument-list (bug#11348).
6575 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6576
6577 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6578
6579 * textmodes/rst.el: Silence byte-compiler warnings.
6580 (rst-re-alist, rst-reset-section-caches): Move around.
6581 (rst-re): Use `characterp', not `char-valid-p'.
6582 (font-lock-beg, font-lock-end): Declare.
6583
6584 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6585 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6586
6587 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6588
6589 2012-05-08 Glenn Morris <rgm@gnu.org>
6590
6591 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6592
6593 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * vc/log-edit.el: Add GNU coding standards highlighting.
6596 (log-edit-font-lock-gnu-style)
6597 (log-edit-font-lock-gnu-keywords): New vars.
6598 (log-edit-font-lock-keywords): New fun.
6599 (log-edit-mode): Don't fold case in font-lock.
6600 (log-edit-font-lock-keywords): Do not assume case-folding.
6601
6602 * imenu.el: Misc cleanup. Make docstrings out of comments.
6603 Use lexical-binding.
6604 (imenu--index-alist, imenu--last-menubar-index-alist)
6605 (imenu-menubar-modified-tick): Use defvar-local.
6606 (imenu--split-menu): Remove unused var.
6607 (imenu--cleanup-seen): Declare as global.
6608 (imenu--cleanup): Use dolist.
6609
6610 * subr.el (defvar-local): Add debug spec and doc-string position.
6611
6612 2012-05-08 Glenn Morris <rgm@gnu.org>
6613
6614 * language/burmese.el, language/cham.el, language/czech.el:
6615 * language/english.el, language/georgian.el, language/greek.el:
6616 * language/japanese.el, language/khmer.el, language/korean.el:
6617 * language/lao.el, language/misc-lang.el, language/romanian.el:
6618 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6619 * language/thai.el, language/utf-8-lang.el:
6620 Remove no-byte-compile setting.
6621
6622 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6623
6624 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6625
6626 * progmodes/make-mode.el (makefile-browse):
6627 Remove unnecessary interactive. (Bug#11324)
6628
6629 2012-05-07 Glenn Morris <rgm@gnu.org>
6630
6631 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6632
6633 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6634
6635 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * loadup.el: Preload newcomment.el.
6638 * newcomment.el: Move autoload-only code to toplevel.
6639
6640 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6641 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6642 Handle new :right-align column property.
6643 (tabulated-list-print-col): Idem, plus use `display' text-property to
6644 try and preserve alignment for variable pitch fonts.
6645
6646 2012-05-07 Chong Yidong <cyd@gnu.org>
6647
6648 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6649 (tabulated-list-use-header-line): New var.
6650 (tabulated-list-init-header): Use it.
6651 (tabulated-list-print-fake-header): New function.
6652 (tabulated-list-print): Use it.
6653 (tabulated-list-sort-button-map): Add non-header-line commands.
6654 (tabulated-list-init-header): Add column name property to basic
6655 labels as well.
6656 (tabulated-list-col-sort): Handle non-header-line button case.
6657 (tabulated-list--sort-by-column-name): Fix a corner case.
6658
6659 * buff-menu.el (list-buffers--refresh):
6660 Handle Buffer-menu-use-header-line.
6661
6662 2012-05-06 Chong Yidong <cyd@gnu.org>
6663
6664 * buff-menu.el: Convert to Tabulated List mode.
6665 (Buffer-menu-buffer+size-width): Make obsolete.
6666 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6667 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6668 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6669 documentation into docstring of buffer-menu.
6670 (Buffer-menu-toggle-files-only): Add an informative message.
6671 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6672 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6673 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6674 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6675 (Buffer-menu-execute, Buffer-menu-select)
6676 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6677 (Buffer-menu-bury): Use Tabulated List machinery.
6678 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6679 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6680 Delete.
6681 (list-buffers--refresh): New function.
6682 (list-buffers-noselect): Use it.
6683 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6684 (Buffer-menu--pretty-file-name): New helper functions.
6685
6686 * loadup.el: Preload tabulated-list.
6687
6688 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6689 tabulated-list-sort-column.
6690 (tabulated-list-init-header): Add the initial aligning space even
6691 if tabulated-list-padding is zero.
6692
6693 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6694
6695 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6696 whose cdr is not a cons cell correctly (bug#11038).
6697
6698 2012-05-06 Chong Yidong <cyd@gnu.org>
6699
6700 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6701 Accept additional plist in column descriptors.
6702 (tabulated-list-init-header): Obey it.
6703 (tabulated-list-get-entry): New function.
6704 (tabulated-list-put-tag): Use it. Use string-width instead of
6705 length.
6706 (tabulated-list--column-number): New function.
6707 (tabulated-list-print): Use it.
6708 (tabulated-list-print-col): New function.
6709 Set `tabulated-list-column-name' property on each column's text.
6710 (tabulated-list-print-entry): Use it.
6711 (tabulated-list-delete-entry, tabulated-list-set-col):
6712 New functions.
6713 (tabulated-list-sort-column): New command (Bug#11337).
6714
6715 * buff-menu.el (list-buffers): Move C-x C-b binding from
6716 buff-menu.el to bindings.el.
6717
6718 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6719 :advertised-binding feature.
6720
6721 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6722
6723 * progmodes/compile.el (compilation-internal-error-properties):
6724 Calculate start position correctly when end-col is set but
6725 end-line is not (Bug#11382).
6726
6727 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6728
6729 * man.el (Man-unindent): Use text-property-default-nonsticky to
6730 prevent untabify from inheriting face properties (Bug#11408).
6731
6732 2012-05-05 Stefan Merten <smerten@oekonux.de>
6733
6734 * textmodes/rst.el: Major merge with upstream development up to
6735 Docutils SVN r7399 / rst.el V1.2.1.
6736
6737 Clarify maintainership and authors.
6738
6739 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6740 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6741 (rst-official-version, rst-official-cvs-rev, rst-version)
6742 (rst-package-emacs-version-alist): New functions and variables
6743 for version information.
6744
6745 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6746 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6747 (rst-mode-syntax-table, rst-mode): New and corrected functions
6748 and variables representing reStructuredText features.
6749
6750 (rst-re): New function for reStructuredText regexes. Use in
6751 many places.
6752
6753 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6754 (rst-mode-map): Rebind keys.
6755
6756 (rst-mode-lazy, rst-font-lock-keywords)
6757 (rst-font-lock-extend-region)
6758 (rst-font-lock-extend-region-internal)
6759 (rst-font-lock-extend-region-extend)
6760 (rst-font-lock-find-unindented-line-limit)
6761 (rst-font-lock-find-unindented-line-match)
6762 (rst-adornment-level, rst-font-lock-adornment-level)
6763 (rst-font-lock-adornment-match)
6764 (rst-font-lock-handle-adornment-pre-match-form)
6765 (rst-font-lock-handle-adornment-matcher): Major revision of
6766 font-locking. Integrate with other code. Use `jit-lock-mode'.
6767
6768 (rst-preferred-adornments, rst-adjust-hook)
6769 (rst-new-adornment-down, rst-preferred-bullets)
6770 (rst-preferred-bullets, rst-indent, rst-indent-width)
6771 (rst-indent-field, rst-indent-literal-normal)
6772 (rst-indent-literal-minimized, rst-indent-comment): Change,
6773 extend and improve customization.
6774
6775 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6776 (rst-normalize-cursor-position, rst-get-decoration)
6777 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6778 (rst-rstrip, rst-toc-insert-find-delete-contents)
6779 (rst-shift-fill-region, rst-compute-bullet-tabs)
6780 (rst-debug-print-tabs, rst-debug-mark-found)
6781 (rst-shift-region-guts, rst-shift-region-right)
6782 (rst-shift-region-left, rst-use-char-classes)
6783 (rst-font-lock-keywords-function)
6784 (rst-font-lock-indentation-point)
6785 (rst-font-lock-find-unindented-line-begin)
6786 (rst-font-lock-find-unindented-line-end)
6787 (rst-font-lock-find-unindented-line)
6788 (rst-font-lock-adornment-point, rst-font-lock-level)
6789 (rst-adornment-level-alist): Remove functions and variables.
6790
6791 (rst-compare-adornments, rst-get-adornment-match)
6792 (rst-suggest-new-adornment, rst-get-adornments-around)
6793 (rst-adornment-complete-p, rst-get-next-adornment)
6794 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6795 (rst-straighten-adornments): Standardize function names to
6796 use "adornment" instead of "decoration". Correct callers.
6797 Similar standardizing in many places.
6798
6799 (rst-update-section, rst-adjust, rst-promote-region)
6800 (rst-enumerate-region, rst-bullet-list-region)
6801 (rst-repeat-last-character): Correct use of `interactive'.
6802
6803 (rst-classify-adornment, rst-find-all-adornments)
6804 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6805 (rst-find-leftmost-column, rst-repeat-last-character):
6806 Refactor functions.
6807
6808 (rst-find-title-line, rst-reset-section-caches)
6809 (rst-get-adornments-around, rst-adjust-adornment-work)
6810 (rst-arabic-to-roman, rst-roman-to-arabic)
6811 (rst-insert-list-pos, rst-insert-list-new-item)
6812 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6813 New functions.
6814
6815 (rst-all-sections, rst-section-hierarchy)
6816 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6817 New variables.
6818
6819 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6820 configuration instead of only buffer. Change where necessary.
6821
6822 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6823 (rst-shift-region, rst-adaptive-fill): New functions for
6824 indentation and filling.
6825
6826 (rst-comment-line-break, rst-comment-indent)
6827 (rst-comment-insert-comment, rst-comment-region)
6828 (rst-uncomment-region): New functions for handling comments.
6829
6830 (rst-compile): Quote shell arguments.
6831
6832 (rst-compile-pdf-preview, rst-compile-slides-preview):
6833 Delete temporary files after use.
6834
6835 2012-05-05 Glenn Morris <rgm@gnu.org>
6836
6837 * calendar/cal-html.el: Optionally include holidays in the output.
6838 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6839 (cal-html-holidays): New option.
6840 (cal-html-css-default): Add holiday entry.
6841 (holiday-in-range): Autoload it.
6842 (cal-html-htmlify-entry): Add optional class argument.
6843 (cal-html-htmlify-list): Add optional holidays argument.
6844 (cal-html-insert-agenda-days): Include holidays in the output.
6845 (cal-html-one-month): Maybe include holidays.
6846
6847 * calendar/holidays.el (holiday-in-range):
6848 Move here from cal-tex-list-holidays.
6849 * calendar/cal-tex.el (cal-tex-list-holidays):
6850 Make it an obsolete alias for holiday-in-range. Update all callers.
6851
6852 2012-05-05 Chong Yidong <cyd@gnu.org>
6853
6854 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6855 Nextstep.
6856
6857 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6858
6859 * files.el (file-auto-mode-skip): New var.
6860 (set-auto-mode-1): Use it.
6861
6862 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6863
6864 * repeat.el: Use lexical-binding.
6865 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6866 (repeat-undo-count): Remove.
6867 (repeat):
6868 * progmodes/octave-mod.el (octave-abbrev-start):
6869 * progmodes/f90.el (f90-abbrev-start):
6870 * face-remap.el (text-scale-adjust):
6871 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6872
6873 * emacs-lisp/pcase.el (pcase--let*): New function.
6874 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6875 a bit more.
6876 (pcase--split-pred): Be more clever about ruling out overlap between
6877 a predicate and some constant pattern.
6878 (pcase--q1): Use `null' instead of (eq foo nil).
6879
6880 * subr.el (setq-local, defvar-local): New macros.
6881 (kbd): Redefine as an alias.
6882 (with-selected-window): Leave unrelated frames alone.
6883 (set-temporary-overlay-map): New function.
6884
6885 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * subr.el (user-error): New function.
6888 * window.el (switch-to-buffer):
6889 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6890 (smerge-match-conflict):
6891 * simple.el (previous-matching-history-element)
6892 (next-matching-history-element, goto-history-element, undo-more)
6893 (undo-start):
6894 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6895 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6896 (next-file, tags-loop-scan, list-tags, complete-tag):
6897 * progmodes/compile.el (compilation-loop):
6898 * mouse.el (mouse-minibuffer-check):
6899 * man.el (Man-bgproc-sentinel, Man-goto-page):
6900 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6901 (Info-history-forward, Info-follow-reference, Info-menu)
6902 (Info-extract-menu-item, Info-extract-menu-counting)
6903 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6904 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6905 (Info-next-reference, Info-prev-reference, Info-index)
6906 (Info-index-next, Info-follow-nearest-node)
6907 (Info-copy-current-node-name):
6908 * imenu.el (imenu--make-index-alist)
6909 (imenu-default-create-index-function, imenu-add-to-menubar):
6910 * files.el (basic-save-buffer, recover-file):
6911 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6912 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6913 (checkdoc-message-text, checkdoc-defun):
6914 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6915 * cus-edit.el (customize-changed-options, customize-rogue)
6916 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6917 (custom-variable-mark-to-reset-standard)
6918 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6919 (custom-file):
6920 * completion.el (check-completion-length):
6921 * comint.el (comint-search-arg)
6922 (comint-previous-matching-input-string-position)
6923 (comint-previous-matching-input)
6924 (comint-replace-by-expanded-history-before-point, comint-send-input)
6925 (comint-copy-old-input, comint-backward-matching-input)
6926 (comint-goto-process-mark, comint-set-process-mark):
6927 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6928 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6929
6930 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * dabbrev.el (dabbrev--ignore-case-p): New function.
6933 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6934 Use it.
6935
6936 * files.el (automount-dir-prefix): Mark as obsolete.
6937
6938 2012-05-04 Glenn Morris <rgm@gnu.org>
6939
6940 * patcomp.el, play/bruce.el: Move to obsolete/.
6941
6942 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6943
6944 Fix minor Y10k bugs.
6945 * arc-mode.el (archive-unixdate):
6946 * autoinsert.el (auto-insert-alist):
6947 * calc/calc-forms.el (math-this-year):
6948 * emacs-lisp/copyright.el (copyright-current-year)
6949 (copyright-update-year, copyright):
6950 * tar-mode.el (tar-clip-time-string):
6951 * time.el (display-time-update):
6952 Don't assume years have 4 digits.
6953
6954 2012-05-04 Chong Yidong <cyd@gnu.org>
6955
6956 * dos-w32.el (file-name-buffer-file-type-alist)
6957 (direct-print-region-use-command-dot-com):
6958 * ffap.el (ffap-menu-regexp):
6959 * find-file.el (ff-special-constructs):
6960 * follow.el (follow-debug):
6961 * forms.el (forms--debug):
6962 * iswitchb.el (iswitchb-all-frames):
6963 * ido.el (ido-all-frames):
6964 * emacs-lisp/timer.el (timer-max-repeats):
6965 * mail/feedmail.el (feedmail-mail-send-hook)
6966 (feedmail-mail-send-hook-queued):
6967 * mail/footnote.el (footnote-signature-separator):
6968 * mail/mailabbrev.el (mail-alias-separator-string)
6969 (mail-abbrev-mode-regexp):
6970 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6971 * progmodes/idlwave.el (idlwave-libinfo-file)
6972 (idlwave-default-completion-case-is-down)
6973 (idlwave-library-routines): Convert defvars to defcustoms.
6974
6975 * mail/rmail.el (rmail-decode-mime-charset):
6976 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6977 (idlwave-shell-fix-inserted-breaks)
6978 (idlwave-shell-activate-alt-keybindings)
6979 (idlwave-shell-use-breakpoint-glyph):
6980 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6981
6982 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6983
6984 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6985
6986 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
6987
6988 * progmodes/verilog-mode.el (font-lock-keywords):
6989 Fix mis-highligting auto. Reported by Craig Barner.
6990 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6991 defines from global name space. Reported by Dan Dever.
6992 (verilog-auto-reset, verilog-auto-reset-widths)
6993 (verilog-auto-tieoff): Support using unbased numbers for
6994 AUTORESET and AUTOTIEOFF.
6995 (verilog-submit-bug-report): Update variable list.
6996 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6997 parenthesis from not matching. Reported by Michael Rytting.
6998 (verilog-auto-template-lint): Fix hash error when linting modules
6999 with no used templates.
7000 (verilog-warn, verilog-warn-error)
7001 (verilog-warn-fatal): When non-interactive report multiple
7002 warnings before exiting. Suggested by Brad Dobbie.
7003 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7004 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7005 to report unused template errors. Reported by Brad Dobbie.
7006 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7007 nets, bug438. Reported by Vns Blore.
7008 (verilog-auto-inout-module, verilog-auto-reg)
7009 (verilog-read-decls, verilog-read-sub-decls-sig)
7010 (verilog-signals-edit-wire-reg, verilog-signals-with):
7011 Fix passing of Verilog data types in ANSI input/output ports
7012 such as "output logic" into the AUTOs. Special case "wire" and
7013 "reg" for backwards compatibility presuming Verilog 2001.
7014 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7015 (verilog-preprocess): Fix replication of preprocess output.
7016 Reported by Brad Dobbie.
7017 (verilog-auto-inst-interfaced-ports):
7018 Create verilog-auto-inst-interfaced-ports, bug429.
7019 Reported by Julian Gorfajn.
7020 (verilog-after-save-font-hook)
7021 (verilog-before-save-font-hook): New variable.
7022 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7023 (verilog-save-font-mods): Wrap disabling fontification, reported
7024 by David Rogoff.
7025 (verilog-do-indent, verilog-pretty-declarations-auto)
7026 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7027 Reported by Pierre-David Pfister.
7028 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7029 of class declarations, bug292. Reported by Kevin Heilman.
7030 (verilog-read-decls): Fix 'parameter type' not appearing in
7031 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7032 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7033 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7034 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7035 Reported by David Kravitz.
7036
7037 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7038
7039 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7040 assignment with tests in ifs and for loops.
7041 (verilog-extended-complete-re, verilog-complete-reg): Change so
7042 that DPI inport functions don't look like fuction declarations.
7043 (verilog-pretty-expr): Don't line up assignment
7044 operations to the test and increment in if and for loops
7045 (verilog-extended-complete-re, verilog-complete-reg): Change so
7046 that DPI inport functions don't look like fuction declarations.
7047
7048 2012-05-03 Kenichi Handa <handa@m17n.org>
7049
7050 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7051 decoding, and show a warning message without signaling an error
7052 (Bug#11282).
7053
7054 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7055
7056 * emacs-lisp/bytecomp.el
7057 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7058 since cconv.el might have introduced :fun-body, internal-make-closure,
7059 and friends for bytecomp to handle (bug#11391).
7060 * custom.el (defcustom): Avoid ((λ ..) ..).
7061
7062 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7065
7066 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7067
7068 * notifications.el (dbus-debug):
7069 * term/linux.el (gpm-mouse-enable):
7070 * term/screen.el (xterm-register-default-colors): Declare.
7071
7072 2012-05-02 Chong Yidong <cyd@gnu.org>
7073
7074 * cus-start.el (gc-cons-percentage, exec-suffixes)
7075 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7076 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7077 (make-cursor-line-fully-visible, void-text-area-pointer)
7078 (font-list-limit): Add customization data.
7079
7080 * allout.el (allout-exposure-change-functions)
7081 (allout-structure-added-functions)
7082 (allout-structure-deleted-functions)
7083 (allout-structure-shifted-functions): Rename abnormal hooks from
7084 *-hook, and convert to defcustoms.
7085 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7086 Convert to defcustoms.
7087 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7088
7089 * allout-widgets.el: Hook callers changed.
7090
7091 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7092
7093 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7094 the yanked message in preference to the default value of
7095 buffer-file-coding-system.
7096
7097 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7098
7099 * window.el (display-buffer--action-function-custom-type):
7100 Fix entry.
7101
7102 2012-05-02 Alan Mackenzie <acm@muc.de>
7103
7104 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7105
7106 2012-05-01 Glenn Morris <rgm@gnu.org>
7107
7108 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7109
7110 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7111
7112 * cus-edit.el (custom-variable-documentation): Simplify with format.
7113
7114 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7115 Stefan Monnier <monnier@iro.umontreal.ca>
7116
7117 * simple.el (suggest-key-bindings, execute-extended-command):
7118 Move from keyboard.c.
7119
7120 2012-05-01 Chong Yidong <cyd@gnu.org>
7121
7122 * follow.el: Eliminate advice.
7123 (set-process-filter, process-filter, sit-for): Advice deleted.
7124 (follow-mode-off-hook): Obsolete hook removed.
7125 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7126 Vars deleted.
7127 (follow-auto): Use a :set function.
7128 (follow-mode): Rewritten. Don't advise process filters.
7129 (follow-switch-to-current-buffer-all, follow-scroll-up)
7130 (follow-scroll-down): Assume follow-mode is bound.
7131 (follow-comint-scroll-to-bottom)
7132 (follow-align-compilation-windows): New functions.
7133 (follow--window-sorter): New function.
7134 (follow-all-followers): Use it to explicitly sort windows by their
7135 positions; don't make assumptions about next-window order.
7136 (follow-windows-start-end, follow-delete-other-windows-and-split)
7137 (follow-calc-win-start): Doc fix.
7138 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7139 vertical-motion unnecessarily.
7140 (follow-adjust-window): New function.
7141 (follow-post-command-hook): Use it.
7142 (follow-call-set-process-filter, follow-call-process-filter)
7143 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7144 (follow-stop-intercept-process-output, follow-generic-filter):
7145 Functions deleted.
7146 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7147 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7148 New functions, replacing advice on scroll-bar-* commands.
7149 (follow-mwheel-scroll): New function (Bug#4112).
7150
7151 * comint.el (comint-adjust-point): New function.
7152 (comint-postoutput-scroll-to-bottom): Use it.
7153 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7154
7155 2012-05-01 Glenn Morris <rgm@gnu.org>
7156
7157 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7158 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7159 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7160 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7161 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7162 Remove no-byte-compile setting.
7163
7164 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7167 all-completions code to not return a number in the last cdr.
7168
7169 2012-04-30 Leo Liu <sdl.web@gmail.com>
7170
7171 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7172 read-only error.
7173
7174 2012-04-29 Chong Yidong <cyd@gnu.org>
7175
7176 * follow.el (follow-calc-win-end): Rewrite to handle partial
7177 screen lines correctly (Bug#8390).
7178 (follow-avoid-tail-recenter): Minor cleanup.
7179
7180 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 Avoid the obsolete `assoc' package.
7183 * speedbar.el (speedbar-refresh): Avoid adelete.
7184 (speedbar-file-lists): Simplify and avoid aput.
7185 * man.el (Man--sections, Man--refpages): New vars, replacing
7186 Man-sections-alist and Man-refpages-alist.
7187 (Man-build-section-alist, Man-build-references-alist):
7188 Use them; avoid aput.
7189 (Man--last-section, Man--last-refpage): New vars.
7190 (Man-follow-manual-reference): Use them.
7191 Use the `default' arg of completing-read.
7192 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7193
7194 2012-04-27 Chong Yidong <cyd@gnu.org>
7195
7196 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7197
7198 * startup.el (x-apply-session-resources): New function.
7199
7200 * term/ns-win.el (ns-initialize-window-system):
7201 * term/w32-win.el (w32-initialize-window-system):
7202 * term/x-win.el (x-initialize-window-system): Use it to properly
7203 set menu-bar-mode and other vars from X resources, even if the
7204 initial frame is not a window-system frame (Bug#2299).
7205
7206 * subr.el (read-key): Avoid running filter function when setting
7207 up temporary tool bar entries (Bug#9922).
7208
7209 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7210
7211 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7212 (Bug#11344)
7213
7214 2012-04-27 Chong Yidong <cyd@gnu.org>
7215
7216 * select.el (xselect--encode-string): New function, split from
7217 xselect-convert-to-string.
7218 (xselect-convert-to-string): Use it.
7219 (xselect-convert-to-filename, xselect-convert-to-os)
7220 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7221 returned strings are properly encoded (Bug#11315).
7222
7223 2012-04-27 Chong Yidong <cyd@gnu.org>
7224
7225 * simple.el (delete-active-region): Move to killing custom group.
7226
7227 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7228
7229 * progmodes/which-func.el (which-func-current): Quote %
7230 characters for mode-line processing.
7231
7232 2012-04-27 Chong Yidong <cyd@gnu.org>
7233
7234 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7235 reaching eob (Bug#11286).
7236
7237 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7238
7239 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7240 (gdb): Make it buffer-local and init to zero.
7241 (gdb-control-commands-regexp): New variable.
7242 (gdb-send): Don't wrap in "-interpreter-exec console" if
7243 gdb-control-level is positive. Increment gdb-control-level
7244 whenever the command matches gdb-control-commands-regexp, and
7245 decrement it each time the command is "end". (Bug#11279)
7246
7247 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7248
7249 * window.el (adjust-window-trailing-edge, enlarge-window)
7250 (shrink-window, window-resize):
7251 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7252 windows (Bug#11276).
7253
7254 2012-04-27 Chong Yidong <cyd@gnu.org>
7255
7256 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7257 fix "missing prefix" warning. All callers changed.
7258
7259 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * emacs-lisp/assoc.el: Move to obsolete/.
7262
7263 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7266
7267 * term/ns-win.el (ns-define-service):
7268 * progmodes/pascal.el (pascal-goto-defun):
7269 * progmodes/js.el (js--read-tab):
7270 * progmodes/etags.el (tags-lazy-completion-table):
7271 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7272 * emacs-lisp/ewoc.el (ewoc--wrap):
7273 * emacs-lisp/assoc.el (aput, adelete, amake):
7274 * doc-view.el (doc-view-convert-current-doc):
7275 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7276
7277 2012-04-26 Chong Yidong <cyd@gnu.org>
7278
7279 * image.el (image-type-from-buffer): Only return supported image
7280 type (Bug#9045).
7281
7282 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7283 value, for symmetry with diff-end-of-hunk.
7284 (diff-split-hunk, diff-find-source-location)
7285 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7286 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7287 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7288 compute the relevant hunk or file properly (Bug#6005).
7289 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7290
7291 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7292
7293 * vc/vc-mtn.el:
7294 * vc/vc-hg.el:
7295 * vc/vc-git.el:
7296 * vc/vc-dir.el:
7297 * vc/vc-cvs.el:
7298 * vc/vc-bzr.el:
7299 * vc/vc-arch.el:
7300 * vc/vc.el: Replace lexical-let by lexical-binding.
7301 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7302 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7303 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7304
7305 2012-04-26 Chong Yidong <cyd@gnu.org>
7306
7307 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7308 (diff-mode-shared-map): Bind it to / and [remap undo].
7309
7310 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7311 (ediff-window-setup-function): Use it as the default, to set up
7312 windows based on whether the current frame is graphical (Bug#2138).
7313 (ediff-choose-window-setup-function-automatically): Make obsolete.
7314
7315 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7316
7317 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7318
7319 * ffap.el: Remove old code for obsolete package.
7320 (ffap-complete-as-file-p): Remove.
7321
7322 Use completion-table-with-quoting for comint and pcomplete.
7323 * comint.el (comint--unquote&requote-argument)
7324 (comint--unquote-argument, comint--requote-argument): New functions.
7325 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7326 (comint-quote-filename): Use regexp-opt-charset.
7327 (comint--common-suffix, comint--common-quoted-suffix)
7328 (comint--table-subvert): Remove.
7329 (comint-unquote-function, comint-requote-function): New vars.
7330 (comint--complete-file-name-data): Use them with
7331 completion-table-with-quoting.
7332 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7333 * pcomplete.el (pcomplete-arg-quote-list)
7334 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7335 (pcomplete-unquote-argument-function): Default to non-nil.
7336 (pcomplete-unquote-argument): Simplify.
7337 (pcomplete--common-quoted-suffix): Remove.
7338 (pcomplete-requote-argument-function): New var.
7339 (pcomplete--common-suffix): New function.
7340 (pcomplete-completions-at-point): Use completion-table-with-quoting
7341 and completion-table-subvert.
7342
7343 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7344 (minibuffer--double-dollars): Preserve properties.
7345 (completion--sifn-requote): New function.
7346 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7347
7348 * minibuffer.el: Add support for completion of quoted/escaped data.
7349 (completion-table-with-quoting, completion-table-subvert): New funs.
7350 (completion--twq-try, completion--twq-all): New functions.
7351 (completion--nth-completion): New function.
7352 (completion-try-completion, completion-all-completions): Use it.
7353
7354 2012-04-25 Leo Liu <sdl.web@gmail.com>
7355
7356 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7357 Use compilation-message if available to find real filename.
7358
7359 2012-04-25 Chong Yidong <cyd@gnu.org>
7360
7361 * vc/diff-mode.el (diff-setup-whitespace): New function.
7362 (diff-mode): Use it.
7363
7364 * vc/diff.el (diff-sentinel):
7365 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7366 Whitespace mode variables based on diff style (Bug#8612).
7367
7368 2012-04-25 Leo Liu <sdl.web@gmail.com>
7369
7370 * progmodes/python.el (python-send-region): Add suffix .py to the
7371 temp file.
7372
7373 * files.el (auto-mode-alist): Use javascript-mode instead.
7374
7375 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7376
7377 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7378
7379 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7380 (soap-resolve-references-for-array-type): Hack to prevent self
7381 references, see Bug#9.
7382 (soap-parse-envelope): Report the contents of the 'detail' node
7383 when receiving a fault reply.
7384 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7385
7386 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7387 (soap-inspect-simple-type): New function.
7388
7389 * net/soap-client.el (soap-simple-type): New struct.
7390 (soap-default-xsd-types, soap-default-soapenc-types)
7391 (soap-decode-basic-type, soap-encode-basic-type):
7392 support unsignedInt and double basic types.
7393 (soap-resolve-references-for-simple-type)
7394 (soap-parse-simple-type, soap-encode-simple-type): New function.
7395 (soap-parse-schema): Parse xsd:simpleType declarations.
7396
7397 * net/soap-client.el (soap-default-xsd-types)
7398 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7399 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7400 the local name of "soapenc:Array".
7401 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7402 decoding integer, byte and anyURI xsd types.
7403
7404 2012-04-25 Chong Yidong <cyd@gnu.org>
7405
7406 * cus-edit.el (custom-buffer-create-internal): Update header text.
7407
7408 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7409
7410 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7411 settings on 'system-type', not on 'window-system'. On MS-Windows,
7412 set interactive-mode on in GDB.
7413
7414 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7415
7416 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7417 (ruby-syntax-propertize-regexp): Remove.
7418 (ruby-syntax-propertize-function): Split regexp into chunks.
7419 Match following code directly.
7420
7421 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7422
7423 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7424 (ruby-syntax-propertize-regexp): New function.
7425 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7426 by a special keyword.
7427
7428 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7429 (ruby-syntax-general-delimiters-goto-beg)
7430 (ruby-syntax-propertize-general-delimiters): New functions.
7431 (ruby-syntax-propertize-function): Use them to handle GDL.
7432 (ruby-font-lock-keywords): Move old handling of GDL...
7433 (ruby-font-lock-syntactic-keywords): .. to here.
7434 (ruby-calculate-indent): Adjust indentation for GDL.
7435
7436 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7437
7438 * notifications.el (top): Remove unneeded declarations.
7439 (notifications-specification-version): Change to "1.2".
7440 (notifications-interface, notifications-notify-method)
7441 (notifications-close-notification-method): Fix docstring.
7442 (notifications-get-capabilities-method): New defconst.
7443 (notifications-notify): Add :action-items, :resident and
7444 :transient hints. Change "image_data" to "image-data" and
7445 "image_path" to "image-path".
7446 (notifications-get-capabilities): New defun.
7447
7448 2012-04-24 Leo Liu <sdl.web@gmail.com>
7449
7450 * progmodes/python.el: Move hideshow setup to the end.
7451
7452 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7453
7454 * window.el (handle-select-window): Clear echo area since this is
7455 no more done by read_char (Bug#11304).
7456
7457 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7458
7459 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7460 and `/ M' to filter-derived-mode.
7461 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7462 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7463 (ibuffer-mark-by-mode): Use default rather than initial-input.
7464 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7465
7466 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7467
7468 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7469 (ibuffer-filter-by-derived-mode): New filter.
7470 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7471
7472 2012-04-23 Andreas Politz <politza@fh-trier.de>
7473
7474 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7475
7476 2012-04-23 Chong Yidong <cyd@gnu.org>
7477
7478 * cus-edit.el (customize-apropos, customize-apropos-options):
7479 Disable matching of non-option variables (Bug#11176).
7480 (customize-option, customize-option-other-window)
7481 (customize-changed-options): Doc fix.
7482 (customize-apropos-options, customize-apropos-faces)
7483 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7484
7485 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7486 Fix word list splitting (Bug#11132).
7487 (apropos-symbol, apropos-keybinding, apropos-label)
7488 (apropos-property, apropos-function-button)
7489 (apropos-variable-button, apropos-misc-button): New faces.
7490 (apropos-symbol-face, apropos-keybinding-face)
7491 (apropos-label-face, apropos-property-face, apropos-match-face):
7492 Variables removed (Bug#8396).
7493 (apropos-library-button, apropos-format-plist, apropos-print)
7494 (apropos-print-doc, apropos-describe-plist): Callers changed.
7495
7496 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7497
7498 * net/xesam.el (xesam-mode-map): Use let-bound map in
7499 initialization. (Bug#11292)
7500
7501 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7502
7503 Preserve ispell session localwords when switching back to
7504 original buffer.
7505
7506 * textmodes/ispell.el (ispell-buffer-session-localwords):
7507 New buffer-local variable to hold buffer session localwords.
7508 (ispell-kill-ispell): Add option 'clear to delete session
7509 localwords.
7510 (ispell-command-loop, ispell-change-dictionary)
7511 (ispell-buffer-local-words): Preserve session localwords when
7512 needed.
7513
7514 * textmodes/flyspell.el (flyspell-process-localwords)
7515 (flyspell-do-correct): Preserve session localwords when needed.
7516
7517 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7518
7519 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7520 using obsolete `translation-table-for-input'.
7521 (ispell-word, ispell-process-line, ispell-complete-word):
7522 Use plain `insert' instead of removed `ispell-insert-word'.
7523
7524 2012-04-22 Chong Yidong <cyd@gnu.org>
7525
7526 * cus-edit.el (custom-variable-menu)
7527 (custom-variable-reset-saved, custom-face-menu)
7528 (custom-face-reset-saved): If there is no saved value, make the
7529 "reset-saved" operation bring back the default (Bug#9509).
7530 (custom-face-state): Properly detect themed faces.
7531
7532 * faces.el (face-spec-set): Stop supporting deprecated form of
7533 third arg.
7534
7535 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7536
7537 Move functions from C to Lisp. Make non-blocking method calls
7538 the default. Implement further D-Bus standard interfaces.
7539
7540 * net/dbus.el (dbus-message-internal): Declare function.
7541 Remove unneeded function declarations.
7542 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7543 (dbus-message-type-method-return, dbus-message-type-error)
7544 (dbus-message-type-signal): Declare variables. Remove local
7545 definitions.
7546 (dbus-interface-dbus, dbus-interface-peer)
7547 (dbus-interface-introspectable, dbus-interface-properties)
7548 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7549 Adapt docstring.
7550 (dbus-interface-objectmanager): New defconst.
7551 (dbus-call-method, dbus-call-method-asynchronously)
7552 (dbus-send-signal, dbus-method-return-internal)
7553 (dbus-method-error-internal, dbus-register-service)
7554 (dbus-register-signal, dbus-register-method): New defuns, moved
7555 from dbusbind.c
7556 (dbus-call-method-handler, dbus-setenv)
7557 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7558 New defuns.
7559 (dbus-call-method-non-blocking): Make it an obsolete function.
7560 (dbus-unregister-object, dbus-unregister-service)
7561 (dbus-handle-event, dbus-register-property)
7562 (dbus-property-handler): Obey the new structure of
7563 `bus-registered-objects'.
7564 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7565 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7566 Use `dbus-call-method'.
7567
7568 2012-04-22 Chong Yidong <cyd@gnu.org>
7569
7570 * cus-edit.el (custom-commands, custom-reset-menu)
7571 (Custom-reset-standard): Tweak labels.
7572 (custom-reset-button-menu): Change default to t.
7573 (custom-buffer-create-internal): For the custom-reset-button-menu
7574 case, put the revert button first.
7575 (custom-group-subtitle): New face.
7576 (custom-group-value-create): Align docstring to a specific column.
7577
7578 * wid-edit.el (widget-documentation-link-add): Don't handle
7579 indentation in this function.
7580 (widget-documentation-string-indent-to): New function.
7581 (widget-documentation-string-value-create): Use it.
7582
7583 * autorevert.el (auto-revert):
7584 * epg-config.el (epg):
7585 * ibuffer.el (ibuffer):
7586 * mpc.el (mpc):
7587 * ses.el (ses):
7588 * eshell/eshell.el (eshell):
7589 * net/ange-ftp.el (ange-ftp):
7590 * progmodes/ebnf2ps.el (postscript):
7591 * progmodes/flymake.el (flymake):
7592 * progmodes/prolog.el (prolog):
7593 * progmodes/verilog-mode.el (verilog-mode):
7594 * progmodes/which-func.el (which-func):
7595 * term/xterm.el (xterm):
7596 * textmodes/picture.el (picture):
7597 * textmodes/tildify.el (tildify):
7598 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7599 customization buffers.
7600
7601 2012-04-22 Alan Mackenzie <acm@muc.de>
7602
7603 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7604 Adding a ) can hide the resulting (..) from searches. Fix it.
7605 Bound the backward search to the position of the existing (.
7606
7607 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7608
7609 * progmodes/verilog-mode.el (verilog-mode): Check whether
7610 which-func-modes is t before adding verilog-mode.
7611 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7612
7613 2012-04-21 Leo Liu <sdl.web@gmail.com>
7614
7615 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7616
7617 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7618
7619 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7620 filling of the last column of a table (Bug#5635).
7621 (woman-find-next-control-line): New arg, specifying an additional
7622 regexp component for the control line.
7623 (woman2-roff-buffer): Use it.
7624 (woman-break-table): New function.
7625 (woman2-TS): Use it.
7626
7627 2012-04-21 Chong Yidong <cyd@gnu.org>
7628
7629 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7630 (woman-horizontal-escapes, woman-negative-vertical-space)
7631 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7632 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7633
7634 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * minibuffer.el (completion-file-name-table): Complete user names.
7637
7638 2012-04-20 Leo Liu <sdl.web@gmail.com>
7639
7640 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7641 and pcase-let*.
7642
7643 2012-04-20 Chong Yidong <cyd@gnu.org>
7644
7645 * server.el (server-execute): Respect initial-buffer-choice if it
7646 is a string and there are no files to open (Bug#2825).
7647 (server-create-window-system-frame, server-create-tty-frame):
7648 Don't switch buffers here.
7649 (server-process-filter): Only try to open a window system frame if
7650 compiled with graphical support (Bug#8314).
7651
7652 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7653
7654 * battery.el (battery-echo-area-format): Display remaining time
7655 for sysfs backend too (Bug#11269).
7656 (battery-linux-sysfs): Fix conditional for the charge.
7657
7658 2012-04-20 Chong Yidong <cyd@gnu.org>
7659
7660 * progmodes/gdb-mi.el (gdb): Revert previous change.
7661 (gdb-inferior-io--init-proc): New function.
7662 (gdb-init-1): Use it.
7663 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7664 responsible for allocating a new pty and hooking it to gdb when
7665 the old pty gets an EIO due to process exit.
7666 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7667 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7668 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7669
7670 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7671
7672 * window.el (window-min-size, window-sizable, window-min-delta)
7673 (window-max-delta, window--resizable, window-resizable)
7674 (window-total-size, window-full-height-p, window-full-width-p)
7675 (window-in-direction, window--resize-mini-window, window-resize)
7676 (window--resize-child-windows-normal)
7677 (window--resize-child-windows, window--resize-siblings)
7678 (window--resize-this-window, adjust-window-trailing-edge)
7679 (enlarge-window, shrink-window): Doc fixes.
7680
7681 2012-04-20 Chong Yidong <cyd@gnu.org>
7682
7683 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7684 New function to call delete-process on the gdb-inferior buffer's pty.
7685 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7686 pty process (Bug#11273).
7687 (gdb-update): New arg to suppress talking to the gdb process.
7688 (gdb-done-or-error): Use it.
7689 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7690 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7691 sentinel not being called.
7692
7693 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7694
7695 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7696
7697 2012-04-20 Glenn Morris <rgm@gnu.org>
7698
7699 * net/network-stream.el (open-network-stream): Doc fix.
7700
7701 2012-04-20 Chong Yidong <cyd@gnu.org>
7702
7703 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7704
7705 2012-04-20 Alan Mackenzie <acm@muc.de>
7706
7707 Ensure searching for keywords is case sensitive.
7708
7709 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7710 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7711 (c-defun-name, c-mark-function, c-cpp-define-name)
7712 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7713 (c-context-line-break): Bind case-fold-search to nil.
7714
7715 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7716 Bind case-fold-search to nil.
7717
7718 2012-04-20 Chong Yidong <cyd@gnu.org>
7719
7720 * mail/sendmail.el (mail-bury): Call return action with the right
7721 Rmail buffer (Bug#11242).
7722
7723 * server.el (server-process-filter): Handle corner case where both
7724 tty and nowait options are present (Bug#11102).
7725
7726 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7727
7728 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7729 (top level): Put into the executable the ident-style '$Id:' tag on
7730 windows-nt as well.
7731
7732 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * electric.el (electric-indent-post-self-insert-function): Check that
7735 electric-indent-mode is enabled in current buffer.
7736
7737 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7738
7739 * imenu.el (imenu-progress-message): Restore; it is "used" in
7740 erc/erc-imenu.el and net/snmp-mode.el.
7741
7742 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7745 (mouse-avoidance-nudge-mouse): Remove unused binding.
7746
7747 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7748
7749 * descr-text.el (describe-char):
7750 * progmodes/python.el (python-describe-symbol):
7751 Don't call `toggle-read-only', set `buffer-read-only'.
7752
7753 * imenu.el (imenu-default-goto-function): Mark unused args.
7754 (imenu-progress-message): Remove obsolete macro; all callers changed.
7755
7756 * subr.el (keymap-canonicalize): Remove unused binding.
7757 (read-passwd): Mark unused arg.
7758
7759 * tutorial.el (tutorial--display-changes): Remove unused binding.
7760 (tutorial--save-tutorial-to): Remove unused variable.
7761
7762 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7763 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7764 (package-generate-autoloads, package-menu--generate)
7765 (package-menu--find-upgrades): Remove unused bindings.
7766
7767 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7768 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7769 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7770 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7771 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7772 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7773 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7774 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7775 (cua-delete-char-rectangle): Mark unused args.
7776 (cua-align-rectangle): Remove unused binding.
7777
7778 * mail/rmail.el (compilation--message->loc)
7779 (epa--find-coding-system-for-mime-charset): Declare.
7780
7781 * net/dbus.el (dbus-register-service): Declare.
7782 (dbus-name-owner-changed-handler): Remove unused binding.
7783
7784 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7785 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7786 (nxml-scan-backward-within): Mark unused arg.
7787 (nxml-dynamic-markup-word): Remove unused binding.
7788
7789 * mouse.el (mouse-menu-major-mode-map):
7790 * emacs-lisp/authors.el (authors-scan-change-log)
7791 (authors-add-to-author-list):
7792 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7793 * emacs-lisp/smie.el (smie-auto-fill):
7794 * mail/sendmail.el (mail-bury):
7795 * mail/unrmail.el (unrmail):
7796 * net/tls.el (open-tls-stream):
7797 * textmodes/picture.el (picture-mouse-set-point):
7798 Remove unused bindings.
7799
7800 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * net/tramp.el (tramp-action-password): Let-bind
7803 `enable-recursive-minibuffers' to t.
7804
7805 2012-04-18 Sam Steingold <sds@gnu.org>
7806
7807 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7808 instead of 'string to accommodate values like [f11].
7809 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7810 * progmodes/gdb-mi.el: Likewise.
7811
7812 2012-04-18 Leo Liu <sdl.web@gmail.com>
7813
7814 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7815 current buffer.
7816 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7817 LOCAL is nil.
7818
7819 2012-04-18 Chong Yidong <cyd@gnu.org>
7820
7821 * simple.el (line-move): Use forward-line if in batch mode
7822 (Bug#11053).
7823
7824 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7825
7826 * files.el (after-find-file): Do not try to add a final newline if
7827 the buffer is read-only (Bug#11156).
7828
7829 2012-04-17 Richard Stallman <rms@gnu.org>
7830
7831 * mail/rmail.el (rmail-start-mail):
7832 Pass (rmail-mail-return...) for the return-action.
7833 Pass (rmail-yank-current-message...) for the yank-action.
7834 (rmail-yank-current-message): New function.
7835 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7836 (rmail-reply): Likewise.
7837 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7838
7839 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7840 buffer, not the last. Reject temp buffers. Use the rmail-mode
7841 buffer, not newbuf.
7842
7843 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7844
7845 * server.el (server-ensure-safe-dir): Simplify.
7846
7847 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * emacs-lisp/smie.el: Provide smarter auto-filling.
7850 (smie-auto-fill): New function.
7851 (smie-setup): Use it.
7852
7853 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7854
7855 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7856
7857 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7858 (comment-indent): Use it.
7859
7860 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7861
7862 * ses.el: The overall change is to add cell renaming, that is
7863 setting fancy names for cell symbols other than name matching
7864 "\\`[A-Z]+[0-9]+\\'" regexp .
7865 (ses-localvars): Add ses--renamed-cell-symb-list.
7866 (ses-create-cell-variable): New defun.
7867 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7868 (ses-relocate-formula): Relocate formulas only for cells the
7869 symbols of which are not renamed, i.e. symbols whose names do not
7870 match regexp "\\`[A-Z]+[0-9]+\\'".
7871 (ses-relocate-all): Relocate values only for cells the symbols of
7872 which are not renamed.
7873 (ses-load): Create cells variables as the (ses-cell ...) are read,
7874 in order to check row col consistency with cell symbol name only
7875 for cells that are not renamed.
7876 (ses-replace-name-in-formula): New defun.
7877 (ses-rename-cell): New defun.
7878
7879 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7880
7881 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7882 New option (bug#11118).
7883 (perl-calculate-indent): Respect it.
7884
7885 2012-04-17 Glenn Morris <rgm@gnu.org>
7886
7887 * dired-aux.el (dired-mark-read-string): Doc fix.
7888
7889 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7890
7891 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7892 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7893
7894 2012-04-17 Glenn Morris <rgm@gnu.org>
7895
7896 * mouse.el (mouse-drag-track):
7897 * speedbar.el (speedbar-frame-mode):
7898 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7899
7900 2012-04-16 Leo Liu <sdl.web@gmail.com>
7901
7902 * progmodes/python.el: Trivial cleanup.
7903
7904 2012-04-16 Glenn Morris <rgm@gnu.org>
7905
7906 * vc/vc.el (vc-string-prefix-p):
7907 * vc/pcvs-util.el (cvs-string-prefix-p):
7908 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7909 * mpc.el (mpc-string-prefix-p):
7910 Make all of these into obsolete aliases for string-prefix-p.
7911 Update callers.
7912 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7913
7914 * textmodes/two-column.el: Move custom options to the start.
7915 (frame-width): Remove compat definition.
7916 (2C-associate-buffer, 2C-dissociate):
7917 Use with-current-buffer rather than save-excursion.
7918 (2C-dissociate): Force a mode-line update.
7919 (2C-autoscroll): Use ignore-errors.
7920
7921 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7922 Autoload trivia.
7923
7924 * emacs-lisp/cl-extra.el (*random-state*):
7925 Remove unnecessary declaration.
7926
7927 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7928
7929 * play/cookie1.el (cookie-snarf):
7930 Give an explicit error if input file cannot be read.
7931
7932 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7933
7934 * progmodes/perl-mode.el (c-macro-expand):
7935 Remove unnecessary autoload (it is in loaddefs.el).
7936
7937 * textmodes/picture.el (picture-desired-column)
7938 (picture-update-desired-column): Convert comments to doc-strings.
7939 (picture-substitute): Remove function.
7940 (picture-mode-map): Initialize in the defvar.
7941
7942 * woman.el: Remove eval-after-load for tar-mode.
7943 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7944 (woman-tar-extract-file): Autoload it.
7945
7946 * frame.el (automatic-hscrolling): Make this alias obsolete.
7947
7948 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7949
7950 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7951 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7952 (ispell-dictionary-base-alist): Revert to original XEmacs
7953 friendly version for default. [:alpha:] will be added in
7954 `ispell-set-spellchecker-params' if needed.
7955
7956 2012-04-16 Chong Yidong <cyd@gnu.org>
7957
7958 * image.el (imagemagick--file-regexp): New variable.
7959 (imagemagick-register-types): Use it.
7960 (imagemagick-types-inhibit): Add :set function. Allow new value
7961 of t to inhibit all types.
7962
7963 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7964 so we can preload it.
7965
7966 * loadup.el (fboundp): Preload regexp-opt, needed by
7967 imagemagick-register-types.
7968
7969 2012-04-15 Chong Yidong <cyd@gnu.org>
7970
7971 * frame.el (scrolling): Remove nearly unused customization group.
7972
7973 * scroll-all.el (scroll-all-mode): Move to windows group.
7974
7975 2012-04-15 Chong Yidong <cyd@gnu.org>
7976
7977 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7978
7979 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 Avoid the use of ((lambda ...) ...) in lexical-binding code.
7982 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7983
7984 2012-04-15 Glenn Morris <rgm@gnu.org>
7985
7986 * simple.el (process-file-side-effects): Doc fix.
7987
7988 2012-04-15 Glenn Morris <rgm@gnu.org>
7989
7990 * international/mule-cmds.el (set-language-environment): Doc fix.
7991
7992 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
7993
7994 * server.el (server-auth-key, server-generate-key): Doc fixes.
7995 (server-get-auth-key): Doc fix. Use `string-match-p'.
7996 (server-start): Reflow docstring.
7997
7998 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
7999
8000 * server.el (server-generate-key): `called-interactively-p'
8001 requires a parameter.
8002
8003 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8004
8005 * server.el (server-auth-key): New variable.
8006 (server-generate-key, server-get-auth-key): New function.
8007 (server-start): Use the new variable and functions to allow
8008 setting a permanent server key (bug#9423).
8009
8010 2012-04-14 Leo Liu <sdl.web@gmail.com>
8011
8012 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8013
8014 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8015
8016 Spelling fixes.
8017 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8018 Emacs uses American spelling.
8019
8020 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8023 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8024 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8025 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8026
8027 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * progmodes/which-func.el (which-func-modes): Change default.
8030
8031 2012-04-14 Kim F. Storm <storm@cua.dk>
8032
8033 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8034 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8035
8036 2012-04-14 Chong Yidong <cyd@gnu.org>
8037
8038 * custom.el (custom-theme-set-variables): Doc fix.
8039
8040 2012-04-14 Glenn Morris <rgm@gnu.org>
8041
8042 * international/mule.el (set-auto-coding-for-load): Doc fix.
8043
8044 2012-04-14 Alan Mackenzie <acm@muc.de>
8045
8046 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8047 imenu work again for Objective C Mode. Correct the *-index values,
8048 these having been disturbed by a previous change in 2011-08.
8049
8050 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8051 Correct two search limits.
8052
8053 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8056
8057 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8058
8059 * international/characters.el: Fix sorting.
8060
8061 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8062
8063 * international/characters.el: Add more missing Latin case pairs.
8064
8065 2012-04-14 Glenn Morris <rgm@gnu.org>
8066
8067 * files.el (dir-locals-set-class-variables): Doc fix.
8068
8069 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8070
8071 * international/characters.el: Add set-case-syntax-pair call for
8072 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8073 counterpart. (Bug#11209)
8074
8075 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8076
8077 2012-04-14 Glenn Morris <rgm@gnu.org>
8078
8079 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8080
8081 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8082
8083 * textmodes/ispell.el (ispell-dictionary-base-alist):
8084 Add data for Hebrew.
8085
8086 2012-04-14 Chong Yidong <cyd@gnu.org>
8087
8088 * net/rcirc.el (rcirc-cmd-quit):
8089 Revert 2012-03-18 change (Bug#11192).
8090
8091 2012-04-14 Glenn Morris <rgm@gnu.org>
8092
8093 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8094
8095 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8096
8097 * minibuffer.el (completion-in-region-mode-map):
8098 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8099
8100 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8101
8102 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8103
8104 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8105
8106 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8107 to allow `C-M-f' and `C-M-b' to move to the nearest path
8108 separator (bug#9511).
8109
8110 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8111
8112 * avoid.el: Require cl when compiling. And also move the
8113 `provide' to the end.
8114
8115 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8116
8117 * avoid.el (mouse-avoidance-banish-position): New variable.
8118 (mouse-avoidance-banish-destination): Use it (bug#10165).
8119
8120 2012-04-13 Leo Liu <sdl.web@gmail.com>
8121
8122 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8123
8124 2012-04-13 Ken Brown <kbrown@cornell.edu>
8125
8126 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8127 this is no longer needed now that cygstart understands file:// URLs.
8128 (browse-url-filename-alist): For the same reason, don't modify
8129 file:// URLs on Cygwin.
8130
8131 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8134 the region on shift if the binding is already shifted (bug#11221).
8135
8136 2012-04-12 Glenn Morris <rgm@gnu.org>
8137
8138 * mail/mailpost.el: Move to obsolete/.
8139
8140 2012-04-12 Drew Adams <drew.adams@oracle.com>
8141
8142 * imenu.el (imenu--generic-function): Ignore invisible definitions
8143 (bug#10123).
8144
8145 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8146
8147 * hexl.el (hexl-bits): New variable.
8148 (hexl-options): Mention the variable in the doc string.
8149 (hexl-rulerise, hexl-line-displen): New functions.
8150 (hexl-mode): Mention the new variable.
8151 (hexl-mode, hexl-current-address, hexl-current-address):
8152 Use the displen.
8153 (hexl-ascii-start-column): New function.
8154 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8155 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8156
8157 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8158
8159 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8160 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8161 the encoding, as expected by hunspell.
8162
8163 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8164
8165 * battery.el (battery--linux-sysfs-regexp): New const.
8166 (battery-status-function): Use it. Remove yeeloong special case.
8167 (battery-yeeloong-sysfs): Remove.
8168 (battery-echo-area-format): Remove yeeloong special case.
8169
8170 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8173 Reported by Noah Friedman.
8174
8175 * subr.el (read-passwd): Use read-string.
8176
8177 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8178
8179 * vcursor.el (vcursor-move): Increase the priority of the overlay
8180 (bug#9663).
8181
8182 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8183
8184 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8185 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8186
8187 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8188
8189 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8190 define-minor-mode (bug#10760).
8191
8192 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8193
8194 * progmodes/grep.el (rgrep): Tweak the find command line so
8195 that directories matching `grep-find-ignored-files' won't be
8196 pruned (bug#10351).
8197
8198 2012-04-11 Chong Yidong <cyd@gnu.org>
8199
8200 * startup.el (command-line): Remove support for long-obsolete
8201 variable font-lock-face-attributes.
8202
8203 2012-04-11 Glenn Morris <rgm@gnu.org>
8204
8205 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8206
8207 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * window.el (window--state-get-1): Obey window-point-insertion-type.
8210
8211 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8212
8213 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8214 to previous function when point is on the first character of a
8215 function. Take care of that in `narrow-to-defun' (bug#6157).
8216
8217 2012-04-11 Glenn Morris <rgm@gnu.org>
8218
8219 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8220 not just file-errors.
8221
8222 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8223 (vc-bzr-sha1): Use internal sha1.
8224
8225 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8226
8227 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8228
8229 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8230
8231 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8232 that start in the middle of the line (bug#10496).
8233
8234 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8235
8236 * battery.el (battery-linux-proc-acpi): Only one battery is
8237 discharged at a time, but that seems to confuse battery.el when
8238 computing `rate-type' for the battery not being discharged
8239 (bug#10332).
8240
8241 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8242
8243 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8244
8245 * international/quail.el: Use dolist and simplify.
8246 (quail-define-package, quail-update-keyboard-layout)
8247 (quail-define-rules): Use dolist.
8248 (quail-insert-kbd-layout, quail-get-translation): CSE.
8249
8250 * tmm.el: Use dolist, remove left over hook.
8251 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8252 Use dolist.
8253 (calendar-load-hook): Don't mess with it.
8254
8255 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8256 Use derived-mode-p. Run the diff asynchronously.
8257
8258 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8259
8260 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8261
8262 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8263
8264 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8265 (list-dynamic-libraries--loaded): New function.
8266 (list-dynamic-libraries--refresh): Use it.
8267
8268 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8269
8270 * progmodes/python.el (python-fill-paragraph):
8271 Make python-fill-region in a multiline string work when font-lock is
8272 disabled (bug#7018).
8273
8274 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8275
8276 * language/european.el (cp775): Add oem/legacy (en)coding on
8277 DOS/MS Windows for the Baltic languages. There are still plenty
8278 of texts written in this encoding/codepage (bug#6519).
8279
8280 2012-04-10 Glenn Morris <rgm@gnu.org>
8281
8282 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8283 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8284
8285 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8286
8287 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8288 next-line "n" and previous-line "p" in order to make recentf more
8289 consistent with ibuffer, dired or org-mode (bug#9387).
8290
8291 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8292
8293 * image.el (put-image): Return the overlay created instead of the
8294 optional input string (bug#7834). Note that this may break code
8295 that is (for some reason or other) depending on `put-image'
8296 returning the string.
8297
8298 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8299
8300 * simple.el (zap-to-char): Allow zapping using input methods
8301 (bug#1580).
8302
8303 * textmodes/fill.el (fill-region): Leave point and mark where they
8304 were before filling (bug#5399).
8305
8306 2012-04-09 Glenn Morris <rgm@gnu.org>
8307
8308 * version.el (emacs-bzr-get-version):
8309 Handle lightweight checkouts of local branches.
8310
8311 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8312
8313 * international/characters.el: Recover lost case pairs. (Bug#11209)
8314
8315 2012-04-09 Chong Yidong <cyd@gnu.org>
8316
8317 * custom.el (custom-variable-p): Return nil for non-symbol
8318 arguments instead of signaling an error.
8319 (user-variable-p): Obsolete alias for custom-variable-p.
8320
8321 * apropos.el (apropos-variable):
8322 * files-x.el (read-file-local-variable):
8323 * simple.el (set-variable):
8324 * woman.el (woman-mini-help):
8325 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8326
8327 2012-04-09 Glenn Morris <rgm@gnu.org>
8328
8329 * startup.el (normal-top-level): Don't look for leim-list.el
8330 in places where it will not be found. (Bug#910)
8331
8332 * international/mule-cmds.el (set-default-coding-systems):
8333 * files.el (normal-mode):
8334 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8335 This function was removed with ucs-tables.el in 2008.
8336
8337 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8338
8339 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8340 ispell-encoding8-command to "-i", without a trailing space.
8341 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8342 separate command-line arguments, to specify the encoding, since
8343 that's how hunspell expects it.
8344
8345 2012-04-08 Glenn Morris <rgm@gnu.org>
8346
8347 * loadup.el: Load bindings before cus-start.
8348 This reduces somewhat the number of "rogue" settings in emacs -Q.
8349
8350 2012-04-07 Glenn Morris <rgm@gnu.org>
8351
8352 * version.el (emacs-bzr-get-version): New function.
8353 (emacs-bzr-version): New variable.
8354 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8355 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8356
8357 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8358
8359 * international/uni-bidi.el, international/uni-category.el:
8360 * international/uni-combining.el, international/uni-decimal.el:
8361 * international/uni-decomposition.el, international/uni-digit.el:
8362 * international/uni-lowercase.el, international/uni-mirrored.el:
8363 * international/uni-name.el, international/uni-numeric.el:
8364 * international/uni-titlecase.el, international/uni-uppercase.el:
8365 Update for Unicode 6.1.
8366
8367 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8368
8369 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8370
8371 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8372
8373 * window.el (shrink-window): Mention the `window-min-height'
8374 variable in the doc string.
8375
8376 2012-04-05 Bastien Guerry <bzg@altern.org>
8377
8378 * color.el (color-lighten-name): Fix typo.
8379
8380 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * server.el (server--on-display-p): New function.
8383 (server--on-display-p): Use it.
8384
8385 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8386
8387 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8388 (bug#11145).
8389
8390 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * comint.el (comint--common-quoted-suffix): Check string boundary
8393 before comparing (bug#11158).
8394 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8395
8396 2012-04-04 Chong Yidong <cyd@gnu.org>
8397
8398 * minibuffer.el (completion-extra-properties): Doc fix.
8399
8400 * subr.el (delayed-warnings-hook): Doc fix.
8401
8402 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8403
8404 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8405 selection (Bug#11159).
8406 (epa-insert-keys): Inform that the default public key will be
8407 exported if no key is selected.
8408
8409 2012-04-04 Richard Stallman <rms@gnu.org>
8410
8411 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8412
8413 2012-04-03 Chong Yidong <cyd@gnu.org>
8414
8415 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8416 mail-insert-file, not its obsolete alias mail-attach-file.
8417
8418 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8419
8420 * notifications.el (notifications-notify): Fix docstring.
8421
8422 2012-04-02 Glenn Morris <rgm@gnu.org>
8423
8424 * emacs-lisp/authors.el (authors-aliases): Another addition.
8425
8426 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8427
8428 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8429 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8430 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8431
8432 2012-04-01 Chong Yidong <cyd@gnu.org>
8433
8434 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8435 Handle root directory properly.
8436 (copy-directory): Caller changed.
8437
8438 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8439 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8440
8441 2012-03-31 Glenn Morris <rgm@gnu.org>
8442
8443 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8444
8445 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8446
8447 * calendar/calendar.el (calendar-window-list)
8448 (calendar-hide-window): Restore. (Bug#11140)
8449 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8450
8451 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8452
8453 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8454
8455 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8456 Check if file is a symlink (Bug#10489).
8457
8458 * files.el (copy-directory): Likewise.
8459
8460 2012-03-30 Chong Yidong <cyd@gnu.org>
8461
8462 * image.el (imagemagick-types-inhibit)
8463 (imagemagick-register-types): Doc fix.
8464
8465 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8466
8467 * textmodes/ispell.el (ispell-get-extended-character-mode):
8468 Disable extended-char-mode for hunspell. hunspell does not support it
8469 and treats ~word as ordinary words in pipe mode.
8470
8471 2012-03-30 Glenn Morris <rgm@gnu.org>
8472
8473 * tutorial.el (help-with-tutorial): Ensure local variables don't
8474 happen to make the buffer read-only. (Bug#11127)
8475
8476 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8477
8478 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8479 (perl-calculate-indent): Return `noindent' in strings.
8480
8481 2012-03-28 Sam Steingold <sds@gnu.org>
8482
8483 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8484 instead of the broken adhockery which does not prevent calendar
8485 buffers from being displayed at random after exit.
8486 (calendar-window-list, calendar-hide-window): Remove the broken
8487 adhockery.
8488
8489 2012-03-28 Glenn Morris <rgm@gnu.org>
8490
8491 * replace.el (query-replace-map): Doc fix.
8492
8493 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8494
8495 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8496 contents. (Bug#11109)
8497
8498 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8501 (bug#11077).
8502 (avl-tree--check, avl-tree--check-node): New funs.
8503
8504 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8505
8506 * window.el (switch-to-visible-buffer): New option.
8507 (switch-to-prev-buffer, switch-to-next-buffer):
8508 Observe switch-to-visible-buffer. Make sure that checking for a window
8509 showing a buffer already is done on the same frame.
8510
8511 2012-03-27 Glenn Morris <rgm@gnu.org>
8512
8513 * startup.el (mail-host-address): Doc fix.
8514
8515 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8518 than 197 variables.
8519
8520 2012-03-26 Ami Fischman <ami@fischman.org>
8521
8522 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8523
8524 2012-03-26 Glenn Morris <rgm@gnu.org>
8525
8526 * files.el (save-buffers-kill-emacs): Doc fix.
8527
8528 * startup.el (normal-top-level, command-line, command-line-1):
8529 Give them doc strings.
8530
8531 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8532
8533 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8534 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8535
8536 2012-03-25 Chong Yidong <cyd@gnu.org>
8537
8538 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8539 theme if it was previously enabled before (Bug#11031).
8540
8541 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8542 spec with custom-face-get-current-spec if its :shown-value is not
8543 determined yet (Bug#9337).
8544 (customize-create-theme, custom-theme-revert): Doc fixes.
8545
8546 * button.el (button-at): Minor addition to docstring.
8547
8548 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8549
8550 * vc/vc.el (vc-merge): Fix a prompt.
8551
8552 2012-03-24 Chong Yidong <cyd@gnu.org>
8553
8554 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8555 point (Bug#9623).
8556
8557 * button.el (button-at): Minor addition to docstring.
8558
8559 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * newcomment.el (comment-choose-indent): No space after BOL.
8562
8563 2012-03-22 Sam Steingold <sds@gnu.org>
8564
8565 * window.el (switch-to-prev-buffer): Revert last patch because the
8566 bug turned out to be an advertised feature (Elisp manual 28.14).
8567
8568 2012-03-22 Glenn Morris <rgm@gnu.org>
8569
8570 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8571 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8572
8573 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8574
8575 * net/network-stream.el (network-stream-open-starttls): Make error
8576 message under Windows be less misleading.
8577
8578 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8579
8580 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8581 understands (bug#9942).
8582
8583 2012-03-22 Chong Yidong <cyd@gnu.org>
8584
8585 * simple.el (end-of-visible-line): Handle return value of
8586 next-single-property-change properly (Bug#9371).
8587
8588 2012-03-22 Kenichi Handa <handa@m17n.org>
8589
8590 * international/quail.el (quail-insert-kbd-layout): Fix previous
8591 change. To avoid unwanted bidi reordering, use
8592 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8593
8594 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8595
8596 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8597 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8598 (ruby-beginning-of-indent): Be more careful with the difference
8599 between word-boundary and symbol boundary.
8600 (ruby-mode-syntax-table): Make : a symbol constituent.
8601
8602 2012-03-21 Andreas Politz <politza@fh-trier.de>
8603
8604 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8605
8606 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * progmodes/etags.el (tags-completion-at-point-function):
8609 Improve last fix.
8610
8611 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8612
8613 2012-03-21 Sam Steingold <sds@gnu.org>
8614
8615 * progmodes/etags.el (tags-completion-at-point-function):
8616 Avoid the error when point is inside the pattern.
8617
8618 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8619
8620 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8621 line (Bug#10855).
8622
8623 2012-03-21 Drew Adams <drew.adams@oracle.com>
8624
8625 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8626
8627 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8628
8629 * ido.el (ido-set-current-directory, ido-read-internal)
8630 (ido-choose-completion-string, ido-completion-help): Handle nil
8631 value of ido-completion-buffer (Bug#11008).
8632
8633 2012-03-21 Sam Steingold <sds@gnu.org>
8634
8635 * window.el (switch-to-prev-buffer): Do not switch to a visible
8636 window previous buffer, just like with the frame previous buffers.
8637
8638 2012-03-21 Chong Yidong <cyd@gnu.org>
8639
8640 * faces.el (make-face, make-empty-face, copy-face):
8641 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8642 Doc fixes.
8643
8644 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8647 (widget-complete): Remove broken use of it.
8648
8649 2012-03-20 Chong Yidong <cyd@gnu.org>
8650
8651 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8652 Use string-width and truncate-string-width to handle arbitrary
8653 characters.
8654
8655 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8656
8657 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8658 to draw rectangles, not squares. (Regression introduced by revno
8659 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8660
8661 2012-03-18 Chong Yidong <cyd@gnu.org>
8662
8663 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8664 it is not yet defined (for temacs).
8665
8666 2012-03-18 Leo Liu <sdl.web@gmail.com>
8667
8668 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8669
8670 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8671
8672 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8673 (ispell-choices-win-default-height, ispell-silently-savep)
8674 (ispell-dictionary-alist, ispell-encoding8-command)
8675 (ispell-check-version, ispell-aspell-find-dictionary)
8676 (ispell-valid-dictionary-list, ispell-words-keyword)
8677 (ispell-get-word, ispell-internal-change-dictionary)
8678 (ispell-region, ispell-skip-region-list)
8679 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8680 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8681 (ispell-message-text-end, ispell-message)
8682 (ispell-buffer-local-parsing): Doc fix.
8683
8684 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8685
8686 * htmlfontify.el: Add support for code block fontification for ODT
8687 export (Bug #9914).
8688 (hfy-optimisations): Define new option
8689 `body-text-only'
8690 (hfy-fontify-buffer): Honor above setting.
8691 (hfy-begin-span, hfy-end-span): New routines factored out form
8692 `hfy-fontify-buffer'.
8693 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8694 that permit insertion of custom tags.
8695 (hfy-fontify-buffer): Use above handlers.
8696 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8697 (hfy-face-to-css): Re-defined to be a variable.
8698 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8699 over multiple runs. This is made possible by having the caller let
8700 bind a special variable `hfy-user-sheet-assoc'.
8701 (htmlfontify-string): New defun.
8702 (hfy-compile-face-map): Make sure that the last char in the
8703 buffer is correctly fontified.
8704 (hfy-face-resolve-face): Whitespace only change.
8705
8706 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8707
8708 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8709 message more clear.
8710
8711 2012-03-16 Leo Liu <sdl.web@gmail.com>
8712
8713 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8714
8715 2012-03-16 Alan Mackenzie <acm@muc.de>
8716
8717 Further optimise the handling of large macros.
8718
8719 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8720 limit to a call of `c-literal-limits'.
8721 (c-determine-+ve-limit): New function.
8722 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8723 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8724 In CASE 5B, restrict a search limit to 500.
8725 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8726
8727 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8728 Restrict macro bounds to +-500 from after-change's BEG END.
8729
8730 2012-03-16 Leo Liu <sdl.web@gmail.com>
8731
8732 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8733
8734 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8735
8736 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8737 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8738
8739 2012-03-16 Glenn Morris <rgm@gnu.org>
8740
8741 * view.el (view-buffer, view-buffer-other-window)
8742 (view-buffer-other-frame): Doc fixes re special mode-class.
8743
8744 * subr.el (eval-after-load): If named feature is provided not from
8745 a file, run after-load forms. (Bug#10946)
8746
8747 * calendar/calendar.el (calendar-insert-at-column):
8748 Handle non-unit-width characters a bit better. (Bug#10978)
8749
8750 2012-03-15 Chong Yidong <cyd@gnu.org>
8751
8752 * emacs-lisp/ring.el (ring-extend): New function.
8753 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8754
8755 * comint.el (comint-read-input-ring)
8756 (comint-add-to-input-history): Grow comint-input-ring lazily.
8757
8758 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8761 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8762
8763 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8764 (imenu-add-to-menubar): Don't add a redundant index.
8765 (imenu-update-menubar): Handle a dynamically composed keymap.
8766
8767 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8768
8769 * mail/sendmail.el (mail-encode-header):
8770 Bind rfc2047-encode-encoded-words to nil.
8771
8772 2012-03-13 Glenn Morris <rgm@gnu.org>
8773
8774 * calendar/calendar.el (calendar-string-spread):
8775 Handle non-unit-width characters a bit better. (Bug#10978)
8776
8777 2012-03-13 Leo Liu <sdl.web@gmail.com>
8778
8779 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8780 directory and file as argument (Bug#10822).
8781
8782 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8783
8784 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8785 For dynamically generated code, follow $PC.
8786 (gdb-disassembly-handler-custom): Handle no function name case.
8787
8788 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8789
8790 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8791 * emulation/ws-mode.el (ws-query-replace):
8792 * sort.el (sort-regexp-fields):
8793 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8794
8795 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * dabbrev.el: Fix cycle completion order (bug#10963).
8798 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8799 (dabbrev-completion): Don't use an obarray; provide
8800 a cycle-sort-function.
8801
8802 2012-03-12 Leo Liu <sdl.web@gmail.com>
8803
8804 * simple.el (kill-new): Use equal-including-properties for comparison.
8805 (kill-do-not-save-duplicates): Doc fix.
8806
8807 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * dabbrev.el: Fix cycle completion (bug#10963).
8810 Use lexical binding and wrap to 80 columns.
8811 (dabbrev-completion): Delay computing the list of completions.
8812
8813 2012-03-12 Kenichi Handa <handa@m17n.org>
8814
8815 * international/quail.el (quail-insert-kbd-layout): Surround each
8816 row by LRO and PDF instead of inserting many LRMs. Pad the left
8817 and right of each non-spacing marks. Insert invisible space
8818 between lower and upper characters to prevent composition.
8819
8820 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * minibuffer.el (minibuffer-complete): Don't get confused when the
8823 function is run twice via different commands (bug#10958).
8824 (complete-with-action): Fix docstring.
8825
8826 2012-03-12 Chong Yidong <cyd@gnu.org>
8827
8828 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8829 (nxml-completion-at-point-function): New function.
8830 (nxml-mode): Use it.
8831 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8832
8833 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8834 Load generated autoloads file before byte compiling (Bug#10970).
8835 (package--make-autoloads-and-compile): New helper fun.
8836
8837 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8838
8839 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8840
8841 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * autorevert.el (auto-revert-handler): Ensure, that
8844 file-readable-p is applied only for local files or in
8845 auto-revert-tail-mode.
8846
8847 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8848
8849 * server.el (server-eval-at): Handle non-tcp connections.
8850 Decode result string.
8851
8852 * server.el (server-msg-size): New constant.
8853 (server-reply-print): New function.
8854 (server-eval-and-print): Use it.
8855 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8856 Handle -print-nonl.
8857
8858 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8859
8860 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8861 (Bug#10987).
8862
8863 2012-03-11 Chong Yidong <cyd@gnu.org>
8864
8865 * simple.el (goto-line): Doc fix (Bug#9938).
8866
8867 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8868
8869 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8870 when finished (Bug#10963).
8871
8872 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8873
8874 * window.el (split-window-below): Fix bug in case where
8875 split-window-keep-point is nil (Bug#10971).
8876
8877 2012-03-11 Juri Linkov <juri@jurta.org>
8878
8879 * replace.el (replace-highlight): Set isearch-word to nil
8880 unconditionally. (Bug#10887)
8881
8882 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8883
8884 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8885 mairix-replace-illegal-chars; all callers changed. Don't remove
8886 ^, ~, and = characters: they are meaningful in mairix search specs.
8887 (mairix-widget-create-query): Add usage information about mairix
8888 search forms: negating words, searching for substrings, etc.
8889
8890 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8891
8892 * international/fontset.el (font-encoding-alist): Add an entry for
8893 ksx1001 (Bug#5667).
8894
8895 2012-03-10 Richard Stallman <rms@gnu.org>
8896
8897 * mail/sendmail.el (mail-encode-header):
8898 Set rfc2047-encode-encoded-words.
8899
8900 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8901
8902 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8903 view buffer means not swapped.
8904 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8905 (rmail-write-region-annotate): Error if real text has disappeared.
8906
8907 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8908
8909 2012-03-10 Chong Yidong <cyd@gnu.org>
8910
8911 * emulation/cua-rect.el (cua--init-rectangles):
8912 * emulation/cua-base.el (cua--init-keymaps):
8913 Add delete-forward-char to remappings (Bug#9666).
8914
8915 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8916
8917 * speedbar.el (speedbar-unhighlight-one-tag-line):
8918 Avoid unhighlighting due to frame switching (Bug#10275).
8919
8920 2012-03-10 Chong Yidong <cyd@gnu.org>
8921
8922 * minibuffer.el (completion-in-region, completion-help-at-point):
8923 Give the completion field overlay a high priority (Bug#6830).
8924
8925 * dired.el (dired-goto-file): Recognize absolute file name
8926 listings (Bug#7126).
8927 (dired-goto-file-1): New helper function.
8928 (dired-toggle-read-only): Inhibit warnings.
8929
8930 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8931
8932 * net/dbus.el (dbus-property-handler): Return empty array if
8933 there are no properties.
8934
8935 2012-03-09 Leo Liu <sdl.web@gmail.com>
8936
8937 * savehist.el (savehist-printable): Stricter check for string
8938 value (Bug#10937).
8939
8940 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8941
8942 * mail/smtpmail.el (smtpmail-send-it):
8943 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8944 valid mbox format.
8945
8946 2012-03-09 Glenn Morris <rgm@gnu.org>
8947
8948 * files.el (dir-locals-find-file):
8949 Don't check result is regular, readable.
8950 (dir-locals-read-from-file): Demote errors.
8951
8952 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8953
8954 * international/quail.el (quail-insert-kbd-layout):
8955 Insert invisible LRM characters before each character in a keyboard
8956 layout cell, to prevent their reordering by bidi display engine.
8957 For details, see the discussion in
8958 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8959
8960 2012-03-08 Alan Mackenzie <acm@muc.de>
8961
8962 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8963 the starting position; make it extend the marked region when
8964 invoked repeatedly - all under appropriate circumstances.
8965 Fixes bugs #5525, #10906.
8966
8967 2012-03-08 Glenn Morris <rgm@gnu.org>
8968
8969 * files.el (locate-dominating-file, dir-locals-find-file):
8970 Undo 2012-03-06 change.
8971
8972 2012-03-07 Eli Zaretskii <eliz@gnu.org>
8973
8974 * international/quail.el (quail-help):
8975 Force bidi-paragraph-direction be left-to-right. See discussion in
8976 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8977 for the reason.
8978
8979 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
8980
8981 Avoid superfluous registering of signals. (Bug#10807)
8982
8983 * notifications.el (notifications-on-action-object)
8984 (notifications-on-close-object): New defvars.
8985 (notifications-on-action-signal, notifications-on-closed-signal):
8986 Unregister the signal if not needed any longer.
8987 (notifications-notify): Register `notifications-action-signal' or
8988 `notifications-closed-signal', if :on-action or :on-close has been
8989 passed as argument.
8990
8991 2012-03-07 Chong Yidong <cyd@gnu.org>
8992
8993 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8994 non-X platforms.
8995
8996 2012-03-06 Glenn Morris <rgm@gnu.org>
8997
8998 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8999 (x-disown-selection-internal, x-get-selection-internal):
9000 Doc fix (add arglist signatures). (Bug#10783)
9001
9002 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9003
9004 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9005 Handle breakpoints with no "type".
9006
9007 2012-03-06 Glenn Morris <rgm@gnu.org>
9008
9009 * files.el (locate-dominating-file): Add optional predicate argument.
9010 (dir-locals-find-file): Make use of above change.
9011
9012 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9013
9014 * info.el (Info-insert-dir): Also try "dir.gz".
9015
9016 2012-03-06 Glenn Morris <rgm@gnu.org>
9017
9018 * files.el (dir-locals-find-file):
9019 Ignore non-readable or non-regular files. (Bug#10928)
9020
9021 * files.el (locate-dominating-file): Doc fix.
9022
9023 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9024
9025 * calendar/calendar.el (calendar-set-mode-line):
9026 `getenv' returns a string. (Bug#10951)
9027
9028 2012-03-05 Leo Liu <sdl.web@gmail.com>
9029
9030 * simple.el (backward-delete-char-untabify): Constrain point to
9031 field (Bug#10939).
9032
9033 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9034
9035 2012-03-05 Chong Yidong <cyd@gnu.org>
9036
9037 * simple.el (count-words): If called from Lisp, return the word
9038 count, for symmetry with `count-lines'. Arglist changed.
9039 (count-words--message): Args changed. Consolidate counting code
9040 from count-words and count-words-region.
9041 (count-words-region): Caller changed.
9042 (count-lines-region): Make it an obsolete alias.
9043
9044 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9045
9046 * saveplace.el (save-place-to-alist)
9047 (save-place-ignore-files-regexp): Allow value nil to disable this
9048 feature.
9049
9050 2012-03-04 Chong Yidong <cyd@gnu.org>
9051
9052 * faces.el (face-spec-reset-face): For the default face, reset the
9053 attributes to default values (Bug#10748).
9054
9055 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9056
9057 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9058 previous patch: Check `message-send-mail-function', and not the
9059 default function (bug#10897).
9060
9061 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9062
9063 * notifications.el (notifications-on-action-signal)
9064 (notifications-on-closed-signal): Check for unique service name of
9065 incoming event. Fix error in removing entry.
9066 (top): Register for signals with wildcard service name.
9067 (notifications-notify): Use daemon unique service name for map entries.
9068
9069 2012-03-04 Chong Yidong <cyd@gnu.org>
9070
9071 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9072
9073 2012-03-04 Glenn Morris <rgm@gnu.org>
9074
9075 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9076 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9077 (expand-abbrev, define-abbrev-table): Doc fixes.
9078
9079 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9080
9081 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9082 `message-default-send-mail-function' and not `send-mail-function'
9083 when doing the prompting for `sendmail-query-once' before sending
9084 in Message buffers (bug#10897).
9085
9086 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9087 This is inconsistent with all the other stream functions, which leave
9088 the setting up to the higher levels (if so wanted) (bug#10931).
9089
9090 2012-03-02 Alan Mackenzie <acm@muc.de>
9091
9092 Depessimize the handling of very large macros.
9093
9094 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9095 (c-macro-cache-syntactic): New variables to implement a one
9096 element macro cache.
9097 (c-invalidate-macro-cache): New function.
9098 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9099 Adapt to use the new cache.
9100 (c-state-safe-place): Use better the cache of safe positions.
9101 (c-state-semi-nonlit-pos-cache)
9102 (c-state-semi-nonlit-pos-cache-limit):
9103 New variables for...
9104 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9105 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9106 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9107 Use c-state-semi-safe-place.
9108
9109 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9110 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9111
9112 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9113
9114 * jka-compr.el (jka-compr-call-process):
9115 Apply `file-accessible-directory-p' only when the default directory is
9116 not remote.
9117
9118 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9119
9120 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9121 access of FILE2, if FILE1 does not exist.
9122
9123 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9124 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9125
9126 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9127 Add "PAGER=" to `process-environment'.
9128
9129 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9130
9131 * progmodes/sql.el: Bug fix
9132 (sql-get-login-ext): Save login values in globals.
9133 (sql-get-login): Use new version of `sql-get-login-ext'.
9134 (sql-interactive-mode): Set global `sql-connection' to nil.
9135 (sql-connect): Set global values for connection.
9136 (sql-product-interactive): Save global values as buffer local.
9137
9138 2012-02-29 Leo Liu <sdl.web@gmail.com>
9139
9140 * abbrev.el (define-abbrevs): Reset sys to nil.
9141
9142 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9143
9144 * files.el (file-equal-p): Rename from `files-equal-p'.
9145 Return nil when one or both files don't exist.
9146 (file-subdir-of-p): Now only top directory must exists,
9147 return nil if it doesn't.
9148 (copy-directory): No need to test with `file-subdir-of-p' after
9149 creating dir.
9150 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9151 to `file-equal-p'.
9152
9153 2012-02-28 Glenn Morris <rgm@gnu.org>
9154
9155 * shell.el (shell-mode):
9156 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9157 * play/landmark.el (landmark-font-lock-face-O):
9158 * play/handwrite.el (handwrite):
9159 * play/gomoku.el (gomoku-O):
9160 * net/browse-url.el (browse-url-browser-display):
9161 * international/mule.el (define-charset):
9162 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9163 * filesets.el (filesets-find-file-delay):
9164 * eshell/em-xtra.el (eshell-xtra):
9165 * eshell/em-unix.el (eshell-grep):
9166 * emulation/viper.el (viper-mode):
9167 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9168 * emacs-lisp/easymenu.el (easy-menu-define):
9169 * calendar/timeclock.el (timeclock-use-display-time):
9170 * bs.el (bs-mode):
9171 * bookmark.el (bookmark-save-flag):
9172 Doc fix (standardize possessive apostrophe usage).
9173
9174 2012-02-27 Chong Yidong <cyd@gnu.org>
9175
9176 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9177 Fix key-binding lookup for ESC key (Bug#9146).
9178
9179 * font-lock.el (font-lock-specified-p): Rename from
9180 font-lock-spec-present. Callers changed.
9181
9182 2012-02-27 Daniel Hackney <dan@haxney.org>
9183
9184 * emacs-lisp/package.el (package-compute-transaction):
9185 Handle holding a package version to t in package-load-list.
9186
9187 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9188
9189 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9190 (tramp-get-inode, tramp-get-device): Use cached values.
9191
9192 2012-02-26 Alan Mackenzie <acm@muc.de>
9193
9194 Check there is a font-lock specification before doing initial
9195 fontification.
9196
9197 * font-core.el (font-lock-mode): Move the conditional from
9198 :after-hook to font-lock-initial-fontify.
9199 (font-lock-default-function): Move the check for a specification
9200 to font-lock-spec-present.
9201
9202 * font-lock.el (font-lock-initial-fontify): Call ...
9203 (font-lock-spec-present): New function.
9204
9205 2012-02-26 Jim Blandy <jimb@red-bean.com>
9206
9207 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9208 (gdb-send): Apply it to the operand of the '-interpreter-exec
9209 console' command, so that we can pass arguments with (say) quotes
9210 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9211
9212 2012-02-26 Chong Yidong <cyd@gnu.org>
9213
9214 * help-fns.el (describe-function-1): Clarify description of
9215 remapping (Bug#10844).
9216
9217 * files.el (files-equal-p): Doc fix.
9218 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9219 and quit the loop once a mismatch is found.
9220
9221 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9222
9223 * bs.el (bs--show-with-configuration): Don't throw an error
9224 if the window cannot be split; otherwise, subsequent calls to
9225 bs-show fail, restoring a stale window config. (Bug#10882)
9226
9227 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9228
9229 * term/ns-win.el (global-map): Bind ns-drag-file to
9230 ns-find-file (Bug#5855, Bug#10050).
9231
9232 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 * calendar/parse-time.el (parse-time-string): Allow extractor to
9235 return nil.
9236
9237 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9238
9239 * net/tramp.el (tramp-file-name-for-operation):
9240 Add `files-equal-p' and `file-subdir-of-p'.
9241
9242 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9243 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9244 Add COPY-CONTENTS argument.
9245
9246 2012-02-25 Chong Yidong <cyd@gnu.org>
9247
9248 Add custom groups for VC backends, for consistency with vc-bzr.
9249
9250 * vc/vc-arch.el (vc-arch):
9251 * vc/vc-cvs.el (vc-cvs):
9252 * vc/vc-git.el (vc-git):
9253 * vc/vc-hg.el (vc-hg):
9254 * vc/vc-mtn.el (vc-mtn):
9255 * vc/vc-rcs.el (vc-rcs):
9256 * vc/vc-sccs.el (vc-sccs):
9257 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9258 All relevant defcustoms reassigned.
9259
9260 2012-02-25 Chong Yidong <cyd@gnu.org>
9261
9262 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9263
9264 * term/x-win.el (x-initialize-window-system): Reduce default for
9265 x-selection-timeout to 5 seconds (Bug#8869).
9266
9267 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9268
9269 * files.el (files-equal-p, file-subdir-of-p): New functions.
9270 (copy-directory): Error when trying to copy a directory on itself.
9271 Add missing copy-contents arg to tramp handler.
9272 * dired-aux.el (dired-copy-file-recursive): Same.
9273 (dired-create-files): Modify destination when source is equal to
9274 dest when copying files.
9275 Return also when dest is a subdir of source. (Bug#10489)
9276
9277 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9280 (Bug#10874)
9281
9282 2012-02-23 Alan Mackenzie <acm@muc.de>
9283
9284 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9285 parameter "after-hook:" to allow the expansion to run code after
9286 the execution of the mode hooks.
9287
9288 * font-lock.el (font-lock-initial-fontify): New function extracted
9289 from font-lock-mode-internal.
9290
9291 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9292 :after-hook.
9293
9294 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9297 (completion--cache-all-sorted-completions): New function.
9298 (completion-all-sorted-completions): Use it.
9299 (completion--do-completion, minibuffer-force-complete):
9300 Use it to re-instate the flush hook.
9301
9302 * icomplete.el (icomplete-completions): Replace last fix with a better
9303 one (bug#10850).
9304
9305 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9306
9307 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9308 when it might call us back infinitely (bug#10797).
9309
9310 2012-02-23 Glenn Morris <rgm@gnu.org>
9311
9312 * minibuffer.el (completion-category-overrides): Doc fix.
9313
9314 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9317 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9318
9319 2012-02-23 Glenn Morris <rgm@gnu.org>
9320
9321 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9322 (authors-obsolete-files-regexps, authors-ignored-files)
9323 (authors-ambiguous-files, authors-renamed-files-alist):
9324 Add more entries.
9325
9326 2012-02-23 Juri Linkov <juri@jurta.org>
9327
9328 * isearch.el (isearch-occur): Sync interactive spec with occur's
9329 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9330
9331 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9332
9333 2012-02-22 Juri Linkov <juri@jurta.org>
9334
9335 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9336 (ucs-insert): Doc fix. Check for hex digits in the string.
9337 Don't display `nil' in the error message. (Bug#10857)
9338
9339 2012-02-22 Alan Mackenzie <acm@muc.de>
9340
9341 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9342
9343 2012-02-22 Glenn Morris <rgm@gnu.org>
9344
9345 * ffap.el (ffap-c-path):
9346 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9347
9348 2012-02-22 Chong Yidong <cyd@gnu.org>
9349
9350 * custom.el (load-theme): Doc fix.
9351
9352 2012-02-22 Glenn Morris <rgm@gnu.org>
9353
9354 * dired-x.el (dired-guess-shell-alist-default):
9355 Remove escape sequences from nroff output. (Bug#172)
9356
9357 2012-02-21 Glenn Morris <rgm@gnu.org>
9358
9359 * vc/emerge.el (emerge-defvar-local):
9360 Set `permanent-local' property rather than unused `preserved'.
9361
9362 * textmodes/picture.el (picture-delete-char): New alias.
9363 (picture-mode-map): Use it. (Bug#10860)
9364 (picture-mode): Doc fix.
9365
9366 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9367
9368 * newcomment.el (uncomment-region-default): Remove unused binding.
9369
9370 2012-02-21 Glenn Morris <rgm@gnu.org>
9371
9372 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9373 (picture-self-insert, picture-tab-chars): Doc fix.
9374 (picture-mode-map): Fix C-a, C-e.
9375
9376 2012-02-20 Glenn Morris <rgm@gnu.org>
9377
9378 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9379
9380 2012-02-20 Leo Liu <sdl.web@gmail.com>
9381
9382 * icomplete.el (icomplete-completions): Check FROM arg before
9383 passing to substring (Bug#10850).
9384
9385 2012-02-19 Chong Yidong <cyd@gnu.org>
9386
9387 * comint.el: Require ansi-color.
9388 (comint-output-filter-functions): Add ansi-color-process-output.
9389
9390 * ansi-color.el: Don't set comint-output-filter-functions; it is
9391 now in the initial value defined in comint.el.
9392 (ansi-color-apply-face-function): New variable.
9393 (ansi-color-apply-on-region): Use it.
9394 (ansi-color-apply-overlay-face): New function.
9395
9396 * shell.el (shell): No need to require ansi-color.
9397 (shell-mode): Use ansi-color-apply-face-function to highlight
9398 color escapes using font-lock-face property (Bug#10835).
9399
9400 2012-02-19 Chong Yidong <cyd@gnu.org>
9401
9402 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9403 mode-line formats (Bug#10839).
9404
9405 2012-02-18 Glenn Morris <rgm@gnu.org>
9406
9407 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9408
9409 * mail/undigest.el (unforward-rmail-message): Doc fix.
9410
9411 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9412
9413 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9414
9415 * international/characters.el (script-list): Sync with the latest
9416 Unicode Character Database.
9417
9418 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9419
9420 * international/titdic-cnv.el: Remove duplicate coding tag.
9421 * language/cham.el: Likewise.
9422 * language/tai-viet.el: Likewise.
9423
9424 2012-02-18 Glenn Morris <rgm@gnu.org>
9425
9426 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9427 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9428 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9429 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9430 * calendar/holidays.el (holiday-bahai-holidays)
9431 (calendar-holidays, list-holidays):
9432 Use utf-8 Bahá'í in doc-strings, menus, etc.
9433
9434 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9435
9436 * saveplace.el (save-place-ignore-files-regexp): New variable
9437 allowing for excluding files from saving their location of point.
9438 The default value matches the temporary commit message editing
9439 files from Git, SVN, Bazaar, and Mercurial.
9440 (save-place-to-alist): Use it.
9441
9442 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9443 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * newcomment.el (uncomment-region-default): Don't leave extra space
9446 when an arg is provided (bug#8150).
9447
9448 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9449
9450 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9451
9452 2012-02-17 Glenn Morris <rgm@gnu.org>
9453
9454 * net/socks.el: Require network-stream. (Bug#10599)
9455
9456 2012-02-17 Kenichi Handa <handa@m17n.org>
9457
9458 * international/charprop.el:
9459 * international/uni-name.el:
9460 * international/uni-old-name.el:
9461 * international/uni-comment.el: Regenerate.
9462
9463 2012-02-16 Glenn Morris <rgm@gnu.org>
9464
9465 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9466 Interactively in calendar buffer, give an error if not on a date.
9467
9468 2012-02-15 Glenn Morris <rgm@gnu.org>
9469
9470 * shell.el (shell-delimiter-argument-list):
9471 Revert 2011-02-17 change. (Bug#8027)
9472
9473 2012-02-15 Chong Yidong <cyd@gnu.org>
9474
9475 * minibuffer.el (completion-at-point-functions): Doc fix.
9476
9477 * custom.el (defcustom): Doc fix; note use of defvar.
9478
9479 2012-02-15 Glenn Morris <rgm@gnu.org>
9480
9481 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9482 Doc fixes.
9483
9484 2012-02-14 Glenn Morris <rgm@gnu.org>
9485
9486 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9487
9488 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9489
9490 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9491 way the ports list is computed.
9492 (smtpmail-query-smtp-server): Prompt the user for a port number if
9493 we can't connect to any of the standard ports (bug#10810).
9494
9495 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9496
9497 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9498
9499 2012-02-13 Glenn Morris <rgm@gnu.org>
9500
9501 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9502
9503 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9504
9505 * net/gnutls.el (gnutls-trustfiles): New variable.
9506 (gnutls-negotiate): Use it.
9507
9508 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9509
9510 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9511 does its stuff if Gnus is running.
9512
9513 2012-02-13 Alan Mackenzie <acm@muc.de>
9514
9515 Fix a loop in c-set-fl-decl-start.
9516
9517 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9518 c-backward-syntactic-ws actually moves backwards.
9519
9520 2012-02-13 Leo Liu <sdl.web@gmail.com>
9521
9522 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9523 beginning so that all \C-o chars are removed.
9524
9525 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9526
9527 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9528
9529 2012-02-12 Alan Mackenzie <acm@muc.de>
9530
9531 Fix infinite loop with long macros.
9532 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9533
9534 2012-02-12 Chong Yidong <cyd@gnu.org>
9535
9536 * window.el (display-buffer): Doc fix (Bug#10785).
9537
9538 2012-02-12 Glenn Morris <rgm@gnu.org>
9539
9540 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9541 (x-disown-selection-internal, x-get-selection-internal):
9542 Sync docs with the xselect.c versions.
9543
9544 * allout-widgets.el: Add missing license notice.
9545
9546 2012-02-11 Glenn Morris <rgm@gnu.org>
9547
9548 * select.el (x-get-selection-internal, x-own-selection-internal)
9549 (x-disown-selection-internal):
9550 * x-dnd.el (x-get-selection-internal): Update declarations.
9551
9552 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9553
9554 * window.el (window-sides-slots):
9555 * tool-bar.el (tool-bar-position):
9556 * term/xterm.el (xterm-extra-capabilities):
9557 * ses.el (ses-self-reference-early-detection):
9558 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9559 (verilog-auto-wire-type)
9560 (verilog-auto-delete-trailing-whitespace)
9561 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9562 (verilog-auto-tieoff-declaration):
9563 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9564 (sql-oracle-statement-starters, sql-oracle-scan-on):
9565 * progmodes/prolog.el (prolog-align-comments-flag)
9566 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9567 (prolog-left-indent-regexp, prolog-paren-indent-p)
9568 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9569 (prolog-types, prolog-mode-specificators)
9570 (prolog-determinism-specificators, prolog-directives)
9571 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9572 (prolog-electric-dot-flag)
9573 (prolog-electric-dot-full-predicate-template)
9574 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9575 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9576 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9577 (prolog-program-switches, prolog-prompt-regexp)
9578 (prolog-debug-on-string, prolog-debug-off-string)
9579 (prolog-trace-on-string, prolog-trace-off-string)
9580 (prolog-zip-on-string, prolog-zip-off-string)
9581 (prolog-use-standard-consult-compile-method-flag)
9582 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9583 (prolog-imenu-max-lines, prolog-info-predicate-index)
9584 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9585 (prolog-char-quote-workaround):
9586 * progmodes/cc-vars.el (c-defun-tactic):
9587 * net/tramp.el (tramp-encoding-command-interactive)
9588 (tramp-local-end-of-line):
9589 * net/soap-client.el (soap-client):
9590 * net/netrc.el (netrc-file):
9591 * net/gnutls.el (gnutls):
9592 * minibuffer.el (completion-category-overrides)
9593 (completion-cycle-threshold)
9594 (completion-pcm-complete-word-inserts-delimiters):
9595 * man.el (Man-name-local-regexp):
9596 * mail/feedmail.el (feedmail-display-full-frame):
9597 * international/characters.el (glyphless-char-display-control):
9598 * eshell/em-ls.el (eshell-ls-date-format):
9599 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9600 (lisp-lambda-list-keyword-parameter-indentation)
9601 (lisp-lambda-list-keyword-parameter-alignment):
9602 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9603 * dired-x.el (dired-omit-verbose):
9604 * cus-theme.el (custom-theme-allow-multiple-selections):
9605 * calc/calc.el (calc-highlight-selections-with-faces)
9606 (calc-lu-field-reference, calc-lu-power-reference)
9607 (calc-note-threshold):
9608 * battery.el (battery-mode-line-limit):
9609 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9610 (archive-7z-update):
9611 * allout.el (allout-prefixed-keybindings)
9612 (allout-unprefixed-keybindings)
9613 (allout-inhibit-auto-fill-on-headline)
9614 (allout-flattened-numbering-abbreviation):
9615 * allout-widgets.el (allout-widgets-auto-activation)
9616 (allout-widgets-icons-dark-subdir)
9617 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9618 (allout-widgets-theme-dark-background)
9619 (allout-widgets-theme-light-background)
9620 (allout-widgets-item-image-properties-emacs)
9621 (allout-widgets-item-image-properties-xemacs)
9622 (allout-widgets-run-unit-tests-on-load)
9623 (allout-widgets-time-decoration-activity)
9624 (allout-widgets-hook-error-post-time)
9625 (allout-widgets-track-decoration):
9626 Add missing :version tags to new defcustoms and defgroups.
9627
9628 * progmodes/sql.el (sql-ansi-statement-starters)
9629 (sql-oracle-statement-starters): Add custom type.
9630
9631 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9632 (prolog-system-version): Give it a type.
9633
9634 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9635
9636 * term/pc-win.el (x-select-text, x-selection-owner-p)
9637 (x-own-selection-internal, x-disown-selection-internal)
9638 (x-get-selection-internal): Sync doc strings and argument lists
9639 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9640
9641 2012-02-11 Leo Liu <sdl.web@gmail.com>
9642
9643 * progmodes/python.el (python-end-of-statement): Fix infinite
9644 loop. (Bug#10788)
9645
9646 2012-02-10 Glenn Morris <rgm@gnu.org>
9647
9648 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9649 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9650
9651 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9652
9653 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9654 about SMTP before checking the From header.
9655
9656 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9657 into own function for reuse by emacsbug.el.
9658
9659 2012-02-10 Leo Liu <sdl.web@gmail.com>
9660
9661 * subr.el (condition-case-unless-debug): Rename from
9662 condition-case-no-debug. All callers changed.
9663 (with-demoted-errors): Fix caller.
9664
9665 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9666 * nxml/rng-valid.el (rng-do-some-validation):
9667 * emacs-lisp/package.el (package-refresh-contents)
9668 (package-menu-execute):
9669 * desktop.el (desktop-create-buffer):
9670 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9671
9672 2012-02-10 Glenn Morris <rgm@gnu.org>
9673
9674 * textmodes/bibtex.el:
9675 Add missing :version tags for new/changed defcustoms.
9676
9677 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9678
9679 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9680
9681 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9682 (smtpmail-via-smtp): Use it, or fall back on the From address.
9683 (smtpmail-send-it): Ditto.
9684
9685 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9688 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9689 (byte-compile-tmp-var): New const.
9690 (byte-compile-defvar): Use it to minimize .elc size.
9691 Just use `defvar' rather than simulate it (bug#10761).
9692
9693 2012-02-09 Glenn Morris <rgm@gnu.org>
9694
9695 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9696
9697 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9698 Add :version tags.
9699
9700 * progmodes/compile.el (compilation-error-screen-columns)
9701 (compilation-first-column, compilation-filter-start): Doc fixes.
9702
9703 * vc/log-view.el (log-view-toggle-entry-display):
9704 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9705
9706 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9707 (report-emacs-bug-can-use-xdg-email):
9708 (report-emacs-bug-insert-to-mailer): Doc fixes.
9709 (report-emacs-bug): Message fix.
9710
9711 * net/browse-url.el (browse-url-can-use-xdg-open)
9712 (browse-url-xdg-open): Doc fixes.
9713
9714 * electric.el (electric-indent-mode, electric-pair-mode)
9715 (electric-layout-rules, electric-layout-mode): Doc fixes.
9716 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9717
9718 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9719
9720 * server.el (server-unselect-display): Don't inadvertently kill
9721 the current buffer. (Bug#10729)
9722
9723 2012-02-08 Glenn Morris <rgm@gnu.org>
9724
9725 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9726 (sql-list-table): Doc fixes.
9727
9728 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9729 Comment out (does nothing).
9730
9731 * completion.el (dynamic-completion-mode):
9732 * dirtrack.el (dirtrack-debug-mode):
9733 * electric.el (electric-layout-mode):
9734 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9735 * face-remap.el (text-scale-mode, buffer-face-mode):
9736 * iimage.el (iimage-mode):
9737 * image-mode.el (image-transform-mode):
9738 * minibuffer.el (completion-in-region-mode):
9739 * scroll-lock.el (scroll-lock-mode):
9740 * simple.el (next-error-follow-minor-mode):
9741 * tar-mode.el (tar-subfile-mode):
9742 * tooltip.el (tooltip-mode):
9743 * vcursor.el (vcursor-use-vcursor-map):
9744 * wid-browse.el (widget-minor-mode):
9745 * emulation/tpu-edt.el (tpu-edt-mode):
9746 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9747 * international/iso-ascii.el (iso-ascii-mode):
9748 * language/thai-util.el (thai-word-mode):
9749 * mail/supercite.el (sc-minor-mode):
9750 * net/goto-addr.el (goto-address-mode):
9751 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9752 * progmodes/cwarn.el (cwarn-mode):
9753 * progmodes/flymake.el (flymake-mode):
9754 * progmodes/glasses.el (glasses-mode):
9755 * progmodes/hideshow.el (hs-minor-mode):
9756 * progmodes/pascal.el (pascal-outline-mode):
9757 * textmodes/enriched.el (enriched-mode):
9758 * vc/smerge-mode.el (smerge-mode):
9759 Doc fixes (minor mode argument).
9760
9761 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9762
9763 * ls-lisp.el (ls-lisp-sanitize): New function.
9764 (ls-lisp-insert-directory): Use it to fix or remove any elements
9765 in file-alist with missing attributes. (Bug#4673)
9766
9767 2012-02-07 Alan Mackenzie <acm@muc.de>
9768
9769 Fix spurious recognition of c-in-knr-argdecl.
9770
9771 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9772 putative K&R region.
9773
9774 2012-02-07 Alan Mackenzie <acm@muc.de>
9775
9776 * progmodes/cc-engine.el (c-forward-objc-directive):
9777 Prevent looping in "#pragma mark @implementation".
9778
9779 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9780
9781 * notifications.el (notifications-on-closed-signal): Make `reason'
9782 optional. (Bug#10744)
9783
9784 2012-02-07 Glenn Morris <rgm@gnu.org>
9785
9786 * emacs-lisp/easy-mmode.el (define-minor-mode):
9787 Doc fixes for the macro and the mode it defines.
9788
9789 * image.el (imagemagick-types-inhibit): Doc fix.
9790
9791 * cus-start.el (imagemagick-render-type): Add it.
9792
9793 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9794
9795 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9796 Set the default at load time, too, so that `font-lock-fontify-buffer'
9797 can be called without setting up the entire mode first. This fixes
9798 a bug in `mm-inline-text' with C MIME parts.
9799
9800 2012-02-06 Chong Yidong <cyd@gnu.org>
9801
9802 * simple.el (list-processes--refresh): Delete exited processes
9803 (Bug#8094).
9804
9805 * comint.el (comint-next-prompt): next-single-char-property-change
9806 and prev-single-char-property-change never return nil (Bug#8657).
9807
9808 * custom.el (defcustom): Doc fix (Bug#9711).
9809
9810 2012-02-05 Chong Yidong <cyd@gnu.org>
9811
9812 * cus-edit.el (custom-variable-reset-backup): Quote the value
9813 before storing it in the customized-value property (Bug#6712).
9814 (custom-display): Add a customization type tag.
9815 (custom-buffer-create-internal): Improve tooltip message.
9816
9817 * wid-edit.el (widget-field-value-get): New optional arg to
9818 suppress trailing whitespace truncation.
9819 (character): Use it (Bug#2689).
9820
9821 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9822
9823 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9824 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9825
9826 2012-02-05 Chong Yidong <cyd@gnu.org>
9827
9828 * cus-edit.el (custom-variable-value-create): For mismatched
9829 types, show the current value (Bug#7600).
9830
9831 * custom.el (defcustom): Doc fix.
9832
9833 2012-02-05 Glenn Morris <rgm@gnu.org>
9834
9835 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9836
9837 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9838
9839 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9840 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9841 (pp-last-sexp): Use `looking-at-p'.
9842
9843 2012-02-04 Glenn Morris <rgm@gnu.org>
9844
9845 * files.el (revert-buffer):
9846 Doc fix (mention revert-buffer-in-progress-p).
9847
9848 * emacs-lisp/ert-x.el (ert-simulate-command):
9849 Check deferred-action-list (which is obsolete) is bound.
9850
9851 * subr.el (with-wrapper-hook): Doc fixes.
9852
9853 * simple.el (filter-buffer-substring-functions)
9854 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9855
9856 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9857
9858 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9859 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9860
9861 2012-02-04 Leo Liu <sdl.web@gmail.com>
9862
9863 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9864
9865 2012-02-04 Glenn Morris <rgm@gnu.org>
9866
9867 * image.el (image-extension-data): Add obsolete alias.
9868
9869 * isearch.el (isearch-update): Doc fix.
9870
9871 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9872
9873 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9874
9875 2012-02-03 Glenn Morris <rgm@gnu.org>
9876
9877 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9878 (image-animate-timeout): Doc fix.
9879
9880 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9881
9882 2012-02-02 Glenn Morris <rgm@gnu.org>
9883
9884 * server.el (server-auth-dir): Doc fix.
9885 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9886
9887 * subr.el (run-mode-hooks): Doc fix.
9888
9889 2012-02-02 Juri Linkov <juri@jurta.org>
9890
9891 * image-mode.el (image-toggle-display-image): Remove tautological
9892 `major-mode' from the `derived-mode-p' test.
9893
9894 2012-02-02 Kenichi Handa <handa@m17n.org>
9895
9896 * composite.el (compose-region): Cancel previous change.
9897
9898 2012-02-02 Kenichi Handa <handa@m17n.org>
9899
9900 * composite.el (compose-region, compose-string): Signal error for
9901 a null string component (Bug#6988).
9902
9903 2012-02-01 Chong Yidong <cyd@gnu.org>
9904
9905 * view.el (view-buffer-other-window, view-buffer-other-frame):
9906 Handle special modes like view-buffer (Bug#10650).
9907 (view-buffer): Simplify.
9908
9909 * frame.el (set-frame-font): Tweak meaning of third argument.
9910
9911 * dynamic-setting.el (font-setting-change-default-font):
9912 Use set-frame-font (Bug#9982).
9913
9914 2012-02-01 Glenn Morris <rgm@gnu.org>
9915
9916 * progmodes/compile.el (compilation-internal-error-properties):
9917 Respect compilation-first-column in the "*compilation*" buffer.
9918
9919 * emacs-lisp/easy-mmode.el (define-minor-mode):
9920 Relax :variable's test for a named function.
9921
9922 2012-01-31 Alan Mackenzie <acm@muc.de>
9923
9924 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9925 off by one error.
9926
9927 2012-01-31 Chong Yidong <cyd@gnu.org>
9928
9929 * frame.el (set-frame-font): New arg ALL-FRAMES.
9930
9931 * menu-bar.el (menu-set-font): Use set-frame-font.
9932
9933 * faces.el (face-spec-reset-face): Don't apply unspecified
9934 attribute values to the default face.
9935
9936 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * progmodes/cwarn.el (cwarn): Remove dead link.
9939 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9940 Remove * from defcustom docstrings.
9941 (turn-on-cwarn-mode): Make obsolete.
9942 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9943 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9944
9945 2012-01-31 Glenn Morris <rgm@gnu.org>
9946
9947 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9948 Fix :variable handling of mode a symbol not equal to modefun.
9949 Allow named functions to be used as the cdr of :variable.
9950
9951 2012-01-30 Glenn Morris <rgm@gnu.org>
9952
9953 * emacs-lisp/authors.el (authors-fixed-entries):
9954 Remove reference to deleted file rnewspost.el.
9955
9956 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9957
9958 * window.el (window-with-parameter): Remove unused variable `windows'.
9959 (window--side-check): Remove unused variable `code'.
9960 (window--resize-siblings): Remove unused variable `first'.
9961 (adjust-window-trailing-edge): Remove unused variable `failed'.
9962 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9963 Use `let', not `let*'.
9964 (balance-windows-2): Remove unused variable `found'.
9965 (window--state-put-2): Remove unused variable `splits'.
9966 (window-state-put): Remove unused variable `selected'.
9967 (same-window-p): Use `string-match-p'.
9968 (display-buffer-assq-regexp): Remove unused variable `value'.
9969 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9970 Mark argument ALIST as ignored.
9971 (pop-to-buffer): Remove unused variable `old-window'.
9972
9973 2012-01-29 Eli Zaretskii <eliz@gnu.org>
9974
9975 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9976 and .lzma compressed files.
9977
9978 2012-01-29 Chong Yidong <cyd@gnu.org>
9979
9980 * frame.el (window-system-default-frame-alist): Doc fix.
9981
9982 * dynamic-setting.el (font-setting-change-default-font): Don't
9983 change the default face if SET-FONT argument is non-nil (Bug#9982).
9984
9985 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
9986
9987 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9988
9989 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
9990
9991 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9992 breakpoints in files outside current directory (Bug#6098).
9993
9994 2012-01-29 Chong Yidong <cyd@gnu.org>
9995
9996 * progmodes/python.el: Require ansi-color at top-level.
9997
9998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9999 Define and use in Emacs Lisp mode (Bug#9360).
10000 (lisp-mode-abbrev-table): Add doc.
10001 (lisp-mode-variables): Don't set local-abbrev-table.
10002 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10003
10004 2012-01-28 Roland Winkler <winkler@gnu.org>
10005
10006 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10007
10008 2012-01-28 Roland Winkler <winkler@gnu.org>
10009
10010 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10011 (bibtex-set-dialect): Use it. Either set global values of
10012 dialect-dependent variables or bind these variables buffer-locally
10013 (Bug#10254).
10014 (bibtex-mode): Call bibtex-set-dialect via
10015 hack-local-variables-hook.
10016 (bibtex-dialect): Update docstring.
10017 Add safe-local-variable predicate.
10018 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10019 bibtex-set-dialect.
10020 (bibtex-mode-map): Define menu for each dialect.
10021 (bibtex-entry): Fix docstring.
10022
10023 2012-01-28 Chong Yidong <cyd@gnu.org>
10024
10025 * eshell/esh-arg.el (eshell-quote-argument): New function.
10026
10027 * eshell/esh-ext.el (eshell-invoke-batch-file):
10028 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10029 first arg to eshell-parse-command (Bug#10523).
10030
10031 2012-01-28 Drew Adams <drew.adams@oracle.com>
10032
10033 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10034 `default-directory' is non-nil.
10035
10036 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10037
10038 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10039 line that displays system-configuration-options. (Bug#9924)
10040
10041 2012-01-28 Drew Adams <drew.adams@oracle.com>
10042
10043 * descr-text.el (describe-char): Show information about POS, in
10044 addition to information about the character at POS. Improve and
10045 update the doc string. Change "code point" to "code point in
10046 charset", to avoid confusion with the character's Unicode code
10047 point shown above that. (Bug#10129)
10048
10049 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10050
10051 * descr-text.el (describe-char): Show the raw character, not only
10052 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10053 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10054 for the reasons.
10055
10056 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10057
10058 * emacs-lisp/package.el (package-install):
10059 Run package-refresh-contents if there is no archive yet (Bug#9798).
10060
10061 2012-01-28 Chong Yidong <cyd@gnu.org>
10062
10063 * emacs-lisp/package.el (package-maybe-load-descriptor):
10064 New function, split from package-maybe-load-descriptor.
10065 (package-maybe-load-descriptor): Use it.
10066 (package-download-transaction): Fully load required packages
10067 inside the loop, so that `require' calls work (Bug#10593).
10068 (package-install): No need to call package-initialize now.
10069
10070 2012-01-28 Chong Yidong <cyd@gnu.org>
10071
10072 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10073
10074 * tooltip.el (tooltip-mode): Doc fix.
10075 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10076
10077 * frame.el (set-cursor-color): Doc fix (Bug#352).
10078
10079 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10080 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10081
10082 * cus-edit.el (custom-buffer-create-internal): Fix search button
10083 action (Bug#10542).
10084 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10085
10086 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10087
10088 * dired.el (dired-mark-files-regexp):
10089 Include any subdirectory components. (Bug#10445)
10090
10091 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10092
10093 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10094 Handle [host]:port syntax. (Bug#10533)
10095
10096 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10097
10098 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10099
10100 2012-01-26 Glenn Morris <rgm@gnu.org>
10101
10102 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10103 * term.el (term-raw-escape-map): Use Control-X-prefix.
10104 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10105
10106 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10107
10108 * window.el (window-state-get, window--state-get-1): Don't deal
10109 with fixed-sizeness of windows. Simplify code.
10110
10111 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10112
10113 * window.el (window--state-get-1, window--state-put-2):
10114 Don't save and restore the mark.
10115
10116 2012-01-25 Chong Yidong <cyd@gnu.org>
10117
10118 * custom.el (custom-variable-p): Doc fix.
10119
10120 2012-01-25 Glenn Morris <rgm@gnu.org>
10121
10122 * dired.el (dired-goto-file): Handle some of the more common
10123 characters that `ls -b' escapes. (Bug#10596)
10124
10125 * progmodes/compile.el (compilation-next-error-function):
10126 Respect compilation-first-column in the "*compilation*" buffer.
10127 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10128
10129 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10130
10131 2012-01-24 Glenn Morris <rgm@gnu.org>
10132
10133 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10134
10135 2012-01-24 Julien Danjou <julien@danjou.info>
10136
10137 * color.el (color-rgb-to-hsl): Fix value computing.
10138 (color-hue-to-rgb): New function.
10139 (color-hsl-to-rgb): New function.
10140 (color-clamp, color-saturate-hsl, color-saturate-name)
10141 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10142 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10143
10144 2012-01-24 Glenn Morris <rgm@gnu.org>
10145
10146 * vc/vc-rcs.el (vc-rcs-create-tag):
10147 * vc/vc-sccs.el (vc-sccs-create-tag):
10148 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10149
10150 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10151
10152 * eshell/esh-util.el (eshell-read-hosts-file):
10153 Skip comment lines. (Bug#10549)
10154
10155 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10156
10157 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10158
10159 * subr.el (display-delayed-warnings): Doc fix.
10160 (collapse-delayed-warnings): New function to collapse identical
10161 adjacent warnings.
10162 (delayed-warnings-hook): Add it.
10163
10164 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10165
10166 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10167
10168 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10169 (tramp-default-user-alist): Don't add "pscp".
10170 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10171 property "login-as", if set. (Bug#10530)
10172
10173 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10174
10175 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10176 "plink1" and "psftp". (Bug#10530)
10177
10178 2012-01-21 Kenichi Handa <handa@m17n.org>
10179
10180 * international/mule-cmds.el (prefer-coding-system): Show a
10181 warning message if the default value of file-name-coding-system
10182 was not changed.
10183
10184 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10185
10186 * windmove.el (windmove-reference-loc):
10187 Fix windmove-reference-loc miscalculation.
10188
10189 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10190
10191 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10192 default unit.
10193
10194 2012-01-21 Glenn Morris <rgm@gnu.org>
10195
10196 * international/mule.el (auto-coding-alist): Add .tbz.
10197
10198 * files.el (local-enable-local-variables): Doc fix.
10199 (inhibit-local-variables-regexps): Rename from
10200 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10201 Doc fix. Add some extensions from auto-coding-alist.
10202 (inhibit-local-variables-suffixes):
10203 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10204 (inhibit-local-variables-p):
10205 New function, extracted from set-auto-mode-1.
10206 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10207 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10208 (hack-local-variables): Doc fix. Make the mode-only case
10209 respect enable-local-variables and friends.
10210 Respect inhibit-local-variables-regexps for file-locals, but
10211 not for directory-locals.
10212 (set-visited-file-name):
10213 Take account of inhibit-local-variables-regexps.
10214 Whether it applies may change as the file name is changed.
10215 * jka-cmpr-hook.el (jka-compr-install):
10216 * jka-compr.el (jka-compr-uninstall):
10217 Update for inhibit-first-line-modes-suffixes name change.
10218
10219 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10220
10221 * help-macro.el (make-help-screen): Temporarily restore original
10222 binding for minor-mode-map-alist (Bug#10454).
10223
10224 2012-01-19 Julien Danjou <julien@danjou.info>
10225
10226 * color.el (color-name-to-rgb): Use the white color to find the max
10227 color component value and return correctly computed values.
10228 (color-name-to-rgb): Add missing float conversion for max value.
10229
10230 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10231
10232 * window.el (window--state-get-1, window-state-get): Do not use
10233 special state value for window-persistent-parameters.
10234 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10235 (window--state-put-2): Reset all window parameters to nil before
10236 assigning values of persistent parameters.
10237
10238 2012-01-18 Alan Mackenzie <acm@muc.de>
10239
10240 Eliminate sluggishness and hangs in fontification of "semicolon
10241 deserts".
10242
10243 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10244 Change value 10000 -> 3000.
10245 (c-state-safe-place): Reformulate so it doesn't stack up an
10246 infinite number of wrong entries in c-state-nonlit-pos-cache.
10247 (c-determine-limit-get-base, c-determine-limit): New functions to
10248 determine backward search limits disregarding literals.
10249 (c-find-decl-spots): Amend commenting.
10250 (c-cheap-inside-bracelist-p): New function which detects "={".
10251
10252 * progmodes/cc-fonts.el
10253 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10254 backward search.
10255 (c-font-lock-declarations): Fix an occurrence of point being
10256 undefined. Check additionally for point being in a bracelist or
10257 near a macro invocation without a semicolon so as to avoid a
10258 fruitless time consuming search for a declarator. Give a more
10259 precise search limit for declarators using the new
10260 c-determine-limit.
10261
10262 2012-01-18 Glenn Morris <rgm@gnu.org>
10263
10264 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10265 (set-auto-mode): Doc fixes.
10266
10267 2012-01-17 Glenn Morris <rgm@gnu.org>
10268
10269 * isearch.el (search-nonincremental-instead): Fix doc typo.
10270
10271 * dired.el (dired-insert-directory): Handle newlines in directory name.
10272 (dired-build-subdir-alist): Unescape newlines in directory name.
10273
10274 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10275
10276 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10277 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10278 (tramp-action-terminal): Use it. (Bug#10530)
10279
10280 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10281
10282 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10283
10284 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10285
10286 * window.el (window-state-ignored-parameters): Remove variable.
10287 (window--state-get-1): Rename argument MARKERS to IGNORE.
10288 Handle persistent window parameters. Make copy of clone-of
10289 parameter only if requested. (Bug#10348)
10290 (window--state-put-2): Install a window parameter only if it has
10291 a non-nil value or an existing parameter shall be overwritten.
10292
10293 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10296
10297 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10298
10299 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10300 don't pass the (nil) value of `upnode' to string-match.
10301
10302 2012-01-14 Chong Yidong <cyd@gnu.org>
10303
10304 * startup.el (command-line): Fix X resource class for cursorColor.
10305 Fix values recognized by the cursorBlink resource.
10306
10307 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10308
10309 * epg.el (epg--make-temp-file): Avoid permission race condition
10310 when running on old Emacs versions (bug#10403).
10311
10312 2012-01-14 Glenn Morris <rgm@gnu.org>
10313
10314 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10315
10316 2012-01-13 Alan Mackenzie <acm@muc.de>
10317
10318 Fix filling for when filladapt mode is enabled.
10319
10320 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10321 c-mask-paragraph, pass in `fill-paragraph' rather than
10322 `fill-region-as-paragraph'. (This is a reversion of a previous
10323 change.)
10324 * progmodes/cc-mode.el (c-basic-common-init):
10325 Make fill-paragraph-handle-comment buffer local and set it to nil.
10326
10327 2012-01-13 Glenn Morris <rgm@gnu.org>
10328
10329 * dired.el (dired-switches-escape-p): New function.
10330 (dired-insert-directory): Use dired-switches-escape-p.
10331 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10332
10333 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10334
10335 2012-01-12 Glenn Morris <rgm@gnu.org>
10336
10337 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10338 changes in adaptive-fill-regexp. (Bug#10276)
10339
10340 2012-01-11 Alan Mackenzie <acm@muc.de>
10341
10342 Fix Emacs bug #10463 - put `widen's around the critical spots.
10343
10344 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10345 widen around each invocation of c-state-pp-to-literal. Remove an
10346 unused let variable.
10347
10348 2012-01-11 Glenn Morris <rgm@gnu.org>
10349
10350 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10351 Doc fix.
10352
10353 2012-01-10 Chong Yidong <cyd@gnu.org>
10354
10355 * net/network-stream.el (network-stream-open-starttls):
10356 Avoid emitting a confusing error message when the server gives a bad
10357 response to the capability command.
10358
10359 2012-01-10 Glenn Morris <rgm@gnu.org>
10360
10361 * mail/unrmail.el (unrmail): Tweak previous change.
10362
10363 2012-01-09 Chong Yidong <cyd@gnu.org>
10364
10365 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10366
10367 2012-01-08 Alan Mackenzie <acm@muc.de>
10368
10369 Optimise font locking in long enum definitions.
10370
10371 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10372 arm to a cond form to handle enums.
10373 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10374 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10375
10376 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10377
10378 * files.el (move-file-to-trash): Preserve default file modes on error.
10379 (Bug#10401)
10380
10381 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382
10383 * faces.el (set-face-attribute): Clarify the meaning of the nil
10384 frame (bug#10294).
10385
10386 * subr.el (with-selected-frame): Mention that the selected frame
10387 is restored (bug#9980).
10388
10389 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10390 (bug#9759).
10391
10392 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10393 (password-read): Don't autoload unused function.
10394
10395 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10396
10397 * progmodes/which-func.el (which-func-mode): Turn into a
10398 non-interactive function and mark as obsolete (bug#10428).
10399
10400 2012-01-06 Chong Yidong <cyd@gnu.org>
10401
10402 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10403 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10404 functions, along with 1 and -1.
10405
10406 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10407
10408 * time.el (display-time-load-average)
10409 (display-time-default-load-average): Doc fixes. See the thread
10410 starting at
10411 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10412 for the details.
10413
10414 2012-01-06 Glenn Morris <rgm@gnu.org>
10415
10416 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10417 has no messages. (Bug#10377)
10418
10419 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10420 than Info-edit. (Bug#10385)
10421
10422 * time.el (display-time-load-average, display-time-next-load-average):
10423 Doc fixes.
10424
10425 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10426 local setting of buffer-read-only to the input buffer. (Bug#10419)
10427
10428 * calendar/calendar.el (calendar-mode):
10429 Locally set scroll-margin to 0. (Bug#10379)
10430
10431 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10432
10433 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10434
10435 2012-01-05 Glenn Morris <rgm@gnu.org>
10436
10437 * eshell/em-unix.el (diff-no-select): Autoload it.
10438 (eshell/diff): Use diff-no-select. (Bug#10420)
10439
10440 2012-01-05 Chong Yidong <cyd@gnu.org>
10441
10442 * shell.el (shell-dynamic-complete-functions): Revert last change.
10443 (shell-command-completion-function): New function.
10444 (shell-completion-vars): Use it to implement
10445 shell-completion-execonly (Bug#10417).
10446
10447 * custom.el (enable-theme): Don't set custom-safe-themes.
10448
10449 * cus-theme.el (custom-theme-merge-theme):
10450 Ignore custom-enabled-themes and custom-safe-themes.
10451
10452 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10453
10454 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10455 first prompt in `sql-interacive-mode'.
10456 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10457 keywords.
10458 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10459 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10460 context of original buffer. Invoke `sql-login-hook'.
10461
10462 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10463
10464 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10465 letters in cite-prefix.
10466
10467 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10468
10469 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10470
10471 2012-01-03 Chong Yidong <cyd@gnu.org>
10472
10473 * shell.el (shell-dynamic-complete-functions):
10474 Put pcomplete-completions-at-point, so as to try
10475 comint-filename-completion first (Bug#10417).
10476
10477 2012-01-02 Richard Stallman <rms@gnu.org>
10478
10479 * battery.el (battery-status-function):
10480 Detect when to use battery-yeeloong-sysfs.
10481 (battery-echo-area-format): Add string for Yeeloong.
10482 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10483 (battery-yeeloong-sysfs): New function.
10484
10485 2012-01-02 Chong Yidong <cyd@gnu.org>
10486
10487 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10488 (dirtrack): Merge code for handling relative filenames in prompt
10489 from shell-dir-cookie-watcher.
10490 (dirtrack-debug-message): New arg to avoid excess format calls.
10491
10492 * shell.el (shell-dir-cookie-re): Variable deleted.
10493 (shell-dir-cookie-watcher): Function deleted.
10494 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10495 with dirtrack-mode.
10496
10497 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10498
10499 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10500 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10501 libgnutls-26.dll.
10502
10503 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10504
10505 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10506
10507 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10508
10509 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10510 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10511
10512 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10513
10514 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10515 also for alternative shells.
10516 (tramp-open-connection-setup-interactive-shell): Check, whether
10517 the shell is a busybox.
10518 (tramp-send-command): Don't suppress multiple prompts for
10519 busyboxes, it hurts.
10520
10521 2011-12-28 Chong Yidong <cyd@gnu.org>
10522
10523 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10524 (gdb-get-source-file): Move mode line update to
10525 gdb-get-source-file (Bug#10087).
10526
10527 2011-12-25 Chong Yidong <cyd@gnu.org>
10528
10529 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10530 gud-gdb-marker-filter without taking it as an argument.
10531 (gud-gdb-run-command-fetch-lines): Caller changed.
10532 (gud-gdb-completion-function): New variable.
10533 (gud-gdb-completion-at-point): Use it.
10534 (gud-gdb-completions-1): Split from gud-gdb-completions.
10535
10536 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10537 function as separate arguments.
10538 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10539 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10540 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10541 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10542 (gdb-stopped, def-gdb-auto-update-trigger)
10543 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10544 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10545 Callers changed.
10546 (gud-gdbmi-completions): New function.
10547 (gdb): Use it for generating the completion table.
10548
10549 2011-12-24 Alan Mackenzie <acm@muc.de>
10550
10551 Introduce a mechanism to widen the region used in context font
10552 locking. Use this to protect declarations from losing their contexts.
10553
10554 * progmodes/cc-langs.el (c-before-font-lock-functions):
10555 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10556 (c-before-context-fontification-functions): New defvar, a list of
10557 functions to be run just before context (etc.) font locking.
10558
10559 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10560 New, functionality extracted from
10561 c-neutralize-syntax-in-and-mark-CPP.
10562 (c-in-after-change-fontification): New variable.
10563 (c-after-change): Set c-in-after-change-fontification.
10564 (c-set-fl-decl-start): Rejig its interface, so it can be called
10565 from both after-change and context fontifying.
10566 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10567 New functions.
10568 (c-standard-font-lock-fontify-region-function): New variable.
10569 (c-font-lock-fontify-region): New function.
10570
10571 2011-12-24 Juri Linkov <juri@jurta.org>
10572
10573 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10574 (Bug#10348)
10575
10576 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10577
10578 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10579 existence of source file. (Bug#10325)
10580
10581 2011-12-23 Alan Mackenzie <acm@muc.de>
10582
10583 Fix unstable fontification inside templates.
10584
10585 * progmodes/cc-langs.el (c-before-font-lock-functions):
10586 Newly created from the singular version. The (c c++ objc) entry now
10587 additionally has c-set-fl-decl-start. The other languages (apart
10588 from AWK) have that as a single entry.
10589
10590 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10591 The functionality for "local" declarations has been extracted to
10592 c-set-fl-decl-start.
10593
10594 * progmodes/cc-mode.el (c-common-init, c-after-change):
10595 Changes due to pluralisation of c-before-font-lock-functions.
10596 (c-set-fl-decl-start): New function, extracted from
10597 c-font-lock-enclosing-decls and enhanced.
10598
10599 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10600
10601 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10602
10603 2011-12-22 Juri Linkov <juri@jurta.org>
10604
10605 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10606
10607 2011-12-22 Chong Yidong <cyd@gnu.org>
10608
10609 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10610
10611 2011-12-21 Drew Adams <drew.adams@oracle.com>
10612
10613 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10614
10615 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10616
10617 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10618
10619 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10620
10621 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10622 highlighting and support. Fix up comments for capitalization.
10623 (cfengine-mode-debug): New var.
10624 (cfengine3-mode): Change the modeline indicator to "CFE3".
10625 (cfengine3-font-lock-keywords): Improve defun highlighting.
10626 (cfengine2-actions): Rename from `cfengine-actions'.
10627 (cfengine2-font-lock-keywords): Rename from
10628 `cfengine-font-lock-keywords'.
10629 (cfengine2-imenu-expression): Rename from
10630 `cfengine-imenu-expression'.
10631 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10632 (cfengine2-beginning-of-defun): Rename from
10633 `cfengine-beginning-of-defun'.
10634 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10635 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10636 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10637 modeline indicator to "CFE2".
10638 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10639 (cfengine-mode-abbrevs): Mark obsolete.
10640
10641 2011-12-21 Chong Yidong <cyd@gnu.org>
10642
10643 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10644 filename argument.
10645
10646 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10647
10648 * window.el (window-normalize-buffer-to-display): Remove.
10649 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10650
10651 2011-12-19 Chong Yidong <cyd@gnu.org>
10652
10653 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10654 Don't signal an error in a predicate function; return non-nil.
10655 (vc-dir-mark-file): Move the error here.
10656 (vc-dir-mark-unmark): If acting on the region, keep going if one
10657 of the entries cannot be marked/unmarked.
10658 (vc-dir-mark-all-files): If current entry is a directory, mark
10659 only child files, as documented.
10660
10661 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10662
10663 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10664 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10665 addition.
10666
10667 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10668
10669 * term/ns-win.el (ns-get-selection-internal)
10670 (ns-store-selection-internal): Declare.
10671 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10672 Declare as obsolete.
10673 (ns-get-pasteboard, ns-paste-secondary):
10674 Use ns-get-selection-internal.
10675 (ns-set-pasteboard, ns-copy-including-secondary):
10676 Use ns-store-selection-internal.
10677
10678 2011-12-17 Chong Yidong <cyd@gnu.org>
10679
10680 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10681 (vc-deduce-fileset): Doc fix.
10682
10683 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10684
10685 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10686
10687 2011-12-13 Sam Steingold <sds@gnu.org>
10688
10689 * man.el (Man-getpage-in-background): When running under a
10690 window-system, ignore $MANWIDTH and $COLUMNS.
10691
10692 2011-12-15 Kenichi Handa <handa@m17n.org>
10693
10694 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10695 (setup-ethiopic-environment-internal): Comment out key-binding for
10696 ethio-toggle-punctuation.
10697
10698 2011-12-13 Alan Mackenzie <acm@muc.de>
10699
10700 Add the switch statement to AWK Mode.
10701
10702 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10703 "default" to the keywords regexp.
10704
10705 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10706 expression as the rest.
10707 (c-nonlabel-token-key): Allow string literals for AWK.
10708 Refactor for the other modes.
10709
10710 Large brace-block initialisation makes CC Mode slow: Fix.
10711 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10712 routines. Limit backward searching in c-font-lock-enclosing.decl.
10713
10714 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10715 pp-state and literal type in addition to the limits.
10716 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10717 (c-state-literal-at): Use the above new defun.
10718 (c-slow-in-literal, c-fast-in-literal): Remove.
10719 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10720
10721 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10722 being in a literal. Add a limit for backward searching.
10723
10724 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10725 c-slow-in-literal.
10726
10727 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10730
10731 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10732
10733 * window.el (delete-other-windows): Use correct frame in call to
10734 window-with-parameter.
10735
10736 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10737
10738 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10739 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10740 (makefile-gmake-statements, makefile-makepp-statements):
10741 Use it and add new makepp keywords.
10742 (makefile-makepp-font-lock-keywords): Add new patterns.
10743 (makefile-match-function-end): Match new [...] and [[...]].
10744
10745 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10746
10747 * ses.el (ses-call-printer-return, ses-cell-property-get)
10748 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10749 (ses-create-cell-variable, ses-reset-header-string)
10750 (ses-cell-set-formula, ses-repair-cell-reference-all)
10751 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10752 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10753 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10754 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10755 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10756 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10757 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10758 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10759 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10760 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10761 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10762 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10763
10764 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10765
10766 * ses.el: The overall change is to add cell renaming, that is
10767 setting fancy names for cell symbols other than name matching
10768 "\\`[A-Z]+[0-9]+\\'" regexp .
10769 (ses-create-cell-variable): New defun.
10770 (ses-relocate-formula): Relocate formulas only for cells the
10771 symbols of which are not renamed, i.e. symbols whose names do not
10772 match regexp "\\`[A-Z]+[0-9]+\\'".
10773 (ses-relocate-all): Relocate values only for cells the symbols of
10774 which are not renamed.
10775 (ses-load): Create cells variables as the (ses-cell ...) are read,
10776 in order to check row col consistency with cell symbol name only
10777 for cells that are not renamed.
10778 (ses-replace-name-in-formula): New defun.
10779 (ses-rename-cell): New defun.
10780
10781 2011-12-11 Chong Yidong <cyd@gnu.org>
10782
10783 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10784 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10785
10786 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10787
10788 * window.el (other-window): Fix docstring.
10789
10790 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10791
10792 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10793 `from' or `to' address before taking its substring.
10794 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10795 encoded name is chopped in the middle of the encoded string, and
10796 thus displayed encoded.
10797
10798 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10799
10800 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10801
10802 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10803
10804 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10805 to use texinfo-update-node and commands that call it if the
10806 Texinfo file uses @node lines without next/prev/up pointers.
10807 Correct outdated description about texinfo-master-menu.
10808 (texinfo-all-menus-update, texinfo-master-menu)
10809 (texinfo-update-node, texinfo-every-node-update)
10810 (texinfo-multiple-files-update): Doc fix. Warn against updating
10811 all the @node lines.
10812 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10813 argument is numeric. Explain better in the doc string what the
10814 function really does.
10815 (texinfo-insert-master-menu-list): Improve the error message
10816 displayed if there's no menu in the Top node.
10817 (Bug#2975) See also this thread:
10818 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10819
10820 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10821
10822 * speedbar.el (speedbar-supported-extension-expressions):
10823 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10824
10825 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10826
10827 * printing.el (pr-mode-alist):
10828 * simple.el (filter-buffer-substring-functions)
10829 (completion-list-insert-choice-function):
10830 * window.el (window-with-parameter, window-atom-root)
10831 (window-sides-slots, window-size-fixed, window-min-delta)
10832 (window-max-delta, window--resize-mini-window)
10833 (window--resize-child-windows-normal, window-tree)
10834 (delete-other-windows, quit-window, split-window)
10835 (display-buffer-record-window, special-display-buffer-names)
10836 (special-display-regexps, special-display-popup-frame)
10837 (same-window-p, split-window-sensibly)
10838 (display-buffer-overriding-action, display-buffer-alist)
10839 (display-buffer-base-action, display-buffer, switch-to-buffer)
10840 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10841 (fit-window-to-buffer, recenter-positions)
10842 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10843 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10844 and remove unneeded backslashes in docstrings.
10845
10846 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10847
10848 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10849
10850 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10851 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10852 end in ".mk".
10853 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10854 when reading the makefile (bug#10116).
10855
10856 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10859 (bug#10116).
10860
10861 2011-12-06 Glenn Morris <rgm@gnu.org>
10862
10863 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10864
10865 2011-12-06 Chong Yidong <cyd@gnu.org>
10866
10867 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10868
10869 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10870
10871 * textmodes/table.el (table-shorten-cell): Fix typo.
10872
10873 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10874
10875 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10876
10877 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10878
10879 * descr-text.el (describe-char): Fix display of strong
10880 right-to-left characters and directional embeddings and overrides.
10881
10882 * simple.el (what-cursor-position): Fix display of codepoints of
10883 strong right-to-left characters.
10884
10885 2011-12-05 Chong Yidong <cyd@gnu.org>
10886
10887 * faces.el (read-color): Doc fix.
10888
10889 2011-12-05 Glenn Morris <rgm@gnu.org>
10890
10891 * align.el (align--set-marker): Add doc-string.
10892 Don't try to move something that is not a marker. (Bug#10216)
10893
10894 2011-12-04 Glenn Morris <rgm@gnu.org>
10895
10896 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10897 overly zealous deletion of trailing whitespace.
10898
10899 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10900
10901 * server.el (server-delete-client): On Windows, do not try to delete
10902 the only terminal.
10903 (server-process-filter): On Windows, treat requests for a tty frame as
10904 if they were for a GUI frame if the running server is in GUI mode.
10905
10906 2011-12-03 Glenn Morris <rgm@gnu.org>
10907
10908 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10909
10910 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * electric.el: Streamline electric-indent's hook.
10913 (electric-indent-chars): Revert to simple list.
10914 (electric-indent-functions): New var.
10915 (electric-indent-post-self-insert-function): Use it.
10916
10917 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10918 there's no inferior buffer (bug#10196).
10919 (prolog-consult-compile): Don't use toggle-read-only.
10920
10921 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10922
10923 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10924 interrupt. (Bug#10187)
10925
10926 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10929 (bug#9160).
10930
10931 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10932 (bug#10191).
10933
10934 2011-12-02 Juri Linkov <juri@jurta.org>
10935
10936 * info.el (Info-search): Display "end of manual" when Isearch
10937 reaches the end of single-file Info manual. (Bug#9918)
10938
10939 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10940
10941 * isearch.el (isearch-message-prefix): Run the input method part
10942 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10943
10944 2011-12-02 Juri Linkov <juri@jurta.org>
10945
10946 * isearch.el (isearch-occur): Use `word-search-regexp' for
10947 `isearch-word'.
10948 (isearch-search-and-update): Add condition for `isearch-word' and
10949 call `word-search-regexp'. (Bug#10145)
10950
10951 2011-12-01 Glenn Morris <rgm@gnu.org>
10952
10953 * eshell/em-hist.el (eshell-hist-initialize):
10954 Handle eshell-history-size nil and HISTSIZE set or unset.
10955 (eshell-history-file-name, eshell-history-size): Fix custom type.
10956
10957 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10958
10959 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10960
10961 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
10962
10963 * progmodes/verilog-mode.el (verilog-pretty-expr):
10964 Rework verilog-pretty-expr to handle new assignment operators in system
10965 verilog, such as += *= and the like.
10966 (verilog-assignment-operator-re): Regular expression to find the
10967 assigment operator in a verilog assignment.
10968 (verilog-assignment-operation-re): Regular expression to find an
10969 assignment statement for pretty-expr.
10970 (verilog-in-attribute-p): Query returns true if point is in an
10971 attribute context; used to skip these for expression line up from
10972 pretty-expr.
10973 (verilog-in-parameter-p): Query returns true if point is in an
10974 parameter definition context; used to skip these for expression
10975 line up from pretty-expr.
10976 (verilog-in-parenthesis-p): Query returns true if point is in a
10977 parenthetical expression, specifically ( ) but not [ ] or { };
10978 used by pretty-expr.
10979 (verilog-just-one-space): If there is no space, don't add one.
10980 (verilog-get-lineup-indent-2): Specifically skip just attribute
10981 contexts for expression lineup, rather than skipping all
10982 parenthetical expressions.
10983 (verilog-calculate-indent): Fix comment, and fix indent.
10984 (verilog-do-indent): Indent declarations in lists (suggested by
10985 Joachim Lechner).
10986 (verilog-mode-abbrev-table): Populate abbrev mode with the various
10987 skeleton items.
10988 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10989 by Alain Mellan).
10990
10991 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
10992
10993 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10994 parameters with embedded comments. Reported by Ray Stevens.
10995 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10996 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10997 Reported by Tim Holt.
10998 (verilog-auto): Fix AUTOing a upper module then AUTOing module
10999 instantiated by upper module causing wrong expansion until AUTOed a
11000 second time. Reported by K C Buckenmaier.
11001 (verilog-diff-auto): Fix showing .* as a difference when
11002 `verilog-auto-star-save' off. Reported by Dan Dever.
11003 (verilog-auto-reset, verilog-read-always-signals)
11004 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11005 temporary signals in reset list if
11006 verilog-auto-reset-blocking-in-non is nil, and match assignment
11007 style to each signal's assignment type, bug381.
11008 Reported by Thomas Esposito.
11009 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11010 (verilog-uvm-statement-re): Support UVM indentation and
11011 highlighting, with old OVM keywords only.
11012 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11013 Support AUTOTIEOFF creating non-wire data types.
11014 Suggested by Jonathan Greenlaw.
11015 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11016 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11017 (verilog-inject-sense, verilog-read-inst-pins)
11018 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11019 Fix mismatching parenthesis inside commented out code when deleting
11020 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11021 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11022 non-numeric vector width. Reported by Alex Reed.
11023 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11024 detecting signals with parameter widths. Reported by Alex Reed.
11025 (verilog-auto-delete-trailing-whitespace):
11026 With `verilog-auto-delete-trailing-whitespace' remove trailing
11027 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11028 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11029 Fix verilog-scan-cache corruption when running user AUTO expansion
11030 hooks that call indentation routines.
11031 (verilog-simplify-range-expression): Fix typo ignoring lower case
11032 identifiers.
11033 (verilog-delete-auto): Fix delete-autos to also remove user created
11034 automatics, as long as they start with AUTO.
11035 (verilog-batch-diff-auto, verilog-diff-auto)
11036 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11037 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11038 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11039 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11040 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11041 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11042 is disabled and its cache will get corrupt, causing AUTOS not to
11043 expand. Instead use only -quick functions.
11044 (verilog-scan-region): Fix scanning over escaped quotes.
11045 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11046 (verilog-re-search-backward-quick)
11047 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11048 related functions now ignore strings, to fix misparsing of strings
11049 with magic comments embedded in them.
11050 (verilog-read-auto-template):
11051 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11052 Reported by Brad Dobbie.
11053 (verilog-read-auto-template):
11054 Fix 'verilog-auto-inst-template-numbers' with comments.
11055 Reported by Brad Dobbie.
11056 (verilog-auto-inst, verilog-auto-inst-param)
11057 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11058 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11059 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11060 debugging templates without merge conflicts, bug357.
11061 Reported by Brad Dobbie.
11062 (verilog-read-auto-template):
11063 Fix verilog-auto-inst-template-numbers with multiple templates.
11064 Reported by Brad Dobbie.
11065 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11066 abbrevs so user won't be asked to save.
11067 (verilog-read-auto-lisp-present): Fix to start at beginning of
11068 buffer in case called outside of verilog-auto.
11069 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11070 to "X-2". Reported by Matthew Myers.
11071 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11072 all inputs from module templates. Reported by Leith Johnson.
11073 (verilog-module-inside-filename-p): Fix locating programs as with
11074 modules.
11075 (verilog-auto-inst-port): Fix vl-width expressions when using
11076 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11077 (verilog-decls-get-regs, verilog-decls-get-signals,
11078 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11079 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11080 verilog-read-decls): Combine reg and wire structures into one var
11081 structure to represent SystemVerilog concepts.
11082 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11083 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11084 (verilog-auto-wire-type, verilog-insert-definition):
11085 Add verilog-auto-wire-type and AUTOLOGIC to support using
11086 SystemVerilog "logic" keyword instead of "wire"/"reg".
11087 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11088 to declares outputs that also have assignments (presumably in an
11089 ifdef or generate if so there's not a driver conflict).
11090 Reported by Matthew Myers.
11091 (verilog-auto-declare-nettype, verilog-insert-definition):
11092 Add verilog-auto-declare-nettype to fix declarations using
11093 `default_nettype none. Reported by Julian Gorfajn.
11094 (verilog-read-always-signals-recurse, verilog-read-decls)
11095 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11096 malformed end statement, bug325. Reported by Joshua Wise and
11097 Andrew Drake.
11098 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11099 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11100 when expanding .* in interfaces, bug320.
11101 Reported by Pierre-David Pfister.
11102 (verilog-read-module-name): Fix import statements between module
11103 name and open parenthesis, bug317.
11104 Reported by Pierre-David Pfister.
11105 (verilog-simplify-range-expression): Fix simplification of
11106 multiplications inside AUTOWIRE connections, bug303.
11107 (verilog-auto-inst-port): Support parameter expansion in
11108 multidimensional arrays.
11109 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11110 after "assert property". Reported by Julian Gorfajn.
11111 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11112 with multiplication, bug303.
11113 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11114 Reported by Jan Frode Lonnum.
11115
11116 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11117
11118 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11119 (hfy-shell-file-name, hfy-shell):
11120 * international/fontset.el (x-decompose-font-name): Fix typos.
11121
11122 2011-11-29 Ken Brown <kbrown@cornell.edu>
11123
11124 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11125 (gdb-version): Remove defvar.
11126 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11127 (gdb-gud-context-command, gdb-non-stop-handler)
11128 (gdb-current-context-command, gdb-stopped): Use it.
11129 (gdb-init-1): Enable pretty printing here.
11130 (gdb-non-stop-handler): Don't enable pretty-printing here.
11131 Check to see if the target supports non-stop mode; if not, turn off
11132 non-stop mode. Use the following.
11133 (gdb-check-target-async): New defun.
11134 (gud-watch, gdb-stopped): Fix whitespace.
11135 (gdb-get-source-file): Don't try to display the source file if
11136 `gdb-main-file' is nil.
11137
11138 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * align.el: Try to generate fewer markers (bug#10047).
11141 (align--set-marker): New macro.
11142 (align-region): Use it.
11143
11144 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11147
11148 2011-11-29 Chong Yidong <cyd@gnu.org>
11149
11150 * indent.el (indent-for-tab-command, indent-according-to-mode):
11151 Doc fix.
11152 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11153
11154 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11155
11156 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11157 aware of remote file names. (Bug#10124)
11158
11159 2011-11-29 Chong Yidong <cyd@gnu.org>
11160
11161 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11162
11163 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * files.el (find-file): Don't use force-same-window (bug#10144).
11166 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11167 use pop-to-buffer if the selected window can't be used.
11168 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11169
11170 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11171
11172 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11173 special-mode-map.
11174
11175 2011-11-28 Chong Yidong <cyd@gnu.org>
11176
11177 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11178
11179 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11180
11181 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11182 gdb-get-source-file-list on gdb-create-source-file-list.
11183
11184 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11185
11186 * whitespace.el (whitespace-newline): Use a different foreground
11187 color for 16-color light-background displays.
11188
11189 2011-11-24 Chong Yidong <cyd@gnu.org>
11190
11191 * window.el (display-buffer--special-action): Doc fix.
11192
11193 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11194
11195 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11196 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11197 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11198 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11199 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11200 (avl-tree-stack-first):
11201 * emacs-lisp/cconv.el (cconv--analyse-use):
11202 * net/gnutls.el (gnutls-negotiate): Fix typos.
11203
11204 2011-11-24 Glenn Morris <rgm@gnu.org>
11205
11206 * lpr.el (lpr-windows-system, lpr-lp-system):
11207 * mail/binhex.el (binhex-begin-line):
11208 * progmodes/grep.el (grep-history, grep-find-history):
11209 * textmodes/flyspell.el:
11210 * vc/pcvs-defs.el (cvs-global-menu):
11211 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11212 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11213 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11214
11215 * net/tls.el: Fix case of "GnuTLS".
11216
11217 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11218
11219 * version.el (emacs-build-system): Give it a doc-string.
11220
11221 2011-11-24 Juri Linkov <juri@jurta.org>
11222
11223 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11224
11225 2011-11-24 Glenn Morris <rgm@gnu.org>
11226
11227 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11228 if called on a non-mime message just toggle the headers. (Bug#8006)
11229
11230 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11231
11232 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11233 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11234 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11235 (allout-rebullet-heading, allout-open-sibtopic)
11236 (allout-toggle-current-subtree-encryption)
11237 (allout-toggle-subtree-encryption, allout-encrypt-string)
11238 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11239 (allout-distinctive-bullets-string, allout-auto-activation):
11240 * window.el (window-normalize-buffer-to-display):
11241 * progmodes/verilog-mode.el (verilog-batch-indent):
11242 * textmodes/bibtex.el (bibtex-field-braces-opt)
11243 (bibtex-field-strings-opt):
11244 * vc/cvs-status.el (cvs-tree-merge):
11245 Fix typos.
11246
11247 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11248
11249 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11250 `non-essential' to t, in order to avoid remote connections.
11251
11252 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11253
11254 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11255 On MS-DOS and MS-Windows, compare with loaddefs.el
11256 case-insensitively.
11257
11258 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11259
11260 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11261
11262 2011-11-23 Glenn Morris <rgm@gnu.org>
11263
11264 * paths.el (rmail-file-name): Reformat the doc-string so that it
11265 is picked up.
11266
11267 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11268 (rmail-auto-file): Ignore case in the "special" field names,
11269 as mail-fetch-field does for all others.
11270
11271 * mail/rmail.el (rmail-forward):
11272 * mail/rmailkwd.el (rmail-set-label):
11273 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11274 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11275
11276 * mail/rmail.el (rmail-current-message): Doc fix.
11277
11278 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11279
11280 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11283
11284 2011-11-22 Glenn Morris <rgm@gnu.org>
11285
11286 * mail/rmailmm.el (test-rmail-mime-handler)
11287 (test-rmail-mime-bulk-handler)
11288 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11289
11290 2011-11-21 Juri Linkov <juri@jurta.org>
11291
11292 * calc/calc.el (calc-read-key-sequence):
11293 Let-bind `input-method-function' to nil. (Bug#10018)
11294
11295 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11296
11297 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11298 Tell the caller that the next line needs recomputation, even
11299 though it doesn't start a sexp (bug#10094).
11300
11301 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11304
11305 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11306
11307 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11308 Use force-same-window.
11309
11310 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11311
11312 * descr-text.el (describe-char-unicode-data):
11313 * json.el (json-string-escape):
11314 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11315 (Footnote-unicode, Footnote-style-p):
11316 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11317
11318 2011-11-20 Chong Yidong <cyd@gnu.org>
11319
11320 * window.el (replace-buffer-in-windows): Restore interactive spec.
11321
11322 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11325
11326 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11327 (byte-compile-global-not-obsolete-vars): New var.
11328 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11329 Use it.
11330 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11331
11332 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11333
11334 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11335 * progmodes/pascal.el (electric-pascal-equal):
11336 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11337 * xml.el (xml-substitute-special): Fix typos.
11338
11339 2011-11-20 Glenn Morris <rgm@gnu.org>
11340
11341 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11342 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11343 Doc fixes.
11344 (rmail-decode-mime-charset): Mark as obsolete.
11345
11346 * mail/rmailsum.el (rmail-message-regexp-p-1):
11347 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11348 Before using mime functions, check they are set. (Bug#10077)
11349
11350 2011-11-19 Juri Linkov <juri@jurta.org>
11351
11352 * info.el (Info-finder-find-node): Use `package--builtins' instead
11353 of `package-alist'. Use node names formed by the pattern "Keyword "
11354 and the keyword name.
11355
11356 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11357
11358 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11359
11360 2011-11-19 Juri Linkov <juri@jurta.org>
11361
11362 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11363 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11364 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11365 `old-history', `old-history-forward'. Add let-binding
11366 `window-selected'. Remove calls to `kill-buffer',
11367 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11368 before calling `Info-find-node', so `Info-find-node-2' will reread
11369 the Info file. Restore window positions only when `window-selected'
11370 is non-nil.
11371
11372 2011-11-19 Juri Linkov <juri@jurta.org>
11373
11374 * isearch.el (isearch-lazy-highlight-new-loop):
11375 Remove condition `(not isearch-error)'. (Bug#9918)
11376
11377 * misearch.el (multi-isearch-search-fun): Add condition
11378 `(not bound)' to ignore lazy-highlighting search.
11379 Add the search-failed message "end of multi" when the end of
11380 multi-sequence is reached. Uncapitalize the search-failed
11381 message "Repeat for next buffer".
11382
11383 * info.el (Info-search): Add the search-failed message
11384 "end of the manual" when the end of the manual is reached
11385 in Isearch mode.
11386
11387 2011-11-19 Juri Linkov <juri@jurta.org>
11388
11389 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11390 Use non-destructive `remove' instead of `delete' because
11391 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11392 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11393
11394 2011-11-19 Juri Linkov <juri@jurta.org>
11395
11396 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11397 to nil instead of binding `search-ring' and `regexp-search-ring'.
11398 (Bug#9185)
11399
11400 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11401
11402 * simple.el (line-move): Force movement by logical lines for any
11403 hscrolled window, not only when auto-hscroll-mode is on.
11404 (line-move-visual): Update doc string to that effect. (Bug#10076)
11405
11406 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11407
11408 * language/european.el (macintosh): Define as alias for mac-roman.
11409
11410 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11411
11412 * mail/rmailmm.el (rmail-mime-display-header)
11413 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11414 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11415 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11416 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11417 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11418 of a raw aref.
11419 (rmail-mime-entity-segment): To get past the tagline, move forward
11420 2 more lines, to account for the 2 empty lines that precede and
11421 follow the line with the buttons.
11422 (rmail-mime-update-tagline): Move one more line, to get past the
11423 empty line that follows the buttons in the tagline. (Bug#9520)
11424
11425 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11426
11427 * window.el (window-max-delta-1, window-min-delta-1)
11428 (window-min-size-1, window-state-get-1, window-state-put-1)
11429 (window-state-put-2): Use "window--" prefix.
11430
11431 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11432
11433 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11434 (smie-warning-count): New var.
11435 (smie-set-prec2tab): Use it.
11436 (smie-bnf->prec2): Improve warnings. Add docstring.
11437 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11438 (smie-bnf--set-class): New function.
11439 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11440 corner case.
11441
11442 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11443 (compilation-error-properties, compilation-move-to-column):
11444 Handle compilation-first-column while in the target buffer.
11445
11446 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11447 Don't hardcode point-min==1.
11448
11449 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11450 (eshell-rewrite-for-command): Remove workaround.
11451 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11452 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11453 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11454
11455 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11456
11457 2011-11-17 Glenn Morris <rgm@gnu.org>
11458
11459 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11460 Ignore buffer-local generated-autoload-file if it is the same
11461 as the global value. (Bug#10049)
11462
11463 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11466 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11467 (reftex-toc-previous-heading, reftex-toc-max-level)
11468 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11469 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11470 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11471 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11472 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11473 (reftex-toc-rename-label, reftex-toc-visit-location)
11474 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11475 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11476 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11477 leaving "*toc*" only for references to the buffer.
11478
11479 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11480
11481 * window.el (window-resize, delete-window, split-window):
11482 Replace window-splits by window-combination-resize.
11483 * cus-start.el (window-splits): Replace by window-combination-resize.
11484
11485 2011-11-17 Glenn Morris <rgm@gnu.org>
11486
11487 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11488 Make bash entry derive from sh entry, not shell entry.
11489
11490 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11491
11492 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11493 local file name.
11494
11495 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11496
11497 * menu-bar.el (menu-bar-file-menu):
11498 * printing.el (pr-ps-utility):
11499 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11500 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11501 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11502 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11503 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11504 (icalendar--convert-cyclic-to-ical)
11505 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11506 (icalendar--convert-ical-to-diary)
11507 (icalendar--convert-recurring-to-diary)
11508 (icalendar--convert-non-recurring-all-day-to-diary)
11509 (icalendar-import-format-sample):
11510 * progmodes/idlw-shell.el (idlwave-shell-mode):
11511 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11512 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11513 (vhdl-ps-print-init): Fix typos.
11514
11515 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11516
11517 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11518 FSF and collapse date sequence, obscure author/maintainer email address
11519 better, remove extra version line, track relocation of author's webpage.
11520
11521 * progmodes/python.el (python-pdbtrack-input-prompt)
11522 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11523 regular python pdb prompts. Adjustments shamelessly taken exactly as
11524 suggested in EmacsWiki page (tiny change):
11525 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11526
11527 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11528
11529 * expand.el (expand-pos, expand-index, expand-point):
11530 Remove redundant info from docstring.
11531 (expand-add-abbrevs): Doc fix.
11532 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11533 (expand-sample-perl-mode-expand-list): Fix typos.
11534
11535 * net/dbus.el (dbus-event-member-name):
11536 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11537 * term/pc-win.el (msdos-create-frame-with-faces):
11538 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11539
11540 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11541
11542 * window.el (split-window, window-state-get-1)
11543 (window-state-put-1, window-state-put-2): Rename occurrences of
11544 window-nest to window-combination-limit.
11545 * cus-start.el (window-nest): Rename to window-combination-limit.
11546
11547 2011-11-16 Chong Yidong <cyd@gnu.org>
11548
11549 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11550 regexp (Bug#10033).
11551
11552 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11555 `completing-read' will remove *Completions* and will preserve
11556 current-buffer for us.
11557 (tmm-add-prompt): Users of *Completions* will always (re)set its
11558 major mode.
11559 (tmm-old-comp-map): Remove.
11560
11561 2011-11-16 Glenn Morris <rgm@gnu.org>
11562
11563 * mail/rmailedit.el: Require rmailmm when compiling.
11564 (rmail-old-mime-state): New declaration.
11565 (rmail-edit-current-message): If editing a mime message,
11566 edit the "raw" message from the mbox buffer.
11567 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11568
11569 2011-11-15 Glenn Morris <rgm@gnu.org>
11570
11571 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11572 which wasn't being used. Add optional arg to force given state.
11573 (rmail-mime): Add optional arg to force given state.
11574
11575 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11576
11577 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11578 * frame.el (display-mm-dimensions-alist):
11579 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11580 (outline-move-subtree-down):
11581 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11582 (newsticker--treeview-do-get-node):
11583 * net/quickurl.el (quickurl-list-buffer-name):
11584 * progmodes/dcl-mode.el (dcl-mode):
11585 * progmodes/gdb-mi.el (gdb-mapcar*):
11586 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11587
11588 2011-11-15 Glenn Morris <rgm@gnu.org>
11589
11590 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11591 in a boolean sense, so just make it a boolean, and fix the doc.
11592 (rmail-show-mime-function, rmail-mime-feature)
11593 (rmail-require-mime-maybe): Doc fixes.
11594 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11595
11596 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11597
11598 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11599
11600 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11601 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11602 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11603 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11604
11605 2011-11-15 Glenn Morris <rgm@gnu.org>
11606
11607 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11608 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11609 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11610 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11611 (rmail-mime, rmail-show-mime): Doc fixes.
11612
11613 * term/ns-win.el (mode-line-frame-identification):
11614 Leave it alone. (Bug#10051)
11615
11616 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11617
11618 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11619 Handle empty buffers. (Bug#9978)
11620
11621 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11622
11623 * international/mule.el (define-charset):
11624 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11625 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11626 * progmodes/verilog-mode.el (verilog-backward-token):
11627 * textmodes/ispell.el (lookup-words):
11628 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11629
11630 2011-11-14 Glenn Morris <rgm@gnu.org>
11631
11632 * progmodes/executable.el
11633 (executable-make-buffer-file-executable-if-script-p):
11634 Handle file-modes returning nil.
11635
11636 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11637 message - not necessary, and causes problems. (Bug#9831)
11638
11639 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11640
11641 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11642
11643 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11644 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11645 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11646
11647 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11648
11649 * window.el (window-resize, delete-window): Use window-splits
11650 variable instead of function.
11651 (window-state-get-1, window-state-put-2, window-state-put):
11652 Don't deal with windows' splits status.
11653
11654 2011-11-12 Glenn Morris <rgm@gnu.org>
11655
11656 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11657 (apropos-documentation): Doc fixes.
11658
11659 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11660
11661 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11662 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11663
11664 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * electric.el (electric-indent-post-self-insert-function): Make it
11667 possible for a char to only indent in some circumstances.
11668 (electric-indent-mode): Simplify.
11669
11670 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11671
11672 * window.el (windows-with-parameter): Remove unused function.
11673 (windows-at-side): Rename to window-at-side-list.
11674 (window-check, window-atom-check, window-atom-check-1)
11675 (window-side-check, window-size-ignore, window-size-fixed-1)
11676 (window-in-direction-2): Prefix with "window--".
11677 (window-tree-1): Rename to window--subtree, fix doc-string.
11678
11679 2011-11-11 Glenn Morris <rgm@gnu.org>
11680
11681 * subr.el (eval-after-load): If FILE is already loaded,
11682 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11683
11684 2011-11-10 Glenn Morris <rgm@gnu.org>
11685
11686 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11687 Call svn via vc-svn-command rather than vc-do-command.
11688 (vc-svn-command): Add --non-interactive. (Bug#9993)
11689 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11690
11691 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11692 Add toggle-read-only. (Bug#7292)
11693 * files.el (toggle-read-only): Mention that it should only
11694 be used interactively. (Bug#10006)
11695
11696 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11699 Adjust regexp for OCaml warnings.
11700
11701 * electric.el (electric-pair-post-self-insert-function): Let user
11702 turn it off buffer-locally (bug#9932).
11703
11704 * progmodes/python.el (python-beginning-of-statement):
11705 Rewrite (bug#2703).
11706
11707 * progmodes/compile.el: Better handle TABs (bug#9749).
11708 (compilation-internal-error-properties)
11709 (compilation-next-error-function): Obey the target buffer's
11710 compilation-error-screen-columns.
11711
11712 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11713
11714 * progmodes/meta-mode.el: Remove obsolete comments.
11715 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11716 Fix typos in docstrings.
11717
11718 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11719
11720 * window.el (window-size-fixed-p): Rewrite doc-string.
11721 (window-resizable-p): Rename to window--resizable-p. Update callers.
11722 (window--resizable): New function. Make all callers of
11723 window-resizable call window--resizable instead.
11724 (window-resizable): Rewrite in terms of window--resizable.
11725
11726 2011-11-08 Glenn Morris <rgm@gnu.org>
11727
11728 * progmodes/delphi.el (delphi-mode-syntax-table):
11729 Let define-derived-mode define a proper syntax table. (Bug#9994)
11730
11731 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * window.el: Stay away from defsubst.
11734 (window-list-no-nils): Remove.
11735 (window-state-get-1, window-state-get): Use backquote instead.
11736
11737 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11738
11739 * emacs-lisp/find-func.el (find-function-read):
11740 Fix incorrect use of default argument in `completing-read'.
11741
11742 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11743
11744 * window.el (display-buffer-function, special-display-function):
11745 Mention display-buffer-record-window but do not mention
11746 help-setup parameter in doc-strings.
11747 (window-min-delta): Fix doc-string typo.
11748
11749 2011-11-08 Chong Yidong <cyd@gnu.org>
11750
11751 * window.el (window-total-height, window-total-width): Doc fix.
11752 (window-body-size): Move from C.
11753 (window-body-height, window-body-width): Move to C.
11754
11755 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * window.el: Make special-display like display-buffer-alist (bug#9532).
11758 (display-buffer--special-action): New function, morphed
11759 from display-buffer--special.
11760 (display-buffer): Use it to handle special-display-buffers at higher
11761 priority (just after display-buffer-alist).
11762 (display-buffer-fallback-action, display-buffer--other-frame-action)
11763 (pop-to-buffer-same-window): Remove display-buffer--special.
11764
11765 2011-11-07 Glenn Morris <rgm@gnu.org>
11766
11767 * calendar/cal-menu.el (cal-menu-set-date-title):
11768 Do nothing if not in a calendar. (Bug#9976)
11769
11770 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * files.el (find-file): Always use selected-window.
11773
11774 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11775
11776 * window.el (window-combinations): Make WINDOW argument
11777 mandatory. Rewrite doc-string.
11778 (walk-window-subtree, window-atom-check, window-min-delta)
11779 (window-max-delta, window--resize-this-window)
11780 (window--resize-root-window-vertically, window-tree)
11781 (balance-windows, window-state-put): Rewrite doc-strings as to
11782 not mention the term "subwindow".
11783 (window--resize-subwindows-skip-p): Rename to
11784 window--resize-child-windows-skip-p.
11785 (window--resize-subwindows-normal): Rename to
11786 window--resize-child-windows-normal.
11787 (window--resize-subwindows): Rename to
11788 window--resize-child-windows.
11789 (window-or-subwindow-p): Rename to window--in-subtree-p.
11790
11791 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11792
11793 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11794 Ensure that mbox format messages end in two newlines (Bug#9974).
11795
11796 2011-11-06 Chong Yidong <cyd@gnu.org>
11797
11798 * window.el (window-combination-p): Function deleted; its
11799 side-effect is not used in any existing code.
11800 (window-combinations, window-combined-p): Call window-*-child
11801 directly.
11802
11803 2011-11-05 Chong Yidong <cyd@gnu.org>
11804
11805 * window.el (window-valid-p): Rename from window-any-p.
11806 (window-size-ignore, window-state-get): Callers changed.
11807 (window-normalize-window): Rename from window-normalize-any-window.
11808 New arg LIVE-ONLY, replacing window-normalize-live-window.
11809 (window-normalize-live-window): Delete.
11810 (window-combination-p, window-combined-p, window-combinations)
11811 (walk-window-subtree, window-atom-root, window-min-size)
11812 (window-sizable, window-sizable-p, window-size-fixed-p)
11813 (window-min-delta, window-max-delta, window-resizable)
11814 (window-resizable-p, window-full-height-p, window-full-width-p)
11815 (window-current-scroll-bars, window-point-1, set-window-point-1)
11816 (window-at-side-p, window-in-direction, window-resize)
11817 (adjust-window-trailing-edge, maximize-window, minimize-window)
11818 (window-deletable-p, delete-window, delete-other-windows)
11819 (record-window-buffer, unrecord-window-buffer)
11820 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11821 (quit-window, split-window, window-state-put)
11822 (set-window-text-height, fit-window-to-buffer)
11823 (shrink-window-if-larger-than-buffer): Callers changed.
11824
11825 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11826
11827 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11828 rfc2047-decode-string.
11829 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11830 warnings.
11831
11832 * window.el (window-body-height, window-body-width): Mention in
11833 the doc string that the return values are in frame's canonical
11834 units. (Bug#9949)
11835
11836 2011-11-03 Alan Mackenzie <acm@muc.de>
11837
11838 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11839 change in cc-engine.el.
11840
11841 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11842
11843 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11844
11845 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11846
11847 * window.el (quit-window): Call unrecord-window-buffer after
11848 showing another buffer in the window. (Bug#9937)
11849 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11850
11851 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11852
11853 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11854 Accept status with more than 9 shelves. (Bug#9935)
11855 Reported by Colin D Bennett <colin@gibibit.com>.
11856
11857 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11858
11859 * help.el (with-help-window): Don't reference
11860 temp-buffer-show-specifiers in doc-string.
11861
11862 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11863
11864 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11865 menu-item.
11866
11867 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11868
11869 * whitespace.el: New version 13.2.2.
11870 (whitespace-newline-mode): Disable properly. Reported by Sarah
11871 <EmacsWiki>.
11872
11873 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11874
11875 * net/newst-treeview.el: Remove "Time-stamp".
11876 (newsticker--group-manage-orphan-feeds): Do not call
11877 newsticker--treeview-tree-update.
11878 (newsticker-treeview-update, newsticker-treeview):
11879 Call newsticker--treeview-tree-update if necessary.
11880
11881 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11882
11883 * window.el (window-iso-combination-p, window-iso-combined-p)
11884 (window-iso-combinations): Remove "iso-" infix.
11885 Suggested by Chong Yidong.
11886 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11887 (window-max-delta-1, window-resize, window--resize-siblings)
11888 (window--resize-this-window, adjust-window-trailing-edge)
11889 (split-window, balance-windows-1)
11890 (shrink-window-if-larger-than-buffer):
11891 * calendar/calendar.el (calendar-generate-window):
11892 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11893
11894 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11897 in place (bug#9907).
11898 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11899 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11900 (eshell-structure-basic-command, eshell-rewrite-while-command)
11901 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11902 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11903 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11904 (eshell-do-pipelines-synchronously, eshell-eval-command):
11905 Use backquotes and prefer setq to set.
11906 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11907 (eshell-macrop): Use functionp.
11908 (eshell-do-eval): Handle multiple expressions in `while' body.
11909
11910 2011-10-30 Chong Yidong <cyd@gnu.org>
11911
11912 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11913 instead of set-mark (Bug#9810).
11914
11915 2011-10-30 Chong Yidong <cyd@gnu.org>
11916
11917 * window.el (split-window-below, split-window-right): Rename from
11918 split-window-above-each-other and split-window-side-by-side
11919 respectively. All callers changed.
11920 (split-window-sensibly, split-window-sensibly): Use them.
11921 (split-window-keep-point): Doc fix.
11922
11923 * isearch.el: Add isearch-scroll property to split-window-below
11924 and split-window-right.
11925
11926 * follow.el (follow-mode):
11927 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11928 * progmodes/ada-xref.el (ada-gdb-application):
11929 * emulation/vip.el (vip-buffer-in-two-windows):
11930 * image-dired.el (image-dired-dired-with-window-configuration):
11931 * dired-x.el (dired-do-find-marked-files):
11932 * dired.el (dired-pop-to-buffer):
11933 * bs.el (bs--show-with-configuration):
11934 * vc/emerge.el (emerge-setup-windows):
11935 * textmodes/two-column.el (2C-two-columns):
11936 * textmodes/reftex-toc.el (reftex-toc):
11937 * progmodes/gdb-mi.el (gdb-setup-windows):
11938 * progmodes/fortran.el (fortran-window-create):
11939 * net/newst-treeview.el (newsticker--treeview-window-init):
11940 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11941 * emulation/tpu-edt.el (tpu-gold-map):
11942 * emulation/crisp.el (crisp-mode-map):
11943 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11944
11945 2011-10-29 Chong Yidong <cyd@gnu.org>
11946
11947 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11948
11949 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11950
11951 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11952 forged Ispell output (Bug#7904).
11953
11954 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11955
11956 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * doc-view.el: Avoid ugly errors about not finding nil.
11959 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11960 (doc-view-dvipdf-program, doc-view-unoconv-program)
11961 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11962 Avoid nil or absolute file name as default value.
11963 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11964
11965 2011-10-28 Alan Mackenzie <acm@muc.de>
11966
11967 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11968
11969 2011-10-28 Alan Mackenzie <acm@muc.de>
11970
11971 Amend the handling of c-beginning/end-of-defun in nested declaration
11972 scopes.
11973
11974 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11975 cc-langs.el. Change it to a defcustom.
11976
11977 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11978 cc-vars.el.
11979
11980 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11981 Prevent "class foo : bar" being spuriously recognized as a label.
11982
11983 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11984 Add parameter `inclusive' (to include enclosing braces in the region).
11985 (c-widen-to-enclosing-decl-scope): New function.
11986 (c-while-widening-to-decl-block): New macro.
11987 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11988 outward for defun boundaries, and correspondingly change symbol
11989 `respect-enclosure' to `go-outward'.
11990 (c-declaration-limits): Change algorithm to report only the "innermost"
11991 defun's boundaries.
11992
11993 2011-10-28 Deniz Dogan <deniz@dogan.se>
11994
11995 * net/rcirc.el (rcirc-mode): Use hard newlines.
11996
11997 2011-10-28 Alan Mackenzie <acm@muc.de>
11998
11999 Amend to indent and fontify macros "which include their own semicolon"
12000 correctly, using the "virtual semicolon" mechanism.
12001
12002 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12003
12004 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12005 Recode to scan one line at a time rather than having \n and \r
12006 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12007 (c-forward-label): Amend for virtual semicolons.
12008 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12009
12010 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12011 of the new C macros.
12012
12013 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12014 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12015 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12016 (c-opt-cpp-macro-define): Make into a full language variable.
12017 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12018 AWK Mode (including \n, \r) removed, no longer needed.
12019
12020 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12021 Invoke c-make-macro-with-semi-re.
12022
12023 * progmodes/cc-vars.el (c-macro-with-semi-re):
12024 (c-macro-names-with-semicolon): New variables.
12025 (c-make-macro-with-semi-re): New function.
12026
12027 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * vc/log-edit.el: Fill empty field rather than adding new one.
12030 (log-edit-add-field): New function.
12031 (log-edit-insert-changelog): Use it.
12032
12033 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12034
12035 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12036
12037 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12040 (gdb--check-interpreter): New function.
12041 (gdb): Use it.
12042
12043 2011-10-27 Glenn Morris <rgm@gnu.org>
12044
12045 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12046 (least-positive-float, least-negative-float)
12047 (least-positive-normalized-float, least-negative-normalized-float)
12048 (float-epsilon, float-negative-epsilon):
12049 Remove unnecessary declarations.
12050
12051 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12052 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12053 (least-positive-float, least-negative-float)
12054 (least-positive-normalized-float, least-negative-normalized-float)
12055 (float-epsilon, float-negative-epsilon): Add doc-strings,
12056 based on those in cl.texi.
12057
12058 * files.el (set-visited-file-name): If the major-mode changed,
12059 reload the local variables. (Bug#9796)
12060
12061 2011-10-27 Chong Yidong <cyd@gnu.org>
12062
12063 * subr.el (change-major-mode-after-body-hook): New hook.
12064 (run-mode-hooks): Run it.
12065
12066 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12067 Use change-major-mode-before-body-hook.
12068
12069 * simple.el (fundamental-mode):
12070 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12071 change introducing fundamental-mode-hook.
12072
12073 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12074
12075 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12076
12077 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12078
12079 * ido.el (ido-file-name-all-completions-1): Do not require
12080 tramp.el explicitly. (Bug#7583)
12081
12082 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * progmodes/octave-mod.el:
12085 * progmodes/octave-inf.el: Update maintainer.
12086
12087 2011-10-26 Chong Yidong <cyd@gnu.org>
12088
12089 * subr.el (with-wrapper-hook): Rewrite doc.
12090
12091 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12094 filenames "/method:foo:". (Bug#9793)
12095
12096 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12099 (bug#9865).
12100
12101 2011-10-24 Glenn Morris <rgm@gnu.org>
12102
12103 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12104
12105 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12106
12107 * notifications.el: Add the requirement of a running D-Bus session
12108 bus to the Commentary.
12109
12110 2011-10-24 Juri Linkov <juri@jurta.org>
12111
12112 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12113 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12114 (Bug#9364)
12115
12116 2011-10-24 Juri Linkov <juri@jurta.org>
12117
12118 * info.el (Info-following-node-name-re): Add newline to the list
12119 of allowed characters for leading space. (Bug#9824)
12120
12121 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12122
12123 * progmodes/octave-inf.el (inferior-octave-mode-map):
12124 Fix C-c C-h binding.
12125 * progmodes/octave-mod.el (octave-help): Remove.
12126
12127 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12128
12129 Sync with Tramp 2.2.3.
12130
12131 * net/tramp-cache.el (top): Pacify byte-compiler using
12132 `init-file-user' and `site-run-file'.
12133
12134 * net/trampver.el: Update release number.
12135
12136 2011-10-23 Chong Yidong <cyd@gnu.org>
12137
12138 * files.el (toggle-read-only): Remove obsolete comment about
12139 version control.
12140
12141 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12142 for toggle-read-only. Note that this hasn't called vc-next-action
12143 since 2008-05-02, though it wasn't documented at the time.
12144
12145 * vc/ediff-init.el (ediff-toggle-read-only-function):
12146 Use toggle-read-only.
12147
12148 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12149
12150 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12151 of c-parse-state.
12152
12153 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12154 correct faulty logical expression.
12155 (c-parse-state-state, c-record-parse-state-state):
12156 (c-replay-parse-state-state): New defvar/defuns.
12157 (c-debug-parse-state): Use new functions.
12158
12159 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12160
12161 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12162 last fix. Use window-in-direction correctly.
12163
12164 2011-10-21 Chong Yidong <cyd@gnu.org>
12165
12166 * progmodes/idlwave.el (idlwave-mode):
12167 * progmodes/vera-mode.el (vera-mode): No need to set
12168 require-final-newline; that's done in prog-mode.
12169 Suggested by Stefan Monnier.
12170
12171 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12172
12173 * mouse.el (mouse-drag-window-above)
12174 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12175 (mouse-drag-mode-line-1, mouse-drag-header-line)
12176 (mouse-drag-vertical-line-rightward-window): Remove.
12177 (mouse-drag-line): New function.
12178 (mouse-drag-mode-line, mouse-drag-header-line)
12179 (mouse-drag-vertical-line): Call mouse-drag-line.
12180 * window.el (window-at-side-p, windows-at-side): New functions.
12181
12182 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12183
12184 * tar-mode.el (tar-grind-file-mode):
12185 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12186
12187 2011-10-21 Chong Yidong <cyd@gnu.org>
12188
12189 * progmodes/idlwave.el (idlwave-mode):
12190 * progmodes/vera-mode.el (vera-mode):
12191 Use mode-require-final-newline.
12192
12193 2011-10-20 Glenn Morris <rgm@gnu.org>
12194
12195 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12196
12197 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12198
12199 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12200
12201 2011-10-20 Chong Yidong <cyd@gnu.org>
12202
12203 * emulation/cua-base.el (cua-mode):
12204 * mail/footnote.el (footnote-mode):
12205 * mail/mailabbrev.el (mail-abbrevs-mode):
12206 * net/xesam.el (xesam-minor-mode):
12207 * progmodes/bug-reference.el (bug-reference-mode):
12208 * progmodes/cap-words.el (capitalized-words-mode):
12209 * progmodes/compile.el (compilation-minor-mode)
12210 (compilation-shell-minor-mode):
12211 * progmodes/gud.el (gud-tooltip-mode):
12212 * progmodes/hideif.el (hide-ifdef-mode):
12213 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12214 * progmodes/subword.el (subword-mode):
12215 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12216 * progmodes/which-func.el (which-function-mode):
12217 * term/tvi970.el (tvi970-set-keypad-mode):
12218 * term/vt100.el (vt100-wide-mode):
12219 * textmodes/flyspell.el (flyspell-mode):
12220 * textmodes/ispell.el (ispell-minor-mode):
12221 * textmodes/nroff-mode.el (nroff-electric-mode):
12222 * textmodes/paragraphs.el (use-hard-newlines):
12223 * textmodes/refill.el (refill-mode):
12224 * textmodes/reftex.el (reftex-mode):
12225 * textmodes/rst.el (rst-minor-mode):
12226 * textmodes/sgml-mode.el (html-autoview-mode)
12227 (sgml-electric-tag-pair-mode):
12228 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12229 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12230 * emulation/crisp.el (crisp-mode):
12231 * emacs-lisp/eldoc.el (eldoc-mode):
12232 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12233 minor mode behavior.
12234
12235 2011-10-19 Juri Linkov <juri@jurta.org>
12236
12237 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12238 the list of hard-coded chars with escape-glyph face.
12239
12240 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12241
12242 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12243
12244 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12245
12246 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12247 running process.
12248
12249 2011-10-19 Glenn Morris <rgm@gnu.org>
12250
12251 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12252 Ignore ignored files. (Bug#9726)
12253
12254 2011-10-19 Chong Yidong <cyd@gnu.org>
12255
12256 Doc fix for minor modes, stating that an omitted argument enables
12257 the mode unconditionally when called from Lisp.
12258
12259 * abbrev.el (abbrev-mode):
12260 * allout.el (allout-mode):
12261 * autoinsert.el (auto-insert-mode):
12262 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12263 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12264 (global-auto-revert-mode):
12265 * battery.el (display-battery-mode):
12266 * composite.el (global-auto-composition-mode)
12267 (auto-composition-mode):
12268 * delsel.el (delete-selection-mode):
12269 * desktop.el (desktop-save-mode):
12270 * dired-x.el (dired-omit-mode):
12271 * dirtrack.el (dirtrack-mode):
12272 * doc-view.el (doc-view-minor-mode):
12273 * double.el (double-mode):
12274 * electric.el (electric-indent-mode, electric-pair-mode):
12275 * emacs-lock.el (emacs-lock-mode):
12276 * epa-hook.el (auto-encryption-mode):
12277 * follow.el (follow-mode):
12278 * font-core.el (font-lock-mode):
12279 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12280 * help.el (temp-buffer-resize-mode):
12281 * hilit-chg.el (highlight-changes-mode)
12282 (highlight-changes-visible-mode):
12283 * hi-lock.el (hi-lock-mode):
12284 * hl-line.el (hl-line-mode, global-hl-line-mode):
12285 * icomplete.el (icomplete-mode):
12286 * ido.el (ido-everywhere):
12287 * image-file.el (auto-image-file-mode):
12288 * image-mode.el (image-minor-mode):
12289 * iswitchb.el (iswitchb-mode):
12290 * jka-cmpr-hook.el (auto-compression-mode):
12291 * linum.el (linum-mode):
12292 * longlines.el (longlines-mode):
12293 * master.el (master-mode):
12294 * mb-depth.el (minibuffer-depth-indicate-mode):
12295 * menu-bar.el (menu-bar-mode):
12296 * minibuf-eldef.el (minibuffer-electric-default-mode):
12297 * mouse-sel.el (mouse-sel-mode):
12298 * msb.el (msb-mode):
12299 * mwheel.el (mouse-wheel-mode):
12300 * outline.el (outline-minor-mode):
12301 * paren.el (show-paren-mode):
12302 * recentf.el (recentf-mode):
12303 * reveal.el (reveal-mode, global-reveal-mode):
12304 * rfn-eshadow.el (file-name-shadow-mode):
12305 * ruler-mode.el (ruler-mode):
12306 * savehist.el (savehist-mode):
12307 * scroll-all.el (scroll-all-mode):
12308 * scroll-bar.el (scroll-bar-mode):
12309 * server.el (server-mode):
12310 * shell.el (shell-dirtrack-mode):
12311 * simple.el (auto-fill-mode, transient-mark-mode)
12312 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12313 (line-number-mode, column-number-mode, size-indication-mode)
12314 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12315 * strokes.el (strokes-mode):
12316 * time.el (display-time-mode):
12317 * t-mouse.el (gpm-mouse-mode):
12318 * tool-bar.el (tool-bar-mode):
12319 * tooltip.el (tooltip-mode):
12320 * type-break.el (type-break-mode-line-message-mode)
12321 (type-break-query-mode):
12322 * view.el (view-mode):
12323 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12324 (global-whitespace-mode, global-whitespace-newline-mode):
12325 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12326
12327 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12328 Fix autogenerated docstring.
12329
12330 2011-10-19 Juri Linkov <juri@jurta.org>
12331
12332 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12333 by checking environment variables "DESKTOP_SESSION" and
12334 "XDG_CURRENT_DESKTOP". (Bug#9779)
12335
12336 2011-10-19 Juri Linkov <juri@jurta.org>
12337
12338 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12339 (browse-url-chromium-program, browse-url-chromium-arguments):
12340 New defcustoms.
12341 (browse-url-default-browser): Check for `browse-url-chromium' and
12342 call `browse-url-chromium-program'.
12343 (browse-url-chromium): New command. (Bug#9779)
12344
12345 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12346
12347 * facemenu.el (list-colors-duplicates): On Windows, detect more
12348 duplicates by assuming that only colors matching "^System" are
12349 special "system colors". (Bug#9722)
12350
12351 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12354 to distinguish the author from the committer.
12355
12356 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12357
12358 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12359
12360 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12361
12362 * international/mule.el (sgml-html-meta-auto-coding-function):
12363 Add support for detecting encoding in HTML5 specified only as
12364 <meta charset="UTF-8">. Implementation just makes http-equiv and
12365 content-type parts from HTML4 encoding string optional. (Bug#9716)
12366
12367 2011-10-18 Glenn Morris <rgm@gnu.org>
12368
12369 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12370
12371 2011-10-18 Chong Yidong <cyd@gnu.org>
12372
12373 * faces.el (cursor): Doc fix.
12374
12375 2011-10-17 Chong Yidong <cyd@gnu.org>
12376
12377 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12378
12379 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12380
12381 * dirtrack.el (dirtrack): Support shell buffers with path
12382 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12383
12384 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12385
12386 * json.el: Bump version to 1.3 and note change in History.
12387 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12388
12389 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12390
12391 * comint.el (comint-insert-input, comint-send-input)
12392 (comint-get-old-input-default, comint-backward-matching-input)
12393 (comint-next-prompt): Use nil instead of `input' for field property of
12394 past user input (bug#114).
12395
12396 * minibuffer.el (completion--replace): Inherit surrounding properties
12397 (bug#114).
12398 (minibuffer-complete-and-exit): Use it.
12399
12400 * comint.el (comint--table-subvert): Quote the all-completions output
12401 (bug#9160).
12402
12403 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12404
12405 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12406
12407 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12408 window on right of selected. (Bug#9350) Reword other window
12409 entries and separate them from frame entries.
12410
12411 2011-10-15 Glenn Morris <rgm@gnu.org>
12412
12413 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12414 Doc fixes.
12415
12416 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12417
12418 * net/network-stream.el (network-stream-open-starttls):
12419 Improve detection of failure due to lack of TLS support.
12420
12421 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12422 putting the input text in front and in bold.
12423
12424 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12425
12426 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12427
12428 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12429 empty buffer.
12430
12431 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12432 unread-command-events rather than pushing yet-another event.
12433
12434 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12435
12436 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12437 the explanation of the possible choices. Make the options passed
12438 to completing-read shorter.
12439
12440 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12441
12442 * textmodes/flyspell.el (flyspell-large-region): Make sure
12443 extended character mode is used if defined (Bug#1339).
12444
12445 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12446
12447 * simple.el (what-cursor-position): Fix the display of the
12448 character info for LRE, LRO, RLE, and RLO characters by appending
12449 an invisible PDF.
12450
12451 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12454 even in case of error; add debug spec; simplify data flow.
12455 (with-timeout-handler): Remove.
12456
12457 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12458
12459 Fix Bug#6019, Bug#9315.
12460
12461 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12462 complete `buffer-file-name', the local file name part could look
12463 remotely (for example on VMS).
12464
12465 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12466 `tramp-run-real-handler'.
12467 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12468 already quoted by '"'.
12469
12470 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12471 Let `file-name-handler-alist' be nil, the local file name part
12472 could look remotely (for example on VMS).
12473
12474 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12475
12476 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12477 from here...
12478 (flyspell-post-command-hook): ...to here.
12479
12480 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12483 if not needed.
12484 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12485 using completion. Protect against "slow" callers.
12486 Remove the "message hack".
12487
12488 2011-10-11 Juri Linkov <juri@jurta.org>
12489
12490 * isearch.el (isearch-lazy-highlight-word): New variable.
12491 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12492 Use it. (Bug#9727)
12493
12494 2011-10-11 Glenn Morris <rgm@gnu.org>
12495
12496 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12497 like f90-previous-statement does.
12498
12499 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12500
12501 * eshell/eshell.el (eshell-command): History should be saved
12502 only in interactive use, to avoid error.
12503
12504 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * minibuffer.el (completion-file-name-table): Fix last change,
12507 i.e. ignore normal errors but not the other ones.
12508
12509 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12510
12511 * window.el (special-display-buffer-names)
12512 (special-display-regexps): Remove some remnants of earlier
12513 changes from doc-strings.
12514 (quit-windows-on): New function.
12515
12516 * vc/vc.el (vc-revert, vc-rollback):
12517 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12518 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12519 (Bug#6183) (Bug#7074) (Bug#7447)
12520
12521 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12522
12523 * window.el (frame-auto-hide-function): Add version tag.
12524 (Bug#9699)
12525
12526 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12527
12528 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12529 condition.
12530
12531 2011-10-09 Leo Liu <sdl.web@gmail.com>
12532
12533 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12534 (Bug#9701)
12535
12536 2011-10-08 Glenn Morris <rgm@gnu.org>
12537
12538 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12539 before the first code statement zero indent. (Bug#9690)
12540
12541 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12542
12543 * simple.el (count-words-region): Always count in the region.
12544 Report the number of lines and characters too.
12545 (count-words): New command, which counts in the buffer if the
12546 region is inactive, as count-words-region used to.
12547 (count-words--message): New function. Handle plurals.
12548 (count-lines-region): Make it an alias for count-words-region.
12549
12550 * bindings.el (esc-map): Replace count-lines-region with
12551 count-words-region.
12552
12553 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12554
12555 * window.el (window--delete): Delete dedicated frame
12556 unconditionally when argument KILL is non-nil. (Bug#9699)
12557 (switch-to-buffer): Fix doc-string typo.
12558
12559 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12560
12561 * eshell/eshell.el (eshell-command): Avoid using hooks.
12562
12563 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12564
12565 * bindings.el ([M-left],[M-right]): Bind to left-word and
12566 right-word respectively.
12567
12568 2011-10-07 Glenn Morris <rgm@gnu.org>
12569
12570 * cus-start.el (debug-on-quit): Fix custom type.
12571
12572 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12573
12574 * subr.el (define-key-after): Clarify that the function is not
12575 useful for non-menu keymaps.
12576
12577 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12578
12579 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12580
12581 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12582 in current minibuffer (Fix bug with recursive minibuffers).
12583
12584 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12585
12586 * progmodes/gdb-mi.el (gdb): Doc fix.
12587
12588 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12589
12590 * window.el (frame-auto-hide-function): New option replacing
12591 frame-auto-delete. Suggested by Stefan Monnier.
12592 (window--delete): Call frame-auto-hide-function instead of
12593 investigating frame-auto-delete.
12594 (window-point-1, set-window-point-1): New functions.
12595 (window-in-direction, record-window-buffer, window-state-get-1)
12596 (display-buffer-record-window): Use window-point-1 instead of
12597 window-point.
12598 (set-window-buffer-start-and-point): Use set-window-point-1.
12599
12600 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12603
12604 2011-10-05 Glenn Morris <rgm@gnu.org>
12605
12606 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12607 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12608
12609 2011-10-05 Leo Liu <sdl.web@gmail.com>
12610
12611 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12612 works with buffer object.
12613
12614 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * mpc.el (mpc-tool-bar-map): Add labels.
12617
12618 2011-10-04 Glenn Morris <rgm@gnu.org>
12619
12620 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12621
12622 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12623
12624 * window.el (window--delete): New function.
12625 (frame-auto-delete): Resuscitate option.
12626 (bury-buffer, replace-buffer-in-windows)
12627 (quit-window): Rewrite using window--delete.
12628 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12629 Pass display-buffer-mark-dedicated to window--display-buffer-2
12630 (Bug#9639).
12631
12632 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12633
12634 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12635 returns a list (bug#9554). Add remote file name completion.
12636 * comint.el (comint--table-subvert): Curry and get quote&unquote
12637 functions as arguments.
12638 (comint--complete-file-name-data): Adjust call accordingly.
12639 * pcomplete.el (pcomplete--table-subvert): Remove.
12640 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12641
12642 * minibuffer.el (completion-table-case-fold): Use currying.
12643 (completion--styles-type, completion--cycling-threshold-type):
12644 New constants.
12645 (completion-styles, completion-category-overrides)
12646 (completion-cycle-threshold): Use them.
12647 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12648 completion-table-case-fold.
12649
12650 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12651
12652 * minibuffer.el (completion-category-overrides): Fix type of styles
12653 and add more user friendly tags (bug#9660).
12654
12655 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12658 (mule-input-method-string): New widget.
12659 (default-input-method, language-info-custom-alist): Use it.
12660
12661 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * pcomplete.el: Require comint.
12664 (pcomplete--common-suffix): Remove.
12665 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12666 (pcomplete--table-subvert): Sync with comint--table-subvert.
12667 (pcomplete--entries): Use comint-completion-file-name-table.
12668 * comint.el (comint-unquote-filename): Simplify.
12669 (comint-completion-file-name-table): New function (bug#9616).
12670 (comint--complete-file-name-data): Use it.
12671
12672 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12673 (pcmpl-gnu-tar-buffer): Remove.
12674 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12675 around. Make sure pcomplete-suffix-list is only changed temporarily.
12676 Don't look inside the tar's file if it's too large.
12677
12678 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12679
12680 * cus-edit.el (custom-mode-map):
12681 * epa.el (epa-key-list-mode-map):
12682 * man.el (Man-mode-map):
12683 * startup.el (splash-screen-keymap):
12684 * simple.el (special-mode-map): Use scroll-up-command and
12685 scroll-down-command.
12686
12687 * progmodes/idlw-help.el (idlwave-help-mode-map):
12688 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12689 * net/newst-plainview.el (newsticker-mode-map):
12690 * emulation/ws-mode.el (wordstar-mode-map):
12691 * emulation/vi.el (vi-com-map):
12692 * calc/calc-graph.el (calc-graph-show-dumb):
12693 * term/sun.el (terminal-init-sun):
12694 * term/ns-win.el (global-map):
12695 * progmodes/grep.el (grep-mode-map):
12696 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12697 * mail/rmail.el (rmail-mode-map):
12698 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12699
12700 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12701 custom-safe-themes as special.
12702
12703 2011-10-01 Julien Danjou <julien@danjou.info>
12704
12705 * notifications.el (notifications-notify): Fix docstring.
12706
12707 2011-10-01 Per Starbäck <per@starback.se>
12708
12709 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12710
12711 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12712
12713 * startup.el (command-line-1): Fix last fix by inserting
12714 initial-scratch-message into *scratch* before displaying it.
12715 (Bug#9605) and (Bug#9636)
12716
12717 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12718
12719 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12720 window is hscrolled, move by logical lines. (Bug#9607)
12721 (line-move-visual): Update the doc string to the above effect.
12722
12723 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12724
12725 * window.el (display-buffer-record-window): When WINDOW is the
12726 selected window use `point' instead of `window-point'. (Bug#9626)
12727
12728 * startup.el (command-line-1): Use insert-before-markers when
12729 inserting initial-scratch-message. (Bug#9605)
12730
12731 * help.el (help-window): Remove variable.
12732
12733 2011-09-29 Glenn Morris <rgm@gnu.org>
12734
12735 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12736
12737 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12738
12739 * descr-text.el (describe-char-categories): Accept category
12740 descriptions more than one line long.
12741
12742 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12743
12744 * simple.el (delete-trailing-whitespace): Fix last change.
12745
12746 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12747 Don't confuse "y => 3" as the beginning of a `y' operation.
12748
12749 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12750 object has more than 4 slots (bug#9613).
12751
12752 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12753
12754 * subr.el (with-output-to-temp-buffer):
12755 * net/quickurl.el (quickurl, quickurl-browse-url):
12756 Fix typos in docstrings.
12757
12758 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12759
12760 * minibuffer.el (completion-styles)
12761 (completion-category-overrides): Cross reference each other in doc
12762 strings.
12763
12764 2011-09-27 Glenn Morris <rgm@gnu.org>
12765
12766 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12767 to split-string. (Bug#9606)
12768
12769 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12770
12771 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12772 (bug#9615).
12773
12774 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12775
12776 * emacs-lisp/package.el (list-packages): Fix echo area message.
12777
12778 2011-09-27 Leo Liu <sdl.web@gmail.com>
12779
12780 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12781
12782 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12783
12784 * net/dbus.el (dbus-unregister-object): Don't release services for
12785 registered signals. (Bug#9581)
12786
12787 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12788
12789 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12790 function that picks between cfengine 2 and 3 support
12791 automatically. Update docs accordingly.
12792
12793 2011-09-22 Kenichi Handa <handa@m17n.org>
12794
12795 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12796 ZERO.
12797 (indian-itrans-v5-table-for-tamil): New variable.
12798 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12799
12800 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12801
12802 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12803 that's true if the current command involved collapsing of text.
12804 It's reset to false at the beginning of the next command.
12805 (allout-post-command-business): Move the cursor to the beginning
12806 of entry if the cursor is hidden and collapsing activity just
12807 happened.
12808
12809 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12810
12811 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12812 tracking (Bug#9541).
12813
12814 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12815
12816 * net/newst-reader.el (newsticker-html-renderer)
12817 (newsticker-show-news): Automatically load html rendering package
12818 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12819 because w3m-fill-column is let-bound" and the error "Symbol's value
12820 as variable is void: w3m-fill-column".
12821
12822 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12823
12824 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12825 Release services only if they are defined. (Bug#9581)
12826
12827 2011-09-23 Richard Stallman <rms@gnu.org>
12828
12829 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12830 distinguish start of paragraph from start of its text.
12831
12832 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12833
12834 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12835 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12836 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12837
12838 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12839
12840 * international/mule-diag.el (mule-diag): Insert a newline after
12841 each fontset description.
12842
12843 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12844
12845 * simple.el (delete-trailing-whitespace):
12846 Document last change; simplify.
12847
12848 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12849
12850 * simple.el (delete-trailing-whitespace): Also delete
12851 extra newlines at the end of the buffer.
12852
12853 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12854 (picture-newline): Use forward-line so as to ignore fields.
12855
12856 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * subr.el (with-wrapper-hook): Fix edebug spec.
12859
12860 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12861
12862 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12863 (bug#4538).
12864
12865 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12866
12867 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12868 Fix nasty bug using wrong cached values.
12869
12870 2011-09-23 Alan Mackenzie <acm@muc.de>
12871
12872 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12873
12874 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12875
12876 * window.el (pop-to-buffer): Ensure right window is selected if we
12877 chose another frame.
12878
12879 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12880
12881 * simple.el (what-cursor-position): Use get-char-property-change
12882 and next-single-char-property-change, to be able to show display
12883 properties that come from overlays as well as text properties.
12884
12885 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12886
12887 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12888
12889 * cmuscheme.el (run-scheme, switch-to-scheme):
12890 * cus-edit.el (customize-group, custom-buffer-create)
12891 (customize-browse):
12892 * info.el (info):
12893 * shell.el (shell):
12894 * mail/sendmail.el (mail):
12895 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12896
12897 2011-09-22 Richard Stallman <rms@gnu.org>
12898
12899 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12900 move back only to line beg, don't move back over blank lines.
12901
12902 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12903
12904 * files.el (copy-directory): Set directory attributes only in case
12905 they could be retrieved from the source directory. (Bug#9565)
12906
12907 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12908
12909 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12910 (hs-find-block-beginning, hs-hide-level-recursive):
12911 Ignore strings as well as comments. (Bug#9502)
12912
12913 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12914
12915 * progmodes/sql.el (sql-comint-postgres):
12916 Convert port number to a string. (Bug#9566)
12917
12918 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12919
12920 * window.el (quit-window): Undedicate window when switching to
12921 previous buffer. Reported by Thierry Volpiatto
12922 <thierry.volpiatto@gmail.com>.
12923 (special-display-popup-frame): When popping up a new frame reset
12924 its previous buffers to nil. Simplify code.
12925
12926 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12927
12928 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12929 and process filter, as done also in `shell-command'.
12930
12931 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12932
12933 * window.el (set-window-buffer-start-and-point):
12934 Call set-window-start with NOFORCE argument t.
12935 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12936 (quit-window): Reword doc-string. Handle new format of
12937 quit-restore parameter. Don't delete window if it has a
12938 previous buffer we can show instead of the present one.
12939 (display-buffer-record-window): Rewrite using a new format for
12940 the quit-restore window parameter
12941 (special-display-popup-frame, display-buffer-same-window)
12942 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12943 (display-buffer-pop-up-window, display-buffer-use-some-window):
12944 Adapt symbol passed to display-buffer-record-window.
12945 * help.el (help-window-setup): Handle new format of quit-restore
12946 parameter.
12947
12948 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * faces.el (face-list): Fix docstring (bug#9564).
12951
12952 * window.el (display-buffer--action-function-custom-type):
12953 Don't include internal functions in the Custom interface.
12954
12955 2011-09-20 Juri Linkov <juri@jurta.org>
12956
12957 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12958 (Info-forward-node, Info-backward-node, Info-next-preorder)
12959 (Info-last-preorder): Use it. (Bug#9528)
12960
12961 2011-09-20 Juri Linkov <juri@jurta.org>
12962
12963 * info.el (Info-last-preorder): Visit last menu item only when
12964 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12965
12966 2011-09-20 Julien Danjou <julien@danjou.info>
12967
12968 * password-cache.el (password-cache-remove): Remove entries even if the
12969 value is nil, so that password with a nil value (negative caching) is
12970 possible to invalidate.
12971
12972 2011-09-20 Lawrence Mitchell <wence@gmx.li>
12973
12974 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12975 all whitespace around breakpoint. (Bug#9553)
12976 (f90-find-breakpoint): Only break at whitespace inside a comment.
12977
12978 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12979
12980 * minibuffer.el (completion-file-name-table): Keep track of errors.
12981 (completion-table-with-predicate): Handle the case where pred1 is nil.
12982 * pcomplete.el (pcomplete-completions-at-point): Simplify.
12983
12984 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
12985
12986 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12987 (debugger-return-value): Signal an error if the debugging context does
12988 not await any return value.
12989
12990 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12991 * image-mode.el (image-toggle-display-text)
12992 (image-toggle-display-image): Stay away from evil `intangible'.
12993
12994 2011-09-19 Leo Liu <sdl.web@gmail.com>
12995
12996 * replace.el (occur-revert-arguments): Make it permanent-local.
12997 (occur-mode): Don't call font-lock-defontify.
12998
12999 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13000
13001 * net/ldap.el (ldap-search-internal): Don't push empty search
13002 result (Bug#9508).
13003
13004 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13007
13008 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13009
13010 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13011 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13012
13013 2011-09-18 Juri Linkov <juri@jurta.org>
13014
13015 * buff-menu.el (Buffer-menu-mode-map):
13016 * dired.el (dired-mode-map):
13017 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13018 (lisp-interaction-mode-map):
13019 * emacs-lisp/package.el (package-menu-mode-map):
13020 * epa.el (epa-key-list-mode-map):
13021 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13022 (menu-bar-options-menu):
13023 * outline.el (outline-mode-menu-bar-map):
13024 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13025 * vc/vc-dir.el (vc-dir-menu-map):
13026 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13027 Capitalize non-function content words in menu item strings.
13028
13029 * dired.el (dired-mode-map): Add menu item for
13030 `image-dired-dired-toggle-marked-thumbs'.
13031
13032 2011-09-18 Juri Linkov <juri@jurta.org>
13033
13034 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13035 to `isearch-case-fold-search' and restore its original value
13036 after the `isearch-mode' call.
13037
13038 2011-09-18 Juri Linkov <juri@jurta.org>
13039
13040 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13041 because `zgrep' returns 1 for successful matches (bug#9226).
13042
13043 2011-09-18 Juri Linkov <juri@jurta.org>
13044
13045 * info.el (Info-extract-menu-node-name): Check the second match
13046 for empty string (second test-case of bug#9528).
13047 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13048 intermediate nodes to the history (first test-case of bug#9528).
13049
13050 2011-09-18 Juri Linkov <juri@jurta.org>
13051
13052 * info.el (Info-mode-syntax-table): New variable.
13053 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13054
13055 2011-09-18 Juri Linkov <juri@jurta.org>
13056
13057 * info.el (Info-file-supports-index-cookies):
13058 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13059 outputs one more line for long file names (bug#4142).
13060
13061 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13062
13063 * newcomment.el (comment-normalize-vars): If prompting for
13064 comment-start, set comment-start-skip too (Bug#8424).
13065
13066 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13067
13068 * icomplete.el: Fix previous fix of Bug#5849.
13069 (icomplete-mode): Don't set completion-show-inline-help.
13070 (icomplete-minibuffer-setup): Set completion-show-inline-help
13071 locally during icompletion.
13072
13073 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13074
13075 * woman.el (woman2-process-escapes): Don't delete unrecognized
13076 escapes (Bug#7843).
13077
13078 * files.el (inhibit-first-line-modes-regexps): Add image files.
13079 (hack-local-variables-prop-line): Return nil for malformed
13080 prop-lines (Bug#9044).
13081
13082 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13083
13084 * net/tramp.el (top): Don't require 'shell.
13085 (tramp-methods): Fix docstring.
13086 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13087 Return complete remote file name. Handle "smb" case.
13088 Use `tramp-tmpdir', if defined for the respective method.
13089 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13090
13091 * net/tramp-compat.el (top): Require 'shell.
13092
13093 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13094 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13095 `tramp-current-host'.
13096 (tramp-get-remote-tmpdir): Remove.
13097
13098 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13099 `tramp-tmpdir' entries.
13100 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13101 (tramp-smb-handle-file-attributes): Ignore errors.
13102 (tramp-smb-wait-for-output): Check also for process end.
13103
13104 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13105
13106 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13107 when sending QUIT (bug#9312).
13108
13109 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13110
13111 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13112 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13113 occur-mode-display-occurrence.
13114 (occur-edit-mode): Add usage message.
13115 (occur-cease-edit): New command.
13116 (occur-after-change-function): Use text properties to find the
13117 position of the prefix text.
13118 (occur-engine): Set stickiness of prefix text properties.
13119
13120 2011-09-17 Glenn Morris <rgm@gnu.org>
13121
13122 * progmodes/etags.el (complete-tag):
13123 Fix call to completion-in-region. (Bug#9526)
13124
13125 2011-09-17 Juri Linkov <juri@jurta.org>
13126
13127 * textmodes/ispell.el (ispell-word): Add to the error message
13128 the word, ispell program name and current dictionary (bug#9121).
13129 (ispell-tex-arg-end): Capitalize "error" in the error message.
13130
13131 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13132
13133 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13134 check. (Bug#4251)
13135
13136 2011-09-17 Juri Linkov <juri@jurta.org>
13137
13138 * window.el (window-safe-min-height, window-safe-min-width):
13139 Fix typos (followup to bug#9522).
13140
13141 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13142
13143 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13144
13145 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13146
13147 * simple.el (line-move): If goal-column is set, move by logical
13148 lines, not by display lines. (Bug#971)
13149 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13150 to reflect the above change.
13151
13152 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 * image.el (imagemagick-register-types): Use regexp-opt.
13155
13156 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13157
13158 * window.el (display-buffer-base-action): Rename from
13159 display-buffer-default-action. Make default value empty.
13160 (display-buffer-overriding-action): Convert to defvar.
13161 (display-buffer-fallback-action): New var.
13162
13163 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13164
13165 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13166 declaration.
13167 (package--add-to-archive-contents): If there is a duplicate entry
13168 with an older version, remove it.
13169 (package-menu-mark-delete, package-menu-mark-install)
13170 (package-menu-mark-unmark): Make unused args optional.
13171 (package-menu-mark-obsolete-for-deletion):
13172 Use package-menu-get-status instead of a regexp search.
13173 (package-menu-get-status): Use tabulated-list-entry.
13174 (package-menu-mark-upgrades): New command.
13175 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13176 (package-menu-execute): Do installation before deletion.
13177 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13178 instead of checking major-mode.
13179 (package-menu--find-upgrades): New function.
13180
13181 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13182
13183 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13184 passwords in the log buffer.
13185 (smtpmail-process-filter): Update the process marker so that the
13186 "broken by peer" status message is inserted in the right place.
13187
13188 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13191 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13192 bibtex-completion-at-point-function.
13193 (bibtex-completion-at-point-function): Use them.
13194
13195 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13196
13197 * mpc.el (mpc-constraints-tag-lookup): New function.
13198 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13199 also to browser "album|playlist".
13200
13201 2011-09-14 Juri Linkov <juri@jurta.org>
13202
13203 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13204 (isearch-edit-string): Use length of `isearch-string' when
13205 `isearch-fail-pos' returns nil.
13206 (isearch-message): Remove duplicate code and call
13207 `isearch-fail-pos' with arg `t'.
13208
13209 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * replace.el (occur-mode-goto-occurrence): Don't force using other
13212 window (Bug#9499).
13213
13214 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13215
13216 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13217
13218 * window.el (display-buffer-window): Remove.
13219 (display-buffer-record-window): Use help-setup window parameter
13220 instead of variable display-buffer-window.
13221 (display-buffer-function, special-display-buffer-names)
13222 (special-display-function): Mention help-setup parameter instead
13223 of display-buffer-window in doc-string.
13224 * help.el (help-window-setup): New argument help-window.
13225 Use help-window-setup parameter instead of display-buffer-window.
13226 Reword some messages.
13227 (with-help-window): Pass window used for displaying the buffer
13228 to help-window-setup. Don't set display-buffer-window.
13229
13230 2011-09-13 Glenn Morris <rgm@gnu.org>
13231
13232 * emacs-lisp/debug.el (debugger-make-xrefs):
13233 Preserve point. (Bug#9462)
13234
13235 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13236
13237 * window.el (window-deletable-p): Use next-frame.
13238
13239 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13240
13241 * window.el (window-auto-delete): Remove.
13242 (window-deletable-p): Remove argument FORCE. Don't deal with
13243 dedication and previous buffers.
13244 (switch-to-prev-buffer): Don't delete window.
13245 (delete-windows-on): Delete a window's frame if and only if the
13246 window is dedicated.
13247 (replace-buffer-in-windows): Delete buffer's window or frame if
13248 and only if window is dedicated.
13249 (quit-window): Handle quit-restore as before last change.
13250 (bury-buffer): Delete window only if window-deletable-p returns t.
13251
13252 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13253
13254 * window.el (window-deletable-p): Never delete the last frame on a
13255 given terminal.
13256
13257 2011-09-13 Glenn Morris <rgm@gnu.org>
13258
13259 * help.el (describe-key-briefly): Copy previous standard-output change.
13260
13261 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13262
13263 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13264
13265 2011-09-13 Glenn Morris <rgm@gnu.org>
13266
13267 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13268 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13269
13270 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13271
13272 * dired-aux.el (dired-mark-read-string): Don't return default
13273 value on empty input (Bug#9361).
13274 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13275 Omit initial minibuffer contents.
13276 (dired-do-chmod): Signal an error on empty input.
13277 (dired-mark-read-string): Don't return default on empty input.
13278
13279 * files.el (file-modes-symbolic-to-number): Doc fix.
13280
13281 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13282
13283 * international/mule-cmds.el (ucs-completions): Remove.
13284 (read-char-by-name): Use complete-with-action instead; add metadata.
13285
13286 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13287
13288 * window.el (display-buffer--action-function-custom-type)
13289 (display-buffer--action-custom-type): New vars.
13290 (display-buffer-alist, display-buffer-default-action)
13291 (display-buffer-overriding-action): Add defcustom types.
13292
13293 * frame.el (delete-other-frames): Doc fix (Bug#276).
13294
13295 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13296
13297 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13298
13299 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13300
13301 Change modes that used same-window-* vars to use switch-to-buffer.
13302
13303 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13304 Use switch-to-buffer.
13305
13306 * cus-edit.el (customize-group, custom-buffer-create)
13307 (customize-browse, custom-buffer-create-other-window):
13308 Use switch-to-buffer or switch-to-buffer-other-window.
13309
13310 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13311 (Info-prev, Info-up, Info-speedbar-goto-node)
13312 (info-display-manual): Use switch-to-buffer.
13313 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13314
13315 * mail/sendmail.el (mail): Use switch-to-buffer.
13316 (mail-recover): Use switch-to-buffer-other-window.
13317
13318 * cmuscheme.el (run-scheme, switch-to-scheme):
13319 * ielm.el (ielm):
13320 * shell.el (shell):
13321 * net/rlogin.el (rlogin):
13322 * net/telnet.el (telnet, rsh):
13323 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13324
13325 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13326
13327 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13328
13329 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13330
13331 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13332 so don't mention it (bug#9301).
13333 (dired-sort-toggle-or-edit): Clarify string further.
13334
13335 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13336 match `x', `w32' and `ns', like the manual says (bug#9029).
13337
13338 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13339 (process-kill-buffer-query-function): Mention the buffer name in
13340 the query.
13341
13342 * image-mode.el (image-next-line): The line parameter is mandatory
13343 (bug#9258).
13344
13345 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13346 which can be useful (bug#9301).
13347
13348 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13349
13350 * subr.el (match-string): Mention that the current buffer should
13351 be the same as the search was done in (bug#9282).
13352
13353 * facemenu.el: Disable the remove-* commands if the mark isn't
13354 active (bug#9162).
13355
13356 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13357
13358 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13359 of display-buffer.
13360 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13361
13362 * replace.el (occur-mode-goto-occurrence)
13363 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13364 and display-buffer.
13365
13366 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13367 display-buffer.
13368
13369 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13370 special-display and same-window variables.
13371 (mail-other-window): Use switch-to-buffer-other-window.
13372 (mail-other-frame): USe switch-to-buffer-other-frame.
13373
13374 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13375 Use display-buffer-other-frame.
13376 (gdb-display-gdb-buffer): Use pop-to-buffer.
13377
13378 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13379
13380 * progmodes/python.el: Don't set same-window-buffer-names.
13381
13382 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13383
13384 * window.el (display-buffer-alist): Add *Python*.
13385
13386 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13387
13388 * window.el (display-buffer-alist): Add entry for buffers
13389 previously handled same-window-*.
13390 (display-buffer-alist, display-buffer-default-action)
13391 (display-buffer-overriding-action): Mark as risky.
13392 (display-buffer-alist): Document action function changes.
13393 (display-buffer--same-window-action)
13394 (display-buffer--other-frame-action): New variables.
13395 (switch-to-buffer, display-buffer-other-frame): Use them.
13396 (display-buffer): Rename reuse-frame entry to reusable-frames.
13397 (display-buffer-reuse-selected-window): Function deleted.
13398 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13399 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13400 (display-buffer-special): New function.
13401 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13402 display-buffer-reuse-or-pop-window. Split off special-display
13403 part into display-buffer-special.
13404 (display-buffer-use-some-window): Don't perform any special
13405 pop-up-frames handling.
13406 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13407 (display-buffer--maybe-same-window): Rename from
13408 display-buffer-maybe-same-window.
13409
13410 * info.el: Don't set same-window-regexps.
13411 (info-setup): New function.
13412 (info-other-window, info): Call it.
13413
13414 * cus-edit.el: Don't set same-window-regexps.
13415 (customize-group): New argument.
13416 (customize-group-other-window): Use it.
13417 (customize-face, customize-face-other-window): Likewise.
13418 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13419
13420 * net/rlogin.el:
13421 * net/telnet.el:
13422 * progmodes/gud.el: Don't set same-window-regexps.
13423
13424 * cmuscheme.el:
13425 * ielm.el:
13426 * shell.el:
13427 * mail/sendmail.el:
13428 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13429
13430 2011-09-10 Juri Linkov <juri@jurta.org>
13431
13432 * isearch.el (isearch-edit-string): Remove obsolete mention of
13433 `C-w' (`isearch-yank-word-or-char') from docstring.
13434 (isearch-query-replace): Fix typo in docstring (bug#9466).
13435
13436 2011-09-10 Juri Linkov <juri@jurta.org>
13437
13438 * paren.el (show-paren-function): Don't show escaped parens.
13439 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13440
13441 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13442
13443 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13444 (mm-default-file-encoding): Remove autoload forms, they are
13445 replaced with autoload cookies in mml.el and mm-encode.el.
13446 (mail-add-attachment): New command.
13447 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13448 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13449 the doc string.
13450 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13451
13452 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13453
13454 * simple.el (count-words-region): Use buffer if there's no region
13455 (bug#9429).
13456
13457 2011-09-09 Juri Linkov <juri@jurta.org>
13458
13459 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13460 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13461 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13462
13463 2011-09-09 Alan Mackenzie <acm@muc.de>
13464
13465 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13466 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13467
13468 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13469
13470 Fix for Savannah bug#9392.
13471 * simple.el (mail-encode-mml): New defvar.
13472
13473 * mail/rmail.el (mail-encode-mml): Add a defvar.
13474 (rmail-enable-mime-composing): Default to t.
13475 (rmail-forward): Use MIME method of forwarding only if both
13476 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13477 Set mail-encode-mml non-nil if the MIME method was used.
13478
13479 * mail/sendmail.el (mml-to-mime): Add autoload form.
13480 (mail-encode-mml): Add a defvar.
13481 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13482 to nil.
13483 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13484 message through mml-to-mime, and reset mail-encode-mml to nil.
13485
13486 2011-09-09 Glenn Morris <rgm@gnu.org>
13487
13488 * woman.el (woman-if-body): When processing an .el block,
13489 do not delete the next .el block as well. (Bug#9447)
13490 (woman-special-characters): Add oq, cq, and hy characters.
13491
13492 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13493
13494 * window.el (window-deletable-p): Make sure window is live before
13495 invoking window-prev-buffers.
13496
13497 2011-09-08 Leo Liu <sdl.web@gmail.com>
13498
13499 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13500
13501 2011-09-08 Juri Linkov <juri@jurta.org>
13502
13503 * progmodes/compile.el (compilation-environment): Make it
13504 a defcustom (bug#8340).
13505
13506 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13507
13508 * window.el (frame-auto-delete): Rename to window-auto-delete.
13509 Make it control auto-deletion of windows and/or frames.
13510 (window-deletable-p): New argument FORCE. Rewrite conditions
13511 for deleting window/frame. (Bug#9419)
13512 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13513 Rewrite handling of case when window/frame can be deleted.
13514 (delete-windows-on): Call window-deletable-p with new FORCE
13515 argument t. (Bug#9456)
13516
13517 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13518
13519 * help-mode.el (help-mode): Restore autoload.
13520
13521 2011-09-07 Juri Linkov <juri@jurta.org>
13522
13523 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13524 `compilation-environment'. Set buffer-local
13525 `compilation-environment' to `thisenv' later after (funcall mode).
13526 (Bug#8340)
13527
13528 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13529 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13530 instead of replacing its value. (Bug#8340)
13531
13532 2011-09-07 Juri Linkov <juri@jurta.org>
13533
13534 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13535 based on text properties put by `grep-filter' instead of matching
13536 escape sequences.
13537 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13538 to the value of `grep-error-screen-columns' (bug#9438).
13539
13540 2011-09-07 Juri Linkov <juri@jurta.org>
13541
13542 * simple.el (next-error-highlight, next-error-highlight-no-select):
13543 Doc fix (bug#9432).
13544
13545 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13546
13547 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13548 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13549
13550 2011-09-07 Leo Liu <sdl.web@gmail.com>
13551
13552 * net/rcirc.el (rcirc-mode): Conditionally initialize
13553 rcirc-input-ring.
13554
13555 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13556
13557 * emacs-lisp/find-func.el (find-function-C-source): Only set
13558 find-function-C-source-directory after checking that we found a source
13559 file there (bug#9440).
13560
13561 2011-09-06 Alan Mackenzie <acm@muc.de>
13562
13563 * isearch.el (isearch-other-meta-char): Wherever a key list is
13564 unread, "unread" the prefix arg, too. This fixes bug #8901.
13565
13566 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13567
13568 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13569
13570 2011-09-05 Juri Linkov <juri@jurta.org>
13571
13572 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13573
13574 2011-09-05 Juri Linkov <juri@jurta.org>
13575
13576 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13577 keeping point where processing of grep matches begins, and
13578 continue to delete remaining escape sequences from the same point.
13579 (grep-filter): Make leading zero optional in "0?1;31m" because
13580 git-grep emits "\033[1;31m" escape sequences unlike expected
13581 "\033[01;31m" as GNU Grep does (bug#9408).
13582 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13583
13584 2011-09-05 Juri Linkov <juri@jurta.org>
13585
13586 * subr.el (y-or-n-p): Capitalize "yes".
13587
13588 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13589
13590 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13591 `tramp-cache-unload-hook' where appropriate.
13592 (tramp-methods): Rename `tramp-remote-sh' to
13593 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13594 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13595
13596 * net/tramp-sh.el (top): Don't require 'shell.
13597 (tramp-methods): Add `tramp-remote-shell' and
13598 `tramp-remote-shell-args' entries.
13599 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13600 (tramp-sh-handle-shell-command): Remove.
13601 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13602 Use `tramp-remote-shell'.
13603
13604 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13605
13606 * mail/sendmail.el (sendmail-query-once-function): Delete.
13607 (sendmail-query-once): Save directly to send-mail-function.
13608 Update message-send-mail-function too.
13609
13610 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13611
13612 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13613
13614 * progmodes/python.el (python-mode-map): Use correct function to
13615 start python interpreter from menu-bar (as reported by Geert
13616 Kloosterman).
13617 (inferior-python-mode-map): Fix typo.
13618 (python-shell-map): Remove.
13619
13620 2011-09-03 Deniz Dogan <deniz@dogan.se>
13621
13622 * net/rcirc.el (rcirc-print): Simplify code for
13623 rcirc-scroll-show-maximum-output. There is no need to walk
13624 through all windows to find the right one.
13625
13626 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13627
13628 * help.el (help-return-method): Doc fix.
13629
13630 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (window-deletable-p): Don't return a non-nil value
13633 when there's a buffer that was shown in the window before.
13634 (Bug#9419)
13635 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13636 Set window's previous buffers to nil.
13637
13638 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13639
13640 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13641 newline before and after the tag line, so it doesn't interfere
13642 with determining the paragraph direction of bidirectional text.
13643
13644 2011-09-03 Leo Liu <sdl.web@gmail.com>
13645
13646 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13647
13648 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13649
13650 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13651 (pop-to-buffer): Change interactive spec. Pass second argument
13652 directly to display-buffer.
13653 (display-buffer): Fix interactive spec. Use functionp to
13654 distinguish between a function and a list of functions.
13655
13656 * abbrev.el (edit-abbrevs):
13657 * arc-mode.el (archive-extract):
13658 * autoinsert.el (auto-insert):
13659 * bookmark.el (bookmark-bmenu-list):
13660 * files.el (find-file):
13661 * view.el (view-buffer):
13662 * progmodes/compile.el (compilation-goto-locus):
13663 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13664
13665 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13666
13667 * window.el (display-buffer-alist): Doc fix.
13668 (display-buffer): Add docstring. Don't treat
13669 display-buffer-default specially.
13670 (display-buffer-reuse-selected-window)
13671 (display-buffer-same-window, display-buffer-maybe-same-window)
13672 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13673 (display-buffer-pop-up-window)
13674 (display-buffer-reuse-or-pop-window)
13675 (display-buffer-use-some-window): New functions.
13676 (display-buffer-default-action): Use them.
13677 (display-buffer-default): Delete.
13678 (pop-to-buffer-1): Fix choice of actions.
13679
13680 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * minibuffer.el (completion--insert-strings): Don't get confused by
13683 completion entries that end with an LF char.
13684
13685 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13686
13687 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13688
13689 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13690
13691 * window.el (display-buffer): Restore interactive spec.
13692 (display-buffer-same-window, display-buffer-other-window):
13693 New functions.
13694 (pop-to-buffer-1): New function. Use the above.
13695 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13696 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13697
13698 * view.el (view-buffer-other-window, view-buffer-other-frame):
13699 Just use pop-to-buffer.
13700
13701 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13702
13703 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13704
13705 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13706
13707 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13708
13709 2011-08-31 Richard Stallman <rms@gnu.org>
13710
13711 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13712 of the separation of rmail-view-buffer from rmail-buffer.
13713 If you say no to "replace original", the decrypt is in the
13714 view buffer. If you say yes, the decrypt goes into the
13715 rmail buffer also.
13716
13717 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13718
13719 * window.el (display-buffer-window): Rewrite doc-string.
13720 (display-buffer-record-window): New function.
13721 (display-buffer-macro-specifiers)
13722 (display-buffer-even-window-sizes, display-buffer-set-height)
13723 (display-buffer-set-width, display-buffer-in-window)
13724 (display-buffer-reuse-window, display-buffer-split-specifiers)
13725 (display-buffer-side-specifiers, display-buffer-split-window-1)
13726 (display-buffer-split-window, display-buffer-split-atom-window)
13727 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13728 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13729 (display-buffer-other-window-means-other-frame)
13730 (display-buffer-normalize-special)
13731 (display-buffer-normalize-default)
13732 (display-buffer-normalize-argument)
13733 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13734 (display-buffer-normalize-specifiers, display-buffer-frame)
13735 (display-buffer-same-window, display-buffer-same-frame)
13736 (display-buffer-other-window)
13737 (display-buffer-same-frame-other-window)
13738 (display-buffer-other-frame, pop-to-buffer-same-window)
13739 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13740 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13741 (switch-to-buffer-same-frame)
13742 (switch-to-buffer-other-window-same-frame)
13743 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13744 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13745 (display-buffer-alist-set): Remove.
13746 (display-buffer-function, special-display-buffer-names)
13747 (special-display-regexps, special-display-function):
13748 In doc-string refer to display-buffer-window and quit-restore
13749 parameter.
13750 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13751 (special-display-frame-alist, special-display-popup-frame)
13752 (same-window-buffer-names, same-window-regexps, same-window-p)
13753 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13754 (split-window-preferred-function, split-height-threshold)
13755 (split-width-threshold, window-splittable-p)
13756 (split-window-sensibly, window--try-to-split-window)
13757 (window--frame-usable-p, even-window-heights)
13758 (window--even-window-heights, window--display-buffer-1)
13759 (window--display-buffer-2, display-buffer-other-frame):
13760 Restore old Emacs 23 code, order and doc-strings where applicable.
13761 (display-buffer-default, display-buffer-assq-regexp): New functions.
13762 (display-buffer-alist): Rewrite doc-string.
13763 (display-buffer-default-action)
13764 (display-buffer-overriding-action): New variables.
13765 (display-buffer, switch-to-buffer): Rewrite.
13766 (pop-to-buffer): Restore Emacs 23 behavior but use
13767 window-normalize-buffer-to-display.
13768 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13769 Restore Emacs 23 behavior but use
13770 window-normalize-buffer-to-switch-to.
13771 (pop-to-buffer-same-window): Rewrite.
13772 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13773 Rewrite using Emacs 23 options.
13774
13775 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13776
13777 * net/tramp.el (tramp-root-regexp): Remove.
13778 (tramp-completion-file-name-regexp-unified)
13779 (tramp-completion-file-name-regexp-separate)
13780 (tramp-completion-file-name-regexp-url): Don't use leading volume
13781 letter on w32 systems. (Bug#5303, Bug#9311)
13782 (tramp-drop-volume-letter): Simplify definition.
13783 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13784
13785 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13786
13787 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13788 (bug#9356).
13789
13790 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13791
13792 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13793
13794 2011-08-29 Juri Linkov <juri@jurta.org>
13795
13796 * isearch.el (isearch-done): Don't display message "Mark saved"
13797 when arg `edit' is non-nil to prevent its flicker in the echo area.
13798
13799 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13800
13801 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13802 obsolete packages for deletion.
13803
13804 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13805
13806 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13807 (help-mode): Derive help-mode from special-mode. Don't invoke
13808 view-mode from help-mode.
13809 (help-xref-override-view-map): Remove.
13810 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13811 view-mode is not used anymore.
13812
13813 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13814
13815 * server.el (server-port): Doc fix.
13816
13817 * cus-theme.el (custom-theme-choose-mode): Inherit from
13818 special-mode (Bug#9124).
13819 (custom-theme-choose-mode-map): Add special-mode to parent.
13820
13821 2011-08-28 Alan Mackenzie <acm@muc.de>
13822
13823 * progmodes/cc-fonts.el
13824 (c-make-font-lock-BO-decl-search-function): New function.
13825 (c-basic-matchers-after - "Fontify the clauses after various
13826 keywords"): Extract the three keyword lists for the 3 erroneous
13827 constructs from the list of four, and use the new function above
13828 in place of an old one.
13829
13830 2011-08-28 Deniz Dogan <deniz@dogan.se>
13831
13832 * net/rcirc.el (rcirc-insert-prev-input)
13833 (rcirc-insert-next-input): Remove unused argument.
13834
13835 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13838
13839 2011-08-27 Alan Mackenzie <acm@muc.de>
13840
13841 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13842 handle function pointer parameters properly.
13843
13844 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (display-buffer-reuse-window): Fix case where
13847 selected window was reused with non-nil OTHER-WINDOW argument.
13848 (Bug#9381)
13849
13850 2011-08-27 Deniz Dogan <deniz@dogan.se>
13851
13852 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13853 oftc's NickServ messages.
13854
13855 2011-08-27 Glenn Morris <rgm@gnu.org>
13856
13857 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13858
13859 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13860
13861 * emacs-lisp/package.el (package-install): Call package-initialize
13862 if called interactively.
13863
13864 2011-08-26 Leo Liu <sdl.web@gmail.com>
13865
13866 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13867
13868 2011-08-25 Juri Linkov <juri@jurta.org>
13869
13870 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13871 `search-whitespace-regexp' (bug#9364).
13872
13873 2011-08-25 Juri Linkov <juri@jurta.org>
13874
13875 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13876 `regexp-search-ring' to their global values to protect from
13877 updating by `read-from-minibuffer' (bug#9185).
13878
13879 2011-08-25 Juri Linkov <juri@jurta.org>
13880
13881 * textmodes/ispell.el (ispell-command-loop): Add newline
13882 at the end of the "Use option `i'..." line.
13883
13884 2011-08-25 Juri Linkov <juri@jurta.org>
13885
13886 * battery.el (display-battery-mode): If `battery-status-function'
13887 or `battery-mode-line-format' is nil, display the message and set
13888 `display-battery-mode' to nil (bug#9363).
13889
13890 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13891
13892 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13893 bidi-string-mark-left-to-right; they are unnecessary now.
13894
13895 2011-08-25 Deniz Dogan <deniz@dogan.se>
13896
13897 * net/quickurl.el: Documentation typo fixes.
13898
13899 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13900
13901 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13902
13903 2011-08-25 Glenn Morris <rgm@gnu.org>
13904
13905 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13906
13907 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13908 (smtpmail-via-smtp): Handle nil response from smtp.
13909
13910 2011-08-24 Juri Linkov <juri@jurta.org>
13911
13912 * proced.el (proced-marked): Inherit from `error' instead of
13913 `font-lock-warning-face'.
13914
13915 * ibuffer.el (ibuffer-marked-face): Change default face from
13916 `font-lock-warning-face' to `warning'.
13917 (ibuffer-deletion-face): Change default face from
13918 `font-lock-type-face' to `error'.
13919
13920 * battery.el (battery-update): Use the face `error' instead of
13921 `font-lock-warning-face' (bug#6117).
13922
13923 2011-08-24 Juri Linkov <juri@jurta.org>
13924
13925 * faces.el (success): Change face color from "Green3" to
13926 "ForestGreen" on light background (bug#9353).
13927
13928 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13929
13930 * window.el (quit-window): Rename from quit-restore-window.
13931 Use same arglist as old quit-window.
13932 (frame-auto-delete): Doc fix.
13933
13934 * view.el (view-mode-exit): Use quit-window.
13935
13936 2011-08-24 Juri Linkov <juri@jurta.org>
13937
13938 * isearch.el (isearch-ring-adjust1): Start visiting previous
13939 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13940 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13941 for empty search string (when the last search string is reused
13942 automatically) to adjust the isearch ring to the last element and
13943 prepare the correct index for further M-p commands (bug#9185).
13944
13945 2011-08-24 Kenichi Handa <handa@m17n.org>
13946
13947 * international/ucs-normalize.el: If decomposition property of
13948 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13949 nil.
13950 (nfd, nfkd): Likewise.
13951
13952 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13953
13954 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13955 from process filters aren't reliably transmitted to the surrounding
13956 accept-process-output.
13957 (mpc-proc-check): New function.
13958 (mpc-proc-sync): Use it (bug#8293)
13959
13960 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13961
13962 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13963 Add compatibility functions (bug#9313).
13964
13965 2011-08-23 Eli Zaretskii <eliz@gnu.org>
13966
13967 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13968
13969 * international/uni-bidi.el: Regenerate.
13970
13971 2011-08-23 Kenichi Handa <handa@m17n.org>
13972
13973 * international/charprop.el:
13974 * international/uni-bidi.el:
13975 * international/uni-category.el:
13976 * international/uni-combining.el:
13977 * international/uni-comment.el:
13978 * international/uni-decimal.el:
13979 * international/uni-decomposition.el:
13980 * international/uni-digit.el:
13981 * international/uni-lowercase.el:
13982 * international/uni-mirrored.el:
13983 * international/uni-name.el:
13984 * international/uni-numeric.el:
13985 * international/uni-old-name.el:
13986 * international/uni-titlecase.el:
13987 * international/uni-uppercase.el: Regenerate.
13988
13989 2011-08-23 Martin Rudalics <rudalics@gmx.at>
13990
13991 * help.el (help-window-setup): Fix message displayed when other
13992 window is reused. (Bug#9341)
13993
13994 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13995
13996 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13997 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13998
13999 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14000 Mark obsolete.
14001 * shell.el (shell-parse-pcomplete-arguments): New function.
14002 (shell-completion-vars): Use it instead (bug#9160).
14003
14004 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14005
14006 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14007 strings and comments (bug#9333).
14008
14009 * emacs-lisp/debug.el (debug-arglist): New function.
14010 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14011 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14012
14013 2011-08-22 Juri Linkov <juri@jurta.org>
14014
14015 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14016 Revert regexp that highlights output switches to its old
14017 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14018
14019 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14020 to check for empty output (bug#9226).
14021
14022 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14023
14024 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14025 symbol-constituent as the default, as that stops font-lock from
14026 working properly (Bug#8843).
14027
14028 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14029
14030 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14031 `coding-system-for-*' around the process open call to avoid
14032 auth-source side effects.
14033 (smtpmail-try-auth-methods): Expand the secret password.
14034 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14035 probe hangs.
14036
14037 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14038
14039 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14040
14041 * emacs-lisp/find-func.el (find-function-noselect): New arg
14042 lisp-only.
14043
14044 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14045 signal an error for built-in functions (Bug#6664).
14046
14047 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14048
14049 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14050 (smtpmail-try-auth-methods): Use it.
14051
14052 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14053
14054 * font-lock.el (font-lock-fontify-region)
14055 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14056 (font-lock-default-unfontify-buffer)
14057 (font-lock-default-fontify-region)
14058 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14059
14060 * progmodes/compile.el (compilation-error-properties):
14061 Fix confusion between file struct and message struct (Bug#9319).
14062 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14063 `ant' regexp.
14064
14065 * net/browse-url.el (browse-url-firefox): Don't call
14066 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14067
14068 2011-08-20 Glenn Morris <rgm@gnu.org>
14069
14070 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14071
14072 * tutorial.el (tutorial--default-keys): Update some default bindings.
14073
14074 * files.el (hack-local-variables): Fully ignore case for "mode:".
14075
14076 2011-08-20 Alan Mackenzie <acm@muc.de>
14077
14078 Resolve invalid use of a regexp in regexp-opt.
14079
14080 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14081 detection for a java annotation.
14082
14083 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14084 detection for a java annotation.
14085
14086 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14087 handling for java.
14088 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14089
14090 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14091
14092 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14093 (Bug#9274).
14094
14095 2011-08-20 Alan Mackenzie <acm@muc.de>
14096
14097 Fontify CPP expressions correctly when starting in the middle of
14098 such a construct. Mainly for when jit-lock etc. starts a chunk
14099 here.
14100
14101 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14102 variable.
14103 (c-make-font-lock-search-form): New function, extracted from
14104 c-make-font-lock-search-function.
14105 (c-make-font-lock-search-function): Use the above function.
14106 (c-make-font-lock-context-search-function): New function.
14107 (c-cpp-matchers): Enhance the preprocessor expression case with
14108 the above function
14109 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14110 which takes an expression.
14111
14112 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14113
14114 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14115
14116 * window.el (display-buffer-reuse-window)
14117 (display-buffer-pop-up-window): Don't reuse or split a side
14118 window.
14119
14120 2011-08-19 Glenn Morris <rgm@gnu.org>
14121
14122 * files.el (hack-local-variables-prop-line, hack-local-variables):
14123 Downcase "Mode:". (Bug#9331)
14124
14125 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14126
14127 * international/characters.el: Add L and R categories.
14128
14129 * subr.el (bidi-string-mark-left-to-right): Rename from
14130 string-mark-left-to-right. Use category search.
14131
14132 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14133
14134 2011-08-18 Juri Linkov <juri@jurta.org>
14135
14136 * faces.el (error, warning, success): New faces with definitions
14137 copied from old default values of `font-lock-warning-face',
14138 `compilation-warning', `compilation-info' (bug#6117).
14139
14140 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14141
14142 * progmodes/compile.el (compilation-error): Inherit from `error'.
14143 (compilation-warning): Inherit from `warning'.
14144 (compilation-info): Inherit from `success'.
14145
14146 * dired.el (dired-marked): Inherit from `warning'.
14147 (dired-flagged): Inherit from `error'.
14148
14149 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14150
14151 * mail/smtpmail.el (auth-source): Require to avoid problems with
14152 binding variables (bug#9298). Also clean up some unused
14153 autoloads.
14154
14155 * net/network-stream.el (network-stream-open-starttls):
14156 Support using starttls.el without using gnutls-cli.
14157
14158 2011-08-17 Juri Linkov <juri@jurta.org>
14159
14160 * progmodes/grep.el (rgrep): Handle the case when
14161 `grep-find-command' is a cons cell (bug#9278).
14162
14163 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14164
14165 * window.el (display-buffer-pop-up-frame): Run frame creation
14166 function with BUFFER current (as special-display-popup-frame
14167 does). Reported by Drew Adams.
14168
14169 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14170
14171 * epa-mail.el: Simplify GnuPG group expansion using
14172 epg-expand-group.
14173 (epa-mail-group-alist, epa-mail-group-modtime)
14174 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14175 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14176 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14177 Remove.
14178
14179 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14180
14181 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14182
14183 2011-08-16 Alan Mackenzie <acm@muc.de>
14184
14185 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14186 Correct, to avoid the inside of macros.
14187
14188 2011-08-16 Richard Stallman <rms@gnu.org>
14189
14190 * epa-mail.el: Handle GnuPG group definitions.
14191 (epa-mail-group-alist, epa-mail-group-modtime)
14192 (epa-mail-gnupg-conf-file): New variables.
14193 (epa-mail-parse-groups, epa-mail-sync-groups)
14194 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14195 (epa-mail-expand-recipients): New functions.
14196 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14197
14198 * mail/rmail.el (rmail-epa-decrypt): New command.
14199
14200 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14201 Don't bind buffer-read-only, just inhibit-read-only.
14202 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14203 (epa-decrypt-armor-in-region): Make error message clearer.
14204
14205 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14208 and "a2b" to "ab" for `prefix'.
14209
14210 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14211
14212 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14213 filter groups.
14214 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14215 Fourquet (Bug#8804).
14216
14217 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14218
14219 * startup.el (argi): Declare as global variable (bug#9275).
14220
14221 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14222
14223 * subr.el (string-mark-left-to-right): Search the entire string
14224 for RTL script, not just the terminating character. Doc fix.
14225
14226 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14229 New function.
14230 (js--regexp-literal, js-syntax-propertize-function): Remove.
14231 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14232 (js-mode-map): Don't rebind electric keys.
14233 (js-insert-and-indent): Remove.
14234 (js-mode): Setup electric-layout and electric-indent instead.
14235
14236 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14237
14238 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14239
14240 * epa.el (epa-progress-callback-function): Fix the logic of
14241 displaying progress.
14242 * epa-file.el (epa-file-insert-file-contents): Make progress
14243 display more user-friendly.
14244 (epa-file-write-region): Ditto.
14245
14246 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14247
14248 * subr.el (string-mark-left-to-right): New function.
14249
14250 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14251 Use string-mark-left-to-right.
14252 (list-buffers-noselect): Caller changed.
14253
14254 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14255 Use string-mark-left-to-right.
14256 (tabulated-list-print): Recenter after moving point.
14257
14258 2011-08-10 Juri Linkov <juri@jurta.org>
14259
14260 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14261 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14262 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14263
14264 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14265
14266 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14267 (Bug#7554).
14268
14269 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14270
14271 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14272 character. (Bug#6594)
14273
14274 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14275
14276 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14277 (image-dired--with-db-file): New macro.
14278 (image-dired-write-tags, image-dired-remove-tag)
14279 (image-dired-create-gallery-lists, image-dired-write-comments)
14280 (image-dired-get-comment, image-dired-mark-tagged-files)
14281 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14282 (image-dired-gallery-generate): Use insert-file-contents.
14283
14284 * time.el (display-time-world-list, display-time-world-display):
14285 * time-stamp.el (time-stamp-string):
14286 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14287 set-time-zone-rule (Bug#7337).
14288
14289 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14290
14291 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14292 (epg-error-to-string, epg-errors-to-string): New function.
14293 (epg-wait-for-completion): Reverse errors list.
14294 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14295 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14296 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14297 (epg-sign-keys, epg-generate-key-from-file)
14298 (epg-generate-key-from-string): Format errors by using
14299 epg-errors-to-string (bug#9255).
14300 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14301
14302 2011-08-07 Juri Linkov <juri@jurta.org>
14303
14304 * faces.el (list-faces-display): Remove extra angle bracket
14305 from `help-mode-map'.
14306
14307 * info.el (Info-history-toc-nodes): Doc fix.
14308
14309 * longlines.el (longlines-mode): Doc fix.
14310
14311 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14314 of statements and in a few more cases (bug#9183).
14315
14316 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14317 New functions.
14318 (cl-transform-lambda): Use them (bug#9239).
14319
14320 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14321
14322 * window.el (display-buffer-same-window)
14323 (display-buffer-same-frame, display-buffer-other-window)
14324 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14325 (pop-to-buffer-other-window)
14326 (pop-to-buffer-same-frame-other-window)
14327 (pop-to-buffer-other-frame): Make them defuns.
14328 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14329
14330 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14331
14332 * subr.el (make-composed-keymap): Move from C. Change calling
14333 convention, and improve docstring to bring attention to a subtle point.
14334 * minibuffer.el (completing-read-default): Adjust accordingly.
14335
14336 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14337
14338 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14339 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14340
14341 * net/trampver.el: Update release number.
14342
14343 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14346 "in" (bug#9190).
14347
14348 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14349
14350 * mail/sendmail.el (sendmail-query-once): Restore the current
14351 buffer after querying (bug#9074).
14352
14353 * dired.el (dired-flagged): Use different faces for marked and
14354 flagged files (bug#6117).
14355
14356 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14357 (bug#4433).
14358
14359 * ido.el (ido-mode): Switch off the message if called
14360 non-interactively.
14361
14362 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14363 before 587, since it appears that that's more likely to work for
14364 more people.
14365
14366 * cus-edit.el (custom-file): When running under emacs -q, always
14367 refuse to save the customizations, even if the .emacs file doesn't
14368 exist.
14369
14370 * info.el: Remove the `Info-beginning-of-buffer' function
14371 (bug#8325).
14372
14373 * net/network-stream.el (network-stream-open-starttls):
14374 Use `starttls-available-p' to see whether starttls.el can be used.
14375
14376 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14377
14378 * window.el (display-buffer-in-window): Don't set dedicated status
14379 of window here (Bug#9215).
14380 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14381 (display-buffer-pop-up-side-window)
14382 (display-buffer-in-side-window): Set dedicated status of window here.
14383
14384 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14387 before binding generated-autoload-file.
14388
14389 2011-08-01 Deniz Dogan <deniz@dogan.se>
14390
14391 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14392
14393 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14394
14395 Sync with Tramp 2.2.2.
14396
14397 * net/trampver.el: Update release number.
14398
14399 2011-07-30 Juri Linkov <juri@jurta.org>
14400
14401 * dired-aux.el (dired-touch-initial): Remove function.
14402 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14403 current time, and `default' to the last modification time of the
14404 current marked file (bug#6887).
14405
14406 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14407
14408 * simple.el (goto-line): Use string-to-number to provide a
14409 numeric argument to read-number (bug#9163).
14410
14411 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14412
14413 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14414 connection process, it could be nil.
14415
14416 2011-07-27 Leo Liu <sdl.web@gmail.com>
14417
14418 Simplify url handling in rcirc-mode.
14419
14420 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14421 (rcirc-browse-url-at-mouse): Remove.
14422 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14423
14424 2011-07-26 Alan Mackenzie <acm@muc.de>
14425
14426 Fontify bitfield declarations properly.
14427
14428 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14429 (c-symbol-chars): Now exported as a lang variable.
14430 (c-not-primitive-type-keywords): New lang variable.
14431
14432 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14433 QT keyword "more" to prevent "more slots: ...." being spuriously
14434 parsed as a bitfield declaration.
14435
14436 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14437 Refactor and enhance to handle bitfield declarations.
14438 (c-punctuation-in): New function.
14439 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14440 declarations properly.
14441
14442 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14443
14444 * calendar/icalendar.el (icalendar--all-events): Take care of
14445 multiple vcalendars in a single file.
14446 (icalendar--convert-float-to-ical): Checkdoc fixes.
14447
14448 2011-07-25 Deniz Dogan <deniz@dogan.se>
14449
14450 * image.el (insert-image): Clarifying docstring.
14451
14452 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14453
14454 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14455 `tramp-send-command-and-check' if there is no error.
14456 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14457
14458 2011-07-22 Alan Mackenzie <acm@muc.de>
14459
14460 Prevent cc-langs.elc being loaded at run time.
14461
14462 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14463 cc-langs.
14464
14465 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14466 "(require 'cc-langs)". Quote a form so it will evaluate at
14467 (cc-mode's) compilation time.
14468
14469 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14470
14471 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14472 loading. (Bug#9114)
14473
14474 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14475
14476 * window.el (display-buffer-pop-up-window)
14477 (display-buffer-pop-up-side-window)
14478 (display-buffer-in-side-window): Call display-buffer-set-height
14479 and display-buffer-set-width after setting the new window's
14480 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14481
14482 2011-07-20 Sam Steingold <sds@gnu.org>
14483
14484 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14485 (etags-tags-included-tables): Call `convert-standard-filename' on
14486 the file names contained in TAGS so that windows Emacs can handle
14487 TAGS files created by cygwin ctags.
14488
14489 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14490
14491 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14492 which apparently didn't work.
14493
14494 2011-07-19 Roland Winkler <winkler@gnu.org>
14495
14496 * proced.el (proced-send-signal): For *Marked Processes* buffer
14497 put point at beginning of buffer.
14498
14499 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14500
14501 * proced.el (proced-format): Make header lines align with the text
14502 (bug#1779).
14503
14504 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14505
14506 * view.el (view-buffer): Allow running in `special' modes if we're
14507 visiting a file (bug#8615).
14508
14509 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14510
14511 * window.el (display-buffer-alist-of-strings-p)
14512 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14513 New functions.
14514 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14515 more accurately.
14516
14517 2011-07-18 Alan Mackenzie <acm@muc.de>
14518
14519 Fontify declarators properly when, e.g., a jit-lock chunk begins
14520 inside a declaration.
14521
14522 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14523
14524 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14525 New function.
14526 (c-complex-decl-matchers): Insert reference to
14527 c-font-lock-enclosing-decls.
14528
14529 * progmodes/cc-engine.el (c-backward-single-comment):
14530 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14531 to nil around calls to (forward-comment -1).
14532
14533 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14534
14535 * image.el (put-image): Doc typo fix.
14536
14537 * progmodes/etags.el (tags-search): Doc typo fix.
14538
14539 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14540 password if we get errors 550 to 554.
14541
14542 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14543
14544 * net/gnutls.el (gnutls-log-level): Remove.
14545
14546 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14547 indentation character (bug#6380).
14548
14549 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14550
14551 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14552 to clarify what the problem is (bug#4291).
14553
14554 * simple.el (current-kill): Clarify what
14555 `interprogram-paste-function' does (bug#7500).
14556 (auto-fill-mode): Document `auto-fill-function' in relation to
14557 `auto-fill-mode' (bug#2470).
14558
14559 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14560
14561 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14562 method if slot is read-only (bug#9035).
14563
14564 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14565
14566 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14567 * window.el (pop-to-buffer): Select window used even if it was
14568 selected before, see discussion of (Bug#8615), (Bug#6954).
14569 Pass argument NORECORD on to select-frame-set-input-focus.
14570
14571 2011-07-15 Glenn Morris <rgm@gnu.org>
14572
14573 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14574 Respect help-form.
14575
14576 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14577
14578 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14579 (gnutls-negotiate): Use it.
14580
14581 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14582
14583 * net/gnutls.el (gnutls-negotiate):
14584 Upcase `gnutls-algorithm-priority'.
14585
14586 2011-07-15 Glenn Morris <rgm@gnu.org>
14587
14588 * jka-compr.el (jka-compr-verbose): Move from here...
14589 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14590 Add missing :version tag.
14591 * info.el: No need to require jka-compr when compiling.
14592
14593 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14594
14595 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14596 (gnutls-negotiate): Use it.
14597
14598 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14599
14600 * info.el (Info-beginning-of-buffer): New command.
14601 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14602 announcing `b' as the key (bug#8325).
14603 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14604
14605 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14606
14607 * international/mule-cmds.el
14608 (describe-specified-language-support): Make the error message
14609 clearer (bug#8905).
14610
14611 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14612
14613 * isearch.el (isearch-barrier): Add a doc string, since it's
14614 mentioned in a function doc string (bug#8678).
14615
14616 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14617
14618 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14619 buffer argument (Bug#9083) and self-identifying label argument.
14620
14621 2011-07-15 Glenn Morris <rgm@gnu.org>
14622
14623 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14624
14625 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14626
14627 * man.el (Man-fontify-manpage): Fix message when formatting the
14628 man page (bug#7929).
14629
14630 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14631
14632 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14633 argument LRM; if non-nil, append an invisible LRM character to the
14634 buffer name.
14635 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14636 last argument non-nil, when formatting buffer names.
14637 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14638 paragraph direction.
14639
14640 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14641
14642 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14643 the man page name (bug#7929).
14644
14645 * image.el (put-image): Mention the `put-image' overlay property
14646 (bug#7834).
14647
14648 * scroll-bar.el (set-scroll-bar-mode): Mention that
14649 `scroll-bar-mode' lists the values (bug#7772).
14650
14651 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14652 command (bug#7729).
14653
14654 * rect.el (apply-on-rectangle): Return the point after the last
14655 operation.
14656 (string-rectangle): Go to the point after the last operation
14657 (bug#7522).
14658
14659 * printing.el (pr-toggle-region): Clarify the documentation
14660 slightly (bug#7493).
14661
14662 * time.el (display-time-update):
14663 Allow `display-time-mail-function' to return nil (bug#7158).
14664 Fix suggested by Detlev Zundel.
14665
14666 * vc/diff.el (diff): Clarify the order the file names are read
14667 (bug#7111).
14668
14669 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14670 the doc string (bug#7015).
14671
14672 * font-lock.el (font-lock-maximum-decoration): Mention what
14673 numeric levels mean (bug#6935).
14674
14675 * startup.el (initial-buffer-choice): Don't mention the `none'
14676 selection, which is against policy.
14677
14678 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14679
14680 * window.el (display-buffer-normalize-special):
14681 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14682
14683 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14684
14685 * subr.el (version<, version<=, version=): Mention "-CVS" and
14686 "-12345" alpha version numbers.
14687
14688 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14689
14690 * bindings.el: Add advertised binding for set-mark-command
14691 (Bug#5772).
14692
14693 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14694
14695 * bindings.el (mode-line-other-buffer):
14696 * bookmark.el (bookmark-bmenu-2-window):
14697 * bs.el (bs-cycle-next, bs-cycle-previous):
14698 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14699 switch-to-buffer.
14700
14701 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14702 Delete.
14703
14704 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14705
14706 * follow.el (follow-debug-message, follow-redisplay):
14707 * jka-cmpr-hook.el (with-auto-compression-mode):
14708 Fix typos in docstrings.
14709
14710 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14711
14712 * subr.el (with-silent-modifications): Clarify somewhat what the
14713 macro inhibits (bug#6525).
14714
14715 * simple.el (eval-expression): Note what it does if called
14716 interactively (bug#6495).
14717
14718 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14719
14720 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14721 Use pop-to-buffer buffer-or-name if it is nil.
14722
14723 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14724 Remove switch-to-buffer.
14725
14726 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14727
14728 * files.el (make-directory): Clarify that an error will be raised
14729 if there's an error (bug#6397).
14730
14731 * startup.el (initial-buffer-choice): Add `none' as a choice
14732 (bug#6234).
14733
14734 * subr.el (add-hook): Clarify section about buffer-local hooks
14735 (bug#6218).
14736
14737 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14738
14739 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14740
14741 * tabify.el (untabify): Preserve the current column so that point
14742 doesn't move (bug#6032).
14743
14744 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14745
14746 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14747 Rewrite to avoid awkward possessive "s" (bug#5986).
14748
14749 2011-07-13 Glenn Morris <rgm@gnu.org>
14750
14751 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14752 (dired-insert-directory): Give a message the first time
14753 if ls is found not to support --dired.
14754
14755 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14756
14757 * simple.el (toggle-truncate-lines): Clarify what is toggled
14758 (bug#5580). Text by Drew Adams.
14759
14760 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14761
14762 * simple.el (blink-matching-open): Make the error message from the
14763 last change less verbose.
14764
14765 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14766
14767 * font-lock.el (font-lock-comment-face): Use the high contrast
14768 "yellow" color for font-lock-comment-face on low color terminals
14769 using a dark background color (bug#4221).
14770
14771 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14772
14773 * dired.el (dired-insert-set-properties): Make the doc string
14774 reflect what it does now (bug#5325).
14775
14776 * simple.el (blink-matching-open): Say that we were unable to find
14777 the match within the limit, if we're limited (bug#5122).
14778
14779 * international/mule-cmds.el (prefer-coding-system): Add an
14780 example (bug#4869).
14781
14782 * progmodes/etags.el (tags-search): Document `file-list-form'
14783 (bug#4731).
14784
14785 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14786
14787 * net/browse-url.el (browse-url-default-browser)
14788 (browse-url-browser-function): Make the default browser choice a
14789 bit more logical (bug#4300). Also clean up the doc string.
14790
14791 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14792
14793 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14794 binary endings (bug#4440).
14795
14796 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14797
14798 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14799 which can be pretty annoying (bug#8971).
14800
14801 * jka-compr.el (jka-compr-verbose): New variable, and use
14802 throughout (bug#8971).
14803
14804 * info.el (Info-find-file): Fall back on the installation
14805 directory if we can't find the info node anywhere else.
14806
14807 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14808
14809 * vc/vc.el (vc-revert-file):
14810 Don't set file time-stamp in the past. (Bug#5181)
14811
14812 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14813
14814 * files.el (after-find-file): Give a better error message when
14815 trying to find a symlink that points to a file that doesn't exist
14816 (bug#4398).
14817
14818 * progmodes/cc-vars.el: Remove (probably) misleading comment
14819 (bug#4396).
14820
14821 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14822
14823 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14824
14825 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14826
14827 * mouse-sel.el: Hack restoring functionality, while keeping
14828 compatibility with 2010-07-03 changes to mouse selection.
14829 (mouse-sel-primary-overlay): New var.
14830 (mouse-sel-selection-alist): Use it.
14831 (mouse-sel-mode): Doc fix; remove points that are default features
14832 of mouse.el.
14833
14834 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14835
14836 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14837 Fix previous fix (bug#2490).
14838
14839 2011-07-12 Roland Winkler <winkler@gnu.org>
14840
14841 * textmodes/bibtex.el (bibtex-initialize):
14842 Use pop-to-buffer-same-window.
14843 (bibtex-search-entries): Fix interactive call.
14844
14845 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
14847 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14848 Fontise bytecomp Error lines more correctly (bug#2490).
14849 Fix suggested by Johan Bockgård.
14850
14851 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14852
14853 * dired-x.el (dired-guess-default): Use `delete-dups'.
14854
14855 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14856
14857 * dired.el (dired-mark-prompt):
14858 * dired-aux.el (dired-read-shell-command): Doc fix.
14859
14860 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14861
14862 * mail/sendmail.el (sendmail-query-once):
14863 Use `customize-save-variable' unconditionally, now that it works under
14864 emacs -Q.
14865
14866 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14867
14868 * cus-edit.el (custom-file): Take an optional no-error variable.
14869 (customize-save-variable): Set the variable, and give a warning if
14870 running under "emacs -q".
14871
14872 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14873
14874 * loadhist.el (unload-feature-special-hooks):
14875 Add `auto-coding-functions', `fill-nobreak-predicate' and
14876 `find-directory-functions' (bug#5327).
14877
14878 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14879
14880 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14881
14882 * cus-edit.el (custom-guess-name-alist): -alist variables should
14883 use the `alist' type (bug#3120). Suggested by Drew Adams.
14884
14885 * printing.el: Add documentation to all the `pr-toggle-' commands.
14886
14887 2011-07-11 Leo Liu <sdl.web@gmail.com>
14888
14889 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14890 backends where it makes sense (bug#2623).
14891
14892 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14893
14894 * dired-x.el (dired-guess-default): Remove duplicate shell command
14895 entries (bug#2028).
14896 (dired-guess-default): Fix grammar in doc string (bug#2028).
14897 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14898
14899 * subr.el (remove-duplicates): New conveniency function.
14900
14901 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14902
14903 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14904 (bug#1526).
14905
14906 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14907
14908 * window.el (display-buffer-normalize-default): Don't invert
14909 meaning of even-window-heights. Reported by Eli Zaretskii
14910 <eliz@gnu.org>.
14911
14912 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14913
14914 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14915
14916 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14917
14918 * window.el (display-buffer): Fix arguments to
14919 display-buffer-reuse-window in last change.
14920
14921 * faces.el (link): Use a less saturated blue on light backgrounds.
14922
14923 * startup.el (fancy-startup-text, fancy-about-text)
14924 (fancy-startup-tail): Use font-lock faces, for background safety.
14925
14926 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14927
14928 * emulation/viper-cmd.el (viper-change-state-to-vi):
14929 Limit triggering of abbrev expansion (Bug#9038).
14930
14931 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14932
14933 * window.el (display-buffer-default-specifiers): Remove.
14934 (display-buffer-macro-specifiers): Remove default specifiers.
14935 (display-buffer-alist): Default to nil.
14936 (display-buffer-reuse-window): New optional argument other-window.
14937 (display-buffer-pop-up-window): Allow splitting internal
14938 windows. Check whether a live window was created.
14939 (display-buffer-other-window-means-other-frame)
14940 (display-buffer-normalize-arguments): Rename to
14941 display-buffer-normalize-argument and rewrite. Set the
14942 other-window specifier.
14943 (display-buffer-normalize-special): New function.
14944 (display-buffer-normalize-options): Rename to
14945 display-buffer-normalize-default and rewrite.
14946 (display-buffer-normalize-options-inhibit): Remove.
14947 (display-buffer-normalize-specifiers): Rewrite.
14948 (display-buffer): Process other-window specifier and call
14949 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14950 more faithfully.
14951 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14952 (display-buffer-alist-set): Don't handle 'unset default values.
14953 (display-buffer-in-window, display-buffer-alist-set):
14954 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14955 <tassilo@member.fsf.org>.
14956
14957 2011-07-09 Leo Liu <sdl.web@gmail.com>
14958
14959 * register.el (insert-register): Restore accidental change on
14960 2011-06-26. (Bug#9028)
14961
14962 2011-07-09 Glenn Morris <rgm@gnu.org>
14963
14964 * subr.el (remq): Handle the empty list. (Bug#9024)
14965
14966 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14967
14968 * mail/sendmail.el (send-mail-function): No longer delay custom
14969 initialization.
14970 * custom.el (custom-initialize-delay): Doc fix.
14971
14972 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14973
14974 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14975
14976 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
14977
14978 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14979 human-friendly prompt.
14980
14981 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14982
14983 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14984 provided by a particular plugin.
14985
14986 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
14987
14988 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14989 save customizations (with "emacs -Q"), just set the variable
14990 instead of erroring out.
14991
14992 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14993
14994 2011-07-08 Juri Linkov <juri@jurta.org>
14995
14996 * arc-mode.el (archive-zip-expunge, archive-zip-update)
14997 (archive-zip-update-case): Use 7z if found by `executable-find'.
14998 The order of searching the available programs is the same as in
14999 `archive-zip-extract' (bug#8968).
15000
15001 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15002
15003 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15004 (menu-bar-options-menu): Tweak descriptions.
15005
15006 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15007
15008 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15009 menu items into verb phrases (bug#1421). Also refill to fit under
15010 80 columns.
15011
15012 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15013
15014 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15015 (Info-read-node-name): Doc fix (Bug#1084).
15016
15017 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15018 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15019 (end-of-sexp, beginning-of-sexp)
15020 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15021 (forward-symbol, forward-same-syntax, word-at-point)
15022 (sentence-at-point): Doc fix (Bug#1144).
15023
15024 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15025
15026 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15027 should cover it (bug#1281).
15028
15029 * cus-edit.el (custom-show): Mark as obsolete.
15030
15031 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15032 negotiation fails, then possibly try again with a non-encrypted
15033 connection (bug#9017).
15034
15035 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15036 be used.
15037
15038 2011-07-07 Richard Stallman <rms@gnu.org>
15039
15040 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15041 property, and handle its changed format.
15042 Look for the correct line number.
15043 Use file's line contents (but not past first =) to find
15044 correct line in message.
15045
15046 2011-07-07 Kenichi Handa <handa@m17n.org>
15047
15048 * international/characters.el (build-unicode-category-table):
15049 Delete it.
15050 (unicode-category-table): Set it by unicode-property-table-internal.
15051
15052 * international/mule-cmds.el (char-code-property-alist): Move to
15053 to src/chartab.c.
15054 (get-char-code-property): Call unicode-property-table-internal to
15055 load a file. Call get-unicode-property-internal where necessary.
15056 (put-char-code-property): Call unicode-property-table-internal to
15057 load a file. Call put-unicode-property-internal where necessary.
15058 put-unicode-property-internal where necessary.
15059 (char-code-property-description):
15060 Call unicode-property-table-internal to load a file.
15061
15062 * international/charprop.el:
15063 * international/uni-bidi.el:
15064 * international/uni-category.el:
15065 * international/uni-combining.el:
15066 * international/uni-comment.el:
15067 * international/uni-decimal.el:
15068 * international/uni-decomposition.el:
15069 * international/uni-digit.el:
15070 * international/uni-lowercase.el:
15071 * international/uni-mirrored.el:
15072 * international/uni-name.el:
15073 * international/uni-numeric.el:
15074 * international/uni-old-name.el:
15075 * international/uni-titlecase.el:
15076 * international/uni-uppercase.el: Regenerate.
15077
15078 * loadup.el: Load international/charprop.el before
15079 international/characters.
15080
15081 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15082
15083 * window.el (next-buffer, previous-buffer): Signal an error if
15084 called from a minibuffer window.
15085
15086 * bindings.el: Revert 2011-07-04 change.
15087
15088 2011-07-06 Richard Stallman <rms@gnu.org>
15089
15090 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15091 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15092 Treat markers like ints.
15093 (rmail-mime-entity): Doc fix.
15094
15095 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15096
15097 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15098 defcustom again for backwards compatibility.
15099
15100 * simple.el (shell-command-on-region): Fill.
15101
15102 * dired-aux.el (dired-kill-line): Add a doc string.
15103
15104 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15105 to "\\sw\\|\\s_" (bug#358).
15106
15107 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15108 (dired-unmark-backward): Ditto.
15109 (dired-flag-backup-files): Ditto.
15110
15111 * dired-x.el (dired-mark-sexp): Ditto.
15112
15113 2011-07-06 Richard Stallman <rms@gnu.org>
15114
15115 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15116 (rmail-mime-entity): New arg TRUNCATED.
15117 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15118 New functions.
15119 (rmail-mime-save): Warn if entity is truncated.
15120 (rmail-mime-toggle-hidden): Likewise, for showing.
15121 (rmail-mime-process-multipart): Record when an entity is truncated.
15122
15123 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15124 if ENTITY is a string.
15125
15126 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15127
15128 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15129 of faces when `M-C-x'-ing their definitions (bug#8378).
15130 Also clean up the code slightly.
15131
15132 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15133 because that makes the colors go away.
15134
15135 * mail/sendmail.el (send-mail-function): Change the default to
15136 `sendmail-query-once'.
15137 (sendmail-query-once): Add an autoload cookie.
15138
15139 * net/network-stream.el (network-stream-open-starttls): Try using
15140 a plain connection even if the server offered STARTTLS, and we
15141 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15142 capability. This should make smtpmail.el work in slightly more
15143 configurations.
15144
15145 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15146
15147 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15148 New defun.
15149 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15150
15151 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15152
15153 * progmodes/sql.el: Version 3.0
15154 (sql-product-alist): Add product :completion-object,
15155 :completion-column, and :statement attributes.
15156 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15157 (sql-mode-syntax-table): Mark all punctuation.
15158 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15159 ansi keywords.
15160 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15161 (sql-mode-oracle-font-lock-keywords): Improve.
15162 (sql-oracle-show-reserved-words): New function for development.
15163 (sql-product-font-lock): Simplify for source code buffers.
15164 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15165 New functions.
15166 (sql-highlight-product): Set product specific syntax table.
15167 (sql-mode-map): Add statement movement functions.
15168 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15169 New variable.
15170 (sql-statement-regexp, sql-beginning-of-statement)
15171 (sql-end-of-statement, sql-signum): New functions.
15172 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15173 (sql-show-sqli-buffer): Bug fix.
15174 (sql-interactive-mode): Store connection data as buffer local.
15175 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15176 with sql-interactive-mode.
15177 (sql-save-connection): Save buffer local settings.
15178 (sql-connection-menu-filter): Change menu entry name.
15179 (sql-product-interactive): Bug fix.
15180 (sql-preoutput-hold): New variable.
15181 (sql-interactive-remove-continuation-prompt): Bug fixes.
15182 (sql-debug-redirect): New variable.
15183 (sql-str-literal): New function.
15184 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15185 Redesign.
15186 (sql-oracle-save-settings, sql-oracle-restore-settings)
15187 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15188 (sql-completion-object, sql-completion-column)
15189 (sql-completion-sqlbuf): New variables.
15190 (sql-build-completions-1, sql-build-completions)
15191 (sql-try-completion): New functions.
15192 (sql-read-table-name): Use them.
15193 (sql-contains-names): New buffer local variable.
15194 (sql-list-all, sql-list-table): Use it.
15195 (sql-oracle-completion-types): New variable.
15196 (sql-oracle-completion-object, sql-sqlite-completion-object)
15197 (sql-postgres-completion-object): New functions.
15198
15199 2011-07-06 Glenn Morris <rgm@gnu.org>
15200
15201 * window.el (pop-to-buffer): Doc fix.
15202
15203 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15204
15205 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15206
15207 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15208
15209 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15210
15211 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15212
15213 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15214
15215 * button.el (button): Inherit from link face. Suggested by Dan
15216 Nicolaescu.
15217
15218 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15219
15220 * progmodes/gdb-mi.el: Fit in 80 columns.
15221 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15222 switch-to-buffer.
15223
15224 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15225 if imenu is simply not configured (bug#8941).
15226
15227 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15228
15229 * allout.el (allout-post-undo-hook): New allout outline-change
15230 event hook to signal undo activity.
15231 (allout-post-command-business): Run allout-post-undo-hook if an
15232 undo just occurred.
15233 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15234 * allout-widgets.el (allout-widgets-after-undo-function):
15235 Ensure the integrity of the current item's decoration after it has been
15236 in the vicinity of an undo.
15237 (allout-widgets-mode): Include allout-widgets-after-undo-function
15238 on the new allout-post-undo-hook.
15239
15240 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15241
15242 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15243 Let define-derived-mode define it.
15244 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15245 cycles of abbrev-table inheritance (bug#8998).
15246
15247 2011-07-05 Roland Winkler <winkler@gnu.org>
15248
15249 * textmodes/bibtex.el: Add support for biblatex.
15250 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15251 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15252 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15253 (bibtex-entry-alist, bibtex-field-alist): New variables.
15254 (bibtex-entry-field-alist): Obsolete alias for
15255 bibtex-BibTeX-entry-alist.
15256 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15257 (bibtex-set-dialect): New command.
15258 (bibtex-entry-type, bibtex-entry-head)
15259 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15260 Bind via bibtex-set-dialect.
15261 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15262 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15263 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15264 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15265 Define via bibtex-set-dialect.
15266 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15267 Obey bibtex-no-opt-remove-re.
15268 (bibtex-vec-push, bibtex-vec-incr): New functions.
15269 (bibtex-format-entry, bibtex-field-list)
15270 (bibtex-print-help-message, bibtex-validate)
15271 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15272
15273 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15274
15275 * progmodes/compile.el (compilation-goto-locus):
15276 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15277 * bs.el (bs-cycle-next, bs-cycle-previous):
15278 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15279 * bindings.el (mode-line-other-buffer):
15280 * autoinsert.el (auto-insert):
15281 * arc-mode.el (archive-extract):
15282 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15283
15284 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15285
15286 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15287 Fix check of `emacs-lock-unlockable-modes'.
15288 Coerce true values of `emacs-lock--try-unlocking' to t.
15289
15290 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15293 * emacs-lock.el: New file.
15294
15295 2011-07-05 Julien Danjou <julien@danjou.info>
15296
15297 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15298 than `boundp' to check if face is set.
15299
15300 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15301
15302 * register.el (registerv-make):
15303 * window.el (window-min-height): Fix typos in docstrings.
15304
15305 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15306
15307 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15308 Update doc string.
15309
15310 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15311
15312 * server.el (server-execute): Catch quit and call
15313 `server-return-error' to pass the error back to emacsclient and
15314 close the connection (bug#8942).
15315
15316 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15317
15318 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15319 insecure exception for current topic. Also note that auto-saves
15320 are handled differently.
15321
15322 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15323 State variables for tracking auto-save inhibition situation.
15324
15325 (allout-write-contents-hook-handler): Rename from
15326 'allout-write-file-hook-handler', and describe how it depends on
15327 write-contents-functions sensitivity to non-nil value to prevent
15328 file write.
15329
15330 (allout-auto-save-hook-handler): Remove. auto-save does not check
15331 this in individual buffers, only in the starting buffer, so this
15332 is not the right way for us to inhibit auto-save in a buffer
15333 according to its condition.
15334
15335 (allout-mode): Use new allout-write-contents-hook-handler, and
15336 only with write-contents-functions. Remove auto-save provisions -
15337 they're implemented elsewhere.
15338
15339 (allout-before-change-handler): If undo is in progress, note that
15340 for attention of allout-post-command-business.
15341
15342 (allout-post-command-business): If the command we're following was
15343 an undo, check for change in the status of encrypted items and
15344 adjust auto-save inhibitions accordingly.
15345
15346 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15347 according to whether there are or aren't any plain-text topics
15348 pending encryption.
15349
15350 (allout-inhibit-auto-save-info-for-decryption):
15351 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15352 if there are plain-text topics pending encryption.
15353
15354 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15355 buffer-saved-size and some allout state to not inhibit auto-saves
15356 if there are no longer any plain-text topics pending encryption.
15357
15358 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15359 No longer provide for exemption of the current topic.
15360
15361 2011-07-04 Juri Linkov <juri@jurta.org>
15362
15363 Add 7z operations to delete and save changed members (bug#8968).
15364 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15365 New defcustoms.
15366 (archive-7z-write-file-member): New function.
15367 (archive-7z-summarize): Fix the number of dashes in the
15368 listing output.
15369
15370 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15373 (bug#8958).
15374
15375 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15376
15377 * bindings.el: Ignore next-buffer and previous-buffer in
15378 minibuffer-local-map.
15379
15380 * font-lock.el (font-lock-builtin-face): Change light background
15381 color to dark slate blue (Bug#6693).
15382
15383 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15384
15385 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15386
15387 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15388
15389 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15390 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15391 Add switch-to-buffer.
15392
15393 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15394
15395 * isearch.el (isearch-search-fun-function): Clarify further the
15396 meaning of the function returned.
15397
15398 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15399
15400 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15401
15402 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15403 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15404 Use it.
15405 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15406 `tramp-default-remote-path' does not exist.
15407 (tramp-send-command-and-read): New optional argument NOERROR.
15408 (tramp-open-connection-setup-interactive-shell)
15409 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15410 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15411 (tramp-process-sentinel): Flush also process' connection property.
15412 (tramp-sh-handle-start-file-process): Do not set process
15413 sentinel. It is done now ...
15414 (tramp-maybe-open-connection): ... here. (Bug#8929)
15415
15416 2011-07-04 MON KEY <monkey@sandpframing.com>
15417
15418 * play/animate.el (animate-string): Doc fixes and allow changing
15419 the buffer name (bug#5417).
15420
15421 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15422
15423 * play/animate.el (animation-buffer-name): Rename from *animate*.
15424
15425 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15426
15427 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15428 This is simpler and helps future-proof the code.
15429 (timer-until): Use time-subtract and float-time.
15430 (timer--time-less-p): Use time-less-p.
15431
15432 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15433
15434 * type-break.el (timep): Use the value of `float-time' to avoid a
15435 byte-compiler warning.
15436
15437 * server.el (server-eval-and-print): Return any result, even nil.
15438
15439 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15440
15441 * type-break.el: Accept time formats that the builtins accept.
15442 (timep, type-break-time-difference): Accept any format that
15443 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15444 This is simpler and helps future-proof the code.
15445 (type-break-time-difference): Round rather than ignoring
15446 subseconds components.
15447
15448 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449
15450 * info.el (Info-apropos-matches): Make non-interactive, since it
15451 doesn't seem to do anything useful as a command (bug#8829).
15452
15453 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15454
15455 * frame.el (frame-background-mode, frame-set-background-mode):
15456 Move from faces.el.
15457 (frame-default-terminal-background): New function.
15458
15459 * custom.el (custom-push-theme): Don't record faces in `changed'
15460 theme; this doesn't work correctly for per-frame face settings.
15461 (disable-theme): Use face-set-after-frame-default to reset faces.
15462 (custom--frame-color-default): New function.
15463
15464 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15465
15466 * dired.el (dired-flagging-regexp): Remove unused variable
15467 (bug#8769).
15468
15469 2011-03-29 Kevin Ryde <user42@zip.com.au>
15470
15471 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15472 `perl-Test2' extend to match possible "fail #N" rep count
15473 (bug#8377).
15474
15475 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15476
15477 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15478 `smtpmail-via-smtp' now returns the error instead of nil.
15479
15480 * isearch.el (isearch-search-fun-function): Clarify the doc string
15481 (bug#8101).
15482
15483 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15484
15485 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15486 unnecessary spaces (bug#8987).
15487
15488 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15489
15490 * net/network-stream.el (open-network-stream): Use the
15491 :end-of-capability command thoughout.
15492
15493 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15494
15495 * net/network-stream.el (open-network-stream): Add the
15496 :end-of-capability command parameter, used by pop3.el.
15497
15498 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15499
15500 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15501
15502 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15503 for list)" (bug#6475).
15504
15505 * files.el (file-expand-wildcards): Ignore non-readable
15506 sub-directories while trying to find matches instead of signaling
15507 an error (bug#6297).
15508
15509 * man.el (Man-reference-regexp): Allow matching possible
15510 word-wrapped references (bug#6289).
15511
15512 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15513 for consistency with the other vc buffers (bug#6197).
15514 (vc-checkin): Ditto.
15515
15516 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15517
15518 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15519
15520 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15521
15522 * custom.el (defcustom): Clarify that :set is only used in the
15523 Customize user interface (bug#6089).
15524
15525 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15526 associated with a file, refuse to run instead of erroring out
15527 (bug#6084).
15528
15529 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15530 the doc string, since it appears that using `fill-column' always
15531 controls the width (bug#7845).
15532
15533 * simple.el (shell-command-on-region): Say where the error output
15534 went if `shell-command-default-error-buffer' is set (bug#6857).
15535
15536 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15537
15538 * allout.el (allout-yank-processing): Adjust cursor position for
15539 backwards-deleted space.
15540
15541 (allout-rebullet-heading): Register changes with
15542 allout-exposure-changed-hook, so the modified topic is properly
15543 decorated.
15544
15545 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15546
15547 * minibuffer.el (completion-in-region): Document PREDICATE
15548 (bug#7136).
15549
15550 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15551 of keyword/argument pairs (bug#6904).
15552
15553 * replace.el (multi-occur):
15554 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15555
15556 2011-07-02 Drew Adams <drew.adams@oracle.com>
15557
15558 * dired.el (dired-mark-if): Make the message about whether it's
15559 marking or unmarking clearer (bug#8523).
15560
15561 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15562
15563 * disp-table.el (display-table-print-array): New function.
15564 (describe-display-table): Use it to print the vectors more pretty
15565 (Bug#8859).
15566
15567 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15568
15569 * window.el (window-state-get-1): Don't assign clone numbers.
15570 Add clone-of item to list of window parameters.
15571 (window-state-put-2): Don't process clone numbers.
15572 (display-buffer-alist): Fix doc-string.
15573
15574 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * subr.el (remq): Don't allocate if it's not needed.
15577 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15578 (keymap--merge-bindings): New functions.
15579 (keymap-canonicalize): Use them to refine the canonicalization.
15580 * minibuffer.el (minibuffer-local-completion-map)
15581 (minibuffer-local-must-match-map): Move initialization from C.
15582 (minibuffer-local-filename-completion-map): Move initialization from C;
15583 don't inherit from anything here.
15584 (minibuffer-local-filename-must-match-map): Make obsolete.
15585 (completing-read-default): Use make-composed-keymap to combine
15586 minibuffer-local-filename-completion-map with either
15587 minibuffer-local-must-match-map or
15588 minibuffer-local-filename-completion-map.
15589
15590 2011-07-01 Glenn Morris <rgm@gnu.org>
15591
15592 * type-break.el (type-break-time-sum): Use dolist.
15593
15594 * textmodes/flyspell.el (flyspell-word-search-backward):
15595 Replace CL function.
15596
15597 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15598
15599 * mouse.el (mouse--strip-first-event): New function.
15600 (function-key-map): Use it to map fringe clicks to normal clicks
15601 by default.
15602
15603 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15604 (vc-bzr-revision-completion-table): Add support for annotate and date.
15605
15606 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15607 inherit from parent.
15608
15609 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15610
15611 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15612 (dired-show-file-type): Doc fixup (bug#8818).
15613
15614 * dired.el (dired-mode): Fix up the doc string as suggested by
15615 Drew Adams (bug#8817).
15616
15617 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15618 cookie, since the manual says that it should be possible to add
15619 this function to `find-file-hook' (bug#8709).
15620
15621 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15622
15623 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15624 here. Noted Ted Zlatanov as the maintainer.
15625 (cfengine-common-settings, cfengine-common-syntax): New functions
15626 to set up common things between `cfengine-mode' and
15627 `cfengine3-mode'.
15628 (cfengine3-mode): New mode.
15629 (cfengine3-defuns cfengine3-defuns-regex
15630 (cfengine3-class-selector-regex cfengine3-category-regex)
15631 (cfengine3-vartypes cfengine3-font-lock-keywords)
15632 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15633 (cfengine3-indent-line): Add from cfengine3.el.
15634
15635 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15636
15637 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15638
15639 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15640
15641 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15642
15643 * window.el (same-window-buffer-names, same-window-regexps)
15644 (same-window-p, special-display-frame-alist)
15645 (special-display-popup-frame, special-display-function)
15646 (special-display-buffer-names, special-display-regexps)
15647 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15648 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15649 (split-window-preferred-function, split-height-threshold)
15650 (split-width-threshold, even-window-heights)
15651 (display-buffer-mark-dedicated, window-splittable-p)
15652 (split-window-sensibly, window-safely-shrinkable-p):
15653 Un-obsolete.
15654 (display-buffer): Don't spread args with function specifier
15655 because special-display-popup-frame won't like it.
15656
15657 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15658
15659 Time-stamp simplifications and fixes.
15660 These improve accuracy slightly, and future-proof the code
15661 against some potential changes to current-time format.
15662
15663 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15664 by using time-since and float-time.
15665
15666 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15667 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15668 + NNN microseconds".
15669
15670 * type-break.el (type-break-time-sum): Rewrite using time-add.
15671
15672 * play/hanoi.el (hanoi-current-time-float): Remove.
15673 All uses replaced by float-time.
15674
15675 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15676 This yields a more-accurate answer.
15677 (rng-time-to-float): Remove; no longer needed.
15678
15679 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15680
15681 * calendar/timeclock.el (timeclock-seconds-to-time):
15682 Defalias to seconds-to-time, since they're the same thing.
15683
15684 * emacs-lisp/elp.el (elp-elapsed-time):
15685 * emacs-lisp/benchmark.el (benchmark-elapse):
15686 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15687
15688 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15689
15690 * window.el (bury-buffer): Don't iconify the only frame.
15691 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15692 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15693
15694 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15695
15696 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15697 Add mouse-yank-primary.
15698
15699 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15700
15701 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15702
15703 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15704
15705 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15706 (find-library-name): Use it to find relative load names when provided
15707 absolute file name (bug#8803).
15708
15709 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15710
15711 * textmodes/flyspell.el (flyspell-word): Consider words that
15712 differ only in case as potential doublons (bug#5687).
15713
15714 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15715 Remove two rather uninteresting debugging-like messages to make
15716 debbugs.el more silent.
15717
15718 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15719 a password-like phrase.
15720
15721 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15722
15723 * progmodes/cc-guess.el: New file.
15724
15725 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15726
15727 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15728 derived from `c-basic-common-init'.
15729
15730 * progmodes/cc-mode.el (top-level): Require cc-guess.
15731 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15732
15733 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15734
15735 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15736
15737 2011-06-30 Alan Mackenzie <acm@muc.de>
15738
15739 * progmodes/cc-engine.el (c-guess-continued-construct):
15740 Correct the handling of template-args-cont, particularly for when font
15741 lock is disabled. Name this case as "CASE G".
15742
15743 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15744
15745 * allout.el (allout-yank-processing): Fix injection of extra space
15746 between bullet and non-whitespace character in first topic when
15747 pasting, ensuring that the actual spacing in the pasted topic
15748 following the bullet char is preserved. This extra space was
15749 causing pasted encrypted topics to get a decrypted status even
15750 when the content was actually still encrypted. Now the decryption
15751 status from before the paste is preserved.
15752
15753 (allout-flag-region): Set all allout overlays so they evaporate
15754 when reduced to zero length (evanescent), to prevent overlay
15755 leakage.
15756
15757 2011-06-30 Glenn Morris <rgm@gnu.org>
15758
15759 * w32-fns.el (w32-charset-info-alist): Declare.
15760
15761 * find-dired.el (find-grep-options): Simplify.
15762
15763 * term/ns-win.el (ns-set-resource): Declare.
15764
15765 * ses.el (row, col): Declare dynamic variables honestly.
15766
15767 * textmodes/reftex-parse.el (index-tags): Declare.
15768
15769 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15770
15771 * cus-edit.el (customize-push-and-save): New function.
15772
15773 * files.el (hack-local-variables-confirm): Use it.
15774
15775 * custom.el (load-theme): New arg NO-CONFIRM.
15776 Use customize-push-and-save (Bug#8720).
15777 (custom-enabled-themes): Doc fix.
15778
15779 * cus-theme.el (customize-create-theme)
15780 (custom-theme-merge-theme): Callers to load-theme changed.
15781
15782 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15783
15784 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15785 short URLs have at least one dot in them (bug #7614).
15786
15787 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15788 nil, because using a pty is apparently too slow (bug #895).
15789
15790 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15791
15792 * mail/sendmail.el (sendmail-query-once): New function.
15793 (sendmail-query-once-function): New variable.
15794
15795 2011-06-29 Glenn Morris <rgm@gnu.org>
15796
15797 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15798
15799 * ses.el (top-level): Require cl when compiling.
15800 (ses-set-localvars): Fix error statement.
15801 Call it at compile time to silence a storm of warnings.
15802
15803 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15804
15805 * window.el (normalize-live-buffer): Rename to
15806 window-normalize-buffer.
15807 (normalize-live-frame): Rename to window-normalize-frame.
15808 (normalize-any-window): Rename to window-normalize-any-window.
15809 (normalize-live-window): Rename to window-normalize-live-window.
15810 (make-window-atom): Rename to window-make-atom.
15811 (window-resize-reset): Rename to window--resize-reset.
15812 (window-resize-reset-1): Rename to window--resize-reset-1.
15813 (resize-mini-window): Rename to window--resize-mini-window.
15814 (resize-subwindows-skip-p): Rename to
15815 window--resize-subwindows-skip-p.
15816 (resize-subwindows-normal): Rename to
15817 window--resize-subwindows-normal.
15818 (resize-subwindows): Rename to window--resize-subwindows.
15819 (resize-other-windows): Rename to window--resize-siblings.
15820 (resize-this-window): Rename to window--resize-this-window.
15821 (resize-root-window): Rename to window--resize-root-window.
15822 (resize-root-window-vertically): Rename to
15823 window--resize-root-window-vertically.
15824 (normalize-buffer-to-display): Rename to
15825 window-normalize-buffer-to-display.
15826 (normalize-buffer-to-switch-to): Rename to
15827 window-normalize-buffer-to-switch-to.
15828 Correspondingly update all callers of the functions listed
15829 above.
15830 (display-buffer-alist, display-buffer-normalize-arguments)
15831 (display-buffer-normalize-options, display-buffer)
15832 (display-buffer-alist-set): Use "function" instead of
15833 "fun-with-args".
15834
15835 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15836
15837 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15838 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15839 debbugs.gnu.org. Mention acknowledgment email.
15840
15841 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15842
15843 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15844 buffer multibyteness, since it shouldn't matter.
15845
15846 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15847
15848 * window.el (display-buffer-in-side-window): Handle dedicated
15849 windows as in display-buffer-reuse-window.
15850 (display-buffer-normalize-alist): Use value of override
15851 specifier.
15852 (display-buffer-normalize-specifiers): Use value of
15853 other-window-means-other-frame specifier.
15854 (display-buffer-alist): Rewrite some texts in widgets.
15855 (display-buffer): Spread arguments when calling function
15856 specified by fun-with-args.
15857
15858 2011-06-28 Deniz Dogan <deniz@dogan.se>
15859
15860 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15861 Unnest `let'.
15862
15863 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15864 selectors (Bug#5732).
15865 (css-proprietary-nmstart-re): Use `regexp-opt'.
15866
15867 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15868
15869 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15870 (eshell-ls-date-format): New defcustom.
15871 (eshell-ls-file): Use it.
15872
15873 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15876
15877 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15878
15879 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15880 (ange-ftp-make-tmp-name): New arg.
15881 (ange-ftp-file-local-copy): Use it.
15882
15883 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15884
15885 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15886 no-conversion (Bug#8870).
15887
15888 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15889
15890 * window.el (window-right, window-left, window-child)
15891 (window-child-count, window-last-child)
15892 (window-iso-combination-p, walk-window-tree-1)
15893 (window-atom-check-1, window-tree-1, delete-window)
15894 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15895 new naming conventions - window-vchild, window-hchild,
15896 window-next and window-prev are now called window-top-child,
15897 window-left-child, window-next-sibling and window-prev-sibling
15898 respectively.
15899 (resize-window-reset): Rename to window-resize-reset.
15900 (resize-window-reset-1): Rename to window-resize-reset-1.
15901 (resize-window): Rename to window-resize.
15902 (window-min-height, window-min-width)
15903 (resize-mini-window, resize-this-window, resize-root-window)
15904 (resize-root-window-vertically, adjust-window-trailing-edge)
15905 (enlarge-window, shrink-window, maximize-window)
15906 (minimize-window, delete-window, quit-restore-window)
15907 (split-window, balance-windows, balance-windows-area-adjust)
15908 (balance-windows-area, window-state-put-2)
15909 (display-buffer-even-window-sizes, display-buffer-set-height)
15910 (display-buffer-set-width, set-window-text-height)
15911 (fit-window-to-buffer): Rename all "resize-window" prefixed
15912 calls to use the "window-resize" prefix convention.
15913 (display-buffer-alist): Fix symbol for label specifier.
15914 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15915 corresponding specifier.
15916 Reported by Juanma Barranquero <lekktu@gmail.com>.
15917
15918 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15919
15920 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15921 convention.
15922 (ses-call-printer): Does not pass an empty string to formatter when the
15923 cell is empty to keep from barking printer Calc math-format-value.
15924
15925 2011-06-27 Richard Stallman <rms@gnu.org>
15926
15927 * battery.el (battery-mode-line-limit): New variable.
15928 (battery-update): Handle it.
15929
15930 * mail/rmailmm.el (rmail-mime-process-multipart):
15931 Handle truncated messages.
15932
15933 2011-06-27 Glenn Morris <rgm@gnu.org>
15934
15935 * progmodes/flymake.el (flymake-err-line-patterns):
15936 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15937
15938 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15939
15940 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15941 (ses--clean-!, ses--clean-_): New functions.
15942 (ses-range): Add configurability of readout order, and conversion
15943 to Calc vector.
15944
15945 * ses.el (ses-repair-cell-reference-all): New function.
15946 (ses-cell-symbol): Set macro as safe, so that it can be used in
15947 formulas.
15948
15949 * ses.el: Update cycle detection algorithm.
15950 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15951 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15952 (ses-set-localvars): New function.
15953 (ses-make-cell): Add property-list as a cell element.
15954 (ses-cell-property-get-fun, ses-cell-property-get)
15955 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15956 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15957 New functions.
15958 (ses-cell-property-set, ses-cell-property-pop)
15959 (ses-cell-property-get-handle): New macro.
15960 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15961 New aliases, used for code readability.
15962 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15963 cycle detection.
15964 (ses-self-reference-early-detection): New defcustom.
15965 (ses-formula-references): Robustify against self-referring cells.
15966 (ses-mode): Use ses-set-localvars.
15967 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15968 before lauching the update processing.
15969 (ses-initialize-Dijkstra-attempt): New function.
15970 (ses-recalculate-cell): Update for cycle detection based on
15971 Dijkstra algorithm.
15972
15973 * ses.el: Fix commenting and indenting convention.
15974
15975 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15976
15977 * bs.el (bs-cycle-next): Complete last change.
15978
15979 2011-06-27 Drew Adams <drew.adams@oracle.com>
15980
15981 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15982
15983 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15984
15985 * net/network-stream.el (network-stream-open-starttls):
15986 Don't re-get capabilities unless we've reestablished connection.
15987 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15988
15989 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15990 to binary to possibly avoid line encoding issues on Windows (among
15991 other things).
15992
15993 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
15994
15995 * net/network-stream.el (open-network-stream): Return an :error
15996 saying what the problem was, if possible.
15997
15998 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15999 server.
16000
16001 * net/network-stream.el (network-stream-open-starttls): If we
16002 wanted to use STARTTLS, and the server offered it, but we weren't
16003 able to because we had no STARTTLS support, then close the connection.
16004 (open-network-stream): Return an :error element, if present.
16005
16006 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16007
16008 * hl-line.el (hl-line-sticky-flag): Doc fix.
16009 (global-hl-line-sticky-flag): New option (Bug#8323).
16010 (global-hl-line-highlight): Obey it.
16011
16012 * vc/vc.el (vc-revert-show-diff): Default to t.
16013
16014 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16015
16016 * allout-widgets.el (allout-widgets-post-command-business):
16017 Stop decorating intermediate isearch matches. They're not being
16018 undecorated when an isearch is continued past, and isearch
16019 automatically collapses them. This leads to "widget leaks", where
16020 decorated items accumulate in collapsed areas. Lines with lots of
16021 hidden widgets can slow down cursor travel, substantially.
16022 Too much complicated machinery would be needed to ensure undecoration,
16023 so we're doing without this nicety.
16024
16025 (allout-widgets-tally-string): Don't try to do a hash-table-count
16026 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16027 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16028 *Messages* when allout-widgets-maintain-tally is t.
16029
16030 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16031
16032 * window.el (display-buffer-normalize-argument): Rename to
16033 display-buffer-normalize-arguments. Handle special meaning of
16034 LABEL argument. Respect special-display-function when popping up
16035 a new frame. Fix code searching for a window showing the buffer
16036 on another frame.
16037 (display-buffer-normalize-specifiers):
16038 Call display-buffer-normalize-arguments.
16039 (display-buffer-in-window): Don't undedicate the window if its
16040 buffer remains the same.
16041 Reported by Drew Adams <drew.adams@oracle.com>.
16042 (display-buffer-alist): Add choice for same-window macro
16043 specfier.
16044 (display-buffer): Mention special meaning of LABEL argument in
16045 doc-string. Fix quoting. Don't pop up a new frame even as
16046 fallback.
16047
16048 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16049
16050 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16051 avoid deleting the current window in some cases (bug#8911).
16052
16053 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16054
16055 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16056 (Bug#8934)
16057
16058 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16059
16060 * net/network-stream.el (network-stream-open-starttls):
16061 Use built-in TLS support if `gnutls-available-p' is true.
16062 (network-stream-open-tls): Ditto.
16063
16064 2011-06-26 Leo Liu <sdl.web@gmail.com>
16065
16066 * register.el (registerv): New struct.
16067 (registerv-make): New function.
16068 (jump-to-register, describe-register-1, insert-register):
16069 Support the jump-func, print-func and insert-func slot of a registerv
16070 struct. (Bug#8415)
16071
16072 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16073
16074 * vc/vc.el (vc-revert-show-diff): New defcustom.
16075 (vc-diff-internal): New arg specifying diff buffer.
16076 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16077 reuse an existing *vc-diff* buffer (Bug#8927).
16078
16079 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16080
16081 2011-06-26 Glenn Morris <rgm@gnu.org>
16082
16083 * progmodes/f90.el (f90-critical-indent): New option.
16084 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16085 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16086 (f90-mode): Doc fix.
16087 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16088 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16089 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16090 (f90-match-end): Handle block, critical.
16091
16092 2011-06-25 Glenn Morris <rgm@gnu.org>
16093
16094 * calendar/diary-lib.el (diary-included-files): Doc fix.
16095 (diary-include-files): New function, extracted from
16096 diary-include-other-diary-files and diary-mark-included-diary-files.
16097 (diary-include-other-diary-files, diary-mark-included-diary-files):
16098 Just call diary-include-files.
16099 (diary-mark-entries): Reset diary-included-files on first call.
16100
16101 * calendar/diary-lib.el (diary-mark-entries)
16102 (diary-mark-included-diary-files):
16103 Visit included diary-files in temp buffers.
16104
16105 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16106 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16107 (f90-start-block-re, f90-imenu-generic-expression)
16108 (f90-looking-at-program-block-start, f90-no-block-limit):
16109 Add support for submodules.
16110
16111 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16112 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16113
16114 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16115
16116 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16117 buffer-file-type before setting its value, to avoid disastrous
16118 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16119
16120 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16121
16122 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16123
16124 * ses.el (ses-unload-function):
16125 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16126
16127 * proced.el (proced-unload-function):
16128 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16129
16130 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16131
16132 * server.el (server-create-window-system-frame): Add parameters arg.
16133 (server-process-filter): Doc fix. Handle frame-parameters.
16134
16135 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16136
16137 Fix bug#8730, bug#8781.
16138
16139 * loadhist.el (unload--set-major-mode): New function.
16140 (unload-feature): Use it.
16141
16142 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16143 (python-unload-function): New function.
16144
16145 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16146
16147 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16148
16149 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16150
16151 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16152 the candidates list.
16153
16154 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16155
16156 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16157
16158 2011-06-23 Richard Stallman <rms@gnu.org>
16159
16160 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16161 (rmail-variables): Set next-error-move-function.
16162 (rmail-what-message): Take argument POS.
16163 (rmail-next-error-move): New function.
16164
16165 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16166
16167 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16168 messages for adjacent non-terminals.
16169
16170 2011-06-23 Richard Stallman <rms@gnu.org>
16171
16172 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16173 (rmail-show-message-1): Preserve buffer modified flag.
16174 (rmail-start-mail): Don't specify use of rmail-mail-return;
16175 that's done by mail-bury now.
16176 (rmail-mail-return): Handle arg NEWBUF.
16177
16178 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16179
16180 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16181 SIZE is a number.
16182
16183 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16184
16185 * window.el (get-lru-window, get-mru-window)
16186 (get-largest-window): Never return a minibuffer window.
16187 (display-buffer-pop-up-window): Fix a bug that could lead to
16188 reusing the minibuffer window.
16189 (display-buffer): Pass original specifier argument to
16190 display-buffer-function instead of the normalized one.
16191 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16192
16193 2011-06-22 Leo Liu <sdl.web@gmail.com>
16194
16195 * minibuffer.el (completing-read-function)
16196 (completing-read-default): Move from minibuf.c
16197
16198 2011-06-22 Richard Stallman <rms@gnu.org>
16199
16200 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16201 to Rmail even if not started by a special Rmail command.
16202
16203 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16204 Copy the buffer currently showing just one message.
16205
16206 2011-06-22 Roland Winkler <winkler@gnu.org>
16207
16208 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16209 (bibtex-clean-entry): First delete the old key so that a
16210 customized algorithm for generating the new key does not get
16211 confused by the old key.
16212 (bibtex-url): Obey regexp of first step.
16213 (bibtex-search-entries): Do not use add-to-list with local
16214 list-var.
16215
16216 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16217
16218 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16219 stored a user name, then query for the password first, instead of
16220 waiting for SMTP to give an error message and the trying again.
16221
16222 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16223
16224 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16225 BUFFER in call-process.
16226
16227 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16228
16229 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16230 QUIT twice.
16231 (smtpmail-try-auth-methods): Require user name and password from
16232 auth-source.
16233
16234 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16235
16236 * window.el (display-buffer-default-specifiers)
16237 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16238 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16239 (split-window): Normalize SIDE argument (Bug#8916).
16240
16241 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16242 (special-display-frame-alist, special-display-popup-frame):
16243 Remove duplicate declarations. These are now in window.el.
16244
16245 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16246
16247 * mail/smtpmail.el (smtpmail-via-smtp):
16248 Set :use-starttls-if-possible so that we always use STARTTLS if the
16249 server supports it. SMTP servers that support STARTTLS commonly
16250 require it.
16251
16252 * net/network-stream.el (network-stream-open-starttls): Support
16253 upgrading to STARTTLS always, even if we don't have built-in support.
16254 (open-network-stream): Add the :always-query-capabilities keyword.
16255
16256 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16257 upgrades with `open-network-stream', and rely solely on
16258 auth-source for all credentials. Big changes throughout the file,
16259 but in particular:
16260 (smtpmail-auth-credentials): Remove.
16261 (smtpmail-starttls-credentials): Remove.
16262 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16263 MAIL FROM, too.
16264
16265 * net/network-stream.el (network-stream-open-starttls):
16266 Provide support for client certificates both for external and built-in
16267 STARTTLS.
16268 (auth-source): Require.
16269 (open-network-stream): Document the :client-certificate keyword.
16270 (network-stream-certificate): Change cert-cert to cert and
16271 cert-key to key.
16272
16273 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16274
16275 * net/tramp-cache.el (top): Don't load the persistency file when
16276 "emacs -Q" has been called.
16277
16278 2011-06-21 Tim Harper <timcharper@gmail.com>
16279
16280 * term/ns-win.el (ns-initialize-window-system):
16281 Set application-specific `ApplePressAndHoldEnabled' system
16282 resource to NO as it is not yet supported by the NS port.
16283
16284 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16285
16286 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16287 (list-dynamic-libraries): ...not here.
16288
16289 2011-06-21 Leo Liu <sdl.web@gmail.com>
16290
16291 * subr.el (sha1): Implement sha1 using secure-hash.
16292
16293 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16294
16295 * window.el (display-buffer-alist): In default value do not
16296 enforce searching a window on any but the selected frame.
16297 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16298 (display-buffer-select-window): Remove function.
16299 (display-buffer-in-window): When a window on another frame gets
16300 reused, do not select it any more but just raise its frame if
16301 necessary (Bug#8851) and (Bug#8856).
16302 (display-buffer-normalize-options): Handle pop-up-frames related
16303 options more faithfully.
16304 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16305 window if it is on another frame.
16306 (display-buffer-alist, display-buffer-default-specifiers):
16307 Don't make new frame unsplittable by default.
16308 (display-buffer-normalize-argument): Fix doc-string typo and use
16309 'same-frame-other-window instead of 'other-window when associating
16310 with display-buffer-macro-specifiers.
16311
16312 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16313
16314 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16315 New functions.
16316 (5x5-mode-map, 5x5-mode-menu): Bind them.
16317 (5x5-draw-grid): Tweak the solver's rendering.
16318
16319 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16320
16321 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16322 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16323
16324 2011-06-21 Drew Adams <drew.adams@oracle.com>
16325
16326 * menu-bar.el: Use function variable instead of switch-to-buffer.
16327 (menu-bar-select-buffer-function): New variable.
16328 (menu-bar-update-buffers): Use it (bug#8876).
16329
16330 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16333 variable's status.
16334
16335 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16336
16337 * x-dnd.el (x-dnd-version-from-flags)
16338 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16339 and long as number (Bug#8899).
16340 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16341
16342 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16343
16344 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16345 (completion-try-completion, completion-all-completions): Compute the
16346 metadata argument if it's missing; make it optional (bug#8795).
16347
16348 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16349 (widget-complete): Use new :completion-function property.
16350 (widget-completions-at-point): New function.
16351 (default): Use :completion-function instead of :complete.
16352 (widget-default-completions): Rename from widget-default-complete;
16353 Rewrite.
16354 (widget-string-complete, widget-file-complete, widget-color-complete):
16355 Remove functions.
16356 (file, symbol, function, variable, coding-system, color):
16357 * international/mule-cmds.el (default-input-method, charset)
16358 (language-info-custom-alist):
16359 * cus-edit.el (face): Use new property :completions.
16360
16361 * progmodes/pascal.el (pascal-completions-at-point): New function.
16362 (pascal-mode): Use it.
16363 (pascal-mode-map): Use completion-at-point.
16364 (pascal-toggle-completions): Make obsolete.
16365 (pascal-complete-word, pascal-show-completions):
16366 * progmodes/octave-mod.el (octave-complete-symbol):
16367 Redefine as obsolete alias.
16368 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16369 Signal absence of completion info for old Octave,
16370 (inferior-octave-complete): Redefine as obsolete alias.
16371 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16372 (meta-completions-at-point): Rename from meta-complete-symbol and
16373 adapt it for use on completion-at-point-functions.
16374 (meta-common-mode): Use it.
16375 (meta-looking-at-backward, meta-match-buffer): Remove.
16376 (meta-complete-symbol): Redefine as obsolete alias.
16377 (meta-common-mode-map): Use completion-at-point.
16378 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16379 (makefile-mode-map): Use completion-at-point.
16380 (makefile-completions-at-point): Rename from makefile-complete and
16381 adapt it for use on completion-at-point-functions.
16382 (makefile-mode): Use it.
16383 (makefile-complete): Redefine as obsolete alias.
16384
16385 2011-06-20 Deniz Dogan <deniz@dogan.se>
16386
16387 * net/rcirc.el: Delete trailing whitespaces once and for all.
16388
16389 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16390
16391 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16392
16393 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16394
16395 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16396
16397 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16398
16399 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16400
16401 * window.el (display-buffer-other-window-means-other-frame):
16402 Call display-buffer-normalize-alist.
16403 (display-buffer-normalize-specifiers-1): Rename to
16404 display-buffer-normalize-argument. New argument other-frame.
16405 Rewrite.
16406 (display-buffer-normalize-specifiers-2): Rename to
16407 display-buffer-normalize-options.
16408 (display-buffer-normalize-alist-1): New function.
16409 (display-buffer-normalize-specifiers-3): Rename to
16410 display-buffer-normalize-alist.
16411 Call display-buffer-normalize-alist-1.
16412 (display-buffer-normalize-options-inhibit): New variable.
16413 (display-buffer-normalize-specifiers): Rewrite calling
16414 display-buffer-normalize-alist,
16415 display-buffer-normalize-argument, and
16416 display-buffer-normalize-options. Don't call the latter if
16417 display-buffer-normalize-options-inhibit is non-nil.
16418 (frame-auto-delete): New option.
16419 (window-deletable-p): Use frame-auto-delete.
16420 (window-list-no-nils, window-state-ignored-parameters)
16421 (window-state-get-1, window-state-get, window-state-put-list)
16422 (window-state-put-1, window-state-put-2, window-state-put):
16423 New functions.
16424 (display-buffer-normalize-options): Move special-display-p group
16425 after pop-up-frame group (Bug#8851) and (Bug#8856).
16426
16427 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16428
16429 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16430 groups (Bug#8776).
16431 (rx-submatch-n): New function.
16432 (rx): Document it.
16433
16434 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16435 (Bug#8768).
16436
16437 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16438
16439 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16440
16441 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16442 anytime existing face settings are present (Bug#8889).
16443
16444 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16445 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16446 Remove unused argument.
16447
16448 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16449
16450 * window.el (display-buffer-default-specifiers):
16451 Remove pop-up-frame. Add pop-up-window-min-height,
16452 pop-up-window-min-width, and another reuse-window specifier
16453 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16454 (display-buffer-normalize-specifiers-2):
16455 Handle split-height-threshold and split-width-threshold also when
16456 pop-up-windows is unset. Add a reuse-window specifier for the
16457 case popping up a new window fails.
16458 (special-display-popup-frame): Remove double quoting.
16459 (display-buffer-normalize-specifiers-1): Fix thinko.
16460
16461 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16462
16463 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16464 according to comint-completion-addsuffix.
16465
16466 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16467 (pcomplete-suffix-list): Mark as obsolete.
16468 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16469 pcomplete-seen in the closure.
16470 (pcomplete-comint-setup): Setup completion-at-point as well.
16471 (pcomplete--entries): New function.
16472 (pcomplete--env-regexp): New var.
16473 (pcomplete-entries): Rewrite to work with partial-completion and
16474 without relying on pcomplete-suffix-list.
16475 (pcomplete-pare-list): Remove, unused.
16476
16477 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16478
16479 * window.el (display-buffer-alist): Set pop-up-window-min-height
16480 and pop-up-window-min-width in default value. Reported by
16481 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16482 other-window-means-other-frame.
16483 (display-buffer-macro-specifiers): Comment out entry for
16484 other-window specifier.
16485 (display-buffer-other-window-means-other-frame): New function.
16486 (display-buffer-normalize-specifiers-1): New arguments
16487 buffer-name and label. Treat other-window case specially.
16488 (display-buffer-normalize-specifiers-2): Treat other-window case
16489 specially.
16490 (display-buffer-normalize-specifiers-3): New function.
16491 (display-buffer-normalize-specifiers):
16492 Call display-buffer-normalize-specifiers-3.
16493
16494 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16495
16496 * window.el (same-window-p): Fix two typos introduced when
16497 adding with-no-warnings.
16498 (display-buffer-normalize-specifiers-1): Don't check
16499 pop-up-frames for 'unset initialization.
16500 (display-buffer-normalize-specifiers-2): Major rewrite using
16501 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16502 (pop-up-frames, display-buffer-reuse-frames)
16503 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16504 Suggested by David Engster <deng@randomsample.de>.
16505 (even-window-heights): Initialize to 'unset.
16506 (display-buffer-alist-set): Handle new 'unset initializations.
16507 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16508 other window case.
16509
16510 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16511
16512 * window.el (display-buffer-normalize-specifiers-1):
16513 Respect current value of pop-up-frames for most reasonable values of
16514 second argument of display-buffer (Bug#8865).
16515 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16516 (switch-to-buffer-other-window-same-frame)
16517 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16518 Adams (Bug#8875).
16519 (display-buffer): Don't check noninteractive when calling
16520 display-buffer-pop-up-frame.
16521 (display-buffer-pop-up-frame): Never pop up a frame in
16522 noninteractive mode (Bug#8857).
16523 (enlarge-window, shrink-window): Don't report an error when the
16524 window can't be resized as requested (Bug#8862).
16525
16526 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16529
16530 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16531
16532 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16533
16534 2011-06-15 Alan Mackenzie <acm@muc.de>
16535
16536 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16537 for declarators, disable knr checking to speed up for normal files.
16538 2: Refactor, replacing a sequence of nested if forms by a cond form.
16539
16540 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16541
16542 * net/network-stream.el (open-network-stream): Add the keyword
16543 :always-query-capabilities for the case where you want to force a
16544 `plain' network connection, but the protocol still requires the
16545 capabilitiy command (i.e., SMTP and EHLO).
16546
16547 * subr.el (process-live-p): Rename from `process-alive-p' for
16548 consistency with other `-live-p' functions.
16549
16550 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16551
16552 * window.el (same-window-buffer-names, same-window-regexps)
16553 (special-display-frame-alist, special-display-popup-frame)
16554 (special-display-function, special-display-buffer-names)
16555 (special-display-regexps, pop-up-frame-alist)
16556 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16557 (pop-up-windows, split-window-preferred-function)
16558 (split-height-threshold, split-width-threshold, even-window-heights)
16559 (display-buffer-mark-dedicated): Don't encourage the use of
16560 display-buffer-alist from Elisp code.
16561
16562 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16563
16564 * progmodes/python.el (python-mode): Derive from prog-mode.
16565 * progmodes/ps-mode.el (ps-mode):
16566 * progmodes/mixal-mode.el (mixal-mode):
16567 * progmodes/cfengine.el (cfengine-mode):
16568 * progmodes/ld-script.el (ld-script-mode): Likewise.
16569
16570 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16571
16572 * window.el (display-buffer-alist): Trim default value to avoid
16573 popping up a new frame (Bug#8857) or reusing an arbitrary window
16574 on another frame.
16575 (display-buffer): Do not fall back on popping up a new frame in
16576 batch mode (Bug#8857).
16577
16578 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16579
16580 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16581 (custom-theme-summary): New function.
16582 (customize-themes): Use it.
16583
16584 2011-06-13 Glenn Morris <rgm@gnu.org>
16585
16586 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16587
16588 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16589
16590 * help.el (help-window): Remove variable.
16591 (help-window-point-marker, temp-buffer-max-height)
16592 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16593 (help-print-return-message): Don't set help-window.
16594 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16595 (help-window-setup-finish): Remove.
16596 (help-window-display-message, help-window-setup)
16597 (with-help-window): Major rewrite based on new
16598 display-buffer-window variable.
16599
16600 * help-mode.el (help-mode-finish): Remove help-window related
16601 code.
16602
16603 * view.el (view-exits-all-viewing-windows): Remove reference to
16604 view-return-to-alist in doc-string.
16605 (view-return-to-alist): Make obsolete.
16606 (view-buffer): Call pop-to-buffer-same-window and remove
16607 undo-window code.
16608 (view-buffer-other-window): Call pop-to-buffer-other-window and
16609 simplify code. Ignore second argument.
16610 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16611 simplify code. Ignore second argument.
16612 (view-return-to-alist-update): Make obsolete.
16613 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16614 Rewrite using quit-restore window parameters.
16615 (view-mode-exit): Rename second argument to EXIT-ONLY.
16616 Rewrite using quit-restore-window.
16617 (View-exit, View-exit-and-edit, View-leave, View-quit)
16618 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16619 appropriate arguments.
16620 (view-end-message): Use quit-restore window parameter.
16621
16622 * window.el (display-buffer-function): Rewrite doc-string.
16623 (display-buffer-window, display-buffer-alist): New variables.
16624 (display-buffer-split-specifiers)
16625 (display-buffer-side-specifiers)
16626 (display-buffer-macro-specifiers): New constants.
16627 (display-buffer-even-window-sizes, display-buffer-set-height)
16628 (display-buffer-set-width, display-buffer-select-window)
16629 (display-buffer-in-window, display-buffer-reuse-window)
16630 (display-buffer-split-window-1, display-buffer-split-window)
16631 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16632 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16633 (display-buffer-in-side-window, normalize-buffer-to-display)
16634 (display-buffer-normalize-specifiers-1)
16635 (display-buffer-normalize-specifiers-2)
16636 (display-buffer-normalize-specifiers, display-buffer-frame):
16637 New functions.
16638 (display-buffer): Major rewrite.
16639 (display-buffer-other-window, display-buffer-other-frame)
16640 (pop-to-buffer, switch-to-buffer-other-window)
16641 (switch-to-buffer-other-frame): Rewrite.
16642 (display-buffer-same-window, display-buffer-same-frame)
16643 (display-buffer-same-frame-other-window)
16644 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16645 (pop-to-buffer-other-window)
16646 (pop-to-buffer-same-frame-other-window)
16647 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16648 (switch-to-buffer-other-window-same-frame): New functions.
16649 (same-window-p, special-display-p): Rewrite disabling warnings.
16650 Make obsolete.
16651 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16652 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16653 Make obsolete
16654 (same-window-buffer-names, same-window-regexps)
16655 (special-display-frame-alist, special-display-popup-frame)
16656 (special-display-function, special-display-buffer-names)
16657 (special-display-regexps, pop-up-frame-alist)
16658 (pop-up-frame-function, split-window-preferred-function)
16659 (split-height-threshold, split-width-threshold)
16660 (even-window-heights): Make obsolete.
16661
16662 2011-06-12 Glenn Morris <rgm@gnu.org>
16663
16664 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16665 Misc simplifications.
16666
16667 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16668
16669 * window.el (window-safely-shrinkable-p): Restore function which
16670 was inadvertently removed in change from 2011-06-11. Declare as
16671 obsolete.
16672
16673 * calendar/calendar.el (calendar-generate-window):
16674 Use window-iso-combined-p instead of combination of one-window-p and
16675 window-safely-shrinkable-p.
16676
16677 2011-06-12 Glenn Morris <rgm@gnu.org>
16678
16679 * progmodes/fortran.el (fortran-mode-syntax-table):
16680 * progmodes/f90.el (f90-mode-syntax-table):
16681 Set % to punctuation. (Bug#8820)
16682 (f90-find-tag-default): Remove, no longer needed.
16683
16684 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16685
16686 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16687
16688 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16689
16690 * image.el (image-animated-p): Return animation delay in seconds.
16691 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16692 (image-animate-timeout): Remove DELAY argument. Don't assume
16693 every subimage has the same delay; get it from image-animated-p.
16694 (image-animate): Caller changed.
16695
16696 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16697
16698 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16699 to ignored backtrace functions.
16700
16701 2011-06-11 Glenn Morris <rgm@gnu.org>
16702
16703 * calendar/appt.el (appt-disp-window-function): Doc fix.
16704 (appt-check): Handle overlapping appointments. (Bug#8337)
16705
16706 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16707
16708 * window.el (window-tree-1, window-tree): New functions, moving
16709 the latter to window.el.
16710 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16711 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16712 (bw-refresh-edges): Remove.
16713 (balance-windows-1, balance-windows-2): New functions.
16714 (balance-windows): Rewrite in terms of window tree functions,
16715 balance-windows-1 and balance-windows-2.
16716 (bw-adjust-window): Remove.
16717 (balance-windows-area-adjust): New function with functionality of
16718 bw-adjust-window but using resize-window.
16719 (set-window-text-height): Rewrite doc-string.
16720 Use normalize-live-window and resize-window.
16721 (enlarge-window-horizontally, shrink-window-horizontally):
16722 Rename argument to DELTA.
16723 (window-buffer-height): New function.
16724 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16725 Rewrite using new window resize routines.
16726 (kill-buffer-and-window, mouse-autoselect-window-select):
16727 Use ignore-errors instead of condition-case.
16728 (quit-window): Call delete-frame instead of delete-windows-on
16729 for the only buffer on frame.
16730
16731 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16732
16733 * loadup.el (top-level): Load window before files for the sake
16734 of replace-buffer-in-windows.
16735
16736 * files.el (read-buffer-to-switch)
16737 (switch-to-buffer-other-window)
16738 (switch-to-buffer-other-frame, display-buffer-other-frame):
16739 Move to window.el.
16740
16741 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16742 (previous-buffer): Move to window.el.
16743
16744 * bindings.el (unbury-buffer): Move to window.el.
16745
16746 * window.el (delete-other-windows-vertically): Move after
16747 definition of delete-other-windows.
16748 (other-window, delete-windows-on, replace-buffer-in-windows):
16749 Move here from window.c.
16750 (record-window-buffer, unrecord-window-buffer)
16751 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16752 (switch-to-next-buffer): New functions.
16753 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16754 from simple.el. Call switch-to-next-buffer.
16755 (previous-buffer): Move here from simple.el.
16756 Call switch-to-prev-buffer.
16757 (bury-buffer): Move here from buffer.c. Switch to previous
16758 buffer when window cannot be deleted.
16759 (unbury-buffer): Move here from bindings.el.
16760 (ctl-x-map): Move binding for other-window from window.c to
16761 here.
16762 (read-buffer-to-switch, switch-to-buffer-other-window)
16763 (switch-to-buffer-other-frame): Move here from files.el.
16764 (normalize-buffer-to-switch-to): New functions.
16765 (switch-to-buffer): Move here from buffer.c.
16766 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16767
16768 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16769
16770 * window.el (window-min-height, window-min-width): Move here
16771 from window.c. Add defcustoms and rewrite doc-strings.
16772 (resize-mini-window, resize-window): New functions.
16773 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16774 Move here from window.c.
16775 (maximize-window, minimize-window): New functions.
16776 (delete-window, delete-other-windows, split-window): Move here
16777 from window.c.
16778 (window-split-min-size): New function.
16779 (split-window-keep-point): Mention split-window-above-each-other
16780 instead of split-window-vertically.
16781 (split-window-above-each-other, split-window-vertically):
16782 Rename split-window-vertically to split-window-above-each-other
16783 and provide defalias for old definition.
16784 (split-window-side-by-side, split-window-horizontally):
16785 Rename split-window-horizontally to split-window-side-by-side
16786 and provide defalias for the old definition.
16787 (ctl-x-map): Move bindings for delete-window,
16788 delete-other-windows and enlarge-window here from window.c.
16789 Replace bindings for split-window-vertically and
16790 split-window-horizontally by bindings for
16791 split-window-above-each-other and split-window-side-by-side.
16792
16793 * cus-start.el (all): Remove entries for window-min-height and
16794 window-min-width. Add entries for window-splits and
16795 window-nest.
16796
16797 2011-06-09 Glenn Morris <rgm@gnu.org>
16798
16799 * calendar/appt.el (appt-mode-line): New function.
16800 (appt-check, appt-disp-window): Use it.
16801
16802 * files.el (hack-one-local-variable-eval-safep):
16803 Allow minor-modes with explicit +/-1 arguments.
16804
16805 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16806
16807 * term/xterm.el (xterm): Add defgroup.
16808 (xterm-extra-capabilities): Add defcustom to supply known xterm
16809 capabilities, skip querying them, or query them (default).
16810 (terminal-init-xterm): Use it.
16811 (terminal-init-xterm-modify-other-keys): New function to set up
16812 modifyOtherKeys support to simplify `terminal-init-xterm'.
16813
16814 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16815
16816 * window.el (resize-window-reset, resize-window-reset-1)
16817 (resize-subwindows-skip-p, resize-subwindows-normal)
16818 (resize-subwindows, resize-other-windows, resize-this-window)
16819 (resize-root-window, resize-root-window-vertically)
16820 (window-deletable-p, window-or-subwindow-p)
16821 (frame-root-window-p): New functions.
16822
16823 2011-06-09 Glenn Morris <rgm@gnu.org>
16824
16825 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16826 (ange-ftp-get-files): Use it.
16827
16828 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16829
16830 * mail/sendmail.el (mail-recover-1, mail-recover):
16831 * files.el (recover-file, recover-session):
16832 Handle dired-listing-switches not being just a single short option.
16833
16834 2011-06-09 Glenn Morris <rgm@gnu.org>
16835
16836 * calendar/appt.el (appt-display-message, appt-disp-window):
16837 Handle lists of appointments.
16838
16839 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16840
16841 * window.el (one-window-p): Move down in code.
16842 Rewrite doc-string.
16843 (window-current-scroll-bars): Rewrite doc-string.
16844 Normalize live window argument.
16845 (walk-windows, get-window-with-predicate, count-windows):
16846 Rewrite doc-string. Use window-list-1.
16847 (window-in-direction-2, window-in-direction, get-mru-window):
16848 New functions.
16849
16850 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16851
16852 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16853 Doc fix (Bug#8713).
16854
16855 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16856
16857 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16858
16859 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16860
16861 * loadhist.el (unload-feature-special-hooks):
16862 Add `comint-output-filter-functions'.
16863
16864 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16865
16866 * calendar/appt.el (appt-check): Move some initializations into the let.
16867
16868 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16869
16870 * window.el (window-height): Defalias to window-total-height.
16871 (window-width): Defalias to window-body-width.
16872
16873 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16874
16875 * image-mode.el (image-toggle-animation): New command.
16876 (image-mode-map): Bind it to RET.
16877 (image-mode): Update message.
16878 (image-toggle-display-image): Avoid a spurious cache flush.
16879 (image-transform-rotation): Doc fix.
16880 (image-transform-properties): Return quickly in the normal case.
16881 (image-animate-loop): Rename from image-animate-max-time.
16882
16883 * image.el (image-animate-max-time): Move to image-mode.el.
16884 (create-animated-image): Remove unnecessary function.
16885 (image-animate): Rename from image-animate-start. New arg.
16886 (image-animate-stop): Remove; just use image-animate-timer.
16887 (image-animate-timer): Use car-safe.
16888 (image-animate-timeout): Rename argument.
16889
16890 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16891
16892 * window.el (get-lru-window, get-largest-window): Move here from
16893 window.c. Rename first argument to ALL-FRAMES.
16894 Rephrase doc-strings.
16895 (get-buffer-window-list): Rewrite using window-list-1.
16896 Rephrase doc-string.
16897 (window-safe-min-height, window-safe-min-width): New constants.
16898 (window-size-ignore, window-min-size, window-min-size-1)
16899 (window-sizable, window-sizable-p, window-size-fixed-1)
16900 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16901 (window-max-delta-1, window-max-delta, window-resizable)
16902 (window-resizable-p, window-total-height, window-total-width)
16903 (window-body-width): New functions.
16904 (window-full-height-p, window-full-width-p): Rewrite using
16905 window-total-size.
16906 (window-body-height): Rewrite using window-body-size.
16907
16908 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16909
16910 * window.el (window-right, window-left, window-child)
16911 (window-child-count, window-last-child, window-any-p)
16912 (normalize-live-buffer, normalize-live-frame)
16913 (normalize-any-window, normalize-live-window)
16914 (window-iso-combination-p, window-iso-combined-p)
16915 (window-iso-combinations)
16916 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16917 (windows-with-parameter, window-with-parameter)
16918 (window-atom-root, make-window-atom, window-atom-check-1)
16919 (window-atom-check, window-side-check, window-check):
16920 New functions.
16921 (ignore-window-parameters, window-sides, window-sides-vertical)
16922 (window-sides-slots): New variables.
16923 (window-size-fixed): Move down in code. Minor doc-string fix.
16924
16925 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16926
16927 * comint.el (comint-dynamic-complete-as-filename)
16928 (comint-dynamic-complete-filename): Correctly call
16929 completion-in-region.
16930
16931 2011-06-05 Deniz Dogan <deniz@dogan.se>
16932
16933 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16934 in last change.
16935
16936 2011-06-05 Deniz Dogan <deniz@dogan.se>
16937
16938 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16939 (rcirc): Use it to prompt for encryption.
16940
16941 2011-06-05 Roland Winkler <winkler@gnu.org>
16942
16943 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16944 (bibtex-search-entries): New command bound to C-c C-a.
16945 (bibtex-display-entries): New function.
16946
16947 2011-06-05 Roland Winkler <winkler@gnu.org>
16948
16949 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16950 (bibtex-insert-kill): After yanking insert newline if necessary.
16951 (bibtex-initialize): Call bibtex-string-files-init only once.
16952 (bibtex-mode): Do not call easy-menu-add.
16953 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16954 (bibtex-yank): Set arg properly if nil.
16955
16956 2011-06-05 Roland Winkler <winkler@gnu.org>
16957
16958 * textmodes/bibtex.el (bibtex-search-entry-globally):
16959 New variable.
16960 (bibtex-search-entry): Use it.
16961
16962 2011-06-05 Roland Winkler <winkler@gnu.org>
16963
16964 * textmodes/bibtex.el (bibtex-entry-format): New option
16965 sort-fields.
16966 (bibtex-format-entry, bibtex-reformat): Honor this option.
16967 (bibtex-parse-entry): Return fields in proper order.
16968
16969 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
16970
16971 * doc-view.el (doc-view-remove-if): Move computation of result out
16972 of `dolist' to silence misleading lexical-binding warning.
16973
16974 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
16975
16976 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16977 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16978
16979 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16980
16981 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16982 "SunOS 5.10".
16983
16984 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
16985
16986 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16987 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16988 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16989 (tramp-parse-putty):
16990 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16991 (tramp-completion-function-alist-ssh)
16992 (tramp-completion-function-alist-telnet)
16993 (tramp-completion-function-alist-su)
16994 (tramp-completion-function-alist-putty): Set `tramp-autoload'
16995 cookie.
16996
16997 * net/tramp-ftp.el:
16998 * net/tramp-sh.el:
16999 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17000 load "tramp.el" `tramp-set-completion-function'.
17001
17002 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17003
17004 * shell.el: Require and use pcomplete.
17005 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17006 (shell-completion-vars): Set pcomplete-default-completion-function.
17007
17008 2011-06-04 Deniz Dogan <deniz@dogan.se>
17009
17010 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17011 `memq' (Bug#8799).
17012
17013 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17014
17015 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17016
17017 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17018
17019 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17020 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17021 * vc/log-view.el (log-view-beginning-of-defun):
17022 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17023 (smerge-refine-forward, smerge-refine-chopup-region):
17024 Silence warning for unused `dotimes' counter variables.
17025
17026 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17027
17028 * net/tramp.el (tramp-with-progress-reporter): Rename from
17029 with-progress-reporter. Use `declare'.
17030 * net/tramp-smb.el:
17031 * net/tramp-sh.el:
17032 * net/tramp-gvfs.el: Update all uses.
17033
17034 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17035
17036 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17037 buffer isn't killed before making it current.
17038
17039 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 Silence various byte-compiler warnings.
17042 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17043 `access-type' and new obsolescence format.
17044 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17045 new format.
17046 (byte-compile-check-variable): New `access-type' argument.
17047 Only warn if the access-type is obsolete.
17048 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17049 (byte-compile-variable-set): Adjust callers.
17050 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17051 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17052 setting it as obsolete.
17053 * simple.el (minibuffer-completing-symbol):
17054 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17055 access as obsolete.
17056 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17057 obsolete yet.
17058 * international/quail.el (quail-mouse-choose-completion): Remove unused
17059 code referring to obsolete var.
17060 (quail-choose-completion-string): Remove.
17061 * server.el (server-clients-with, server-kill-buffer-query-function)
17062 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17063 * proced.el (proced-send-signal):
17064 * emacs-lisp/lisp.el (lisp-complete-symbol):
17065 Replace completion-annotate-function with completion-extra-properties.
17066
17067 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17068
17069 * simple.el (goto-line): Use read-number.
17070 (overriding-map-is-bound): Remove.
17071 (saved-overriding-map): Change default.
17072 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17073 Take the map as argument.
17074 (universal-argument, negative-argument, digit-argument): Use it.
17075 (restore-overriding-map): Adjust.
17076 (do-auto-fill): Use fill-forward-paragraph.
17077 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17078
17079 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17080 (minibuffer-inactive-mode): New major mode.
17081 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17082 the *Messages* buffer" hack.
17083 (mouse-popup-menubar): Don't burp if the event is a normal key.
17084
17085 Miscellaneous tweaks.
17086 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17087 lexical scoping as in subr.el's dolist and dotimes.
17088 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17089 Silence compiler warning.
17090 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17091 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17092 * international/ccl.el (ccl-compile): Trivial simplification.
17093 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17094 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17095 `printflag' argument.
17096 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17097 Purecopy the whole obsolescence data.
17098
17099 2011-06-01 Leo Liu <sdl.web@gmail.com>
17100
17101 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17102 improve doc-string as suggested by Marco Pessotto
17103 <melmothx@gmail.com>.
17104 (rcirc-print): Fix last change.
17105
17106 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17107
17108 * minibuffer.el (complete-with-action): Return nil for the metadata and
17109 boundaries of non-functional tables.
17110 (completion-table-dynamic): Return nil for the metadata.
17111 (completion-table-with-terminator): Add default case, using
17112 complete-with-action.
17113 (completion--metadata): New function.
17114 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17115 to try and avoid pathological performance problems.
17116 (completion--embedded-envvar-table): Return `category' metadata.
17117
17118 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17119
17120 * subr.el (process-alive-p): New tiny convenience function.
17121
17122 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17123
17124 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17125 content but also its previous major mode.
17126
17127 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17128
17129 * emacs-lisp/debug.el (debug): Restore the previous content of the
17130 *Backtrace* buffer when we exit with C-M-c.
17131
17132 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17133
17134 * minibuffer.el: Add metadata method to completion tables.
17135 (completion-category-overrides): New defcustom.
17136 (completion-metadata, completion--field-metadata)
17137 (completion-metadata-get, completion--styles)
17138 (completion--cycle-threshold): New functions.
17139 (completion-try-completion, completion-all-completions):
17140 Add `metadata' argument to choose completion-styles.
17141 (completion--do-completion): Use metadata to choose cycling.
17142 (completion-all-sorted-completions): Use metadata for sorting.
17143 Remove :completion-cycle-penalty which is not needed any more.
17144 (completion--try-word-completion): Add `metadata' argument.
17145 (minibuffer-completion-help): Check metadata for annotation function
17146 and sorting.
17147 (completion-file-name-table): Return `category' metadata.
17148 (minibuffer-completing-file-name): Make obsolete.
17149 * simple.el (minibuffer-completing-symbol): Make obsolete.
17150 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17151 completion-try-completion.
17152
17153 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17154
17155 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17156
17157 2011-05-30 Leo Liu <sdl.web@gmail.com>
17158
17159 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17160 (rcirc-print): Decode all incoming messages (bug#8744).
17161 (rcirc-decode-coding-system): Allow value nil for automatic coding
17162 system detection.
17163
17164 2011-06-01 Glenn Morris <rgm@gnu.org>
17165
17166 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17167
17168 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17169
17170 * image.el (image-animate-max-time): Allow nil and t values.
17171 Default to nil.
17172 (create-animated-image): Doc fix.
17173 (image-animate-start): Remove second arg; just use
17174 image-animate-max-time.
17175 (image-animate-timeout): Doc fix. Args changed.
17176
17177 * image-mode.el (image-toggle-display-image): Ensure that the
17178 image spec passed to the animate timer is the same object as in
17179 the buffer's display property (Bug#6981).
17180 (image-transform-properties): Doc fix.
17181
17182 * image.el (image-animate-max-time): Default to nil.
17183
17184 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17185
17186 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17187 entire buffer list (Bug#8184).
17188
17189 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17190
17191 * image.el (imagemagick-types-inhibit)
17192 (imagemagick-register-types): Doc fix.
17193
17194 2011-05-29 Deniz Dogan <deniz@dogan.se>
17195
17196 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17197 default.
17198
17199 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17200
17201 * select.el: Don't perform clipboard-manager saving in hooks;
17202 leave the hooks empty.
17203
17204 2011-05-28 Leo Liu <sdl.web@gmail.com>
17205
17206 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17207 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17208 (occur-edit-mode): New major mode (Bug#8463).
17209 (occur-after-change-function): New function.
17210 (occur-engine): Give Occur tags a read-only property.
17211
17212 2011-05-28 Kevin Ryde <user42@zip.com.au>
17213
17214 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17215
17216 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17217
17218 * bindings.el (help-echo): Make the initial non-indicator dash
17219 empty on graphical terminals (Bug#7295).
17220
17221 * files.el (auto-mode-alist): Move config rule after the
17222 in-stripping one (Bug#8547).
17223
17224 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17225
17226 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17227 setting (Bug#8740).
17228
17229 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17230
17231 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17232 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17233 (Bug#8539).
17234
17235 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17236
17237 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17238
17239 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17240
17241 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17242 (hs-hide-block-at-point, hs-find-block-beginning)
17243 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17244 (Bug#8279).
17245
17246 2011-05-28 Glenn Morris <rgm@gnu.org>
17247
17248 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17249
17250 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17251
17252 * help-fns.el (describe-function-1): If the function is a derived
17253 major mode, print the parent mode.
17254
17255 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17256 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17257
17258 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17259
17260 * minibuffer.el (completion--capf-wrapper): Check applicability before
17261 returning non-nil for non-exclusive completion data.
17262 * progmodes/etags.el (tags-completion-at-point-function):
17263 * info-look.el (info-lookup-completions-at-point): Mark as
17264 non-exclusive.
17265 (info-complete): Adjust accordingly.
17266
17267 * info-look.el: Convert to lexical-binding and completion-at-point.
17268 (info-lookup-completions-at-point): New function.
17269 (info-complete): Use it and completion-in-region.
17270
17271 2011-05-28 Drew Adams <drew.adams@oracle.com>
17272
17273 * isearch.el: Let M-e start with point at the first mismatched char.
17274 (isearch-fail-pos): New function.
17275 (isearch-edit-string): Use it.
17276
17277 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17278
17279 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17280
17281 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17282
17283 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17284 traversal functions for avl-trees.
17285 (avl-tree--stack): New struct.
17286 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17287 (avl-tree-enter): Add optional `updatefun' arg.
17288 (avl-tree--do-enter): Add optional `updatefun' arg.
17289 Change return value.
17290 (avl-tree-delete): Add optional `test' and `nilflag' args.
17291 (avl-tree--do-delete): Add `test' and `nilflag' args.
17292 Change return value.
17293 (avl-tree-member): Add optional `nilflag'
17294 (avl-tree-member-p): New function.
17295 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17296 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17297 (avl-tree-stack-empty-p): New functions.
17298
17299 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17300 avl-tree--del-balance1 and make it work both ways.
17301 (avl-tree--del-balance2): Remove.
17302 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17303 make it work both ways.
17304 (avl-tree--enter-balance2): Remove.
17305 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17306 New macros.
17307 (avl-tree--mapc, avl-tree-map): Add direction argument.
17308
17309 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17310
17311 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17312
17313 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17314
17315 * select.el: Support clipboard managers with built-in function
17316 x-clipboard-manager-save, via delete-frame-functions and
17317 kill-emacs-hook.
17318 (xselect-convert-to-targets): Add MULTIPLE target to list.
17319 (xselect-convert-to-save-targets): New function.
17320
17321 2011-05-27 Kenichi Handa <handa@m17n.org>
17322
17323 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17324 let-binding rfc2047-encode-encoded-words to nil.
17325
17326 2011-05-27 Glenn Morris <rgm@gnu.org>
17327
17328 * mail/emacsbug.el: Don't require url-util.
17329
17330 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17331
17332 * files.el (set-auto-mode):
17333 Also respect mode: entries at the end of the file. (Bug#8586)
17334
17335 2011-05-26 Glenn Morris <rgm@gnu.org>
17336
17337 * files.el (hack-local-variables-prop-line, hack-local-variables):
17338 Downcase mode names, as seems to be traditional.
17339 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17340
17341 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17342 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17343
17344 2011-05-25 Julien Danjou <julien@danjou.info>
17345
17346 * textmodes/rst.el (rst-define-level-faces): Do not define face
17347 symbol if it is already defined.
17348
17349 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17350
17351 * play/5x5.el (5x5-new-game, 5x5-randomize):
17352 Reset 5x5-solver-output to nil when a new grid is cast.
17353 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17354 these debugging traces, as defmacro breaks the compiled code.
17355
17356 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17357
17358 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17359
17360 2011-05-24 Leo Liu <sdl.web@gmail.com>
17361
17362 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17363 (vc-bzr-sha1): Adapt.
17364
17365 * sha1.el: Remove. Function `sha1' is now builtin.
17366
17367 * bindings.el: Provide sha1 feature.
17368
17369 2011-05-24 Kenichi Handa <handa@m17n.org>
17370
17371 * mail/sendmail.el: Require `rfc2047'.
17372 (mail-insert-from-field): Do not perform RFC2047 encoding.
17373 (mail-encode-header): New function.
17374 (sendmail-send-it): Set buffer-file-coding-system of the work
17375 buffer to the return value of select-message-coding-system.
17376 Call mail-encode-header.
17377
17378 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17379
17380 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17381
17382 * mail/supercite.el (sc-default-cite-frame):
17383 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17384
17385 2011-05-24 Glenn Morris <rgm@gnu.org>
17386
17387 * progmodes/python.el (brm-menu): Declare.
17388
17389 * emulation/viper.el (viper-set-hooks): Declare.
17390
17391 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17392 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17393 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17394 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17395 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17396 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17397
17398 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17399
17400 Add an :exit-function for completion-at-point.
17401
17402 * minibuffer.el (completion--done): New fun.
17403 (completion--do-completion): Use it. New arg `expect-exact'.
17404 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17405 since completion--do-completion does it for us now.
17406 (minibuffer-force-complete): Use completion--done and
17407 completion--replace. Handle sole-completion case with more care.
17408 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17409 (completion-extra-properties): New var.
17410 (completion-annotate-function): Make obsolete.
17411 (minibuffer-completion-help): Adjust accordingly.
17412 Use completion-list-insert-choice-function.
17413 (completion-at-point, completion-help-at-point):
17414 Bind completion-extra-properties.
17415 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17416 * simple.el (completion-list-insert-choice-function): New var.
17417 (completion-setup-function): Preserve it.
17418 (choose-completion): Pay attention to it, shuffle the code a bit.
17419 (choose-completion-string): New arg `insert-function'.
17420
17421 * textmodes/bibtex.el: Convert to lexical binding.
17422 (bibtex-mode-map): Use completion-at-point.
17423 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17424 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17425 (bibtex-complete): Define as obsolete alias.
17426 (bibtex-complete-internal): Remove.
17427 (bibtex-format-entry): Remove unused sub-group in regexp.
17428 * shell.el (shell--command-completion-data)
17429 (shell-environment-variable-completion):
17430 * pcomplete.el (pcomplete-completions-at-point):
17431 * comint.el (comint--complete-file-name-data): Use :exit-function
17432 instead of completion-table-with-terminator so it also works for
17433 choose-completion.
17434
17435 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17436
17437 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17438
17439 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17440 (bug#8710).
17441
17442 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17443
17444 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17445
17446 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17447 customization variable and implement: If non-nil, auto-fill will
17448 be inhibited while on topic's header line.
17449
17450 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17451
17452 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17453 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17454 always have a solution in grid size = 5 cases.
17455 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17456 (5x5-solver-output, 5x5-log-buffer): New vars.
17457 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17458 Make these variables buffer local to achieve 5x5 multi-session-ness.
17459 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17460 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17461 (5x5-solve-suggest): New funs.
17462 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17463 randomize a grid so that we ensure that there is always a solution.
17464 (5x5-make-random-grid): Allow other movement than flipping.
17465
17466 2011-05-23 Kevin Ryde <user42@zip.com.au>
17467
17468 * emacs-lisp/advice.el (ad-read-advised-function):
17469 Use `function-called-at-point' as the default, if it has
17470 advice and passes PREDICATE.
17471
17472 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17473
17474 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17475 byte-compile-lambda if it's actually a lambda.
17476
17477 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17478 Fix function quoting. Use backquote better.
17479
17480 2011-05-22 Yuanle Song <sylecn@gmail.com>
17481
17482 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17483 matching (Bug#8516).
17484
17485 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17486
17487 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17488 different face (Bug#8178).
17489
17490 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17491
17492 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17493 defface (Bug#8144).
17494
17495 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17496
17497 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17498 funcall as well (bug#8712). Warn when performing those conversions.
17499 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17500
17501 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17502
17503 2011-05-22 Glenn Morris <rgm@gnu.org>
17504
17505 * files.el (hack-local-variables-prop-line): Small simplifications.
17506 (hack-local-variables, hack-local-variables-prop-line):
17507 If MODE-ONLY, return the mode, rather than just `t'.
17508
17509 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17510
17511 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17512
17513 2011-05-21 Glenn Morris <rgm@gnu.org>
17514
17515 * files.el (hack-local-variables-prop-line, hack-local-variables):
17516 If only interested in the mode, don't bother doing the other stuff.
17517
17518 * image-mode.el (image-after-revert-hook):
17519 Redraw all frames on which the image is visible. (Bug#8567)
17520
17521 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17522
17523 * wid-edit.el (widget-checklist-match-inline):
17524 Fix 2011-04-19 change. (Bug#8649)
17525
17526 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17527
17528 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17529 Also allow singlespace after single-letter capitals followed by a dot.
17530
17531 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17532 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17533
17534 2011-05-20 Nix <nix@esperi.org.uk>
17535
17536 * files.el (basic-save-buffer-2):
17537 Fix handling of break-hardlink-on-save with non-existent files.
17538
17539 2011-05-19 Deniz Dogan <deniz@dogan.se>
17540
17541 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17542 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17543
17544 2011-05-19 Glenn Morris <rgm@gnu.org>
17545
17546 * progmodes/f90.el (f90-type-def-re):
17547 Handle "type, bind(c)". (Bug#8691)
17548
17549 * emacs-lisp/autoload.el (batch-update-autoloads):
17550 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17551
17552 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17553
17554 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17555 property for the correct connection in case of multihops.
17556
17557 2011-05-18 Glenn Morris <rgm@gnu.org>
17558
17559 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17560 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17561
17562 Rationalize calendar handling of day and month abbrev-arrays.
17563 * calendar/calendar.el (calendar-customized-p): New function.
17564 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17565 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17566 Add :set function.
17567 (calendar-abbrev-length, calendar-day-abbrev-array)
17568 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17569 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17570 Elements may no longer be nil.
17571 (calendar-day-name, calendar-month-name):
17572 Update for changed nature of abbrev arrays.
17573 * calendar/diary-lib.el (diary-name-pattern):
17574 Update for changed nature of abbrev arrays.
17575 (diary-mark-entries-1): Update calendar-make-alist calls.
17576 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17577 * calendar/cal-html.el (cal-html-day-abbrev-array):
17578 Simply inherit from calendar-day-abbrev-array.
17579
17580 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * progmodes/grep.el (grep-mode): Disable default
17583 compilation-directory-matcher setting (bug#8684).
17584
17585 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17586
17587 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17588 instead of "head" and "tail". There were problems with SunOS 5.9,
17589 and it performs better.
17590
17591 2011-05-17 Glenn Morris <rgm@gnu.org>
17592
17593 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17594
17595 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17596 Replace obsolete function.
17597
17598 * shell.el (pcomplete-parse-arguments-function): Declare.
17599
17600 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17601 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17602 (appt-check): Doc fixes.
17603 (appt-disp-window-function, appt-delete-window-function):
17604 Remove needless special case in custom :type.
17605 (appt-display-count): Default to 0, not nil.
17606 (appt-check): Reset appt-display-count to 0, not nil.
17607
17608 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17609
17610 * progmodes/python.el (python-font-lock-keywords):
17611 Add the Python 3.X keyword "nonlocal" (bug#8639).
17612
17613 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17614
17615 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17616
17617 2011-05-16 Kevin Ryde <user42@zip.com.au>
17618
17619 * info-look.el (makefile-automake-mode): New setups, looking in
17620 automake manual, then makefile-mode.
17621 (makefile-mode): Remove automake manual, have it just in
17622 makefile-automake-mode since there's various things different or
17623 not relevant to plain make.
17624 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17625 believe a hypothetical automake-mode would go to makefile-mode,
17626 not the other way around.
17627
17628 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17629
17630 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17631 hunk-end tags (Bug#8672).
17632
17633 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17634 vc-annotate-show-diff-revision-at-line (Bug#8671).
17635
17636 2011-05-14 Glenn Morris <rgm@gnu.org>
17637
17638 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17639 in the middle of an existing one with multiple authors. (Bug#8645)
17640 (change-log-font-lock-keywords): Also handle multiple author lines
17641 with leading tabs. (Bug#8644)
17642
17643 * calendar/appt.el (appt-check): Rename some local variables.
17644 Some simplification/reordering.
17645
17646 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17647 (feedmail-sendmail-f-doesnt-sell-me-out)
17648 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17649 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17650 (feedmail-queue-runner-message-sender): Set :version.
17651 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17652 (bbdb-dwim-net-address, vm-mail): Declare.
17653 (feedmail-binmail-gnulinuxish-template):
17654 Rename from feedmail-binmail-linuxish-template.
17655 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17656 Use insert-buffer-substring.
17657
17658 2011-05-14 Bill Carpenter <bill@carpenter.org>
17659
17660 * mail/feedmail.el (feedmail-patch-level): Increase.
17661 (feedmail-debug): New custom group.
17662 (feedmail-confirm-outgoing-timeout)
17663 (feedmail-sendmail-f-doesnt-sell-me-out)
17664 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17665 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17666 (feedmail-sender-line, feedmail-from-line)
17667 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17668 (feedmail-spray-this-address)
17669 (feedmail-spray-address-fiddle-plex-list)
17670 (feedmail-queue-use-send-time-for-date)
17671 (feedmail-queue-use-send-time-for-message-id)
17672 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17673 (feedmail-buffer-eating-function):
17674 Doc fixes.
17675 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17676 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17677 (feedmail-message-action-scroll-down): New functions.
17678 (feedmail-queue-directory, feedmail-queue-draft-directory):
17679 Use expand-file-name.
17680 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17681 Remove C-v help entry.
17682 (feedmail-queue-buffer-file-name): New variable.
17683 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17684 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17685 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17686 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17687 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17688 (feedmail-message-action-toggle-spray)
17689 (feedmail-run-the-queue-no-prompts)
17690 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17691 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17692 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17693 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17694 (feedmail-envelope-deducer, feedmail-fiddle-from)
17695 (feedmail-fiddle-sender, feedmail-default-date-generator)
17696 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17697 (feedmail-fiddle-spray-address)
17698 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17699 (feedmail-fiddle-list-of-fiddle-plexes)
17700 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17701 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17702 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17703 Change default. Doc fix.
17704 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17705 (feedmail-binmail-linuxish-template): New constant.
17706 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17707 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17708 (feedmail-send-it): Add debug call.
17709 Use feedmail-queue-buffer-file-name, and
17710 feedmail-send-it-immediately-wrapper.
17711 (feedmail-message-action-send): Add debug call.
17712 Use feedmail-send-it-immediately-wrapper.
17713 (feedmail-queue-express-to-queue): Add debug call.
17714 Run feedmail-queue-express-hook.
17715 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17716 (feedmail-message-action-help-blat):
17717 Rename from feedmail-queue-send-edit-prompt-help-first.
17718 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17719 Check line-endings. Handle errors better.
17720 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17721 Doc fix. Add debug call.
17722 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17723 Use feedmail-queue-send-edit-prompt-inner.
17724 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17725 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17726 from feedmail-queue-send-edit-prompt.
17727 (feedmail-queue-send-edit-prompt-help)
17728 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17729 (feedmail-tidy-up-slug): Add debug call.
17730 Respect feedmail-queue-slug-suspect-regexp.
17731 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17732 (feedmail-dump-message-to-queue): Add debug call.
17733 Expand queue-directory.
17734 (feedmail-dump-message-to-queue): Change message slightly.
17735 Use feedmail-say-chatter.
17736 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17737 (feedmail-send-it-immediately-wrapper): New function.
17738 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17739 Insert empty string rather than newline. Handle full-frame case.
17740 Use catch/throw. Use feedmail-say-chatter.
17741 (feedmail-fiddle-from): Try mail-host-address.
17742 (feedmail-default-message-id-generator): Doc fix.
17743 Bind system-time-locale. Handle missing end.
17744 (feedmail-fiddle-x-mailer): Add debug call.
17745 Handle feedmail-x-mailer-line being nil.
17746 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17747 Add debug call. Use buffer-substring-no-properties.
17748 (feedmail-say-debug, feedmail-say-chatter): New functions.
17749 (feedmail-find-eoh): Give an explicit error.
17750
17751 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17752
17753 * net/newst-treeview.el (newsticker-treeview-face): Change default
17754 family from helvetica to sans.
17755 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17756 etc/images/newsticker.
17757
17758 * net/newst-reader.el (newsticker-feed-face): Change default
17759 family from helvetica to sans.
17760
17761 * net/newst-plainview.el (newsticker-new-item-face)
17762 (newsticker-old-item-face, newsticker-immortal-item-face)
17763 (newsticker-obsolete-item-face, newsticker-date-face)
17764 (newsticker-statistics-face): Change default family from
17765 helvetica to sans.
17766 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17767 etc/images/newsticker.
17768
17769 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17770 (newsticker--process-auto-mark-filter-match): Tell user about
17771 auto-marking.
17772
17773 2011-05-13 Didier Verna <didier@xemacs.org>
17774
17775 Common Lisp indentation improvements on defmethod and lambda-lists.
17776 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17777 TODO entries.
17778 (lisp-lambda-list-keyword-parameter-indentation)
17779 (lisp-lambda-list-keyword-parameter-alignment)
17780 (lisp-lambda-list-keyword-alignment): New customizable user options.
17781 (lisp-indent-defun-method): Improve docstring.
17782 (extended-loop-p): Fix comment.
17783 (lisp-indent-lambda-list-keywords-regexp): New variable.
17784 (lisp-indent-lambda-list): New function.
17785 (lisp-indent-259): Use it.
17786 (lisp-indent-defmethod): Support for more than one
17787 method qualifier and properly indent methods lambda-lists.
17788 (defgeneric): Provide a missing common-lisp-indent-function property.
17789
17790 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17791
17792 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17793 bounds for the empty string (bug#8667).
17794
17795 2011-05-13 Glenn Morris <rgm@gnu.org>
17796
17797 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17798
17799 * mail/sendmail.el (sendmail-program): Try executable-find first.
17800 (sendmail-send-it): `sendmail-program' cannot be unbound.
17801
17802 * calendar/appt.el (appt-make-list): Simplify.
17803 (appt-time-msg-list): Doc fix.
17804 (appt-check): Change mode-line message at the time of the appointment.
17805
17806 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17807
17808 * progmodes/ld-script.el (ld-script-keywords)
17809 (ld-script-builtins): Update keywords list.
17810
17811 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17812
17813 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17814
17815 * shell.el (shell-completion-vars): New function.
17816 (shell-mode):
17817 * simple.el (read-shell-command): Use it.
17818 (blink-matching-open): No need for " [...]" in minibuffer-message.
17819
17820 2011-05-12 Glenn Morris <rgm@gnu.org>
17821
17822 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17823 (appt-check): Simplify.
17824
17825 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17826
17827 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17828 literal "/dev/null".
17829
17830 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17831
17832 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17833 Fix typo.
17834
17835 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17836
17837 * progmodes/which-func.el (which-function):
17838 Use add-log-current-defun instead of add-log-current-defun-function,
17839 which might not be defined (Bug#8260).
17840
17841 2011-05-12 Glenn Morris <rgm@gnu.org>
17842
17843 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17844 Let byte-compile-initial-macro-environment always take precedence.
17845
17846 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17847
17848 * net/rcirc.el: Add support for SSL/TLS connections.
17849 (rcirc-server-alist): New field `encryption'.
17850 (rcirc): Check `encryption' settings.
17851 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17852 Merge make-local-variable into `set'.
17853 (rcirc--connection-open-p): New function.
17854 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17855 the process is not a network process (e.g. running gnutls-cli).
17856 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17857 Make rcirc-(en|de)code-coding-system local here.
17858 (rcirc-mode): Merge make-local-variable into `set'.
17859 (rcirc-parent-buffer): Make permanent buffer-local.
17860 (rcirc-multiline-minor-mode): Don't do it here.
17861 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17862 there's no server buffer.
17863
17864 2011-05-11 Glenn Morris <rgm@gnu.org>
17865
17866 * newcomment.el (comment-kill): Prefix "unused" local.
17867
17868 * term/w32console.el (get-screen-color): Declare.
17869
17870 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17871 Handle symbol elements of byte-compile-initial-macro-environment.
17872
17873 2011-05-10 Leo Liu <sdl.web@gmail.com>
17874
17875 * bookmark.el (bookmark-bmenu-mode-map):
17876 Bind bookmark-bmenu-search to `/'.
17877
17878 * mail/footnote.el: Convert to utf-8 encoding.
17879 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17880 (Footnote-unicode): New function.
17881 (footnote-style-alist): Add unicode style to the list.
17882 (footnote-style): Doc fix.
17883
17884 2011-05-10 Jim Meyering <meyering@redhat.com>
17885
17886 Fix doubled-word typos.
17887 * international/quail.el (quail-insert-kbd-layout): and and -> and
17888 * kermit.el: and and -> and
17889 * net/ldap.el (ldap-search-internal): to to -> to
17890 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17891 * progmodes/js.el (js-mode): and and -> and
17892 * textmodes/artist.el (artist-move-to-xy): at at -> at
17893 (artist-draw-region-trim-line-endings): if if -> if
17894 And Safetyc -> Safety.
17895 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17896
17897 2011-05-10 Glenn Morris <rgm@gnu.org>
17898 Stefan Monnier <monnier@iro.umontreal.ca>
17899
17900 * files.el (hack-one-local-variable-eval-safep):
17901 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17902
17903 2011-05-10 Glenn Morris <rgm@gnu.org>
17904
17905 * calendar/diary-lib.el (diary-list-entries-hook)
17906 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17907 (diary-nongregorian-marking-hook, diary-list-entries)
17908 (diary-include-other-diary-files, diary-mark-entries)
17909 (diary-mark-included-diary-files): Doc fixes.
17910
17911 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17912
17913 * misc.el: Require tabulated-list.el during compilation.
17914
17915 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17916
17917 * progmodes/compile.el (compilation-start):
17918 Run compilation-filter-hook for the async case too.
17919 (compilation-filter-hook): Doc fix.
17920
17921 2011-05-09 Deniz Dogan <deniz@dogan.se>
17922
17923 * wdired.el: Remove outdated installation comment. Fix usage
17924 comment.
17925
17926 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17927
17928 * misc.el: Implement new command `list-dynamic-libraries'.
17929 (list-dynamic-libraries--loaded-only-p): New variable.
17930 (list-dynamic-libraries--refresh): New function.
17931 (list-dynamic-libraries): New command.
17932
17933 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17934
17935 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17936 Fix the ant regexp to handle end-line and end-column info from jikes.
17937 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17938 higher priority to avoid clobbering by gnu.
17939
17940 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17941
17942 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17943 if the face has existing theme settings (Bug#8454).
17944
17945 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17946
17947 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17948 Only match variables declared via `my' or `our' (Bug#8261).
17949
17950 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17951 special file names `.' and `..' (Bug#8259).
17952
17953 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17954
17955 * progmodes/grep.el (grep-mode-font-lock-keywords):
17956 Remove buffer-changing entries.
17957 (grep-filter): New function.
17958 (grep-mode): Add it to compilation-filter-hook.
17959
17960 * progmodes/compile.el (compilation-filter-hook)
17961 (compilation-filter-start): New defvars.
17962 (compilation-filter): Call compilation-filter-hook prior to
17963 updating the process mark.
17964
17965 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17966
17967 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17968
17969 2011-05-07 Eli Zaretskii <eliz@gnu.org>
17970
17971 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17972 mailclient-send-it even if window-system is nil. (Bug#8595)
17973
17974 * term/w32console.el (terminal-init-w32console):
17975 Call get-screen-color and use its output to set the frame
17976 background-mode. (Bug#8597)
17977
17978 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17979
17980 Make bytecomp.el understand that defmethod defines funs (bug#8631).
17981 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17982 New functions.
17983 (defgeneric, eieio--defmethod): Use them.
17984 (eieio-defgeneric): Remove.
17985 (defmethod): Call defgeneric in a way visible to the byte-compiler.
17986
17987 2011-05-07 Glenn Morris <rgm@gnu.org>
17988
17989 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17990 Use let rather than let*.
17991 (timeclock-find-discrep): Remove unused local.
17992
17993 * calendar/diary-lib.el (diary-comment-start): Doc fix.
17994
17995 * calendar/appt.el (appt-time-msg-list): Doc fix.
17996
17997 2011-05-06 Noah Friedman <friedman@splode.com>
17998
17999 * apropos.el (apropos-print-doc): Only use
18000 emacs-lisp-docstring-fill-column when it is bound to an integer,
18001 per that variable's documentation.
18002
18003 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18004
18005 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18006 and warnings are not silently discarded (e.g. use -d instead of -P).
18007
18008 2011-05-06 Glenn Morris <rgm@gnu.org>
18009
18010 * calendar/appt.el (appt-message-warning-time): Doc fix.
18011 (appt-warning-time-regexp): New option.
18012 (appt-make-list): Respect appt-message-warning-time.
18013
18014 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18015 New options.
18016 (diary-add-to-list): Strip comments from the displayed string.
18017 (diary-mode): Set comment-start and comment-end.
18018
18019 * vc/diff-mode.el (smerge-refine-subst): Declare.
18020 (diff-refine-hunk): Don't require smerge-mode when compiling.
18021
18022 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18023
18024 * simple.el (list-processes): Return nil as the docstring says.
18025
18026 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18027
18028 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18029 to "".
18030 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18031 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18032 determining of binary transfer. (Bug#7383)
18033
18034 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18035
18036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18037 Fix port computation bug. (Bug#8618)
18038
18039 2011-05-05 Glenn Morris <rgm@gnu.org>
18040
18041 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18042
18043 * simple.el (shell-dynamic-complete-functions)
18044 (comint-dynamic-complete-functions): Declare.
18045
18046 * net/network-stream.el (gnutls-negotiate):
18047 * simple.el (tabulated-list-print): Fix declarations.
18048
18049 * progmodes/gud.el (syntax-symbol, syntax-point):
18050 Remove unnecessary and incorrect declarations.
18051
18052 * emacs-lisp/check-declare.el (check-declare-scan):
18053 Handle byte-compile-initial-macro-environment in bytecomp.el
18054
18055 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18056
18057 Fix earlier half-done eieio-defmethod change (bug#8338).
18058 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18059 Streamline and change calling convention.
18060 (defmethod): Adjust accordingly and simplify.
18061 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18062 new eieio--defmethod.
18063 (slot-boundp): Minor CSE simplification.
18064
18065 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18066
18067 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18068 (glasses-make-readable): Use glasses-separate-capital-groups.
18069
18070 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18071
18072 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18073 (warning-series): Doc fix.
18074 (display-warning): Don't try to create the buffer if we just found it.
18075
18076 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18077
18078 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18079 (autoload-find-generated-file): New function.
18080 (generate-file-autoloads): Bind generated-autoload-file to
18081 buffer-file-name.
18082 (update-file-autoloads, update-directory-autoloads):
18083 Use autoload-find-generated-file. If called interactively, prompt for
18084 output file (Bug#7989).
18085 (batch-update-autoloads): Doc fix.
18086
18087 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18088
18089 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18090
18091 2011-05-04 Glenn Morris <rgm@gnu.org>
18092
18093 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18094 function, so it follows changes in calendar-date-style.
18095 (diary-fancy-date-matcher): New function.
18096 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18097 (diary-fancy-font-lock-fontify-region-function):
18098 Use diary-fancy-date-pattern as a function.
18099
18100 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18101 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18102
18103 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18104
18105 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18106 instead of positional arguments. Allow :keylist and :crlfiles
18107 arguments.
18108 (open-gnutls-stream): Call it.
18109
18110 * net/network-stream.el (network-stream-open-starttls): Adjust to
18111 call `gnutls-negotiate' with :process and :hostname arguments.
18112
18113 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 * minibuffer.el (completion--message): New function.
18116 (completion--do-completion, minibuffer-complete)
18117 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18118 (completion--do-completion): Don't ignore completion-auto-help when in
18119 icomplete-mode.
18120
18121 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18122 internal encoding (e.g. tibetan zero is not whitespace).
18123 (global-whitespace-mode): Prefer save-current-buffer.
18124 (whitespace-trailing-regexp): Remove useless save-match-data.
18125 (whitespace-empty-at-bob-regexp): Minor simplification.
18126
18127 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18128
18129 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18130
18131 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18132
18133 * textmodes/ispell.el (ispell-add-per-file-word-list):
18134 Use `concat' to create string for insertion.
18135
18136 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18137
18138 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18139 Avoid open-line which runs post-self-insert-hook.
18140 (bibtex-fill-entry): Remove unused `end' var.
18141
18142 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18143
18144 * textmodes/ispell.el (ispell-add-per-file-word-list):
18145 Protect against `nil' value of `comment-start' (Bug#8579).
18146
18147 2011-05-03 Leo Liu <sdl.web@gmail.com>
18148
18149 * isearch.el (isearch-yank-pop): New command.
18150 (isearch-mode-map): Bind it to `M-y'.
18151 (isearch-forward): Mention it.
18152
18153 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18154
18155 * simple.el (minibuffer-complete-shell-command): Remove.
18156 (minibuffer-local-shell-command-map): Use completion-at-point.
18157 (read-shell-command): Setup completion vars here instead.
18158 (read-expression-map): Bind TAB to symbol completion.
18159
18160 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18161 error directly rather via storing it into `results'.
18162
18163 2011-05-02 Leo Liu <sdl.web@gmail.com>
18164
18165 * vc/diff.el: Fix description.
18166
18167 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18168
18169 * server.el (server-eval-at): New function.
18170
18171 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18172
18173 * net/network-stream.el (open-network-stream): Take a :nowait
18174 parameter and pass it on to `make-network-process'.
18175 (network-stream-open-plain): Ditto.
18176
18177 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18178
18179 * faces.el (face-spec-set-match-display): Don't match toolkit
18180 options on terminal frames.
18181
18182 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18183
18184 * progmodes/pascal.el: Use lexical binding.
18185 (pascal-mode-map): Remove author preferences.
18186
18187 * pcomplete.el (pcomplete-std-complete): Don't abuse
18188 completion-at-point.
18189
18190 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18191
18192 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18193 removing code that has been dead since 1991 or so.
18194
18195 * startup.el (command-line): When warning about "_emacs", use a
18196 delayed warning to allow the user to filter it out.
18197
18198 2011-04-28 Deniz Dogan <deniz@dogan.se>
18199
18200 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18201 user has not joined.
18202
18203 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18204
18205 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18206 aren't any completions at point.
18207
18208 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18209
18210 * subr.el (display-delayed-warnings): New function.
18211 (delayed-warnings-hook): New variable.
18212
18213 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18214
18215 * minibuffer.el (completion-at-point, completion-help-at-point):
18216 Don't presume that a given completion-at-point-function will always
18217 use the same calling convention.
18218
18219 * pcomplete.el (pcomplete-completions-at-point):
18220 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18221 pcomplete-seen is non-nil.
18222 (pcomplete-comint-setup): Also recognize the new comint/shell
18223 completion functions.
18224 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18225 pcomplete-seen is non-nil.
18226
18227 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18228
18229 * calendar/icalendar.el (diary-lib): Add require statement.
18230 (icalendar--create-uid): Read out a uid from a text-property on
18231 the first character in the entry. This allows for code to add its
18232 own uid to the entry.
18233 (icalendar--convert-float-to-ical): Add export of
18234 `diary-float'-entries save for those with the optional DAY
18235 argument.
18236
18237 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18238
18239 * subr.el (shell-quote-argument): Use alternate escaping strategy
18240 when we spot a variable reference in a string.
18241
18242 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18243
18244 * cus-start.el (all): Define customization for debug-on-event.
18245
18246 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18247
18248 * subr.el (shell-quote-argument): Escape correctly under Windows.
18249
18250 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18251
18252 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18253
18254 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18255
18256 * net/tramp.el (tramp-process-actions): Add POS argument.
18257 Delete region between POS and (pos).
18258
18259 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18260 Use `nil' position in `tramp-process-actions' call.
18261 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18262
18263 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18264 position in `tramp-process-actions' call.
18265
18266 * net/trampver.el: Update release number.
18267
18268 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * custom.el (defcustom): Obey lexical-binding.
18271
18272 Fix octave-inf completion problems reported by Alexander Klimov.
18273 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18274 Inherit from octave-mode-syntax-table.
18275 (inferior-octave-mode): Set info-lookup-mode.
18276 (inferior-octave-completion-at-point): New function.
18277 (inferior-octave-complete): Use it and completion-in-region.
18278 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18279 comint-filename-completion.
18280 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18281 symbol elements which shouldn't be word elements.
18282 (octave-font-lock-keywords, octave-beginning-of-defun)
18283 (octave-function-header-regexp): Adjust regexps accordingly.
18284 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18285
18286 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18287
18288 * net/gnutls.el (gnutls-errorp): Declare before first use.
18289
18290 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18291
18292 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18293 verify-error, and verify-hostname-error parameters. Check whether
18294 default trustfile exists before going to use it. Add missing
18295 argument to gnutls-message-maybe call. Return value.
18296 Reported by Claudio Bley <claudio.bley@gmail.com>.
18297 (open-gnutls-stream): Add usage example.
18298
18299 * net/network-stream.el (network-stream-open-starttls): Give host
18300 parameter to `gnutls-negotiate'.
18301 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18302 * subr.el (shell-quote-argument): Escape correctly under Windows.
18303
18304 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18305
18306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18307 Use correct match group (bug#8438).
18308
18309 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18310
18311 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18312 (package-menu--generate): New arg specifying packages to show.
18313 (package-menu-refresh, package-menu-execute, list-packages):
18314 Callers changed.
18315 (package-show-package-list): New function, replacing deleted
18316 package--list-packages (renamed because it is non-internal).
18317
18318 * finder.el (finder-list-matches): Use package-show-package-list
18319 instead of deleted package--list-packages.
18320
18321 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18322 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18323 (vc-annotate-mode-map): Bind it to RET.
18324
18325 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18326
18327 * progmodes/etags.el (next-file): Don't use set-buffer to change
18328 buffers (Bug#8478).
18329
18330 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18331
18332 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18333
18334 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18335 (apropos-accumulator): Doc fix.
18336 (apropos-function, apropos-macro, apropos-command)
18337 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18338 (apropos-plist): Add face property.
18339 (apropos-symbols-internal): Fix indentation.
18340 (apropos-print): Simplify help, and recognize apropos-multi-type.
18341 (apropos-print-doc): Use button-type-get to extract the button's
18342 face property. Fill docstring (Bug#8352).
18343
18344 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18345
18346 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18347
18348 * play/mpuz.el (mpuz-silent): Doc fix.
18349 (mpuz-mode-map): Use mapc.
18350 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18351 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18352 Fix typos in docstrings.
18353
18354 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18355 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18356
18357 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18358
18359 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18360
18361 * minibuffer.el (completion--do-completion): Avoid the "Next char
18362 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18363
18364 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18365 mouse-2 into unread-command-events, it is interpreted correctly.
18366
18367 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18368 (image-toggle-display): Doc fix.
18369
18370 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18371
18372 * textmodes/page.el (what-page): Use line-number-at-pos to
18373 calculate line number (Bug#6825).
18374
18375 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18376
18377 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18378 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18379 Pass argument NO-DEFAULT to `find-tag-interactive'.
18380
18381 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18382
18383 Lexical-binding cleanup.
18384
18385 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18386 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18387 * progmodes/ada-prj.el (ada-prj-initialize-values)
18388 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18389 (ada-prj-show-value):
18390 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18391 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18392 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18393 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18394 * progmodes/bug-reference.el (bug-reference-push-button):
18395 * progmodes/fortran.el (fortran-line-length):
18396 * progmodes/glasses.el (glasses-change):
18397 * progmodes/octave-mod.el (octave-fill-paragraph):
18398 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18399 (python-pdbtrack-grub-for-buffer, python-sentinel):
18400 * progmodes/sql.el (sql-save-connection):
18401 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18402 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18403 Mark unused parameters.
18404
18405 * progmodes/compile.el (compilation--flush-directory-cache)
18406 (compilation--flush-parse, compile-internal): Mark unused parameters.
18407 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18408 (compilation-next-error-function): Remove unused variable `timestamp'.
18409
18410 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18411 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18412
18413 * progmodes/dcl-mode.el (dcl-end-of-command):
18414 Remove unused variable `start'.
18415 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18416 (dcl-option-value-basic, dcl-option-value-offset)
18417 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18418 Mark unused parameters.
18419 (dcl-save-local-variable): Remove unused variable `val'.
18420 (mode): Declare.
18421
18422 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18423 Mark unused parameters.
18424 (delphi-ignore-changes): Move before first use.
18425 (delphi-charset-token-at): Remove unused variable `start'.
18426 (delphi-else-start): Remove unused variable `if-count'.
18427 (delphi-comment-block-start, delphi-comment-block-end):
18428 Remove unused variable `kind'.
18429 (delphi-indent-line): Remove unused variable `new-point'.
18430
18431 * progmodes/ebrowse.el (ebrowse-files-list)
18432 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18433 Mark unused parameters. Don't quote `lambda'.
18434 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18435 Don't quote `lambda'.
18436 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18437 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18438 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18439 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18440 Use `ignore-errors'.
18441 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18442 (ebrowse-view/find-file-and-search-pattern)
18443 (ebrowse-view/find-member-declaration/definition):
18444 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18445 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18446 Rename parameter PREFIX-ARG to PREFIX.
18447 (ebrowse-tags-read-name): Remove unused variables `start' and
18448 `member-info'.
18449 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18450 to `tags-file'.
18451
18452 * progmodes/etags.el (local-find-tag-hook): Declare.
18453 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18454 Mark unused parameters.
18455
18456 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18457 (executable-interpret): Mark unused parameter.
18458
18459 * progmodes/flymake.el (flymake-process-sentinel)
18460 (flymake-after-change-function)
18461 (flymake-create-temp-with-folder-structure)
18462 (flymake-get-include-dirs-dot): Mark unused parameters.
18463 (flymake-safe-delete-directory): Remove unused variable `err'.
18464
18465 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18466 (speedbar-timer-fn, speedbar-line-text)
18467 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18468 (speedbar-center-buffer-smartly): Declare functions.
18469 (gdb-find-watch-expression): Remove unused variable `array'.
18470 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18471 (gdb-starting): Mark unused parameters.
18472 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18473 (gdb-table-string): Remove unused variable `res'.
18474 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18475 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18476 (gdb-display-buffer): Remove unused variable `cur-size'.
18477
18478 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18479 allow lexical-binding compilation.
18480 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18481 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18482 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18483 Mark unused parameters.
18484 (gud-gdb-marker-filter): Remove unused variable `match'.
18485 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18486 lambda expressions and funcall them, instead of using `fset'.
18487
18488 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18489 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18490
18491 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18492 variable `header-beg'; use `let'.
18493
18494 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18495 `restart', `last-sexp' and `at-do'.
18496
18497 * progmodes/js.el (js--debug): Mark unused parameter.
18498 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18499 (js--splice-into-items): Remove unused variable `item'.
18500 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18501
18502 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18503 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18504 (makefile-complete): Remove unused variable `try'.
18505 (makefile-fill-paragraph, makefile-match-function-end):
18506 Mark unused parameters.
18507
18508 * progmodes/octave-inf.el (inferior-octave-complete):
18509 Remove unused variable `proc'.
18510 (inferior-octave-output-digest): Mark unused parameter.
18511
18512 * progmodes/perl-mode.el (perl-calculate-indent):
18513 Remove unused variable `err'.
18514
18515 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18516 (prolog-indent-line): Mark unused parameters.
18517 (prolog-indent-line): Remove unused variable `beg'.
18518
18519 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18520 (reporter-dont-compact-list): Declare.
18521
18522 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18523 Remove unused variable `char'.
18524 (sh-debug): Mark unused parameter.
18525 (sh-get-indent-info): Remove unused variable `start'.
18526 (sh-calculate-indent): Remove unused variable `var'.
18527
18528 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18529 (simula-electric-keyword): Remove unused variable `null'.
18530 (simula-search-backward, simula-search-forward): Remove unused
18531 variables `begin' and `end'.
18532
18533 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18534 Remove unused variable `pos'.
18535 (vera-electric-tab, vera-comment-uncomment-region):
18536 Mark unused parameters.
18537 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18538
18539 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18540
18541 * emacs-lisp/package.el (package--builtins, package-alist)
18542 (package-load-descriptor, package-built-in-p, package-activate)
18543 (define-package, package-installed-p)
18544 (package-compute-transaction, package-buffer-info)
18545 (package--push): Doc fix. Distinguish more clearly between
18546 version strings and version lists.
18547
18548 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18549
18550 Lexical-binding cleanup.
18551
18552 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18553 (5x5-make-mutate-best):
18554 * play/fortune.el (fortune-in-buffer):
18555 * play/gomoku.el (gomoku-init-display):
18556 * play/solitaire.el (solitaire, solitaire-do-check):
18557 * play/tetris.el (tetris-default-update-speed-function):
18558 Mark unused parameters.
18559
18560 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18561 (bubbles--shift): Remove unused variable `char-org'.
18562 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18563 (bubbles--show-images): Remove unused variable `char'.
18564
18565 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18566 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18567 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18568 (decipher-analyze-buffer): Use ?\s.
18569 (decipher-make-checkpoint): Remove unused variable `mapping'.
18570
18571 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18572
18573 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18574 Remove unused variable `result'; use `let'.
18575
18576 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18577 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18578 (gametree-children-shown-p, gametree-compute-reduced-score):
18579 Use `ignore-errors'.
18580
18581 * play/handwrite.el (ps-lpr-switches): Declare.
18582 (handwrite): Remove unused variables `pmin' and `lastp'.
18583
18584 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18585
18586 * play/landmark.el (landmark-init-display)
18587 (landmark-update-naught-weights): Mark unused parameters.
18588 (landmark-y): Remove unused variable `noise'. Simplify.
18589 (landmark-human-plays): Remove unused variable `score'.
18590
18591 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18592 (mpuz-try-proposal): Remove unused variable `game'.
18593
18594 * play/zone.el (life-patterns): Declare.
18595
18596 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * vc/vc.el (ediff-vc-internal): Declare function.
18599
18600 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18601
18602 * shell.el: Use lexical-binding and std completion UI.
18603 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18604 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18605 comint-preoutput-filter-functions rather than on
18606 comint-output-filter-functions.
18607 (shell-command-completion, shell--command-completion-data)
18608 (shell-filename-completion, shell-environment-variable-completion)
18609 (shell-c-a-p-replace-by-expanded-directory): New functions.
18610 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18611 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18612 (shell-dynamic-complete-environment-variable): Use them.
18613 (shell-dynamic-complete-as-environment-variable)
18614 (shell-dynamic-complete-as-command): Remove.
18615 (shell-match-partial-variable): Match past point.
18616 * comint.el: Clean up use of completion-at-point-functions.
18617 (comint-completion-at-point): New function.
18618 (comint-mode): Use it completion-at-point-functions.
18619 (comint-dynamic-complete): Make it obsolete.
18620 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18621 (comint-c-a-p-replace-by-expanded-history): New function.
18622 (comint-dynamic-complete-functions)
18623 (comint-replace-by-expanded-history): Use it.
18624 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18625 termination strings. Try harder to avoid second try-completion.
18626 (completion-in-region-mode-map): Disable bindings that don't work yet.
18627
18628 * comint.el: Use lexical-binding. Require CL.
18629 (comint-dynamic-complete-functions): Use comint-filename-completion.
18630 (comint-completion-addsuffix): Tweak custom type.
18631 (comint-filename-completion, comint--common-suffix)
18632 (comint--common-quoted-suffix, comint--table-subvert)
18633 (comint--complete-file-name-data): New functions.
18634 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18635 (comint-dynamic-list-filename-completions): Use them.
18636 (comint-dynamic-simple-complete): Make obsolete.
18637
18638 * minibuffer.el (completion-in-region-mode):
18639 Keep completion-in-region-mode--predicate global.
18640 (completion-in-region--postch):
18641 Assume completion-in-region-mode--predicate is not null.
18642
18643 * progmodes/flymake.el (flymake-start-syntax-check-process):
18644 Obey `dir'. Simplify.
18645
18646 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18647 we're in VC after all.
18648
18649 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18650
18651 * vc/vc.el (vc-diff-build-argument-list-internal)
18652 (vc-version-ediff, vc-ediff): New commands.
18653 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18654
18655 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18656
18657 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18658 add sanity check.
18659
18660 * obsolete/erc-hecomplete.el: Make obsolete.
18661 * obsolete/: Standardize obsolescence info in the header.
18662
18663 2011-04-20 Glenn Morris <rgm@gnu.org>
18664
18665 * calendar/solar.el (solar-horizontal-coordinates):
18666 Use the longitude argument rather than `calendar-longitude'.
18667 (solar-date-next-longitude): Remove unused locals.
18668
18669 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18670
18671 * whitespace.el: New version 13.2.1.
18672
18673 2011-04-20 felix <EmacsWiki> (tiny change)
18674
18675 * whitespace.el (global-whitespace-mode): Keep highlight when
18676 switching between major modes on a file.
18677
18678 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18679
18680 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18681 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18682 multi-line comments as well.
18683
18684 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18685
18686 Lexical-binding cleanup.
18687
18688 * arc-mode.el (archive-mode-revert):
18689 * cmuscheme.el (scheme-interactively-start-process):
18690 * custom.el (custom-initialize-delay):
18691 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18692 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18693 * emacs-lock.el (emacs-lock-clear-sentinel):
18694 * ezimage.el (defezimage):
18695 * follow.el (follow-avoid-tail-recenter):
18696 * fringe.el (set-fringe-mode-1):
18697 * generic-x.el (bat-generic-mode-compile):
18698 * help-mode.el (help-info-variable, help-do-xref)
18699 (help-mode-revert-buffer):
18700 * help.el (view-emacs-todo):
18701 * iswitchb.el (iswitchb-completion-help):
18702 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18703 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18704 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18705 * locate.el (locate-update):
18706 * longlines.el (longlines-encode-region)
18707 (longlines-after-change-function):
18708 * outline.el (outline-isearch-open-invisible):
18709 * ps-def.el (declare-function, charset-dimension, char-width)
18710 (encode-char):
18711 * ps-mule.el (ps-mule-plot-string):
18712 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18713 (recentf-edit-list-select, recentf-edit-list-validate)
18714 (recentf-open-files-action):
18715 * rect.el (delete-whitespace-rectangle-line)
18716 (rectangle-number-line-callback):
18717 * register.el (window-configuration-to-register)
18718 (frame-configuration-to-register):
18719 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18720 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18721 (xselect-convert-to-targets, xselect-convert-to-delete)
18722 (xselect-convert-to-filename, xselect-convert-to-charpos)
18723 (xselect-convert-to-lineno, xselect-convert-to-colno)
18724 (xselect-convert-to-os, xselect-convert-to-host)
18725 (xselect-convert-to-user, xselect-convert-to-class)
18726 (xselect-convert-to-name, xselect-convert-to-integer)
18727 (xselect-convert-to-atom, xselect-convert-to-identity):
18728 * subr.el (declare, ignore, process-kill-without-query)
18729 (text-clone-maintain):
18730 * terminal.el (te-get-char, te-tic-sentinel):
18731 * tool-bar.el (tool-bar-make-keymap):
18732 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18733 * type-break.el (type-break-mode, type-break-noninteractive-query):
18734 * view.el (View-back-to-mark):
18735 * wid-browse.el (widget-browse-action, widget-browse-widget)
18736 (widget-browse-widgets, widget-browse-sexp):
18737 * widget.el (define-widget-keywords):
18738 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18739 Mark unused parameters.
18740
18741 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18742 (align-areas): Remove unused variable `look'.
18743 (align-region): Remove unused variables `real-end' and `pos-list'.
18744
18745 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18746
18747 * bindings.el (mode-line-modified, mode-line-remote):
18748 Mark unused parameters.
18749 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18750
18751 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18752 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18753
18754 * comint.el (comint-history-isearch-pop-state)
18755 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18756 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18757 (comint-substitute-in-file-name): Doc fix.
18758
18759 * completion.el (cmpl-statistics-block): Mark unused parameter.
18760 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18761 (save-completions-to-file, load-completions-from-file):
18762 Remove unused local variable `e'.
18763
18764 * composite.el (compose-chars): Remove unused variable `len'.
18765 (lgstring-insert-glyph): Remove unused variable `g'.
18766 (compose-glyph-string): Remove unused variables `ascent',
18767 `descent', `lbearing' and `rbearing'.
18768 (compose-glyph-string-relative): Remove unused variables
18769 `lbearing', `rbearing' and `wadjust'.
18770 (compose-gstring-for-graphic): Remove unused variables `header',
18771 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18772 (compose-gstring-for-terminal): Remove unused variables `header'
18773 and `nchars'. Use `let', not `let*'.
18774
18775 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18776 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18777 (Custom-buffer-done, custom-buffer-create-internal)
18778 (custom-browse-visibility-action, custom-browse-group-tag-action)
18779 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18780 (widget-magic-mouse-down-action, custom-toggle-parent)
18781 (custom-add-parent-links, custom-toggle-hide-variable)
18782 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18783 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18784 (custom-face-menu-create, custom-variable-menu-create, get)
18785 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18786 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18787 (customize-apropos): Remove unused variable `tests'.
18788 (custom-group-value-create): Remove unused variable `hidden-p'.
18789 (sort-fold-case): Declare.
18790
18791 * cus-theme.el (custom-reset-standard-faces-list)
18792 (custom-reset-standard-variables-list): Declare.
18793 (customize-create-theme, custom-theme-revert, custom-theme-write)
18794 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18795 Mark unused parameters.
18796
18797 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18798
18799 * delim-col.el (delimit-columns-max): Move defvar before first use.
18800
18801 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18802 (describe-char): Don't quote `lambda'. Mark unused parameter.
18803
18804 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18805 (auto-insert): Declare.
18806 (desktop-restore-file-buffer): Rename desktop-* parameters;
18807 mark unused ones.
18808 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18809 (desktop-buffer): Rename desktop-* parameters.
18810
18811 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18812 (dframe-reposition-frame-xemacs, dframe-help-echo)
18813 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18814 Mark unused parameters.
18815
18816 * dired-aux.el (backup-extract-version-start, overwrite-query)
18817 (overwrite-backup-query, rename-regexp-query)
18818 (rename-non-directory-query): Declare.
18819 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18820 (dired-add-entry): Remove unused variable `orig-file-name'.
18821 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18822 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18823 `dired-copy-preserve-time' directly.
18824 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18825 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18826
18827 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18828 (dired-virtual-revert, dired-make-relative-symlink):
18829 Mark unused parameters.
18830 (manual-program): Declare.
18831 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18832 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18833 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18834
18835 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18836
18837 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18838
18839 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18840 Declare.
18841
18842 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18843
18844 * electric.el (Electric-command-loop): Rename parameter
18845 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18846
18847 * expand.el (expand-in-literal): Remove unused variable `here'.
18848
18849 * facemenu.el (facemenu-add-new-color):
18850 Remove unused variable `docstring'.
18851
18852 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18853 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18854 (face-attr-construct): Mark unused parameter. Doc fix.
18855 (read-color): Remove unused variable `hex-string'.
18856
18857 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18858 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18859 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18860 (display-buffer-other-frame): Remove unused variable `old-window'.
18861 (kill-buffer-hook): Declare.
18862 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18863 Mark unused parameters.
18864 (after-find-file): Pass 1 to `auto-save-mode', not t.
18865
18866 * files-x.el (auto-insert): Declare.
18867 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18868
18869 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18870 variable `buf'. Mark unused parameter.
18871 (find-lisp-insert-directory): Mark unused parameter.
18872
18873 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18874 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18875 (format-common-tail): Remove, unused.
18876 (format-deannotate-region): Remove unused variable `loc'.
18877 (format-annotate-region): Remove unused variable `p'.
18878 (format-annotate-single-property-change): Remove unused variables
18879 `default' and `tail'.
18880
18881 * forms.el (read-file-filter): Declare.
18882 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18883
18884 * frame.el (frame-creation-function-alist): Mark unused parameter.
18885 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18886
18887 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18888 Remove unused parameters.
18889 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18890 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18891
18892 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18893 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18894 (hfy-prepare-tag-map): Mark unused parameters.
18895 (htmlfontify-buffer): Use `called-interactively-p'.
18896
18897 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18898 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18899 (ibuffer-do-occur): Mark unused parameters.
18900 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18901 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18902
18903 * ibuffer.el: Don't quote `lambda'.
18904 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18905 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18906 Mark unused parameters.
18907
18908 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18909 (ido-completing-read): Mark unused parameters.
18910 (ido-copy-current-word): Mark unused parameters;
18911 remove unused variable `name'.
18912 (ido-sort-merged-list): Remove unused parameter `dirs'.
18913
18914 * ielm.el (ielm-input-sender): Mark unused parameter.
18915 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18916 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18917 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18918 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18919 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18920
18921 * image-dired.el (image-dired-display-thumbs): Remove unused
18922 variables `curr-file' and `count'.
18923 (image-dired-remove-tag): Remove unused variable `start'.
18924 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18925 variable `curr-file'
18926 (image-dired-rotate-original): Remove unused variable `temp-file'.
18927 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18928 Remove unused variable `file'.
18929 (image-dired-gallery-generate): Remove unused variable `curr'.
18930 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18931
18932 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18933
18934 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18935
18936 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18937
18938 * isearch.el (minibuffer-history-symbol): Declare.
18939 (isearch-edit-string): Remove unused variable `err'.
18940 (isearch-message-prefix, isearch-message-suffix):
18941 Mark unused parameters.
18942
18943 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18944
18945 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18946
18947 * makesum.el (double-column): Remove unused variable `cnt'.
18948
18949 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18950 (ido-ignore-item-temp-list): Declare.
18951
18952 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18953 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18954 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18955 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18956 `mouse-col-delta'.
18957
18958 * mouse-sel.el (mouse-extend-internal):
18959 Remove unused variable `orig-window-frame'.
18960
18961 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18962 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18963 Move declarations before first use.
18964 (pcomplete-opt): Mark unused parameters; doc fix.
18965
18966 * proced.el (proced-revert): Mark unused parameter.
18967 (proced-send-signal): Remove unused variable `err'.
18968
18969 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18970 Rename parameter PREFIX-ARG to ARG.
18971 (ps-basic-plot-string, ps-basic-plot-whitespace):
18972 Mark unused parameters.
18973
18974 * replace.el (replace-count): Define.
18975 (occur-revert-function): Mark unused parameters.
18976 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18977 (isearch-case-fold-search, isearch-string): Declare.
18978 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18979 bind `case-fold-search'. Remove unused variables `beg' and `end',
18980 and simplify.
18981 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18982 COUNT and bind `replace-count'.
18983 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18984 to COUNT.
18985
18986 * savehist.el (print-readably, print-string-length): Declare.
18987
18988 * shadowfile.el (shadow-expand-cluster-in-file-name):
18989 Remove unused variable `cluster'.
18990 (shadow-copy-file): Remove unused variable `i'.
18991 (shadow-noquery, shadow-clusters, shadow-site-cluster)
18992 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18993 (shadow-define-literal-group, shadow-define-regexp-group)
18994 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18995
18996 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18997 (shell): Use `called-interactively-p'.
18998 (shell-directory-tracker): Remove unused variable `chdir-failure'.
18999
19000 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19001 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19002 (delete-backward-char): Remove unused variable `ocol'.
19003 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19004 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19005 (event-apply-hyper-modifier, event-apply-shift-modifier)
19006 (event-apply-control-modifier, event-apply-meta-modifier):
19007 Mark unused parameters.
19008 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19009 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19010
19011 * speedbar.el (speedbar-ignored-directory-expressions)
19012 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19013 (speedbar-find-file, speedbar-dir-follow)
19014 (speedbar-directory-buttons-follow, speedbar-tag-find)
19015 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19016 (speedbar-buffers-line-directory, speedbar-buffer-click):
19017 Mark unused parameters.
19018 (speedbar-tag-file): Remove unused variable `mode'.
19019 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19020
19021 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19022
19023 * talk.el (talk): Remove unused variable `display'.
19024
19025 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19026 (tar-write-region-annotate): Mark unused parameter.
19027
19028 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19029 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19030 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19031 warning by another.
19032
19033 * time-stamp.el (time-stamp-string-preprocess):
19034 Remove unused variable `require-padding'.
19035
19036 * tree-widget.el (widget-glyph-enable): Declare.
19037 (tree-widget-action): Mark unused parameter.
19038
19039 * w32-fns.el (x-get-selection): Mark unused parameter.
19040 (autoload-make-program, generated-autoload-file): Declare.
19041
19042 * wdired.el (wdired-revert): Mark unused parameters.
19043 (wdired-xcase-word): Remove unused variable `err'.
19044
19045 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19046 (whitespace-help-scroll): Remove unused variable `data-help'.
19047
19048 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19049 (widget-image-insert, widget-after-change, default)
19050 (widget-default-format-handler, widget-default-notify)
19051 (widget-default-prompt-value, widget-info-link-action)
19052 (widget-url-link-action, widget-function-link-action)
19053 (widget-variable-link-action, widget-file-link-action)
19054 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19055 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19056 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19057 (widget-insert-button-action, widget-delete-button-action, visibility)
19058 (widget-documentation-link-action, widget-documentation-string-action)
19059 (widget-const-prompt-value, widget-regexp-match, symbol)
19060 (widget-coding-system-prompt-value)
19061 (widget-key-sequence-value-to-external, sexp)
19062 (widget-sexp-value-to-internal, character, vector, cons)
19063 (widget-choice-prompt-value, widget-boolean-prompt-value)
19064 (widget-color--choose-action): Mark unused parameters.
19065 (widget-item-match-inline, widget-choice-match-inline)
19066 (widget-checklist-match, widget-checklist-match-inline)
19067 (widget-group-match): Rename parameter VALUES to VALS.
19068 (widget-field-value-set): Remove unused variable `size'.
19069 (widget-color-action): Remove unused variables `value' and `start'.
19070
19071 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19072 variable `dir'. Doc fix.
19073 (windmove-find-other-window): Don't pass it.
19074
19075 * window.el (count-windows): Mark unused parameter.
19076 (bw-adjust-window): Remove unused variable `err'.
19077
19078 * woman.el (woman-file-name): Remove unused variable `default'.
19079 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19080 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19081 (global-font-lock-mode): Declare.
19082 (woman-decode-region): Mark unused parameter.
19083 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19084
19085 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19086 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19087 (x-dnd-handle-moz-url): Remove unused variable `title'.
19088 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19089
19090 * xml.el (xml-parse-tag, xml-parse-attlist):
19091 Remove unused variable `pos'.
19092
19093 2011-04-19 Glenn Morris <rgm@gnu.org>
19094
19095 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19096 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19097 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19098 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19099 * calendar/cal-html.el (cal-html-insert-minical):
19100 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19101 (calendar-mark-date-pattern):
19102 Prefix "unused" locals.
19103
19104 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19105 optional argument `style'.
19106
19107 * calendar/appt.el (appt-make-list):
19108 * calendar/cal-china.el (calendar-chinese-date-string):
19109 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19110 (diary-hebrew-yahrzeit):
19111 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19112 * calendar/calendar.el (calendar-generate-window):
19113 * calendar/time-date.el (time-to-days):
19114 Remove unused local variables.
19115
19116 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19117
19118 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19119 glyphless-char-display table.
19120 (tabulated-list-glyphless-char-display): New var.
19121
19122 2011-04-18 Sam Steingold <sds@gnu.org>
19123
19124 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19125 to acknowledgments.
19126
19127 2011-04-17 Glenn Morris <rgm@gnu.org>
19128
19129 * calendar/diary-lib.el (diary-sexp-entry):
19130 * calendar/holidays.el (holiday-sexp):
19131 Set debug-on-error rather than the removed stack-trace-on-error.
19132
19133 2011-04-16 Glenn Morris <rgm@gnu.org>
19134
19135 * progmodes/f90.el: Use lexical-binding.
19136 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19137
19138 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19139
19140 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19141 (mail-mode): Setup mailalias completion here instead.
19142 * mail/mailalias.el: Use lexical-binding.
19143 (pattern, mailalias-done): Declare dynamic.
19144 (mail-completion-at-point-function): New function, from mail-complete.
19145 (mail-complete): Use it.
19146 (mail-completion-expand): New function.
19147 (mail-get-names): Use it.
19148 (mail-directory, mail-directory-process, mail-directory-stream):
19149 Don't use `pattern' for lexically bound arg.
19150
19151 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19152
19153 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19154 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19155 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19156
19157 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19158 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19159 (byte-interactive-p): Define them again, for use when inlining
19160 old code.
19161
19162 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19163
19164 * loadup.el: Use `string-to-number', not `string-to-int'.
19165
19166 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19167
19168 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19169 gud-gdb-complete-command.
19170 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19171 (gud-gdb-completion-at-point): New function.
19172 (gud-gdb-completions): Remove.
19173
19174 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19175
19176 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19177 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19178 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19179 whether `executable-find' is bound.
19180
19181 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19182
19183 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19184
19185 * minibuffer.el (completion-in-region-mode-predicate)
19186 (completion-in-region-mode--predicate): New vars.
19187 (completion-in-region, completion-in-region--postch)
19188 (completion-in-region-mode): Use them.
19189 (completion--capf-wrapper): Also return the hook function.
19190 (completion-at-point, completion-help-at-point):
19191 Adjust and provide a predicate.
19192
19193 Preserve arg names for advice of subr and lexical functions (bug#8457).
19194 * help-fns.el (help-function-arglist): Consolidate the subr and
19195 new-byte-code cases. Add argument `preserve-names' to extract names
19196 from the docstring when needed.
19197 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19198 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19199 (ad-arglist): Use help-function-arglist's new arg.
19200 (ad-definition-type): Use cond.
19201
19202 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19203
19204 * autorevert.el (auto-revert-handler):
19205 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19206 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19207 Don't quote lambda.
19208
19209 * image-mode.el (image-transform-set-scale):
19210 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19211
19212 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19213
19214 * net/network-stream.el (network-stream-open-starttls): Only do
19215 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19216 Upgrades via gnutls-cli are too slow to be done opportunistically.
19217
19218 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19219
19220 * dframe.el (dframe-current-frame): Remove spurious quote.
19221
19222 2011-04-12 Glenn Morris <rgm@gnu.org>
19223
19224 * calendar/cal-tex.el (cal-tex-end-document):
19225 Try to automatically use latin1 input if needed.
19226
19227 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19228 Don't try to cons a mark onto an empty element.
19229
19230 2011-04-11 Leo Liu <sdl.web@gmail.com>
19231
19232 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19233 buffers.
19234 (ido-kill-buffer-at-head): Support killing virtual buffers.
19235
19236 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19237
19238 * minibuffer.el (completion-show-inline-help): New var.
19239 (completion--do-completion, minibuffer-complete)
19240 (minibuffer-force-complete, minibuffer-complete-word):
19241 Inhibit minibuffer messages if completion-show-inline-help is nil.
19242
19243 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19244 to avoid interference from inline help (Bug#5849).
19245
19246 2011-04-10 Leo Liu <sdl.web@gmail.com>
19247
19248 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19249 Fix typo.
19250
19251 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19252
19253 * image-mode.el (image-toggle-display-image): Signal an error if
19254 not in Image mode.
19255 (image-transform-mode, image-transform-resize)
19256 (image-transform-set-rotation): Doc fix.
19257 (image-transform-set-resize): Delete.
19258 (image-transform-set-scale, image-transform-fit-to-height)
19259 (image-transform-fit-to-width): Handle image-toggle-display-image
19260 and image-transform-resize directly.
19261
19262 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19263
19264 * doc-view.el (doc-view-fit-width-to-window)
19265 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19266 New functions for fitting the shown image to the Emacs window size.
19267 (doc-view-mode-map): Add bindings for the new functions.
19268
19269 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19270
19271 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19272 Fix typo in docstring.
19273
19274 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19275
19276 * files.el (file-size-human-readable): Produce one digit after
19277 decimal, like "ls -lh" does.
19278
19279 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19280 the file size representation.
19281
19282 * simple.el (list-processes): If async subprocesses are not
19283 available, error out with a clear error message.
19284
19285 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19286
19287 * help.el (help-form-show): New function, to be called from C.
19288 Put help-form output in a buffer named differently than *Help*.
19289
19290 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19291
19292 * files.el (file-size-human-readable): New function.
19293
19294 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19295 computing the representation inline. Don't require `cl'.
19296
19297 2011-04-08 Glenn Morris <rgm@gnu.org>
19298
19299 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19300
19301 * net/browse-url.el (browse-url-firefox):
19302 Test system-type, not system-configuration.
19303
19304 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19305 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19306 Use log-edit-empty-buffer-p. (Bug#7598)
19307
19308 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19309 (rlogin-mode-map): Initialize in the defvar.
19310 (rlogin): Use ignore-errors.
19311
19312 * replace.el (occur-mode-map): Some fixes for menu items.
19313
19314 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19315
19316 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19317
19318 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19321 issuing unused warnings.
19322
19323 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19324 macro directly.
19325
19326 * simple.el: Lisp reimplement of list-processes. Based on an
19327 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19328 (process-menu-mode): New major mode.
19329 (list-processes--refresh, list-processes):
19330 (process-menu-visit-buffer): New functions.
19331
19332 * files.el (save-buffers-kill-emacs): Don't assume any return
19333 value of list-processes, which is undocumented anyway.
19334
19335 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19336
19337 * emacs-lisp/tabulated-list.el: New file.
19338
19339 * emacs-lisp/package.el: Use Tabulated List mode.
19340 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19341 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19342 table format using Tabulated List mode variables.
19343 (package--push): New macro, replacing package-list-maybe-add.
19344 (package-menu--generate): Use package--push. Renamed from
19345 package--generate-package-list.
19346 (package-menu-refresh, list-packages): Use it.
19347 (package-menu--print-info): Rename from package-print-package.
19348 Return insertion data instead of inserting it directly.
19349 (package-menu-describe-package, package-menu-execute):
19350 Use tabulated-list-get-id.
19351 (package-menu-mark-delete, package-menu-mark-install)
19352 (package-menu-mark-unmark, package-menu-backup-unmark)
19353 (package-menu-mark-obsolete-for-deletion):
19354 Use tabulated-list-put-tag.
19355 (package--list-packages, package-menu-revert)
19356 (package-menu-get-package, package-menu-get-version)
19357 (package-menu-sort-by-column): Functions deleted.
19358 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19359 (package-menu--status-predicate, package-menu--version-predicate)
19360 (package-menu--name-predicate)
19361 (package-menu--description-predicate): Handle arguments in the
19362 Tabulated List format.
19363 (package-list-packages-no-fetch): Call list-packages.
19364
19365 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19366
19367 * files.el (after-find-file-from-revert-buffer): Remove variable.
19368 (after-find-file): Don't bind it.
19369 (revert-buffer-in-progress-p): New variable.
19370 (revert-buffer): Bind it.
19371 Pass nil for `after-find-file-from-revert-buffer'.
19372
19373 * saveplace.el (save-place-find-file-hook): Use new variable
19374 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19375
19376 2011-04-06 Glenn Morris <rgm@gnu.org>
19377
19378 * Makefile.in (AUTOGEN_VCS): New variable.
19379 (autoloads): Use $AUTOGEN_VCS.
19380
19381 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19382 * calendar/calendar.el (calendar-mode-map):
19383 Check for toolkit scroll bars. (Bug#8305)
19384
19385 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19386
19387 * minibuffer.el (completion-in-region--postch)
19388 (completion-in-region-mode): Remove unnecessary messages.
19389
19390 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19391
19392 * font-lock.el (font-lock-refresh-defaults):
19393 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19394 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19395
19396 * info.el (Info-directory-list, Info-read-node-name-2)
19397 (Info-split-parameter-string): Doc fixes.
19398 (Info-virtual-nodes): Reflow docstring.
19399 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19400 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19401 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19402 Fix typos in docstrings.
19403 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19404 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19405 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19406 (Info-restore-desktop-buffer): Mark unused parameters.
19407 (Info-directory-find-file, Info-directory-find-node)
19408 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19409 (Info-virtual-index-find-node, Info-apropos-find-file)
19410 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19411 Mark unused parameters; fix typos in docstrings.
19412 (Info-virtual-index): Remove unused local variable `nodename'.
19413
19414 2011-04-05 Deniz Dogan <deniz@dogan.se>
19415
19416 * net/rcirc.el: Update my e-mail address.
19417 (rcirc-mode-map): Remove M-o binding.
19418
19419 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19420
19421 * startup.el (command-line): Save the cursor's theme-face
19422 directly, instead of using face-override-spec.
19423
19424 * custom.el (load-theme): Minor optimization in assigning faces.
19425
19426 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19427
19428 * help-fns.el (describe-variable): Complete all variables having
19429 documentation, including keywords.
19430 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19431
19432 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19433
19434 Convert to lexical-binding.
19435
19436 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19437 (bs--get-marked-string, bs--get-modified-string)
19438 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19439 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19440 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19441
19442 * ehelp.el (electric-help-execute-extended)
19443 (electric-help-ctrl-x-prefix):
19444 * hexl.el (hexl-revert-buffer-function):
19445 * linum.el (linum-after-change, linum-after-scroll):
19446 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19447
19448 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19449
19450 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19451
19452 * epa-dired.el:
19453 * epa-mail.el:
19454 * epa-hook.el:
19455 * epa-file.el:
19456 * epa.el:
19457 * epg.el: Use lexical binding.
19458
19459 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19460
19461 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19462
19463 * textmodes/flyspell.el (flyspell-word): Recognize default
19464 dictionary case for flyspell-mark-duplications-exceptions.
19465 Use regexp matching for languages.
19466 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19467 default dictionary (Bug#7926).
19468
19469 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19470
19471 * emacs-lisp/package.el (package--with-work-buffer):
19472 Recognize https URLs.
19473
19474 * net/network-stream.el: Move from gnus/proto-stream.el.
19475 Change prefix to network-stream throughout.
19476 (open-protocol-stream): Merge into open-network-stream, leaving
19477 open-protocol-stream as an alias. Handle nil BUFFER args.
19478
19479 * subr.el (open-network-stream): Move to net/network-stream.el.
19480
19481 2011-04-02 Glenn Morris <rgm@gnu.org>
19482
19483 * find-dired.el (find-exec-terminator): New option.
19484 (find-ls-option): Test for -ls support.
19485 (find-ls-subdir-switches): Test for -b in find-ls-option.
19486 (find-dired, find-grep-dired): Doc fixes.
19487 (find-dired): Use find-exec-terminator.
19488
19489 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19490 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19491 (find-name-arg): Remove purecopy.
19492
19493 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19494 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19495 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19496 accordingly. Don't add the null-device if not needed.
19497
19498 * files.el (save-some-buffers): Doc fix.
19499
19500 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19501
19502 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19503
19504 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19505
19506 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19507 Use `dolist' rather than `mapcar'.
19508
19509 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19510
19511 Add lexical binding.
19512
19513 * subr.el (apply-partially): Use new closures rather than CL.
19514 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19515 (dolist, dotimes): Use slightly different expansion for lexical code.
19516 (functionp): Move to C.
19517 (letrec): New macro.
19518 (with-wrapper-hook): Use it and apply-partially instead of CL.
19519 (eval-after-load): Preserve lexical-binding.
19520 (save-window-excursion, with-output-to-temp-buffer): Turn them
19521 into macros.
19522
19523 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19524
19525 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19526 than the arglist.
19527 (help-add-fundoc-usage): Don't add `Not documented'.
19528 (help-function-arglist): Handle closures, subroutines, and new
19529 byte-code-functions.
19530 (help-make-usage): Remove leading underscores.
19531 (describe-function-1): Handle closures.
19532 (describe-variable): Use special-variable-p for completion.
19533
19534 * files.el (lexical-binding): Declare safe.
19535
19536 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19537 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19538 (pcase): Add `let' pattern.
19539 Change memoization so it actually works.
19540 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19541 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19542 <let>: New case.
19543
19544 * emacs-lisp/macroexp.el: Use lexical binding.
19545 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19546 Don't convert ' to #' without checking that it's indeed quoting
19547 a lambda.
19548
19549 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19550 Use eval-sexp-add-defvars.
19551 (eval-sexp-add-defvars): New fun.
19552
19553 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19554
19555 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19556 Don't autoload.
19557 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19558 than the internal `byte-compile-lambda'.
19559 (defmethod): Don't hide code under quotes.
19560 (eieio-defmethod): New `code' argument.
19561
19562 * emacs-lisp/eieio-comp.el: Remove.
19563
19564 * emacs-lisp/edebug.el (edebug-eval-defun)
19565 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19566 (edebug-toggle): Avoid `eval'.
19567
19568 * emacs-lisp/disass.el (disassemble-internal): Handle new
19569 `closure' objects.
19570 (disassemble-1): Handle new byte codes.
19571
19572 * emacs-lisp/cl.el (pushnew): Silence warning.
19573
19574 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19575 (cl-byte-compile-throw): Remove.
19576 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19577
19578 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19579 closures.
19580
19581 * emacs-lisp/cconv.el: New file.
19582
19583 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19584 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19585 (byte-compile-initial-macro-environment):
19586 Handle declare-function here.
19587 (byte-compile--lexical-environment): New var.
19588 (byte-stack-ref, byte-stack-set, byte-discardN)
19589 (byte-discardN-preserve-tos): New lap codes.
19590 (byte-interactive-p): Don't use any more.
19591 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19592 New macros.
19593 (byte-compile-lapcode): Use them and handle new lap codes.
19594 (byte-compile-obsolete): Remove.
19595 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19596 (byte-compile-arglist-warn): Check late def of inlinable funs.
19597 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19598 since they should have been expanded by now.
19599 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19600 (byte-compile-from-buffer): Remove unused second arg.
19601 (byte-compile-preprocess): New function.
19602 (byte-compile-toplevel-file-form): New function to distinguish
19603 file-form calls from outside from file-form calls from hunk-handlers.
19604 (byte-compile-file-form): Simplify.
19605 (byte-compile-file-form-defsubst): Remove.
19606 (byte-compile-file-form-defmumble): Simplify now that
19607 byte-compile-lambda always returns a byte-code-function.
19608 (byte-compile): Preprocess.
19609 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19610 Remove, not used any more.
19611 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19612 (byte-compile-make-args-desc): New funs.
19613 (byte-compile-lambda): Handle lexical functions. Always return
19614 a byte-code-function.
19615 (byte-compile-reserved-constants): New var, to make up room for
19616 closed-over variables.
19617 (byte-compile-constants-vector): Obey it.
19618 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19619 (byte-compile-macroexpand-declare-function): New function.
19620 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19621 byte-code-functions.
19622 (byte-compile-form): Check obsolescence here.
19623 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19624 (byte-compile-variable-ref): Remove.
19625 (byte-compile-dynamic-variable-op): New fun.
19626 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19627 (byte-compile-variable-set): New funs.
19628 (byte-compile-discard): Add 2 args.
19629 (byte-compile-stack-ref, byte-compile-stack-set)
19630 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19631 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19632 macroexpand-all instead.
19633 (byte-compile-quote-form): Remove.
19634 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19635 (byte-compile-bind, byte-compile-unbind): New funs.
19636 (byte-compile-let): Handle let* and lexical binding.
19637 (byte-compile-let*): Remove.
19638 (byte-compile-catch, byte-compile-unwind-protect)
19639 (byte-compile-track-mouse, byte-compile-condition-case):
19640 Handle a new :fun-body form, used for lexical scoping.
19641 (byte-compile-save-window-excursion)
19642 (byte-compile-with-output-to-temp-buffer): Remove.
19643 (byte-compile-defun): Simplify.
19644 (byte-compile-stack-adjustment): New fun.
19645 (byte-compile-out): Use it.
19646 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19647
19648 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19649 handler any more.
19650
19651 * emacs-lisp/byte-opt.el: Use lexical binding.
19652 (byte-inline-lapcode): Remove (to bytecomp).
19653 (byte-compile-inline-expand): Pay attention to inlining to/from
19654 lexically bound code.
19655 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19656 any more.
19657 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19658 any more and don't call compiler-macros.
19659 (byte-compile-splice-in-already-compiled-code): Remove.
19660 (byte-code): Don't inline any more.
19661 (disassemble-offset): Receive `bytes' as argument rather than via
19662 dynamic scoping.
19663 (byte-compile-tag-number): Declare before first use.
19664 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19665 `return' even if make-spliceable.
19666 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19667 obsolete interactive-p.
19668 (byte-optimize-lapcode): Optimize new lap-codes.
19669 Don't trip up on new form of `byte-constant' lap code.
19670
19671 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19672
19673 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19674
19675 * custom.el (custom-initialize-default, custom-declare-variable):
19676 Use `defvar'.
19677
19678 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19679 New variables.
19680 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19681 (COMPILE_FIRST): Add macroexp and cconv.
19682 * makefile.w32-in: Mirror changes in Makefile.in.
19683
19684 * vc/cvs-status.el:
19685 * vc/diff-mode.el:
19686 * vc/log-edit.el:
19687 * vc/log-view.el:
19688 * vc/smerge-mode.el:
19689 * textmodes/bibtex-style.el:
19690 * textmodes/css-mode.el:
19691 * startup.el:
19692 * uniquify.el:
19693 * minibuffer.el:
19694 * newcomment.el:
19695 * reveal.el:
19696 * server.el:
19697 * mpc.el:
19698 * emacs-lisp/smie.el:
19699 * doc-view.el:
19700 * dired.el:
19701 * abbrev.el: Use lexical binding.
19702
19703 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19704
19705 * info.el (info-display-manual): New function.
19706
19707 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19708
19709 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19710
19711 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19712
19713 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19714 an entry for that server in rcirc-authinfo. (Bug#8385)
19715
19716 2011-03-31 Glenn Morris <rgm@gnu.org>
19717
19718 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19719
19720 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19721
19722 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19723
19724 * progmodes/python.el (python-default-interpreter)
19725 (python-python-command-args, python-jython-command-args)
19726 (python-which-shell, python-which-args, python-which-bufname)
19727 (python-file-queue, python-comint-output-filter-function)
19728 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19729 variables and functions.
19730
19731 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19732
19733 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19734 (completion-in-region-mode): New minor mode.
19735 (completion-in-region): Use it.
19736 (completion-in-region--data, completion-in-region-mode-map): New vars.
19737 (completion-in-region--postch): New function.
19738 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19739 New vars.
19740 (completion--capf-wrapper): New function.
19741 (completion-at-point): Use it to track well-behavedness of
19742 hook functions.
19743 (completion-help-at-point): New command.
19744
19745 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19746
19747 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19748 syntax class to search for whitespace on a single line
19749 (Message-ID: <4D938140.4030905@redhat.com>).
19750
19751 2011-03-30 Leo Liu <sdl.web@gmail.com>
19752
19753 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19754 New commands.
19755 (edit-abbrevs-map): Bind them here.
19756 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19757
19758 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19759
19760 * allout.el (allout-hide-by-annotation, allout-flag-region):
19761 Reduce possibility of overlay leakage by making them volatile.
19762
19763 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19764 hash is not shared between buffers. Mode initialization is
19765 responsible for giving it a useful starting value.
19766 (allout-item-span): Reduce possibility of overlay leakage by
19767 making them volatile.
19768 (allout-widgets-count-buttons-in-region): Add diagnostic function
19769 for tracking down button overlay leaks.
19770
19771 2011-03-29 Leo Liu <sdl.web@gmail.com>
19772
19773 * ido.el (ido-read-internal): Use the default history var
19774 minibuffer-history if no HISTORY is specified.
19775
19776 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19777
19778 * net/imap.el (imap-shell-open, imap-process-connection-type):
19779 Use imap-process-connection-type for 'shell' streams as well as
19780 Kerberos, SSL, other subprocesses.
19781
19782 2011-03-28 Leo Liu <sdl.web@gmail.com>
19783
19784 * abbrev.el (abbrev-table-empty-p): New function.
19785 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19786 nonempty ones. (Bug#5937)
19787
19788 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19789
19790 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19791
19792 2011-03-27 Leo Liu <sdl.web@gmail.com>
19793
19794 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19795 for foreground and background colors.
19796 (ansi-color-make-color-map): Adapt.
19797
19798 2011-03-25 Leo Liu <sdl.web@gmail.com>
19799
19800 * midnight.el (midnight-time-float): Remove. Note it calculates
19801 the microsecond component incorrectly and seconds-to-time does the
19802 same job.
19803 Remove redundant (require 'timer).
19804
19805 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19806 (ido-completions): Remove unused arguments. (Bug#8329)
19807
19808 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * minibuffer.el (completion--flush-all-sorted-completions):
19811 Remove itself from hook.
19812 (completion-at-point): Let the functions perform the completion
19813 immediately and return nil or t.
19814 * comint.el (comint-dynamic-complete-functions): Now identical to
19815 completion-at-point-functions.
19816 (comint-dynamic-list-input-ring): Remove unused var `index'.
19817 (comint--match-partial-filename, comint--unquote&expand-filename):
19818 New funs, split from comint-match-partial-filename.
19819 (comint-dynamic-complete): Use completion-at-point.
19820 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19821
19822 2011-03-24 Drew Adams <drew.adams@oracle.com>
19823
19824 * thingatpt.el: Support `defun'.
19825
19826 2011-03-23 Leo Liu <sdl.web@gmail.com>
19827
19828 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19829
19830 * help-mode.el (help-mode-finish): Tweak regexp.
19831
19832 2011-03-23 Glenn Morris <rgm@gnu.org>
19833
19834 * eshell/esh-opt.el (eshell-eval-using-options):
19835 Do not bind unused local variable `eshell-option-stub'.
19836
19837 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19838
19839 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19840
19841 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19842 keymap variable in `with-no-warnings' to avoid a warning when the
19843 keymap has been already `defconst'ed.
19844
19845 2011-03-22 Leo Liu <sdl.web@gmail.com>
19846
19847 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19848 encode all chars in abbrevs; otherwise use emacs-mule or
19849 utf-8-emacs. (Bug#8308)
19850
19851 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19852
19853 * simple.el (backward-delete-char-untabify):
19854 Avoid warning about using `delete-backward-char'.
19855
19856 * image.el (image-type-file-name-regexps): Make it variable.
19857 `imagemagick-register-types' modifies it, and the user may want
19858 to add new extensions for known image types.
19859 (imagemagick-register-types): Throw error if not using ImageMagick.
19860
19861 2011-03-22 Leo Liu <sdl.web@gmail.com>
19862
19863 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19864 located before rcirc-prompt-end-marker.
19865 (rcirc-complete): Error if point is not after rcirc prompt.
19866 Handle the case when table is nil.
19867 (rcirc-user-authenticated): Define to fix compiler warning.
19868
19869 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19870
19871 * custom.el (custom--inhibit-theme-enable): Make it affect only
19872 custom-theme-set-variables and custom-theme-set-faces.
19873 (provide-theme): Ignore custom--inhibit-theme-enable.
19874 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19875 (custom-enabling-themes): Delete variable.
19876 (enable-theme): Accept only loaded themes as arguments.
19877 Ignore the special custom-enabled-themes variable.
19878 (custom-enabled-themes): Forbid themes from setting this.
19879 Eliminate use of custom-enabling-themes.
19880 (custom-push-theme): Quote "changed" custom var entry.
19881
19882 2011-03-21 Leo Liu <sdl.web@gmail.com>
19883
19884 * ido.el (ido-read-internal): Add ido-selected to history instead
19885 of user input.
19886
19887 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19888
19889 * subr.el (deferred-action-list, deferred-action-function):
19890 Mark obsolete.
19891
19892 2011-03-21 Leo Liu <sdl.web@gmail.com>
19893
19894 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19895 change on 2011-02-13 (bug#8309).
19896
19897 * minibuffer.el (read-file-name-function): Change default value.
19898 (read-file-name--defaults): Rename from read-file-name-defaults.
19899 (read-file-name-default): Rename from read-file-name.
19900 (read-file-name): Call read-file-name-function.
19901
19902 2011-03-21 Glenn Morris <rgm@gnu.org>
19903
19904 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19905 Doc fixes.
19906
19907 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19908
19909 * cus-theme.el: Add missing provide statement.
19910 (customize-create-theme): Extract theme value correctly.
19911 (custom-theme-visit-theme): Autoload.
19912 (customize-create-theme): Prompt before inserting default faces.
19913
19914 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19915
19916 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19917 units and musical notes.
19918
19919 2011-03-20 Leo Liu <sdl.web@gmail.com>
19920
19921 * ido.el (ido-read-internal): Use completing-read-default.
19922 (ido-completing-read): Fix compatibility with completing-read.
19923
19924 2011-03-20 Christian Ohler <ohler@gnu.org>
19925
19926 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19927 (ert-delete-all-tests): Use `called-interactively-p' rather than
19928 `interactive-p'.
19929 (ert--make-xrefs-region): Respect END.
19930
19931 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19932
19933 * dired-aux.el (dired-create-directory): Signal an error if the
19934 directory already exists (Bug#8246).
19935
19936 * facemenu.el (list-colors-display): Call list-faces-display
19937 inside with-help-window.
19938 (list-colors-print): Use display property to align the final
19939 column, instead of checking window-width.
19940
19941 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19942
19943 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19944 windows-nt systems.
19945 (emerge-protect-metachars): Quote correctly for ms-dos and
19946 windows-nt systems.
19947
19948 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19949
19950 * info.el (info-initialize): Replace all uses of `:' with
19951 path-separator for compatibility with non-Unix systems.
19952 Cache quoting of path-separator. (Bug#8258)
19953
19954 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19955
19956 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19957 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19958 (mouse-avoidance-mode): Fix typos in docstrings.
19959
19960 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19961
19962 * startup.el (package-subdirectory-regexp): Move from package.el.
19963 Omit \\` and \\', and let callers add them.
19964
19965 * emacs-lisp/package.el (package-strip-version)
19966 (package-load-all-descriptors): Add \\` and \\' to
19967 package-subdirectory-regexp before using it.
19968 (package-untar-buffer): New arg DIR; ensure that file untars only
19969 into this expected directory. Remove superfluous delete-region.
19970 (package-unpack): Caller changed.
19971 (package-tar-file-info): Use package-subdirectory-regexp.
19972
19973 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19974
19975 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19976 diff-mode-shared-map (bug#8284).
19977 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19978
19979 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19980
19981 * calendar/time-date.el (format-seconds): Use assoc instead of
19982 assoc-string, since assoc-string doesn't exist in XEmacs.
19983
19984 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
19985
19986 * custom.el (custom-known-themes): Reflow docstring.
19987 (custom-theme-load-path): Fix typo in docstring.
19988 (load-theme): Fix typo in error message.
19989 (custom-available-themes, custom-variable-theme-value):
19990 Use `let', not `let*'.
19991
19992 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
19993
19994 * calc/README: Mention inclusion of musical notes.
19995
19996 * calc/calc-units.el (calc-lu-quant): Rename from
19997 `calc-logunits-quantity'.
19998 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19999 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20000 (calc-db): Rename from `calc-dblevel'.
20001 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20002 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20003 (calc-np): Rename from `calc-nplevel'.
20004 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20005 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20006 (calc-lu-plus): Rename from `calc-logunits-add'.
20007 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20008 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20009 (calc-lu-minus): Rename from `calc-logunits-sub'.
20010 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20011 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20012 (calc-lu-times): Rename from `calc-logunits-mul'.
20013 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20014 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20015 (calc-lu-divide): Rename from `calc-logunits-div'.
20016 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20017 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20018
20019 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20020 functions being autoloaded.
20021
20022 * calc/calc.el (calc-lu-power-reference): Rename from
20023 `calc-logunits-power-reference'.
20024 (calc-lu-field-reference): Rename from
20025 `calc-logunits-field-reference'.
20026
20027 * calc/calc-help.el (calc-l-prefix-help):
20028 Mention musical note functions.
20029
20030 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20031
20032 * minibuffer.el (completion-all-sorted-completions):
20033 Use :completion-cycle-penalty text property if present.
20034
20035 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20036
20037 * allout.el (allout-yank-processing): Adjust for new rebulleting
20038 regime so bullet being yanked is used without prompting the user
20039 for a choice.
20040
20041 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20042
20043 * startup.el (command-line): Warn the user that _emacs is deprecated.
20044
20045 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20046
20047 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20048 (delphi-verbose, delphi-comment-face, delphi-string-face)
20049 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20050 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20051 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20052 (delphi-new-comment-line, delphi-font-lock-defaults)
20053 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20054 Fix typos in docstrings.
20055
20056 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20057
20058 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20059 Invert the roles of character and string values for INSTEAD, so a
20060 string is used for the more common case of a defaulting prompt.
20061
20062 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20063
20064 * progmodes/ruby-mode.el (ruby-backward-sexp):
20065 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20066 * play/gamegrid.el (gamegrid-make-face):
20067 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20068 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20069 * notifications.el (notifications-notify):
20070 * net/xesam.el (xesam-search-engines):
20071 * net/quickurl.el (quickurl-list-insert):
20072 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20073
20074 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20075
20076 * startup.el (command-line): Update package subdirectory regexp.
20077
20078 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20079
20080 * allout.el (allout-abbreviate-flattened-numbering)
20081 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20082
20083 * subr.el (read-char-choice): Only show the cursor after the prompt,
20084 not after the answer.
20085
20086 2011-03-15 Kevin Ryde <user42@zip.com.au>
20087
20088 * help-fns.el (variable-at-point): Skip leading quotes, if any
20089 (bug#8253).
20090
20091 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20092
20093 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20094 warning message.
20095
20096 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20097
20098 * shell.el (shell): When called interactively, offer to change the
20099 shell file name on remote hosts.
20100
20101 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20102
20103 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20104 integration for LDAP parameters. The host, base, user or binddn,
20105 and secret tokens can be specified in a netrc file, for instance.
20106 This is optional because an `auth-source' parameter must be
20107 specified in the search attributes.
20108
20109 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20110
20111 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20112
20113 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20114
20115 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20116 into declaration. Remove redundant and harmful binding.
20117
20118 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20119
20120 * files.el (file-ownership-preserved-p): Pass `integer' as an
20121 explicit 2nd argument to `file-attributes'. If the file's owner
20122 is the Administrators group on Windows, and the current user is
20123 Administrator, consider that a match.
20124
20125 * server.el (server-ensure-safe-dir): Consider server directory
20126 safe on MS-Windows if its owner is the Administrators group while
20127 the current Emacs user is Administrator. Use `=' to compare
20128 numerical UIDs, since they could be integers or floats.
20129
20130 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20131
20132 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20133
20134 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20135
20136 Sync with Tramp 2.2.1.
20137
20138 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20139
20140 * net/trampver.el: Update release number.
20141
20142 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20143
20144 * progmodes/compile.el (compilation--previous-directory): Fix up
20145 various nil/dead-marker mismatches (bug#8014).
20146 (compilation-directory-properties, compilation-error-properties):
20147 Don't call it at a position past the one we're about to change.
20148
20149 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20150 Disable obsolescence warnings in the file that declares it.
20151
20152 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20153
20154 * allout-widgets.el (allout-widgets-tally):
20155 Initialize allout-widgets-tally as a hash table rather than nil to
20156 prevent mode-line redisplay warnings. Also, clarify the module
20157 description and fix a comment typo.
20158
20159 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20160
20161 * help-fns.el (describe-variable): Don't complete keywords.
20162 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20163
20164 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20165
20166 * emacs-lisp/package.el (package-version-join): Impose a standard
20167 string representation for pre/alpha/beta version lists.
20168 (package-unpack-single): Standardize the directory name by passing
20169 it through package-version-join.
20170 (package-strip-rcs-id): Accept any version string that does not
20171 signal an error in version-to-list.
20172
20173 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20174
20175 * simple.el (delete-trailing-whitespace): Return nil for the
20176 benefit of `write-file-functions'.
20177
20178 2011-03-10 Glenn Morris <rgm@gnu.org>
20179
20180 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20181
20182 * vc/vc-git.el (vc-git-program): New option.
20183 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20184 (vc-git--call): Use it.
20185
20186 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20187
20188 * cus-edit.el (Custom-newline): If no button at point, look
20189 for a subgroup button at start-of-line. (Bug#2298)
20190
20191 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20192
20193 2011-03-10 Julien Danjou <julien@danjou.info>
20194
20195 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20196 `cursor-type' is nil.
20197
20198 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20199
20200 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20201
20202 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20203
20204 * allout.el: Change so yank of distinctive-bullet items
20205 preserves the existing header prefix, rebulleting it if necessary,
20206 rather than replacing it. This is necessary for proper operation
20207 of cooperative addons like allout-widgets.
20208 (allout-make-topic-prefix, allout-rebullet-heading):
20209 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20210 value as alternate bullet to be used, instead of prompting the user
20211 for a bullet character.
20212
20213 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20214
20215 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20216 Do not use `tramp-file-name-port', because this returns also
20217 `tramp-default-port'.
20218
20219 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20220
20221 * net/rcirc.el (rcirc-handler-001): Remove useless
20222 with-rcirc-process-buffer.
20223 (rcirc-check-auth-status): Swap arguments to string-match.
20224
20225 2011-03-09 Glenn Morris <rgm@gnu.org>
20226
20227 * shell.el (shell-mode):
20228 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20229
20230 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20231 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20232
20233 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20234
20235 * emacs-lisp/package.el (package-refresh-contents)
20236 (package-menu-execute): Use condition-case-no-debug.
20237
20238 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20239
20240 * simple.el (shell-command-to-string): Use `process-file'.
20241
20242 * emacs-lisp/package.el (package-tar-file-info): Handle also
20243 remote files.
20244
20245 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20246 Use `equal' for upload base check.
20247
20248 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20249
20250 * textmodes/texinfo.el (texinfo-environments):
20251 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20252
20253 2011-03-08 Glenn Morris <rgm@gnu.org>
20254
20255 * cus-start.el (cursor-in-non-selected-windows):
20256 Fix :set quoting oddness. (Bug#8192)
20257
20258 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20259 in some setf expressions. (Bug#2159)
20260
20261 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20262
20263 * custom.el (custom-available-themes): Return themes in
20264 alphabetical order.
20265
20266 See ChangeLog.15 for earlier changes.
20267
20268 ;; Local Variables:
20269 ;; coding: utf-8
20270 ;; End:
20271
20272 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20273
20274 This file is part of GNU Emacs.
20275
20276 GNU Emacs is free software: you can redistribute it and/or modify
20277 it under the terms of the GNU General Public License as published by
20278 the Free Software Foundation, either version 3 of the License, or
20279 (at your option) any later version.
20280
20281 GNU Emacs is distributed in the hope that it will be useful,
20282 but WITHOUT ANY WARRANTY; without even the implied warranty of
20283 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20284 GNU General Public License for more details.
20285
20286 You should have received a copy of the GNU General Public License
20287 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.