* calendar/todos.el: Improve handling of overlays.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12013-02-16 Stephen Berman <stephen.berman@gmx.net>
2
3 * calendar/todos.el: Improve handling of overlays.
4 (todos-get-overlay): New function.
5 (todos-prefix-overlay): Remove, since subsumed by
6 todos-get-overlay, and replace by the latter in callers.
7 (todos-reset-prefix): Apply only to buffer visiting Todos files.
8 Simplify implementation and use `todos' overlay property.
9 (todos-reset-done-separator): Use todos-get-overlay and `todos'
10 overlay property. Fix logic.
11 (todos-category-select): Use todos-get-overlay and `todos' overlay
12 property.
13 (todos-remove-item): Use todos-get-overlay. Correct obsolete code.
14 (todos-prefix-overlays): Use todos-top-priority face also for
15 non-numerical prefix of top priority items. Add `todos' overlay
16 property.
17 (todos-hide-show-date-time): Simplify, using todos-get-overlay and
18 `todos' overlay property.
19
202013-02-14 Stephen Berman <stephen.berman@gmx.net>
21
22 * calendar/todos.el (todos-edit-multiline, todos-edit-quit):
23 Revert buffer renaming.
24
252013-02-11 Stephen Berman <stephen.berman@gmx.net>
26
27 * calendar/todos.el (todos-edit-quit): On quitting file editing,
28 rename buffer back to current Todos file. After selecting
29 category, put point at top instead of recentering.
30
312013-02-08 Stephen Berman <stephen.berman@gmx.net>
32
33 * calendar/todos.el (todos-edit-multiline-item): Revert to using
34 indirect buffer, which makes it easier to return to Todos mode.
35 (todos-edit-quit): Don't delete and reinsert items that don't need
36 indenting. Revert to just killing buffer on quitting single item
37 editing. On quitting file editing, select nearest category.
38
392013-02-07 Stephen Berman <stephen.berman@gmx.net>
40
41 * calendar/todos.el: Bug fixes and improvements to item editing
42 and insertion.
43 (todos-check-format): Compare current value of todos-categories
44 with actual categories sexp.
45 (todos-repair-categories-sexp): Add warning to doc string about
46 category order getting restored to list element order.
47 (todos-mode-external-set): When todos-categories is nil, as in
48 Todos Edit mode, set it by reading actual categories sexp.
49 (todos-edit-mode): Make buffer writeable.
50 (todos-done-item-section-p): New function.
51 (todos-insert-item): Use it as part of preventing insertion here
52 in done items section. Move check for display of done items only
53 to just before setting new item's priority, and if cancelled after
54 toggling to todo items, restore display of done items.
55 (todos-edit-multiline-item): Don't base on todos-edit-multiline
56 but just narrow and change mode.
57 (todos-edit-multiline): Don't make indirect buffer but just widen
58 and change mode; also remove overlays.
59 (todos-edit-quit): Restore Todos mode and category display; when
60 quitting multiline item editing, ensure items above edited item
61 are visible in window if possible.
62 (todos-done-item-add-edit-or-delete-comment): If user moved point
63 during editing, make sure it moves back to edited item before
64 returning.
65
662013-02-05 Stephen Berman <stephen.berman@gmx.net>
67
68 * calendar/todos.el (todos-reset-done-separator-string):
69 Complete the implementation.
70 (todos-hide-show-done-items): If start of done items sections is
71 below the bottom of the window, make it visible.
72 (todos-insert-item): Allow inserting item here to work outside of
73 the current category, but then at top of category. After checking
74 whether only done items are shown, restore point to ensure
75 inserting item here works correctly.
76 (todos-set-item-priority): Delete leftover right paren at end.
77
782013-02-04 Stephen Berman <stephen.berman@gmx.net>
79
80 * calendar/todos.el: Bug fixes involving or displaying done items.
81 (todos-done-separator): Make length of long separator one less
82 than window-width, in order to avoid following empty line.
83 (todos-forward-item, todos-backward-item): Make empty line below
84 last todo item accessible only by invoking without a numerical
85 prefix argument and make the latter invocations move only to items.
86 (todos-insert-item): Set todos-current-todos-file after selecting
87 buffer, in order not to set global value. If only done items are
88 shown when this command is invoked, toggle to show todo items to
89 avoid insertion into done items section. When done items are
90 shown, protect from cancelling before setting item priority: this
91 also needs recentering to display all items.
92 (todos-set-item-priority): Only call on (not done) todo items.
93 Check that done items are visible not because file is widened.
94 Use only `any' argument of called-interactively-p. Make sure that
95 giving an undone item lowest priority restores it to the todo
96 section.
97 (todos-item-done): If done items are visible on invoking this
98 command, keep them visible afterwards. Stop looking for marked
99 items on reaching the empty line below the last todo item.
100
1012013-02-02 Stephen Berman <stephen.berman@gmx.net>
102
103 * calendar/todos.el: Several small fixes and improvements.
104 (todos-done-separator-string): Change default value.
105 (todos-update-categories-sexp): Remove unnecessary and misquided
106 setq of todos-default-todos-file. Use delete-region instead of
107 kill-region to avoid polluting kill-ring.
108 (todos-unload-hook): Remove (was not used).
109 (todos-edit-multiline): Don't generate new edit buffer name on
110 each invocation---that can cause confusion due to indirect buffer.
111 (todos-edit-quit): Ensure lines in edit buffer that follow hard
112 newlines are indented in the file to conform to diary format.
113 (todos-set-item-priority): If done items in category are visible,
114 keep them visible.
115
1162013-01-30 Stephen Berman <stephen.berman@gmx.net>
117
118 * calendar/todos.el: Fix done separator overlay bug. Remove most
119 FIXME comments.
120 (todos-reset-and-enable-done-separator): Remove commented out
121 workaround for done separator overlay bug; fix doc string.
122 (todos-reset-done-separator): Delete old overlay after adding new
123 overlay to fix done separator overlay bug; improve implementation.
124 (todos-prefix-overlays): Improve first line of doc string.
125
1262013-01-29 Stephen Berman <stephen.berman@gmx.net>
127
128 * calendar/todos.el: Improve item marking and handling of marked items.
129 (todos-prefix): Add validator to ensure value differs from that of
130 todos-item-mark.
131 (todos-item-mark): New defcustom.
132 (todos-prefix-overlay): New function.
133 (todos-marked-item-p): Use it. Adapt implementation to new
134 handling of marked items.
135 (todos-insert-with-overlays): When inserting pushes down a marked
136 item, move its prefix overlay.
137 (todos-prefix-overlays): Add overlay even when prefix is empty string,
138 otherwise item marking fails. Improve handling of marked items.
139 (todos-mark-unmark-item): Adapt to new handling of marked items
140 and simplify by removing marking of all items in category.
141 (todos-mark-category): Adapt to new handling of marked items and
142 don't use todos-mark-unmark-item.
143 (todos-unmark-category): Adapt to new handling of marked items.
144 (todos-delete-item): Remove obsolete handling of marked items and
145 useless restoration of point.
146 (todos-set-item-priority): Use new handling of marked items.
147 (todos-move-item, todos-item-done, todos-item-undo)
148 (todos-archive-done-item): Remove obsolete handling of marked items.
149
1502013-01-25 Stephen Berman <stephen.berman@gmx.net>
151
152 * calendar/todos.el: Improve definitions and use of some faces.
153 (todos-top-priority): Use current definition of font-lock-constant-face.
154 (todos-diary-expired): Make default value contrast more with
155 default value of todos-date face.
156 (todos-nondiary, todos-category-string): New faces.
157 (todos-nondiary-face, todos-category-string-face): Corresponding
158 new variables.
159 (todos-done, todos-comment): Switch default values to go better
160 with default value of todos-date face.
161 (todos-done-sep): Change default value.
162 (todos-category-string-matcher-1)
163 (todos-category-string-matcher-2): Improve doc string.
164 (todos-font-lock-keywords): Use todos-nondiary-face and
165 todos-category-string-face.
166 (todos-done-separator): Propertize string with todos-done-sep face.
167 (todos-filtered-items-mode): Fix typo.
168
1692013-01-23 Stephen Berman <stephen.berman@gmx.net>
170
171 * calendar/todos.el: Improve handling of saved top priorities items.
172 (todos-find-item): Find done items and items whose priority has
173 changed or whose text was truncated or augmented; add doc string.
174 (todos-check-top-priorities): Highlight each item that is not up
175 to date.
176 (todos-jump-to-item): Jump to items whose priority has changed or
177 whose text was truncated or augmented.
178
1792013-01-22 Stephen Berman <stephen.berman@gmx.net>
180
181 * calendar/todos.el: Revise handling of initial display and extend
182 to top priorities file.
183 (todos-display-categories-first): Remove, replacing by this:
184 (todos-show-first): New defcustom.
185 (todos-first-visit): Remove, replacing by this:
186 (todos-visited): New variable.
187 (todos-absolute-file-name): Extend possible values of optional
188 argument to take top priorities files into account.
189 (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
190 (todos-mode-external-set): Call find-file-noselect instead of
191 find-buffer-visiting, since the latter may fail.
192 (todos-show): Revise handling of initial display using
193 todos-show-first and todos-visited and extend to top priorities
194 file.
195 (todos-quit): Adapt to new handling of initial display.
196
1972013-01-14 Stephen Berman <stephen.berman@gmx.net>
198
199 * calendar/todos.el: Implement saving top priority items buffers,
200 improve implementation of item filtering commands and
201 infrastucture, and fix two bugs.
202 (todos-prefix-overlays): Use todos-top-priority face only in Todos
203 mode.
204 (todos-multiple-filter-files): Get file-truename of Todos file.
205 (todos-filter-items): Pass a list of files from the caller instead
206 of building it here, and move handling of cancelled file selection
207 dialog to callers. Correct omission of file-wide default number
208 of top priorities.
209 (todos-filtered-buffer-name): Treat file-list argument only as a list.
210 (todos-find-item, todos-check-top-priorities)
211 (todos-top-priorities-filename)
212 (todos-save-top-priorities-buffer): New functions.
213 (todos-save): Use todos-save-top-priorities-buffer.
214 (todos-jump-to-item): Refactor and use todos-find-item.
215 (todos-top-priorities): Simplify semantics of prefix argument.
216 Check if top priorities file exists and if so, visit it, reporting
217 whether it is up to date. Add optional argument and use it to
218 handle multiple files.
219 (todos-diary-items, todos-regexp-items): Add optional argument and
220 use it to handle multiple files.
221 (todos-top-priorities-multifile, todos-diary-items-multifile)
222 (todos-regexp-items-multifile): Refactor, using corresponding
223 non-multifile command.
224 (auto-mode-alist): Add pattern for top priorities files to visit
225 these in Todos Filtered Items mode.
226
2272013-01-08 Stephen Berman <stephen.berman@gmx.net>
228
229 * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
230 (todos-adjusted-category-label-length): New function.
231 (todos-padded-string): Use it.
232
2332013-01-08 Stephen Berman <stephen.berman@gmx.net>
234
235 * calendar/todos.el (todos-move-item): Allow moving done items to
236 done section of another category.
237
2382013-01-06 Stephen Berman <stephen.berman@gmx.net>
239
240 * calendar/todos.el: Display numerical priority string of top
241 priority items in category in a distinctive face.
242 (todos-prefix-string): Make doc string more precise.
243 (todos-top-priority): New defface.
244 (todos-done, todos-done-sep): Use more compact face definition
245 \(taken from font-lock.el).
246 (todos-comment): Give a complete face definition, instead of
247 inheriting from todos-done.
248 (todos-font-lock-keywords): Use todos-comment-face for
249 todos-comment-string-matcher.
250 (todos-prefix-overlays): Use todos-top-priority as the face
251 property of top priority items; don't condition reapplying item
252 prefix overlay on whether the string changed, since that prevents
253 updating display after changing number of top priorities.
254 (todos-set-top-priorities): Call todos-prefix-overlays to update
255 display.
256
2572013-01-04 Stephen Berman <Stephen.Berman@rub.de>
258
259 * calendar/todos.el (todos-reset-global-current-todos-file)
260 (todos-display-categories-1): Use absolute name of
261 todos-default-todos-file.
262
2632013-01-04 Stephen Berman <Stephen.Berman@rub.de>
264
265 * calendar/todos.el (todos-insert-item): Fix copy and paste error
266 from previous change.
267
2682013-01-03 Stephen Berman <stephen.berman@gmx.net>
269
270 * calendar/todos.el: Implement extended category completions.
271 (todos-default-todos-file): Change default value to correct custom
272 type.
273 (todos-category-completions-files): New defcustom.
274 (todos-reevaluate-category-completions-files-defcustom)
275 (todos-absolute-file-name, todos-category-completions): New defuns.
276 (todos-reevaluate-filelist-defcustoms):
277 Add todos-category-completions-files and
278 todos-reevaluate-category-completions-files-defcustom.
279 (todos-allcats-file, todos-all-categories-alist)
280 (todos-jump-to-category-other-file, todos-jump-to-any-category)
281 (todos-move-item-to-file): Remove (todos-all-categories-alist both
282 as defvar and as defun).
283 (todos-read-category): Rewrite using extended category completions
284 and better handling of completion against existing or non-existing
285 categories.
286 (todos-validate-name): Correct doc string; use local instead of
287 dynamic variables in function body.
288 (todos-insert-category-line): Adjust use of todos-jump-to-category
289 to new argument list.
290 (todos-key-bindings, todos-menu): Delete entries for removed
291 commands.
292 (todos-show): Get absolute name of todos-default-todos-file;
293 add `nowarn' argument to find-file-noselect; adjust use of
294 todos-add-category to new argument list.
295 (todos-jump-to-category): Rewrite using extended category
296 completions; reverse argument list, adapting FILE argument to new
297 completion mechanism; add autoload cookie; call todos-show if
298 there are no Todos files.
299 (todos-add-category): Rewrite using extended category completions;
300 add FILE argument to accommodate new completion mechanism.
301 (todos-merge-category): Adapt to extended category completions,
302 adding prefix argument.
303 (todos-insert-item): Adapt to extended category completions; use
304 todos-read-category instead of todos-jump-to-category in prefix
305 argument calls; call todos-show if there are no Todos files; if
306 item is inserted at end of category, recenter to ensure the items
307 above it are displayed in the window.
308 (todos-move-item): Adapt to extended category completions, making
309 argument prefix argument; allow moving within category (for the
310 sake of code simplification); add `nowarn' argument to
311 find-file-noselect.
312 (todos-archive-done-item): Prevent error when attempting to
313 archive not-done todo item; adjust use of todos-add-category to
314 new argument list.
315
3162012-12-15 Stephen Berman <stephen.berman@gmx.net>
317
318 * calendar/todos.el (todos-archive-done-item): Fix archiving of
319 all done items in a category and resulting display of todo file.
320
3212012-12-14 Stephen Berman <stephen.berman@gmx.net>
322
323 * calendar/todos.el (todos-priorities-rules): Fix customization
324 type to prevent mismatch error.
325 (todos-set-top-priorities): Fix rule construction; fix input check;
326 improve prompt.
327
3282012-12-14 Stephen Berman <stephen.berman@gmx.net>
329
330 * calendar/todos.el (todos-insert-item): If user exits Calendar
331 before choosing a date, cancel item insertion.
332 (todos-set-date-from-calendar): If user exits Calendar before
333 choosing a date, clean up properly.
334
3352012-12-12 Stephen Berman <stephen.berman@gmx.net>
336
337 * calendar/todos.el: Extend and improve handling of item editing,
338 especially of date/time header.
339 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
340 (todos-date-pattern): Use explicitly numbered groups.
341 (todos-read-date): Optionally read and return just one of the date
342 string components year, month or monthname, day.
343 (todos-key-bindings): Add bindings for new item header editing
344 commands.
345 (todos-edit-item): Exclude date/time header from minibuffer by
346 default; include it by passing a prefix argument.
347 (todos-edit-item-header-1): New function containing the guts of
348 the commands for editing item date/time headers.
349 (todos-edit-item-header): Use it. Condition editing of time
350 string on value of `todos-always-add-time-string'.
351 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
352 (todos-edit-item-date-to-today): Rename from
353 todos-edit-item-date-is-today and use todos-edit-item-header-1.
354 (todos-edit-item-date): Remove.
355 (todos-edit-item-date-day-name, todos-edit-item-date-year)
356 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
357
3582012-12-02 Stephen Berman <stephen.berman@gmx.net>
359
360 * calendar/todos.el (todos-show): Fix a comment.
361 (todos-add-category): Prompt for a new category if passed category
362 is the empty string, not nil.
363
3642012-11-26 Stephen Berman <stephen.berman@gmx.net>
365
366 * calendar/todos.el (todos-make-categories-list)
367 (todos-convert-legacy-files, todos-jump-to-item)
368 (todos-move-category, todos-merge-category)
369 (todos-archive-done-item, todos-unarchive-items): Include end of
370 line in regex searches for beginning of category, in order not to
371 get a category whose name contains the searched for category name.
372
3732012-11-15 Stephen Berman <stephen.berman@gmx.net>
374
375 * calendar/todos.el (todos-forward-category): Fix typo.
376
3772012-10-30 Stephen Berman <stephen.berman@gmx.net>
378
379 * calendar/todos.el (todos-define-insertion-command):
380 Let generated insertion commands accept a prefix argument.
381
3822012-10-08 Stephen Berman <Stephen.Berman@rub.de>
383
384 * calendar/todos.el (todos-move-item): If user quits before
385 completing movement, restore display of initial category; if item
386 is moved to end of target category, make sure the items above it
387 are displayed in the window.
388
3892012-10-08 Stephen Berman <stephen.berman@gmx.net>
390
391 * calendar/todos.el: Fixes to todos-move-item and some of its
392 subroutines.
393 (todos-move-item): When there are marked items, point need not be
394 on an item; remove obsolete use of todos-add-category, since this
395 is now already done in todos-read-category; fix typo.
396 (todos-diary-item-p): Exclude empty lines.
397 (todos-read-category): Restore point and narrowing after adding
398 new category, to avoid moving to beginning of file when moving
399 marked items to a new category.
400 (todos-set-item-priority): Prompt for priority only when the
401 category has at least one todo item; only use non-nil priority to
402 calculate insertion location.
403 (todos-read-category): Don't reset todos-categories when a new
404 category is added due to todos-move-item or todos-jump-to-item.
405
4062012-09-24 Stephen Berman <stephen.berman@gmx.net>
407
408 Changes from 2012-07-14 (revision 110020).
409 * calendar/todos.el (todos-copy-item): New command.
410 (todos-insertion-map): Add key binding for it.
411
4122012-09-24 Stephen Berman <stephen.berman@gmx.net>
413
414 Changes from 2012-07-13 (revision 110019).
415 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
416 (todos-item-undo): Use it.
417 (todos-allcats-file, todos-all-categories-alist): New variables.
418 (todos-all-categories-alist): New function.
419 (todos-jump-to-any-category): New command.
420 (todos-move-item): Remove mark overlays from buffer items were
421 moved from; update todos-categories-with-marks,
422
4232012-09-24 Stephen Berman <stephen.berman@gmx.net>
424
425 Changes from 2012-06-27 (revision 110018).
426 * calendar/todos.el: Further code rearrangement; further new and
427 revised comments.
428 (todos-reevaluate-filelist-defcustoms): Rename from
429 todos-reevaluate-defcustoms and adjust callers.
430 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
431 (todos-date-string-start, todos-done-string-start)
432 (todos-item-start): Change from defvar to defconst.
433 (todos-set-top-priorities): Use read-number and simplify.
434 (todos-insert-item): Check whether date-type argument is a string.
435 (todos-set-date-from-calendar): Check whether
436 todos-date-from-calendar is a string; simplify cond clause.
437 (todos-archive-done-item, todos-unarchive-items):
438 Use buffer-substring-no-properties.
439
4402012-09-23 Stephen Berman <stephen.berman@gmx.net>
441
442 Changes from 2012-06-25 (revision 110017).
443 * calendar/todos.el (todos-item-undo): Fix restoration on
444 cancelling; use buffer-substring-no-properties; comment out code
445 removing mark overlay; fix insertion of undone items; display any
446 remaining done items.
447
4482012-09-23 Stephen Berman <stephen.berman@gmx.net>
449
450 Changes from 2012-06-24 (revision 110016).
451 * calendar/todos.el: Further significant code rearrangement;
452 further comment revision.
453 (todos-mode-display): New defgroup.
454 (todos-prefix, todos-number-priorities)
455 (todos-done-separator-string, todos-done-string)
456 (todos-comment-string, todos-show-with-done)
457 (todos-mode-line-function, todos-skip-archived-categories)
458 (todos-highlight-item, todos-wrap-lines)
459 (todos-line-wrapping-function): Use it.
460 (todos-item-insertion): New defgroup.
461 (todos-include-in-diary, todos-diary-nonmarking)
462 (todos-nondiary-marker, todos-always-add-time-string)
463 (todos-use-only-highlighted-region): Use it.
464 (todos-forward-button, todos-backward-button): New commands.
465 (todos-categories-mode-map): Use them, replacing forward-button
466 and backward-button.
467 (todos-merge-category): Fix and improve implementation; handle
468 archived items.
469 (todos-insert-item, todos-set-date-from-calendar): Handle setting
470 date by calling todos-insert-item-from-calendar.
471 (todos-delete-item): Fix overlay handling.
472 (todos-move-item): Highlight item to be moved.
473 (todos-item-undo): Handle marked items.
474 (todos-insert-item-from-calendar): Rewrite using
475 todos-date-from-calendar.
476
4772012-09-23 Stephen Berman <stephen.berman@gmx.net>
478
479 Changes from 2012-06-21 (revision 110015).
480 * calendar/todos.el: Further comment revision.
481 (todos-sorted-column): Change default value, also taking tty into
482 account.
483 (todos-reset-done-separator): Fix faulty variable binding.
484 (todos-reset-and-enable-done-separator): Save match data; comment
485 out code that causes problems for Edebug.
486 (todos-item-start): Handle empty line between todo and done items
487 when done items are hidden.
488 (todos-read-date): Use a leap year for `*' to allow
489 calendar-last-day-of-month to return Feb. 29.
490 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
491 (todos-filtered-items-mode): Delete faulty parentheses.
492 (todos-quit): Save Todos and archive files unconditionally.
493 (todos-forward-item): Accept only positive prefix argument.
494 (todos-backward-item): Accept only positive prefix argument; don't
495 move point to beginning of buffer if it is on the first item.
496 (todos-hide-show-date-time): Remove obsolete interactive spec.
497 (todos-move-category): Improve prompt string; ensure file moved to
498 is different from file moved from.
499 (todos-merge-categories): Remove.
500 (todos-set-category-priority): New command.
501 (todos-raise-category-priority, todos-lower-category-priority):
502 Use it to define these commands.
503 (todos-set-item-priority): Rewrite and generalize.
504 (todos-raise-item-priority, todos-lower-item-priority): Use it to
505 define these commands.
506
5072012-09-23 Stephen Berman <stephen.berman@gmx.net>
508
509 Changes from 2012-06-15 (revision 110014).
510 * calendar/todos.el (todos-reset-done-separator)
511 (todos-reset-and-enable-done-separator): New functions.
512 (todos-reset-done-separator-string): Rewrite using
513 todos-reset-done-separator for string longer than 1 character.
514 (todos-mode): Add todos-reset-and-enable-done-separator to
515 window-configuration-change-hook, replacing previous anonymous
516 function.
517 (todos-unload-hook): And remove it.
518
5192012-09-23 Stephen Berman <stephen.berman@gmx.net>
520
521 Changes from 2012-06-14 (revision 110013).
522 * calendar/todos.el (todos-done-separator-string): New defcustom.
523 (todos-done-separator): New variable replacing defcustom of the
524 same name.
525 (todos-reset-done-separator-string, todos-done-separator):
526 New functions.
527 (todos-mode): Make function added to
528 window-configuration-change-hook do a better job of updating the
529 done items separator string overlay.
530 (todos-unload-hook): Remove it here.
531 (todos-item-undo): Fix search for item's end.
532
5332012-09-23 Stephen Berman <stephen.berman@gmx.net>
534
535 Changes from 2012-06-03 (revision 110012).
536 * calendar/todos.el: Further comment revision.
537 (todos-sorted-column): Change default value.
538 (todos-item-start): Handle empty category (needed in
539 todos-filter-items).
540 (todos-read-date): Don't use calendar-read; make code cleaner.
541 (todos-multiple-filter-files): Rename this variable from
542 todos-multiple-files and adjust users.
543 (todos-multiple-filter-files-widget): Rename from
544 todos-multiple-files-widget and adjust users.
545 (todos-multiple-filter-files): Rename this function from
546 todos-multiple-files and adjust callers.
547 (todos-filter-items): Remove unused code.
548 (todos-insert-category-line): Add space so highlighting of last
549 column is consistent with the others; adjust display of column
550 highlighting.
551 (todos-menu): Remove obsolete entry.
552 (todos-categories-mode-map): Add new bindings.
553 (todos-display-categories-alphabetically-or-by-priority): New command.
554 (todos-display-categories-sorted-by-todo)
555 (todos-display-categories-sorted-by-diary)
556 (todos-display-categories-sorted-by-done)
557 (todos-display-categories-sorted-by-archived): Restore and fix
558 implementation.
559
5602012-09-23 Stephen Berman <stephen.berman@gmx.net>
561
562 Changes from 2012-06-02 (revision 110011).
563 * calendar/todos.el: Significant code rearrangement; further
564 comment revision.
565 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
566 adjust users.
567 (todos-filtered-buffer-name): Rename from
568 todos-special-buffer-name and adjust users.
569 (todos-filtered-items-mode-map): Rename from
570 todos-filter-items-mode-map and adjust users.
571 (todos-mode-external-set): Use todos-categories instead of
572 todos-set-categories (and add comment to check if this DTRT).
573 (todos-filtered-items-mode): Rename from todos-filter-items-mode
574 and adjust users.
575 (todos-add-category): Don't call todos-validate-name, since
576 todos-read-category does.
577 (todos-edit-quit): Use todos-repair-categories-sexp.
578 (todos-done-item-add-edit-or-delete-comment): Rename from
579 todos-done-item-add-or-edit-comment and adjust users; add optional
580 argument to prompt to delete comment.
581 (todos-item-undo): Delete done item comment on undoing if user
582 confirms.
583
5842012-09-22 Stephen Berman <stephen.berman@gmx.net>
585
586 Changes from 2012-06-02 (revision 110010).
587 * calendar/todos.el: Further code rearrangement and comment
588 revision.
589 (todos-item-start): Handle empty line between todo and done items
590 when done items are displayed.
591 (todos-key-bindings): Comment out bindings meant only for
592 todos-archive-mode.
593 (todos-archive-mode-map): Fix typo.
594 (todos-archive-mode): Derive from special-mode instead of
595 todos-mode to prevent its key bindings from being available here.
596 (todos-archive-done-item): Remove obsolete code; fix item count
597 updating.
598 (todos-unarchive-items): Simplify; fix unarchiving of all items in
599 category; fix item count updating; fix typo.
600
6012012-09-22 Stephen Berman <stephen.berman@gmx.net>
602
603 Changes from 2012-06-01 (revision 110009).
604 * calendar/todos.el: Further code rearrangement and comment
605 revision.
606 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
607 (todos-file-buffers): New variable.
608 (todos-reset-global-current-todos-file): Use it to simplify
609 implementation of this function.
610 (todos-filtered): New defgroup.
611 (todos-filter-buffer, todos-top-priorities-buffer)
612 (todos-diary-items-buffer, todos-regexp-items-buffer)
613 (todos-priorities-rules, todos-show-priorities)
614 (todos-filter-files, todos-filter-done-items): Use it.
615 (todos-skip-archived-categories): Rename from
616 todos-ignore-archived-categories and adjust users.
617 (todos-display-as-todos-file): Rename from todos-after-find-file
618 and adjust callers.
619 (todos-reset-highlight-item, todos-mode-external-set)
620 (todos-jump-to-category, todos-jump-to-item)
621 (todos-raise-category-priority, todos-insert-item)
622 (todos-move-item): Use find-file-visiting.
623 (todos-make-categories-list): Use file-truename.
624 (todos-display-categories-1): Adjust title text for archive files;
625 use done label for item counts in archive files.
626 (todos-modes-set-3): Add todos-display-as-todos-file to
627 find-file-hook.
628 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
629 todos-update-buffer-list post-command-hook.
630 (todos-unload-hook): And remove them.
631 (todos-show): Only when interactively invoked from an archive,
632 switch to corresponding Todos file.
633 (todos-archive-done-item): Remove obsolete code; fix handling of
634 marked items; fix search for existing category; check whether
635 archive exists and write to file if not; improve display handling.
636
6372012-09-21 Stephen Berman <stephen.berman@gmx.net>
638
639 Changes from 2012-05-29 (revision 110008).
640 * calendar/todos.el: Further comment revision.
641 (todos-item-end): Replace use of command todos-forward-item by
642 regexp searches using internal variables.
643 (todos-raise-category-priority): Improve and comment.
644 (todos-insert-item): Fix insertion of empty time string.
645
6462012-09-21 Stephen Berman <stephen.berman@gmx.net>
647
648 Changes from 2012-05-29 (revision 110007).
649 * calendar/todos.el (todos-ignore-archived-categories):
650 Revert last change; remove :initialize and :set functions; change
651 use and change users accordingly.
652 (todos-reset-categories, todos-categories-full)
653 (todos-truncate-categories-list): Remove.
654 (todos-set-categories, todos-update-categories-sexp):
655 Use todos-categories instead of todos-categories-full; remove use
656 of todos-ignore-archived-categories and
657 todos-truncate-categories-list.
658 (todos-check-format, todos-repair-categories-sexp):
659 Use todos-categories instead of todos-categories-full.
660 (todos-read-category): Improve last change.
661 (todos-validate-name): Use completing-read.
662 (todos-categories-category-number): Rename from
663 todos-category-number and adjust users.
664 (todos-update-categories-display, todos-mode-external-set)
665 (todos-delete-category, todos-move-category, todos-merge-category)
666 (todos-unarchive-items): Remove use of todos-categories-full and
667 todos-ignore-archived-categories.
668 (todos-modes-set-3, todos-add-category): Remove use of
669 todos-categories-full.
670 (todos-edit-mode): Fix typo.
671 (todos-forward-category): Use todos-ignore-archived-categories.
672
6732012-09-21 Stephen Berman <stephen.berman@gmx.net>
674
675 Changes from 2012-05-28 (revision 110006).
676 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
677 (todos-ignore-archived-categories): Change default value.
678
6792012-09-21 Stephen Berman <stephen.berman@gmx.net>
680
681 Changes from 2012-05-27 (revision 110005).
682 * calendar/todos.el: Further comment revision.
683 (todos-reset-global-current-todos-file):
684 Try to make this not slow down kill-buffer.
685 (todos-update-categories-sexp): Handle the case where there is no
686 categories sexp yet, i.e. after inserting the first item in the
687 file, so todos-display-categories works.
688 (todos-read-file-name): Improve implementation.
689 (todos-validate-name): Use variable todos-files.
690 (todos-category-number): New variable.
691 (todos-insert-category-line, todos-update-categories-display)
692 (todos-raise-category-priority): Use it.
693 (todos-add-file): Remove unused remnant code.
694
6952012-09-21 Stephen Berman <stephen.berman@gmx.net>
696
697 Changes from 2012-05-25 (revision 110004).
698 * calendar/todos.el: Further comment revision.
699 (todos-set-item-top-priority): New command.
700 (todos-reset-global-current-todos-file):
701 Use todos-files-function instead of todos-files.
702 (todos-read-category): Add optional argument to test whether
703 caller adds new category; if so, don't prompt for new category and
704 don't restore original todos-categories list.
705 (todos-categories-mode-map): Update to renamed commands.
706 (todos-filter-items-mode-map): Add binding for new command.
707 (todos-mode): Fix typo.
708 (todos-show): If called from archive file, show corresponding
709 category in Todos file, if it exists.
710 (todos-jump-to-category): Remove code to add new category, since
711 todos-read-category can do that.
712 (todos-add-file): Remove obsolete code; visit new file in selected
713 window.
714 (todos-add-category): Simplify.
715 (todos-rename-category): Use force-mode-line-update instead of
716 setting mode-line-buffer-identification.
717 (todos-delete-category): Improve logic of prompts; use
718 todos-categories-full and check todos-ignore-archived-categories.
719 (todos-raise-category-priority, todos-lower-category-priority):
720 Rename from todos-{raise,lower}-category and adjust callers.
721 (todos-move-category, todos-merge-category):
722 Set todos-categories-full; on setting todos-categories check
723 todos-ignore-archived-categories.
724 (todos-insert-item): Let-bind use-empty-active-region and use
725 use-region-p instead of transient-mark-mode.
726 (todos-raise-item-priority): Improve implementation.
727 (todos-archive-done-item): Rename from
728 todos-archive-done-item-or-items and adjust callers; confine to
729 Todos mode.
730 (todos-unarchive-items): On setting todos-categories check
731 todos-ignore-archived-categories.
732
7332012-09-21 Stephen Berman <stephen.berman@gmx.net>
734
735 Changes from 2012-05-23 (revision 110003).
736 * calendar/todos.el (todos-key-bindings): Remove binding of
737 deleted command.
738 (todos-menu): Remove entry of deleted command.
739 (todos-show-archive): Fix last change.
740 (todos-done-item-add-or-edit-comment): Rename from
741 todos-comment-done-item and adjust callers; prompt to edit an
742 existing comment.
743
7442012-09-21 Stephen Berman <stephen.berman@gmx.net>
745
746 Changes from 2012-05-22 (revision 110002).
747 * calendar/todos.el (todos-set-show-current-file): Rename from
748 todos-toggle-show-current-file and adjust callers.
749 (todos-number-priorities): Rename from todos-number-prefix and
750 adjust users.
751 (todos-update-count): Rename from todos-set-count and adjust
752 callers.
753 (todos-hide-show-item-numbering): Rename from
754 todos-toggle-item-numbering and adjust callers.
755 (todos-hide-show-done-items): Rename from
756 todos-toggle-view-done-items and adjust callers.
757 (todos-show-done-only): Rename from todos-toggle-show-done-only.
758 (todos-view-archived-items): Comment out.
759 (todos-show-archive): Prompt to choose another archive file if
760 current Todos file lacks an archive; prompt to visit archive
761 anyway when current category has no archived items.
762
7632012-09-21 Stephen Berman <stephen.berman@gmx.net>
764
765 Changes from 2012-05-21 (revision 110001).
766 * calendar/todos.el: Further comment revision and code
767 rearrangement.
768 (todos-item-end): Revert last change.
769 (todos-key-bindings, todos-menu, todos-archive-mode-map)
770 (todos-filter-items-mode-map): Use renamed commands.
771 (todos-hide-show-date-time): Rename from
772 todos-toggle-display-date-time.
773 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
774 adjust caller.
775 (todos-backward-item): Exempt special handling only from
776 todos-regexp-items-buffer instead of todos-filter-items-mode.
777 (todos-raise-item-priority): Don't allow item reprioritizing in
778 Todos filter items mode except for top priority items.
779
7802012-09-21 Stephen Berman <stephen.berman@gmx.net>
781
782 Changes from 2012-05-19 (revision 110000).
783 * calendar/todos.el: Add and revise further doc strings and
784 comments.
785 (todos-filter-function, todos-custom-items)
786 (todos-custom-items-multifile): Remove.
787 (todos-filter-done-items): New defcustom.
788 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
789 (todos-filter-items): Check return value of caller first; tag
790 archived items for todos-jump-to-item; delete categories sexp
791 before processing filter; check todos-filter-done-items for
792 whether to leave done items; remove custom filter; fix regexp for
793 file and category tags; don't invoke buffer fontification.
794 (powerset-recursive): Fix typo.
795 (todos-key-bindings): Remove unused bindings.
796 (todos-top-priorities-multifile, todos-diary-items-multifile)
797 (todos-regexp-items-multifile): Use variable todos-multiple-files.
798 (todos-jump-to-item): Fix regexp; handle archive tags; take
799 todos-filter-done-items into account.
800 (todos-insert-item-from-calendar): Relocate to end of file
801 together with key-binding as addition to calendar.el.
802
8032012-09-20 Stephen Berman <stephen.berman@gmx.net>
804
805 Changes from 2012-05-17 (revision 109999).
806 * calendar/todos.el: Add and revise further doc strings and
807 comments; major code rearrangement.
808 (todos-merged-files, todos-prompt-merged-files)
809 (todos-print-priorities, todos-tmp-buffer-name)
810 (todos-top-priorities-widgets, todos-update-merged-files)
811 (todos-merged-top-priorities, todos-merged-diary-items)
812 (todos-merged-regexp-items, todos-merged-custom-items)
813 (todos-raw-mode, todos-change-default-file)
814 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
815 (todos-toggle-diary-nonmarking, todos-validate-category-name):
816 Remove.
817 (todos-category-string-matcher): Comment out.
818 (todos-categories): New defgroup.
819 (todos-initial-file, todos-filter-buffer)
820 (todos-top-priorities-buffer, todos-categories-category-label)
821 (todos-diary-items-buffer, todos-regexp-items-buffer)
822 (todos-custom-items-buffer, todos-filter-files)
823 (todos-highlight-item, todos-todo-mode-date-time-regexp):
824 New defcustoms.
825 (todos-diary-expired): New face.
826 (todos-print-buffer, todos-multiple-files)
827 (todos-multiple-files-widget, todos-key-bindings): New variables.
828 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
829 (todos-special-buffer-name)
830 (todos-reevaluate-filter-files-defcustom)
831 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
832 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
833 (todos-diary-expired-matcher, todos-category-string-matcher-1)
834 (todos-category-string-matcher-2, todos-repair-categories-sexp)
835 (todos-validate-name, todos-multiple-files)
836 (todos-display-categories-1, todos-update-categories-display)
837 (todos-modes-set-3, todos-mode-external-set): New functions.
838 (todos-set-top-priorities-in-file)
839 (todos-set-top-priorities-in-category)
840 (todos-top-priorities-multifile, todos-diary-items-multifile)
841 (todos-regexp-items-multifile, todos-custom-items-multifile)
842 (todos-convert-legacy-files, todos-jump-to-item)
843 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
844 (todos-edit-item-diary-inclusion)
845 (todos-edit-category-diary-inclusion)
846 (todos-edit-item-diary-nonmarking)
847 (todos-edit-category-diary-nonmarking): New commands.
848 (todos, todos-faces): Update :version.
849 (todos-done-separator, todos-completion-ignore-case):
850 Change default value.
851 (todos-done-separator): Change :set function.
852 (todos-indent-to-here): Add :validate function to :type.
853 (todos-prefix-string, todos-mark, todos-button)
854 (todos-sorted-column, todos-archived-only, todos-search)
855 (todos-done, todos-done-sep): Provide full face definitions
856 instead of inheriting.
857 (todos-edit-buffer, todos-categories-buffer): Change from
858 defcustom to defvar.
859 (todos-category-beg, todos-category-done): Change from defvar to
860 defconst.
861 (todos-files): Check if todos-files-directory exists.
862 (todos-default-todos-file, todos-mode-line-control, todos-print):
863 Use todos-short-file-name.
864 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
865 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
866 todos-category-string-matcher-2, todos-diary-expired-matcher.
867 (todos-category-select): Use todos-done-string-start, and
868 condition search on todos-show-with-done; don't make display
869 overlay for done items separator string if there already is one;
870 use todos-highlight-item, require hl-line and activate
871 hl-line-mode here in order to avoid a hang if done in todos-mode
872 or the mode hook.
873 (todos-update-categories-sexp): Use todos-categories-full if set,
874 otherwise todos-categories.
875 (todos-make-categories-list): Don't test for archive file when
876 processing a legacy todo-mode file.
877 (todos-check-format): Add check for todos-categories sexp.
878 (todos-diary-item-p): Use todos-nondiary-start instead of
879 todos-date-pattern.
880 (todos-marked-item-p): Rename from todos-item-marked-p.
881 (todos-read-file-name): Don't accept empty name; validate.
882 (todos-read-category): Validate new name before prompting whether
883 to add new category; force quit if user answers no.
884 (todos-filter-items): Improve implementation.
885 (todos-set-top-priorities): Rewrite as a noninteractive function
886 using minibuffer input instead of widgets.
887 (todos-insert-sort-button): Call todos-display-sorted with
888 argument nil to display categories in numerical order, instead of
889 calling todos-display-categories.
890 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
891 Common Lisp powerset function at
892 http://rosettacode.org/wiki/Power_set#Common_Lisp.
893 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
894 powerset function at http://rosettacode.org/wiki/Power_set#C.
895 (todos-powerset): Defalias to powerset-bitwise.
896 (todos-mode-map): Generate from todos-key-bindings instead of
897 listing each key definition.
898 (todos-categories-mode-map): Add two bindings.
899 (todos-filter-items-mode-map): Add some bindings, remove others.
900 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
901 function setting todos-done-separator to
902 window-configuration-change-hook.
903 (todos-unload-hook): Remove function setting todos-done-separator
904 from window-configuration-change-hook.
905 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
906 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
907 (todos-categories-mode): Derive from special-mode; use
908 todos-mode-external-set.
909 (todos-filter-items-mode): Derive from special-mode.
910 (todos-quit): Save archive file if it hasn't yet been saved.
911 (todos-display-categories): Delegate all functionality to
912 todos-display-categories-1 and todos-update-categories-display.
913 (todos-toggle-view-done-items): Improve implementation.
914 (todos-highlight-item): Require hl-line.
915 (todos-toggle-display-date-time): Remove argument and make it
916 apply only to whole file.
917 (todos-top-priorities, todos-diary-items, todos-regexp-items)
918 (todos-custom-items): Use todos-special-buffer-name.
919 (todos-add-file): Use todos-short-file-name and
920 todos-reevaluate-defcustoms; remove validation, since it's now
921 done in todos-read-file-name.
922 (todos-add-category): Also update todos-categories-full if non-nil.
923 (todos-delete-category): Delete file after confirmation if only
924 category is deleted.
925 (todos-move-category): Use todos-short-file-name and
926 todos-reevaluate-defcustoms.
927 (todos-insert-item): Fix getting date from the calendar and
928 insertion of time string.
929 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
930 display of diary entries.
931 (todos-edit-multiline): Add optional argument to restrict editing
932 buffer to current item, otherwise make entire buffer (i.e. whole
933 file) editable.
934 (todos-edit-quit): When whole file is editable, check file format
935 validity before killing buffer, and if valid, recalculate
936 categories sexp to be safe.
937 (todos-edit-item-header): Allow choosing date from calendar.
938 (todos-item-done): Handle marked items.
939
9402012-09-19 Stephen Berman <stephen.berman@gmx.net>
941
942 Changes from 2011-12-03 (revision 109998).
943 * calendar/todos.el (todos-item-start): Restore commented out code
944 to prevent wrongly moving point in widened buffer.
945
9462012-09-19 Stephen Berman <stephen.berman@gmx.net>
947
948 Changes from 2011-12-02 (revision 109997).
949 * calendar/todos.el: Remove old commentary from todo-mode.el; add
950 and revise further doc strings and comments; require cl.el at
951 compile time for remove-duplicates; use function powerset from
952 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
953 code rearrangement. Add adapted version of diary-goto-entry as comment.
954 (todos-file-top, todos-archived-categories-buffer)
955 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
956 (todos-save-top-priorities, todos-reset-separator)
957 (todos-switch-todos-file, todos-item-string-start, todos-counts)
958 (todos-string-count-lines, todos-string-multiline-p)
959 (todos-display-categories-alphabetically): Remove.
960 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
961 (todos-insert-item-ask-date-time-for-diary)
962 (todos-insert-item-ask-date-time-for-diary-here)
963 (todos-insert-item-ask-date-time-here)
964 (todos-insert-item-ask-date-maybe-notime)
965 (todos-insert-item-ask-date-maybe-notime-for-diary)
966 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
967 (todos-insert-item-ask-date-maybe-notime-here)
968 (todos-insert-item-ask-date-for-diary)
969 (todos-insert-item-ask-date-for-diary-here)
970 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
971 (todos-insert-item-ask-dayname-time)
972 (todos-insert-item-ask-dayname-time-for-diary)
973 (todos-insert-item-ask-dayname-time-for-diary-here)
974 (todos-insert-item-ask-dayname-time-here)
975 (todos-insert-item-ask-dayname-maybe-notime)
976 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
977 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
978 (todos-insert-item-ask-dayname-maybe-notime-here)
979 (todos-insert-item-ask-dayname-for-diary)
980 (todos-insert-item-ask-dayname-for-diary-here)
981 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
982 (todos-insert-item-ask-time-for-diary)
983 (todos-insert-item-ask-time-for-diary-here)
984 (todos-insert-item-ask-time-here)
985 (todos-insert-item-maybe-notime)
986 (todos-insert-item-maybe-notime-for-diary)
987 (todos-insert-item-maybe-notime-for-diary-here)
988 (todos-insert-item-maybe-notime-here)
989 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
990 (todos-insert-item-here): Remove; all of these are now generated
991 on loading (some with the same name, most with other names.)
992 (todos-item-counts, todos-display-categories-alphabetically)
993 (todos-display-categories-sorted-by-todo)
994 (todos-display-categories-sorted-by-diary)
995 (todos-display-categories-sorted-by-done)
996 (todos-display-categories-sorted-by-archived): Comment out.
997 (todos-comment-string, todos-mode-line-function)
998 (todos-filter-function, todos-priorities-rules)
999 (todos-visit-files-commands, todos-categories-totals-label)
1000 (todos-use-only-highlighted-region, todos-diary-nonmarking):
1001 New defcustoms.
1002 (todos-mark, todos-comment): New faces.
1003 (todos-comment-face): Corresponding new variable.
1004 (todos-categories-full, todos-global-current-todos-file)
1005 (todos-first-visit, todos-insertion-commands-args-genlist)
1006 (todos-insertion-commands-args, todos-insertion-commands-names)
1007 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
1008 (todos-top-priorities-widgets, todos-date-from-calendar)
1009 (todos-item-mark, todos-categories-with-marks): New variables.
1010 (todos-mode-line-control, todos-reset-global-current-todos-file)
1011 (todos-gen-arglists, todos-insertion-command-name)
1012 (todos-insertion-key-bindings, todos-unload-hook)
1013 (todos-filter-items, todos-set-date-from-calendar)
1014 (todos-comment-string-matcher, todos-after-find-file)
1015 (todos-reset-nondiary-marker, todos-reset-done-string)
1016 (todos-reset-comment-string, todos-show-current-file)
1017 (todos-item-marked-p, todos-total-item-counts): New functions.
1018 (todos-define-insertion-command): New macro.
1019 (todos-toggle-mark-item, todos-mark-category)
1020 (todos-unmark-category, todos-set-top-priorities)
1021 (todos-merged-diary-items, todos-regexp-items)
1022 (todos-merged-regexp-items, todos-custom-items)
1023 (todos-merged-custom-items, todos-comment-done-item)
1024 (todos-archive-category-done-items, todos-unarchive-items)
1025 (todos-print-to-file): New commands.
1026 (todos-done-separator): Change :set function.
1027 (todos-done-string): Uncomment :initialize and :set functions.
1028 (todos-files): Use file-truename.
1029 (todos-show-current-file): Rename from
1030 todos-auto-switch-todos-file and change :set function accordingly.
1031 (todos-font-lock-keywords): Use todos-comment-string-matcher;
1032 change names of other matcher functions to new *-matcher.
1033 (todos-category-number): Change initial value.
1034 (todos-insertion-map): Use todos-insertion-key-bindings to
1035 generate key definitions.
1036 (todos-mode-map): Don't suppress digit keys, so they can supply
1037 prefix arguments; add new and change some existing bindings.
1038 (todos-archive-mode-map): Change a key binding.
1039 (todos-categories-mode-map): Comment out a key binding.
1040 (todos-filter-items-mode-map): Rename from
1041 todos-top-priorities-mode-map.
1042 (todos-mode): Make todos-current-todos-file,
1043 todos-categories-full, todos-categories, todos-first-visit,
1044 todos-category-number, todos-show-done-only,
1045 todos-categories-with-marks local variables and set them; add
1046 todos-show-current-file to pre-command-hook, todos-after-find-file
1047 to post-command-hook and todos-reset-global-current-todos-file to
1048 kill-buffer-hook.
1049 (todos-archive-mode): Make todos-current-todos-file,
1050 todos-categories and todos-category-number local variables and set
1051 them; add todos-after-find-file to post-command-hook.
1052 (todos-raw-mode): New derived major mode.
1053 (todos-categories-mode): Don't set font-lock-defaults and
1054 buffer-read-only; make todos-current-todos-file and
1055 todos-categories local variables and set them.
1056 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
1057 (todos-quit): Don't reset todos-categories on quitting
1058 todos-categories-mode; handle quitting todos-filter-items-mode.
1059 (todos-show): Simplify; when visiting an archive file switch to
1060 corresponding Todos file; use todos-first-visit.
1061 (todos-view-archived-items): Simplify; call todos-category-number.
1062 (todos-show-archive): Rename from todos-switch-to-archive and
1063 adjust callers; simplify.
1064 (todos-toggle-display-date-time): Add optional argument to toggle
1065 display in entire file.
1066 (todos-top-priorities): Use todos-filter-items, which now contains
1067 the previous core of this command.
1068 (todos-merged-top-priorities, todos-diary-items):
1069 Use todos-filter-items.
1070 (todos-forward-category): Add optional argument to go to the
1071 previous category.
1072 (todos-backward-category): Use todos-forward-category.
1073 (todos-jump-to-category): Refine implementation.
1074 (todos-forward-item, todos-backward-item): Fix movement from todo
1075 to done item and vice versa.
1076 (todos-add-file): Remove argument and simplify.
1077 (todos-rename-category): Use todos-current-todos-file and
1078 todos-mode-line-function; set todos-categories with
1079 todos-set-categories.
1080 (todos-delete-category): Ask what to do if category has archived items.
1081 (todos-raise-category): Ensure modified todos-categories is added
1082 to file's categories sexp.
1083 (todos-move-category): Improve implementation, especially handling
1084 of archived categories.
1085 (todos-merge-category): Tweak; set item counts.
1086 (todos-insert-item): Improve handling of various argument values;
1087 add new argument values to control marking of diary items and to
1088 use region for item body.
1089 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1090 (todos-delete-item, todos-edit-item-header): Handle marked items.
1091 (todos-edit-item): Incorporate functionality of removed
1092 todos-string-multiline-p.
1093 (todos-edit-multiline): Use set-window-buffer instead of
1094 switch-to-buffer.
1095 (todos-edit-quit): Don't save on quitting; use todos-show instead
1096 of todos-category-select.
1097 (todos-raise-item-priority): Add argument to lower priority;
1098 improve handling of top priority items in todos-filter-items-mode;
1099 restore marks.
1100 (todos-lower-item-priority): Use todos-raise-item-priority.
1101 (todos-set-item-priority): Increment maximum number if item is new.
1102 (todos-move-item): Handle marked items; delay changing category
1103 moved from till after movement to avoid restoring if user cancels
1104 before insertion.
1105 (todos-item-done): Add optional argument to insert comment; fix
1106 item counts and update sexp.
1107 (todos-item-undo): Fix item counts and update.
1108 (todos-archive-done-item-or-items): Rename from
1109 todos-archive-done-items; add optional argument to archive all
1110 items in category; handle marked items.
1111 (todos-unarchive-category): Use todos-unarchive-items.
1112 (todos-toggle-diary-inclusion): Incorporate functionality of
1113 removed todos-toggle-item-diary-inclusion; handle marked items.
1114 (todos-print): Add optional argument to print to file.
1115 (todos-done-string-start): Don't use todos-nondiary-start.
1116 (todos-date-string-matcher, todos-time-string-matcher)
1117 (todos-done-string-matcher, todos-category-string-matcher): Rename
1118 from *-match and adjust callers.
1119 (todos-wrap-and-indent): Use set instead of setq for local variables.
1120 (todos-prefix-overlays): Improve overlay handling.
1121 (todos-reset-categories): Fix and complete implementation.
1122 (todos-toggle-show-current-file): Rename from
1123 todos-toggle-switch-todos-file-noninteractively.
1124 (todos-category-select): Use todos-mode-line-function.
1125 (todos-item-start): Comment out code used by removed function.
1126 (todos-remove-item): Handle presence of both prefix/number and
1127 mark overlays.
1128 (todos-get-count): Simplify.
1129 (todos-set-count): Change argument list and adjust callers; simplify.
1130 (todos-set-categories): Handle new archive files; use
1131 todos-categories-full and todos-ignore-archived-categories.
1132 (todos-truncate-categories-list): Use todos-categories-full.
1133 (todos-update-categories-sexp): Use kill-region instead of
1134 kill-line; use todos-categories-full.
1135 (todos-read-file-name): Add argument to require existing file and
1136 adjust callers; use file-truename.
1137 (todos-read-category): Remove argument to require existing
1138 category and delegate it to completing-read in function body.
1139 (todos-validate-category-name): Make empty string prompt only for
1140 initial category name.
1141 (todos-read-date): Use = instead of eq for testing if month = 13,
1142 and if it is, set monthname to *.
1143 (todos-display-categories): Use todos-global-current-todos-file;
1144 use set-window-buffer instead of switch-to-buffer; add a line
1145 showing item count totals.
1146 (todos-padded-string): Use the longest of category name or label.
1147 (todos-descending-counts): Rename from
1148 todos-descending-counts-store and adjust users.
1149 (todos-insert-category-line): Adjust format; use mapconcat; kill
1150 buffer after jumping to category.
1151
11522012-09-18 Stephen Berman <stephen.berman@gmx.net>
1153
1154 Changes from 2011-05-16 (revision 109996).
1155 * calendar/todos.el Add and revise various doc strings, remove
1156 further commented out code; add further comments; further code
1157 rearrangement.
1158 (todos-file-do, todos-archive-file, todos-mode-hook)
1159 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1160 (todos-view-archive, todos-search-string)
1161 (todos-jump-to-category-noninteractively, todos-initial-setup):
1162 Remove.
1163 (todos-files): Remove this defcustom.
1164 (todos-initial-category, todos-display-categories-first)
1165 (todos-auto-switch-todos-file, todos-default-todos-file)
1166 (todos-categories-category-label, todos-categories-todo-label)
1167 (todos-categories-diary-label, todos-categories-done-label)
1168 (todos-categories-archived-label)
1169 (todos-categories-number-separator, todos-categories-align)
1170 (todos-ignore-archived-categories, todos-nondiary-marker):
1171 New defcustoms.
1172 (todos-prefix, todos-done-separator, todos-file-top)
1173 (todos-categories-buffer, todos-archived-categories-buffer)
1174 (todos-edit-buffer, todos-always-add-time-string, todos-button):
1175 Change default value.
1176 (todos-done-string): Add todos-reset-done-string as :set function,
1177 but keep this commented out.
1178 (todos-files, todos-archives, todos-insertion-map)
1179 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1180 (todos-show-done-only, todos-date-string-start)
1181 (todos-done-string-start): New variables.
1182 (todos-files-directory, todos-files-function, todos-merged-files)
1183 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1184 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1185 (todos-toggle-switch-todos-file-noninteractively)
1186 (todos-switch-todos-file, todos-counts, todos-get-count)
1187 (todos-set-count, todos-set-categories)
1188 (todos-truncate-categories-list, todos-update-categories-sexp)
1189 (todos-read-file-name, todos-sort, todos-display-sorted)
1190 (todos-label-to-key, todos-insert-sort-button): New functions.
1191 (todos-display-categories-sorted-by-todo)
1192 (todos-display-categories-sorted-by-diary)
1193 (todos-display-categories-sorted-by-done)
1194 (todos-display-categories-sorted-by-archived)
1195 (todos-update-merged-files, todos-switch-to-archive)
1196 (todos-choose-archive, todos-merged-top-priorities)
1197 (todos-jump-to-category-other-file, todos-clear-matches)
1198 (todos-add-file, todos-change-default-file, todos-move-category)
1199 (todos-merge-category, todos-merge-categories)
1200 (todos-edit-item-time, todos-move-item-to-file)
1201 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1202 (todos-toggle-diary-nonmarking): New commands.
1203 (todos-toggle-show-done-only): New command replacing todos-view-archive.
1204 (todos-faces): New defgroup; use in all face definitions.
1205 (todos-sorted-column, todos-archived-only, todos-search): New faces.
1206 (todos-font-lock-keywords): Use subexpression 1 with matcher
1207 todos-category-string-match.
1208 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1209 (todos-categories-mode-map): Add new key bindings; change some
1210 existing bindings.
1211 (todos-top-priorities-mode-map): New keymap.
1212 (todos-menu): Add submenues and new entries.
1213 (auto-mode-alist): Add extension of Todos and Todos archive files.
1214 (todos-mode, todos-archive-mode): Make derived mode; use
1215 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1216 and todos-switch-todos-file; make todos-show-done-only local
1217 variable.
1218 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1219 (todos-categories-mode): Make derived mode.
1220 (todos-top-priorities-mode): New derived major mode.
1221 (todos-save): Remove unused code.
1222 (todos-quit): Handle todos-categories-mode; save archive buffer.
1223 (todos-show): Add optional argument to prompt for a Todos file; if
1224 called interactively or with prefix arg or from an archive, don't
1225 make a no-op but reset todos-current-todos-file, todos-categories
1226 and todos-category-number; use todos-read-file-name,
1227 todos-display-categories-first, todos-ignore-archived-categories.
1228 (todos-display-categories): Change argument name; refactor code
1229 for inserting table labels and lines, using
1230 todos-ignore-archived-categories, todos-sort,
1231 todos-categories-number-separator, todos-insert-sort-button,
1232 todos-categories-*-labels, and todos-insert-category-line.
1233 (todos-display-categories-alphabetically): Use todos-display-sorted.
1234 (todos-toggle-view-done-items): Use todos-done-string-start and
1235 todos-get-count.
1236 (todos-toggle-display-date-time): Use todos-done-string-start.
1237 (todos-top-priorities): Remove autoload cookie; partially rewrite:
1238 new argument list; allow combining top priorities of multiple
1239 Todos files; change display to include category (and file) name as
1240 part of item header; use todos-top-priorities-mode.
1241 (todos-diary-items): Reimplement using only todos-top-priorities.
1242 (todos-forward-category, todos-backward-category): Adjust to
1243 1-based numbering of categories; move point to top of category.
1244 (todos-jump-to-category): Rewrite, adding optional arguments to
1245 provide a category in non-interactive uses and to prompt for which
1246 Todos file to jump to.
1247 (todos-search): Reimplement; highlight each match as found, say
1248 how many matches remain and prompt whether to go to next one; at
1249 end of search prompt whether to remove highlighting.
1250 (todos-add-category): Remove autoload cookie; assign new category
1251 the highest category number; associate zero-initialized vector of
1252 item counts, instead of property list, with new category; use
1253 todos-validate-category-name and todos-update-categories-sexp.
1254 (todos-rename-category): Use todos-validate-category-name and
1255 todos-update-categories-sexp; take archive files into account.
1256 (todos-delete-category): Use todos-get-count and
1257 todos-update-categories-sexp, let-bind variable that were
1258 mistakenly global; use delete-region instead of kill-region;
1259 adjust to 1-based numbering of categories; move point to top of
1260 category.
1261 (todos-raise-category): Handle item count vectors; use
1262 todos-insert-category-line and todos-update-categories-sexp.
1263 (todos-insert-item): Use nil time-string argument to omit time
1264 string; use todos-nondiary-start and todos-nondiary-end and
1265 todos-update-categories-sexp; if category named to insert into
1266 does not exist, add it; take new diary items into account.
1267 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1268 (todos-insert-item-ask-date-time-for-diary)
1269 (todos-insert-item-ask-date-time-for-diary-here)
1270 (todos-insert-item-ask-date-time-here)
1271 (todos-insert-item-ask-date-maybe-notime)
1272 (todos-insert-item-ask-date-maybe-notime-for-diary)
1273 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1274 (todos-insert-item-ask-date-maybe-notime-here)
1275 (todos-insert-item-ask-date-for-diary)
1276 (todos-insert-item-ask-date-for-diary-here)
1277 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1278 (todos-insert-item-ask-dayname-time)
1279 (todos-insert-item-ask-dayname-time-for-diary)
1280 (todos-insert-item-ask-dayname-time-for-diary-here)
1281 (todos-insert-item-ask-dayname-time-here)
1282 (todos-insert-item-ask-dayname-maybe-notime)
1283 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1284 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1285 (todos-insert-item-ask-dayname-maybe-notime-here)
1286 (todos-insert-item-ask-dayname-for-diary)
1287 (todos-insert-item-ask-dayname-for-diary-here)
1288 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1289 (todos-insert-item-ask-time-for-diary)
1290 (todos-insert-item-ask-time-for-diary-here)
1291 (todos-insert-item-ask-time-here)
1292 (todos-insert-item-maybe-notime)
1293 (todos-insert-item-maybe-notime-for-diary)
1294 (todos-insert-item-maybe-notime-for-diary-here)
1295 (todos-insert-item-maybe-notime-here)
1296 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1297 New insertion commands.
1298 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1299 (todos-delete-item): Handle diary items;
1300 use todos-update-categories-sexp.
1301 (todos-edit-item): Check if point is with item string;
1302 use read-string instead of read-from-minibuffer;
1303 use todos-date-string-start; after editing put point at start of
1304 item text.
1305 (todos-edit-multiline): Narrow to item before invoking
1306 todos-edit-mode; show key binding of todos-edit-quit in a message.
1307 (todos-edit-quit): Use todos-save; kill buffer.
1308 (todos-edit-item-header): Add optional argument to prompt for
1309 editing only date string or only time string;
1310 use todos-date-string-start.
1311 (todos-edit-item-date, todos-edit-item-date-is-today)
1312 (todos-raise-item-priority, todos-lower-item-priority): Rename
1313 from todos-{raise, lower}-item and make them DTRT in
1314 todos-top-priorities-mode.
1315 (todos-set-item-priority): Make interactive; use todos-get-count
1316 and todos-insert-with-overlays; interactively, just relocate the
1317 item within its category.
1318 (todos-move-item): Add optional argument to prompt for a category
1319 in another Todos file; handle diary items; fix restoration after
1320 cancelling before inserting.
1321 (todos-item-done): Handle diary items; simplify handling of
1322 insertion in done items section.
1323 (todos-item-undo): Handle diary items.
1324 (todos-archive-done-items): Adjust to new handling of archive
1325 files (in parallel with Todos files); handle diary items; use
1326 todos-done-string-start.
1327 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1328 todos-nondiary-end and todos-item-counts.
1329 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1330 todos-category-end.
1331 (todos-print): Remove autoload cookie; rewrite to make overlays,
1332 line wrapping and wrap prefixes printable.
1333 (todos-date-pattern): Make parenthesized groups shy.
1334 (todos-date-string-match): Use todos-date-string-start; make
1335 todos-date-pattern an explicitly numbered group.
1336 (todos-time-string-match): Use todos-date-string-start.
1337 (todos-done-string-match): Use todos-done-string-start.
1338 (todos-category-string-match): Rewrite to match new category and
1339 category+filename patterns in todos-top-priorities-mode.
1340 (todos-prefix-overlays): Use todos-done-string-start and
1341 todos-category-done.
1342 (todos-reset-prefix): Handle archive files; restore point after
1343 changing prefix.
1344 (todos-reset-separator): Handle archive files.
1345 (todos-category-number): Make category number one more than its
1346 list index.
1347 (todos-current-category): Adjust to 1-based numbering of categories.
1348 (todos-category-select): Simplify handling of done items and done
1349 separator string overlay.
1350 (todos-item-start): Use todos-date-string-start and
1351 todos-done-string-start.
1352 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1353 (todos-item-string): Restore point after getting item bounds; use
1354 buffer-substring-no-properties.
1355 (todos-done-item-p): Use todos-done-string-start.
1356 (todos-make-categories-list): Add optional argument to force
1357 looping through file to get categories and their item counts,
1358 otherwise set todos-categories from sexp in first line; use
1359 vectors of item counts instead of plists; count diary items.
1360 (todos-item-counts): Use todos-counts, todos-set-counts,
1361 todos-get-counts, and todos-update-categories-sexp instead of
1362 getting and setting properties; handle diary items.
1363 (todos-read-category): Add argument to set prompt; don't offer
1364 default category.
1365 (todos-validate-category-name): Rename from
1366 todos-check-category-name; take into account whether there are
1367 already categories or not.
1368 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1369 (todos-padded-string): Accommodate new structure of
1370 todos-categories as alists; use todos-categories-align.
1371 (todos-descending-counts-store): New variable.
1372 (todos-insert-category-line): Rename from
1373 todos-insert-category-name and reimplement using labels and
1374 todos-get-counts instead of properties; use
1375 todos-ignore-archived-categories; highlight sorted column.
1376
13772012-09-14 Stephen Berman <stephen.berman@gmx.net>
1378
1379 Changes from 2010-07-09 (revision 109995).
1380 * calendar/todos.el Remove lots of commented out code; add various
1381 comments; further code rearrangement.
1382 (todos-insert-item-here-ask-date-time)
1383 (todos-insert-item-ask-date-time)
1384 (todos-insert-item-ask-dayname-time)
1385 (todos-insert-item-for-diary)
1386 (todos-insert-item-for-diary-ask-date-time)
1387 (todos-make-categories-alist, todos-categories-alist): Remove.
1388 (todos-categories-list): Comment out.
1389 (todos-make-categories-list): New function replacing
1390 todos-make-categories-alist, using category plists to get item
1391 counts and taking archive into account.
1392 (todos-current-todos-file): New variable.
1393 (todos-mode-map): Update key bindings.
1394 (todos-save): Add as comment code to make sure todos-categories
1395 sexp is current on saving.
1396 (todos-quit): Call todos-show on quitting Todos archive buffer.
1397 (todos-show): If todos-current-todos-file is not set to Todos
1398 file, set it as a new file; set todos-categories from
1399 todos-make-categories-alist.
1400 (todos-display-categories): Use a different display format for
1401 archive file; put point initially on the first button.
1402 (todos-toggle-view-done-items): Check the category's `done'
1403 property to determine if there are done items.
1404 (todos-view-archive): Set todos-current-todos-file to the archive
1405 file; jump from the Todos file to the same category in the
1406 archive, if it exists, else jump to the first category; use
1407 message instead of error.
1408 (todos-add-category): Intern a special symbol for the new category
1409 and set its property list to holds counts of the numbers of todo,
1410 done and archived items in the category; assign the new category
1411 the current highest category number.
1412 (todos-rename-category): Don't use todos-categories-alist.
1413 (todos-delete-category): Check the category's `todo' and `done'
1414 properties to determine if it is empty; ensure that the end of the
1415 last category is found; after deleting the category, empty its
1416 plist and unintern its special symbol.
1417 (todos-insert-item-here): Fix argument list of todos-insert-item.
1418 (todos-delete-item, todos-raise-item, todos-lower-item):
1419 Use message instead of error.
1420 (todos-move-item): If the category to be moved to does not exist,
1421 add it as a new category.
1422 (todos-item-done, todos-reset-separator):
1423 Use todos-category-select instead of todos-show.
1424 (todos-archive-done-items): Make buffer writeable; conditionalize
1425 search for end of category; save after adding to archive in case
1426 the file is new, so it can be found.
1427 (todos-category-select): Wrap search in if instead of or+and;
1428 don't hide done items in an archive.
1429 (todos-set-item-priority): Check the category's `todo'
1430 property to determine if there are not done todo items.
1431 (todos-jump-to-category-noninteractively): Just switch to buffer
1432 visiting todos-current-todos-file, since this can be either a
1433 Todos file or an archive.
1434 (todos-item-counts): Use category's plist instead of an alist.
1435 (todos-longest-category-name-length): Argument is now a list of
1436 category names, not an alist, so just test each element, not each
1437 element's the car.
1438 (todos-padded-string): Use todos-categories instead of
1439 todos-categories-alist.
1440 (todos-insert-category-name): Use category plist to get item
1441 counts; take archived items into account.
1442
14432012-09-13 Stephen Berman <stephen.berman@gmx.net>
1444
1445 Changes from 2010-06-18 (revision 109994).
1446 * calendar/todos.el: Numerous spelling and comment fixes, doc
1447 string fixes to conform with checkdoc, further rearrangement of
1448 definitions, etc.
1449 (todos-previous-line, todos-previous-answer)
1450 (todos-insert-item-ask-date, todos-change-date)
1451 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1452 (todos-count-items-in-category, todos-count-all-items): Remove.
1453 (todos-update-numbered-prefix, todos-item-start-overlays)
1454 (todos-add-item-non-interactively): Comment out, also in uses.
1455 (todos-done-separator): Change default value.
1456 (todos-always-add-time-string): Rename from todos-add-time-string
1457 and adjust uses.
1458 (todos-read-category): Rename from todos-completing-read and
1459 adjust callers; use todos-current-category.
1460 (todos-make-categories-alist): Rename from function
1461 todos-categories-alist.
1462 (todos-categories-alist): New variable.
1463 (todos-indent-to-here): New defcustom.
1464 (todos-button): New face.
1465 (todos-display-categories-alphabetically, todos-raise-category)
1466 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1467 (todos-insert-item-here-ask-date-time)
1468 (todos-insert-item-ask-date-time)
1469 (todos-insert-item-ask-dayname-time): New commands.
1470 (todos-edit-item-header): New command replacing todos-change-date.
1471 (todos-category-number, todos-indent, todos-item-counts)
1472 (todos-check-category-name, todos-read-date, todos-read-dayname)
1473 (todos-read-time, todos-padded-string)
1474 (todos-insert-category-name): New functions.
1475 (todos-set-item-priority): New function replacing
1476 todos-add-item-non-interactively.
1477 (todos-mode-map): Remap newline to newline-and-indent.
1478 (todos-edit-mode-map): Make sparse keymap; remap newline to
1479 newline-and-indent.
1480 (todos-categories-mode-map): New keymap.
1481 (todos-mode, todos-edit-mode): Make indent-line-function local
1482 variable and set to todos-indent.
1483 (todos-categories-mode): New major mode.
1484 (todos-display-categories): List categories initially in their
1485 numerical order; add optional argument to switch to alphabetical
1486 listing.
1487 (todos-toggle-view-done-items): Simplify implementation.
1488 (todos-toggle-display-date-time): Fix regexp search string.
1489 (todos-backward-item, todos-forward-item): Use variable
1490 todos-item-start.
1491 (todos-add-category): Use todos-check-category-name and
1492 todos-categories-alist.
1493 (todos-rename-category): Use todos-current-category,
1494 todos-check-category-name and todos-categories-alist.
1495 (todos-delete-category): Use todos-check-category-name and
1496 todos-categories-alist and take done items into account.
1497 (todos-insert-item): Use separate arguments to handle insertion of
1498 date/dayname and time strings, add new argument to mark item for
1499 diary inclusion, use new todos-read-* functions,
1500 todos-set-item-priority and todos-item-counts.
1501 (todos-insert-item-here, todos-insert-item-for-diary)
1502 (todos-insert-item-from-calendar): Adapt to new version of
1503 todos-insert-item.
1504 (todos-delete-item, todos-item-done): Use todos-item-counts.
1505 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1506 char follows.
1507 (todos-lower-item): Ensure only not-done items can be lowered.
1508 (todos-move-item): Use todos-current-category, todos-read-category
1509 and todos-item-counts.
1510 (todos-archive-done-items): Use todos-current-category and
1511 todos-item-counts; fix regexp search string.
1512 (todos-item-undo): Use todos-current-category,
1513 todos-set-item-priority, todos-insert-with-overlays and
1514 todos-item-counts; restore if user quits before inserting undone
1515 item.
1516 (todos-date-pattern): Rewrite without using
1517 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1518 (todos-date-string-match): Do not make todos-date-pattern an
1519 unnumbered group.
1520 (todos-time-string-match): Make todos-date-pattern a shy group.
1521 (todos-wrap-and-indent): Use todos-indent-to-here.
1522 (todos-reset-prefix): Revert to using todos-show instead of
1523 todos-category-select.
1524 (todos-prefix-overlays): Fix numbering of done items and updating
1525 of prefix.
1526 (todos-category-select): Use todos-current-category; fix display
1527 of separator string; don't move point to top of category.
1528 (todos-jump-to-category-noninteractively): Use todos-category-number.
1529 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1530 (todos-item-start): New variable.
1531 (todos-item-start): Use it to define this function.
1532 (todos-item-end): Adjust if item is last unfinished one before
1533 displayed done items.
1534 (todos-remove-item): Use todos-item-start and todos-item-end
1535 instead of todos-forward-item and todos-backward-item.
1536 (todos-longest-category-name-length): Add argument for list of
1537 categories.
1538
15392012-09-13 Stephen Berman <stephen.berman@gmx.net>
1540
1541 Changes from 2010-05-25 (revision 109993).
1542 * calendar/todos.el: Comment out calendar require, since diary-lib
1543 requires calendar. Rearrange file to group definitions according
1544 to their use (types of commands, internal functions, etc.)
1545 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1546 (todos-date-string, todos-time-string, todos-check-overlay)
1547 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1548 Comment out.
1549 (todos-current-date, todos-item-end-overlays)
1550 (todos-list-categories): Remove.
1551 (todos-item-end): Remove (the variable, not the function).
1552 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1553 callers.
1554 (todos-done-separator, todos-done-string, todos-show-with-done)
1555 (todos-files, todos-archive-file, todos-categories-buffer)
1556 (todos-archived-categories-buffer, todos-wrap-lines)
1557 (todos-line-wrapping-function): New defcustoms.
1558 (todos-done, todos-done-sep): New faces.
1559 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1560 (todos-search-string, todos-date-nodayname-pattern)
1561 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1562 (todos-done-string-match, todos-category-string-match)
1563 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1564 (todos-current-category, todos-count-items-in-category)
1565 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1566 (todos-longest-category-name-length): New functions.
1567 (todos-categories-list): New buffer-specific function replacing
1568 todos-list-categories.
1569 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1570 (todos-search, todos-view-archive, todos-diary-items)
1571 (todos-toggle-display-date-time, todos-insert-item-no-time)
1572 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1573 (todos-insert-item-from-calendar, todos-edit-quit)
1574 (todos-change-date, todos-item-done, todos-archive-done-items)
1575 (todos-item-undo): New commands.
1576 (todos-archive-mode): New major mode.
1577 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1578 (todos-category-beg): Change value.
1579 (todos-number-prefix): Change default value.
1580 (todos-edit-buffer): Change from defvar to defcustom.
1581 (todos-font-lock-keywords): Use todos-done-string-match and
1582 todos-category-string-match.
1583 (todos-backward-item, todos-forward-item): Use todos-done-string
1584 and todos-date-pattern.
1585 (todos-display-categories): Reimplement using buttons from
1586 button.el instead of widgets.
1587 (todos-top-priorities): Use with-current-buffer; take done items
1588 into account; ensure buffers gets fontified.
1589 (todos-add-category): Ensure new category does not begin with
1590 empty lines.
1591 (todos-jump-to-category): Use todos-category-select instead of
1592 todos-show.
1593 (todos-rename-category): Prompt for new name in body instead of in
1594 interactive spec.
1595 (todos-insert-item): Don't insert in done items section of
1596 category. Add two optional arguments to control insertion: (i) to
1597 insert near point without prompting for priority; (ii) to use
1598 defaults for date and time strings, to prompt for these, or to
1599 choose date from the Calendar.
1600 (todos-insert-item-here): Reimplement using todos-insert-item.
1601 (todos-delete-item): Don't move point after deleting last item.
1602 (todos-raise-item, todos-lower-item): Take done items into account.
1603 (todos-move-item): Don't move done items; update item numbering;
1604 restore if user quits before inserting moved item.
1605 (todos-print): Prompt for confirmation to print.
1606 (todos-reset-prefix): Search backward from end of file instead of
1607 forward from top.
1608 (todos-jump-to-category-noninteractively): Take Todos archive into
1609 account.
1610 (todos-category-select): Show or hide done items according to
1611 todos-show-with-done; if shown, coordinate separator and prefix
1612 overlays.
1613 (todos-add-item-non-interactively): Replace binary insertion
1614 algorithm with prompting for numerical priority.
1615 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1616 (todos-item-start): Take done items into account; use
1617 todos-date-pattern.
1618 (todos-item-end): Reimplement using todos-forward-item.
1619 (todos-remove-item): Reimplement using todos-forward-item and
1620 todos-backward-item; redo overlay handling.
1621 (todos-mode-map): Add some new key bindings and change numerous
1622 existing bindings; use "i" as prefix key for item insertion
1623 commands.
1624 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1625 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1626 spec; set buffer-read-only to t and consequently let-bind this
1627 variable in all Todos commands that change buffer content.
1628 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1629 (todos-save): Don't save top priorities buffer.
1630 (todos-show): Make a no-op if called interactively in narrowed
1631 Todos mode, since, also to work around item prefix reduplication
1632 bug with show-paren-mode enabled; use todos-categories-list.
1633
16342012-09-12 Stephen Berman <stephen.berman@gmx.net>
1635
1636 Changes from 2009-11-07 (revision 109992).
1637 * calendar/todos.el: Comment out time-stamp require; require
1638 calendar and diary-lib.
1639 (todos-prefix): Change default value and doc string to reflect new
1640 meaning; add :initialize and :set functions.
1641 (todos-time-string-format, todos-entry-prefix-function)
1642 (todos-initials, todos-entry-timestamp-initials)
1643 (todos-prefix-face, todos-category-sep, todos-category-end)
1644 (todos-cp): Comment out.
1645 (todos-prefix-string): Inherit from font-lock-comment-face.
1646 (todos-item-header, todos-item-header-face): Remove.
1647 (todos-date, todos-time): New faces.
1648 (todos-date-face, todos-time-face): Corresponding new variables.
1649 (todos-add-time-string, todos-include-in-diary)
1650 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1651 New defcustoms.
1652 (todos-item-end, todos-item-start-overlays)
1653 (todos-item-end-overlays): New variables.
1654 (todos-date-string-match, todos-time-string-match): New functions.
1655 (todos-font-lock-keywords): Use them.
1656 (todos-current-date, todos-date-string, todos-time-string)
1657 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1658 (todos-reset-prefix, todos-update-numbered-prefix)
1659 (todos-check-overlay, todos-item-overlays)
1660 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1661 (todos-highlight-item): New command.
1662 (todos-category-beg): Change value.
1663 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1664 (todos-backward-item): Add optional count argument; use it and
1665 todos-item-start.
1666 (todos-forward-item): Use todos-check-overlay, todos-item-start
1667 and variable todos-item-end.
1668 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1669 todos-update-numbered-prefix, todos-item-overlays.
1670 (todos-add-category, todos-rename-category)
1671 (todos-list-categories): Use new category format.
1672 (todos-delete-category): Allow deleting non-empty category;
1673 use new category format.
1674 (todos-add-item-non-interactively): Comment out unnecessary
1675 save-excursion; use todos-insert-with-overlays.
1676 (todos-insert-item): Comment out unnecessary save-excursion; use
1677 new item format for date/time header and diary inclusion marking.
1678 (todos-insert-item-here): Use new item format for date/time header
1679 and diary inclusion marking; use todos-insert-with-overlays.
1680 (todos-raise-item): Make a no-op if point is on an empty line; use
1681 todos-insert-with-overlays.
1682 (todos-lower-item): Use todos-insert-with-overlays.
1683 (todos-top-priorities): Move call to todos-show inside
1684 save-excursion; add save-current-buffer after save-restriction.
1685 (todos-item-start): Use variable todos-item-end.
1686 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1687 (todos-remove-item): Take item overlays into account.
1688 (todos-mode): Change calculation of wrap-prefix; make
1689 hl-line-range-function a local variable and set it to highlight
1690 todo item.
1691 (todos-show): Ensure point stays at top of category.
1692
16932012-09-12 Stephen Berman <stephen.berman@gmx.net>
1694
1695 Changes from 2009-07-04 (revision 109991).
1696 * calendar/todos.el (todos-window-configuration): Comment out.
1697 (todos-display-categories): Comment out use of
1698 todos-window-configuration; use switch-to-buffer instead of
1699 pop-to-buffer.
1700 (todos-jump-to-category-noninteractively): Comment out use of
1701 todos-window-configuration.
1702 (todos-edit-item): Don't allow editing of date/time item header.
1703 (todos-insert-item, todos-insert-item-here): Insert date/time
1704 header in front of new item string.
1705 (todos-mode): Tweak wrap-prefix.
1706
17072012-09-12 Stephen Berman <stephen.berman@gmx.net>
1708
1709 Changes from 2009-06-26 (revision 109989).
1710 * calendar/todos.el (todos-file-do, todos-file-done):
1711 Change default location to directory "~/.emacs.d/".
1712 (todos-completion-ignore-case, todos-categories-buffer):
1713 New defcustoms.
1714 (todos-prefix-string, todos-item-header): New faces.
1715 (todos-prefix-face, todos-item-header-face): Corresponding
1716 new variables.
1717 (todos-rename-category, todos-delete-category)
1718 (todos-display-categories, todos-move-item): New commands.
1719 (todos-mode-map): Add key bindings for new commands and for
1720 todos-add-category, which had no key binding.
1721 (todos-jump-to-category-noninteractively): New function.
1722 (todos-top-priorities): Comment out code using a previously
1723 deleted variable.
1724 (todos-completing-read): Allow SPC to insert a space when entering
1725 a new category name; use todos-completion-ignore-case.
1726 (todos-font-lock-keywords, todos-window-configuration):
1727 New variables.
1728 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1729 word-wrap, and wrap-prefix local variables.
1730
17312012-09-12 Stephen Berman <stephen.berman@gmx.net>
1732
1733 Changes from 2009-02-16 (revision 109988).
1734 * calendar/todos.el (todos-list-categories): Fix typos.
1735 (todos-show): Ensure file is in todos-mode.
1736
17372012-09-12 Stephen Berman <stephen.berman@gmx.net>
1738
1739 Changes from 2009-02-12 (revision 109987).
1740 * calendar/todos.el (todos-header): Remove defvar.
1741 (todos-add-category): Comment out code that inserts and updates
1742 the file local variables first line of the file todos-file-do.
1743 (todos-list-categories): New function.
1744 (todos-show): Use it; remove use of a previously deleted variable.
1745
17462012-09-11 Stephen Berman <stephen.berman@gmx.net>
1747
1748 Changes from 2009-02-12 (revision 109986).
1749 * calendar/todos.el: New file. This is a copy of todo-mode.el
1750 from revision 94343 except for the following changes: replace all
1751 occurrences of the namespace prefix "todo-" with "todos-", delete
1752 the defvar todo-cats (the old name of todo-categories) and its use
1753 in todos-add-category, delete all defaliases of old command names.
1754
17552012-09-11 Bastien Guerry <bzg@gnu.org>
1756
1757 * subr.el (set-temporary-overlay-map): Add a docstring.
1758 (bug#12346)
1759
17602012-09-11 Bastien Guerry <bzg@gnu.org>
1761
1762 * minibuffer.el (completion-table-subvert): Fix docstring.
1763 (bug#12347)
1764
17652012-09-11 Bastien Guerry <bzg@gnu.org>
1766
1767 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1768
17692012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1770
1771 * progmodes/sql.el: Version 3.1
1772 (sql-db2-escape-newlines): New variable.
1773 (sql-escape-newlines-filter): Use it.
1774
17752012-09-10 Juanma Barranquero <lekktu@gmail.com>
1776
1777 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1778
17792012-09-10 Dan Nicolaescu <dann@gnu.org>
1780
1781 * vc/diff-mode.el (diff-mode-menu): Bind
1782 diff-remove-trailing-whitespace.
1783
17842012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1787 (emacs-lisp-byte-code-comment)
1788 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1789 New functions.
1790 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1791 (eval-defun-2): Remove bogus interactive spec.
1792 (lisp-indent-line): Remove redundant whole-exp code, now done in
1793 indent-according-to-mode.
1794 (save-match-data): Remove redundant indent data.
1795
1796 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1797 Use `declare'.
1798
17992012-09-09 Juri Linkov <juri@jurta.org>
1800
1801 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1802 (replace-lax-whitespace, query-replace-regexp)
1803 (query-replace-regexp-eval, replace-regexp): Doc fix.
1804 (perform-replace, replace-highlight): Let-bind
1805 isearch-lax-whitespace to replace-lax-whitespace and
1806 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1807
1808 * isearch.el (isearch-query-replace): Let-bind
1809 replace-lax-whitespace to isearch-lax-whitespace and
1810 replace-regexp-lax-whitespace to
1811 isearch-regexp-lax-whitespace. (Bug#10885)
1812
18132012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1816
18172012-09-09 Alan Mackenzie <acm@muc.de>
1818
1819 * progmodes/cc-engine.el (c-state-cache-init):
1820 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1821 (c-record-parse-state-state):
1822 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1823
18242012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1825
1826 * register.el (register-separator): Rename from
1827 separator-register. All uses changed. Doc fix.
1828 (register): Fix version.
1829
18302012-09-09 Chong Yidong <cyd@gnu.org>
1831
1832 * replace.el (query-replace-map): Bind four new symbols for
1833 requesting window scrolling.
1834
1835 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1836 query-replace-map (Bug#8948).
1837
1838 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1839
1840 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1841 since they are now in query-replace-map.
1842
1843 * window.el (scroll-other-window-down): Make the arg optional.
1844
18452012-09-09 Chong Yidong <cyd@gnu.org>
1846
1847 * files.el (hack-local-variables-confirm): Use quit-window to kill
1848 the *Local Variables* buffer.
1849
18502012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1853 not just expect to be at its beginning. Adjust callees.
1854 Succeed when do-end block has no space before the pipe character.
1855 (ruby-brace-to-do-end): When the original block is one-liner,
1856 convert to multiline. Reindent the result.
1857
18582012-09-08 Jambunathan K <kjambunathan@gmail.com>
1859
1860 * register.el (register): New group.
1861 (register-separator): New user option.
1862 (increment-register): Route it to `append-to-register', if
1863 register contains text. Implication is that `C-x r +' can now be
1864 used for appending to a text register (bug#12217).
1865 (append-to-register, prepend-to-register): Add separator based on
1866 `register-separator.
1867
18682012-09-08 Alan Mackenzie <acm@muc.de>
1869
1870 AWK Mode: make auto-newline work when there's "==" in the pattern.
1871 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1872 correctly.
1873 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1874 Test more rigorously for "=" token.
1875
18762012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1879 Only fail when reached LIMIT.
1880
18812012-09-08 Chong Yidong <cyd@gnu.org>
1882
1883 * dired.el (dired-mode-map): Don't bind M-=.
1884
1885 * dired-aux.el (dired-diff): Use backup file as default.
1886
18872012-09-08 Drew Adams <drew.adams@oracle.com>
1888
1889 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1890
18912012-09-08 Chong Yidong <cyd@gnu.org>
1892
1893 * subr.el (syntax-after, syntax-class): Doc fix.
1894
18952012-09-08 Martin Rudalics <rudalics@gmx.at>
1896
1897 * window.el (display-buffer-in-previous-window): New buffer
1898 display action function.
1899
1900 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1901 (debugger-previous-window): New variable.
1902 (debug): Rewrite using display-buffer-in-previous-window,
1903 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1904
19052012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1908
19092012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1910
1911 * progmodes/python.el (python-shell-send-string):
1912 When default-directory is remote, create temp file on remote
1913 filesystem.
1914 (python-shell-send-file): When file is remote, pass local view of
1915 file paths to remote Python interpreter. (Bug#12340)
1916
19172012-09-07 Chong Yidong <cyd@gnu.org>
1918
1919 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1920
1921 * files.el (after-find-file): Don't fail on a read-only buffer if
1922 require-final-newline is `visit' or `visit-save' (Bug#11156).
1923
1924 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1925
1926 * userlock.el (ask-user-about-supersession-threat):
1927 Use read-char-choice (Bug#12093).
1928
19292012-09-07 Chong Yidong <cyd@gnu.org>
1930
1931 * subr.el (buffer-narrowed-p): New function.
1932
1933 * ses.el (ses-widen):
1934 * simple.el (count-words--buffer-message):
1935 * net/browse-url.el (browse-url-of-buffer): Use it
1936
1937 * simple.el (count-words-region): Don't signal an error if there
1938 is a non-nil prefix arg and the mark is not set.
1939
1940 * help.el (describe-key-briefly): Allow the message to be seen
1941 when invoked from the minibuffer (Bug#7014).
1942
19432012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1944
1945 * progmodes/ruby-mode.el (ruby-end-of-defun)
1946 (ruby-beginning-of-defun): Simplify, allow indentation before
1947 block beginning and end keywords.
1948 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1949 (ruby-end-of-defun): Expect that the point is at the beginning of
1950 the defun.
1951
19522012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1955 (bug#12367).
1956 (cl--make-usage-args): Strip _ from argument names.
1957
19582012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1959
1960 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1961 obsolete alias speedbar-key-map.
1962 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1963 (vhdl-index-menu-init): Don't use obsolete variable
1964 font-lock-maximum-size.
1965
19662012-09-06 Chong Yidong <cyd@gnu.org>
1967
1968 * frame.el (window-system-version): Mark as obsolete.
1969
1970 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1971 of obsolete variable speedbar-key-map.
1972
19732012-09-06 Juri Linkov <juri@jurta.org>
1974
1975 * replace.el (replace-lax-whitespace): New defcustom.
1976 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1977 (replace-string, replace-regexp): Mention it in docstrings.
1978 (perform-replace, replace-highlight): Let-bind
1979 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1980 to the values of replace-lax-whitespace and regexp-flag.
1981 Don't let-bind search-whitespace-regexp. (Bug#10885)
1982
1983 * isearch.el (isearch-query-replace): Let-bind
1984 replace-lax-whitespace instead of let-binding
1985 replace-search-function and replace-re-search-function.
1986 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1987 and isearch-regexp-lax-whitespace to lazy-highlight variables.
1988 (isearch-toggle-symbol): Set isearch-regexp to nil
1989 in isearch-word mode (like in isearch-toggle-word).
1990
19912012-09-06 Juri Linkov <juri@jurta.org>
1992
1993 * replace.el (replace-search-function)
1994 (replace-re-search-function): Set default values to nil.
1995 (perform-replace): Let-bind isearch-related variables based on
1996 replace-related values, call `isearch-search-fun' and let-bind
1997 the result to `search-function'. Remove code that sets
1998 `search-function' and `search-string' separately for
1999 `delimited-flag'.
2000 (replace-highlight): Add new argument `delimited-flag' and
2001 rename other arguments to the names used in `perform-replace'.
2002 Let-bind `isearch-word' to the argument `delimited-flag'.
2003 (Bug#10885, bug#10887)
2004
20052012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2006
2007 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2008 ruby-beginning-of-indent, simplify, allow all keywords to have
2009 indentation before them.
2010 (ruby-beginning-of-indent): Adjust for above. Search until the
2011 found point is not inside a string or comment.
2012 (ruby-font-lock-keywords): Allow symbols to start with "@"
2013 character, give them higher priority than variables.
2014 (ruby-syntax-propertize-function)
2015 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2016 matchers. Expression expansions are not comments when inside a
2017 string, and there comment syntax status is irrelevant.
2018 (ruby-match-expression-expansion): New function. Check that
2019 expression expansion is inside a string, and it's not escaped.
2020 (ruby-font-lock-keywords): Use it.
2021
20222012-09-05 Martin Rudalics <rudalics@gmx.at>
2023
2024 * help.el (temp-buffer-max-height): New default value.
2025 (temp-buffer-resize-frames): New option.
2026 (resize-temp-buffer-window): Optionally resize frame.
2027
2028 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2029 (fit-frame-to-buffer): New function.
2030
20312012-09-05 Glenn Morris <rgm@gnu.org>
2032
2033 * emulation/cua-rect.el (cua--init-rectangles):
2034 * textmodes/picture.el (picture-mode-map):
2035 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2036 like forward-char and backward-char. (Bug#12317)
2037
20382012-09-05 Leo Liu <sdl.web@gmail.com>
2039
2040 * progmodes/flymake.el (flymake-warning-re): New variable.
2041 (flymake-parse-line): Use it.
2042
20432012-09-05 Glenn Morris <rgm@gnu.org>
2044
2045 * calendar/holidays.el (holiday-christian-holidays):
2046 Rename an entry. (Bug#12289)
2047
20482012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2051 (bug#12222).
2052
20532012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * loadup.el: Load macroexp. Remove hack.
2056 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2057 (macroexp--expand-all): Use it to get better warnings.
2058 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2059 (internal-macroexpand-for-load): New functions.
2060 (macroexp--pending-eager-loads): New var.
2061 (emacs-startup-hook): New hack to replace one in loadup.el.
2062 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2063 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2064 (cl-psetf): Simplify.
2065 (cl-defstruct): Add indent rule.
2066
20672012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2068
2069 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2070 over `user-mail-address' for the SMTP MAIL FROM envelope.
2071 (smtpmail-via-smtp): Ditto.
2072
20732012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2074
2075 * progmodes/ruby-mode.el: Clean up keybindings.
2076 (ruby-mode-map): Don't bind ruby-electric-brace,
2077 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2078 backward-kill-word, reindent-then-newline-and-indent.
2079 (ruby-mark-defun): Remove.
2080 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2081 (ruby-mode): Set local beginning-of-defun-function and
2082 end-of-defun-function values.
2083
20842012-09-03 Martin Rudalics <rudalics@gmx.at>
2085
2086 * window.el (temp-buffer-window-setup-hook)
2087 (temp-buffer-window-show-hook): New hooks.
2088 (temp-buffer-window-setup, temp-buffer-window-show)
2089 (with-temp-buffer-window): New functions.
2090 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2091 (special-display-popup-frame): Make sure the window used shows BUFFER.
2092
2093 * help.el (temp-buffer-resize-mode): Fix doc-string.
2094 (resize-temp-buffer-window): New optional argument WINDOW.
2095
2096 * files.el (recover-file, save-buffers-kill-emacs):
2097 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2098
20992012-09-02 Michael Albinus <michael.albinus@gmx.de>
2100
2101 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2102 remote definition of `default-directory', ensure we can connect.
2103
21042012-09-02 Juri Linkov <juri@jurta.org>
2105
2106 Toggle whitespace matching mode with M-s SPC.
2107 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2108
2109 * isearch.el (search-whitespace-regexp): Doc fix.
2110 Remove cons cell customization.
2111 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2112 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2113 New variables.
2114 (isearch-forward, isearch-forward-regexp): Doc fix.
2115 (isearch-toggle-lax-whitespace): New command.
2116 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2117 (re-search-forward-lax-whitespace)
2118 (re-search-backward-lax-whitespace): New functions.
2119 (isearch-whitespace-regexp): Remove function.
2120 (isearch-query-replace): Let-bind replace-search-function and
2121 replace-re-search-function.
2122 (isearch-occur): Let-bind search-spaces-regexp according to the
2123 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2124 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2125 condition for C-q SPC.
2126 (isearch-search-fun-default): Use new functions mentioned above.
2127 (isearch-search-forward, isearch-search-backward): Remove functions.
2128 (isearch-search): Don't let-bind search-spaces-regexp.
2129 (isearch-lazy-highlight-space-regexp): Remove variable.
2130 (isearch-lazy-highlight-lax-whitespace)
2131 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2132 (isearch-lazy-highlight-new-loop): Use them.
2133 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2134
21352012-09-02 Chong Yidong <cyd@gnu.org>
2136
2137 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2138
21392012-09-02 Glenn Morris <rgm@gnu.org>
2140
2141 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2142
21432012-09-01 Glenn Morris <rgm@gnu.org>
2144
2145 * term.el: Tidy up menu definitions.
2146 (term-mode-map): Use easymenu for In/Out, Complete menus.
2147 (term-pager-break-map): Initialize in the defvar.
2148 (term-terminal-menu, term-signals-menu): Define with easymenu.
2149 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2150 (term-pager-menu): New, extracted from term-process-pager.
2151 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2152 (term-update-mode-line): Propertize line/char and page items.
2153 (term-process-pager): Move keymap initialization elsewhere.
2154
21552012-09-01 Martin Rudalics <rudalics@gmx.at>
2156
2157 * window.el (switch-to-prev-buffer): Handle additional values of
2158 BURY-OR-KILL argument. Don't switch in minibuffer window.
2159 (switch-to-next-buffer): Don't switch in minibuffer window.
2160 (quit-restore-window): New function based on quit-window.
2161 Handle additional values of former KILL argument.
2162 (quit-window): Call quit-restore-window with appropriate
2163 interpretation of KILL argument.
2164 (display-buffer-below-selected): New buffer display action
2165 function.
2166
21672012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * minibuffer.el (completion-at-point-functions): Complete docstring
2170 (bug#12254).
2171
21722012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2173
2174 Better seed support for (random).
2175 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2176 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2177 * play/mpuz.el, play/tetris.el, play/zone.el:
2178 * calc/calc-comb.el (math-init-random-base):
2179 * play/blackbox.el (bb-init-board):
2180 * play/life.el (life):
2181 * server.el (server-use-tcp):
2182 * type-break.el (type-break):
2183 Remove unnecessary call to (random t).
2184 * net/sasl.el (sasl-unique-id-function):
2185 Change (random t) to (random), now that the latter is more random.
2186 * play/life.el (life-initialized): Remove no-longer-needed var.
2187
21882012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2189
2190 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2191 Consider frame's buffer predicate when choosing the buffer.
2192 (Bug#12081)
2193
21942012-08-30 Richard Stallman <rms@gnu.org>
2195
2196 * simple.el (special-mode-map): Delete binding for `z'.
2197
21982012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2199
2200 * progmodes/compile.el (compilation-always-kill): Doc fix.
2201
22022012-08-30 Chong Yidong <cyd@gnu.org>
2203
2204 * window.el (display-buffer-reuse-frames): Make the obsolescence
2205 message more informative.
2206
22072012-08-30 Glenn Morris <rgm@gnu.org>
2208
2209 * paren.el (show-paren-delay):
2210 Add a :set function. Doc fix. (Bug#12297)
2211
22122012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2213
2214 * progmodes/compile.el (compilation-always-kill): New var.
2215 (compilation-start): Use it.
2216
22172012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2220 * files.el (read-only-mode): Move to simple.el.
2221
2222 * files.el (read-only-mode): New minor mode.
2223 (toggle-read-only): Use it and mark obsolete.
2224 (find-file--read-only):
2225 * vc/vc.el (vc-next-action, vc-checkout):
2226 * vc/vc-cvs.el (vc-cvs-checkout):
2227 * obsolete/vc-mcvs.el (vc-mcvs-update):
2228 * ffap.el (ffap--toggle-read-only): Update callers.
2229
22302012-08-29 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * eshell/esh-ext.el (eshell-external-command): Do not examine
2233 remote shell scripts.
2234 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2235
2236 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2237 "/usr/local/sbin".
2238
22392012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2242
22432012-08-28 Leo Liu <sdl.web@gmail.com>
2244
2245 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2246 completion-at-point. (Bug#12220)
2247
2248 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2249
2250 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2251
22522012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2255 be buffer-local; add delete-trailing-whitespace (bug#12259).
2256
22572012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2258
2259 * progmodes/hideif.el (hif-compress-define-list):
2260 Fix typo. (Bug#11951)
2261
22622012-08-28 Dan Nicolaescu <dann@gnu.org>
2263
2264 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2265 buffer local setting.
2266
2267 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2268 rcirc-encode-coding-system.
2269
22702012-08-28 Leo Liu <sdl.web@gmail.com>
2271
2272 * net/rcirc.el (rcirc-split-message): New function.
2273 (rcirc-send-message): Use it. (Bug#12051)
2274
22752012-08-28 Juri Linkov <juri@jurta.org>
2276
2277 * info.el (Info-fontify-node): Hide empty lines at the end of
2278 the node. (Bug#12272)
2279
22802012-08-27 Drew Adams <drew.adams@oracle.com>
2281
2282 * dired.el (dired-pop-to-buffer): Make window start at beginning
2283 of buffer (Bug#12281).
2284
22852012-08-26 Chong Yidong <cyd@gnu.org>
2286
2287 * window.el (special-display-regexps, special-display-frame-alist)
2288 (special-display-buffer-names, special-display-function)
2289 (display-buffer-reuse-frames): Mark as obsolete.
2290
2291 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2292
2293 * help.el (help-print-return-message): Don't treat
2294 display-buffer-reuse-frames specially.
2295
22962012-08-26 Chong Yidong <cyd@gnu.org>
2297
2298 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2299 New variable, replacing gdb-frame-parameters.
2300 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2301 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2302 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2303 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2304 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2305 the functions directly with gdb-display-buffer-other-frame-action.
2306 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2307 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2308 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2309 (gdb-display-registers-buffer): Define directly.
2310 (def-gdb-display-buffer): Macro deleted.
2311 (gdb-display-buffer): Remove second and third args, callers don't
2312 use them. Defer to the default display-buffer behavior, apart
2313 from making windows dedicated.
2314 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2315
2316 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2317
2318 * window.el (display-buffer-pop-up-frame): Handle a
2319 pop-up-frame-parameters alist entry.
2320 (display-buffer): Document it.
2321
23222012-08-26 Chong Yidong <cyd@gnu.org>
2323
2324 * isearch.el (search-whitespace-regexp): Make string and nil
2325 values apply to both ordinary and regexp search. Allow a cons
2326 cell value to distinguish between the two.
2327 (isearch-whitespace-regexp, isearch-search-forward)
2328 (isearch-search-backward): New functions.
2329 (isearch-occur, isearch-search-fun-default, isearch-search)
2330 (isearch-lazy-highlight-new-loop): Use them.
2331 (isearch-forward, isearch-forward-regexp): Doc fix.
2332
23332012-08-26 Chong Yidong <cyd@gnu.org>
2334
2335 * faces.el (help-argument-name): Always inherit from italic
2336 (Bug#12213).
2337
23382012-08-25 Martin Rudalics <rudalics@gmx.at>
2339
2340 * window.el (window--even-window-heights): Even heights when
2341 WINDOW and the selected window form a vertical combination.
2342 (display-buffer-use-some-window): Provide that window used gets
2343 sized back by quit-window. (Bug#11880) and (Bug#12091)
2344
23452012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2346
2347 Fix file time stamp problem with bzr and CVS (Bug#12001).
2348 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2349 in the file's time stamp, since the version control system loses
2350 that information.
2351
23522012-08-22 Juri Linkov <juri@jurta.org>
2353
2354 * info.el (Info-fontify-node): Hide the suffix of the
2355 Info file name in the header line. (Bug#12187)
2356
23572012-08-22 Glenn Morris <rgm@gnu.org>
2358
2359 * calendar/cal-tex.el (cal-tex-weekly-common):
2360 Restore leading blank page.
2361
23622012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2363
2364 * misc.el (forward-to-word, backward-to-word): Activate or extend
2365 the region under `shift-select-mode'. (Bug#12231)
2366
23672012-08-22 Bastien Guerry <bzg@gnu.org>
2368
2369 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2370 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2371 gives details on why the space is never needed.
2372
23732012-08-22 Martin Rudalics <rudalics@gmx.at>
2374
2375 * window.el (walk-window-tree, window-with-parameter):
2376 New optional argument MINIBUF to control whether these functions
2377 should run on the minibuffer window.
2378 (window-at-side-list): Don't operate on minibuffer window.
2379 (window-in-direction): Simplify and rewrite doc-string.
2380 (window--size-ignore): Rename to window--size-ignore-p.
2381 Update callers.
2382 (display-buffer-in-atom-window, window--major-non-side-window)
2383 (window--major-side-window, display-buffer-in-major-side-window)
2384 (delete-side-window, display-buffer-in-side-window):
2385 New functions.
2386 (window--side-check, window-deletable-p, delete-window)
2387 (delete-other-windows, split-window): Handle side windows and
2388 atomic windows appropriately.
2389 (window--display-buffer): Call display-buffer-record-window also
2390 when the window buffer did not change.
2391
23922012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2393
2394 * help-fns.el (help-fns--key-bindings):
2395 Abbreviate non-symbol remap targets. (Bug#12174)
2396
23972012-08-22 Martin Rudalics <rudalics@gmx.at>
2398
2399 * dired.el (dired-mark-remembered): Don't clobber point.
2400 (Bug#11795)
2401
24022012-08-22 Glenn Morris <rgm@gnu.org>
2403
2404 * progmodes/bug-reference.el (bug-reference): New custom group.
2405 (bug-reference-bug-regexp): Make it a defcustom.
2406
24072012-08-22 Daiki Ueno <ueno@unixuser.org>
2408
2409 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2410 (js-paren-indent-offset, js-square-indent-offset)
2411 (js-curly-indent-offset): Add :safe (Bug#12257).
2412
24132012-08-22 Edward O'Connor <hober0@gmail.com>
2414
2415 * json.el (json-key-format): Add error properties.
2416 (json-encode-key): New function.
2417 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2418 Use json-encode-key.
2419
24202012-08-22 Glenn Morris <rgm@gnu.org>
2421
2422 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2423 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2424 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2425 Update for above change.
2426
24272012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2428
2429 * cus-face.el (custom-face-attributes): Fix customize type for the
2430 :underline attribute. (Bug#11805)
2431
24322012-08-21 Martin Rudalics <rudalics@gmx.at>
2433
2434 * window.el (window-point-1, set-window-point-1): Remove.
2435 (window-in-direction, record-window-buffer)
2436 (set-window-buffer-start-and-point, split-window-below)
2437 (window--state-get-1, display-buffer-record-window):
2438 Replace calls to window-point-1 and set-window-point-1 by calls to
2439 window-point and set-window-point respectively.
2440
24412012-08-21 Glenn Morris <rgm@gnu.org>
2442
2443 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2444 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2445 Use it.
2446
2447 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2448 (cal-tex-shortday): New function.
2449 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2450 (cal-tex-cursor-filofax-daily): Use the above.
2451
2452 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2453 New functions.
2454 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2455 (cal-tex-cursor-filofax-week): Use them.
2456
2457 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2458 New constants.
2459 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2460 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2461
2462 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2463 (cal-tex-end-document): Don't rely on buffer name.
2464
2465 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2466 Use cal-tex-vspace.
2467 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2468 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2469 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2470 Use cal-tex-arg.
2471
2472 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2473 (cal-tex-cursor-week, cal-tex-cursor-week2)
2474 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2475 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2476 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2477 (cal-tex-insert-preamble, cal-tex-b-document)
2478 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2479 Improve cal-tex-cmd usage.
2480
2481 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2482 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2483 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2484 (cal-tex-weekly-paper): New function.
2485 (cal-tex-cursor-week, cal-tex-cursor-week2)
2486 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2487 (cal-tex-cursor-day): Use it.
2488
2489 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2490 (cal-tex-cursor-filofax-week): Remove leading blank page.
2491
2492 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2493 Add autoload cookie. For now at least, don't use color, since
2494 no other cal-tex function does.
2495
2496 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2497 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2498 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2499
25002012-08-21 Juri Linkov <juri@jurta.org>
2501
2502 * info.el (Info-file-attributes): New variable.
2503 (info-insert-file-contents): Add file attributes to
2504 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2505 `Info-toc-nodes' when previous modtime of the Info file is less
2506 than new modtime.
2507 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2508 of info.el. (Bug#12230)
2509
25102012-08-20 Glenn Morris <rgm@gnu.org>
2511
2512 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2513 * calendar/holidays.el (calendar-holiday-list):
2514 Report errors with display-warning rather than beep'n'sleep.
2515
25162012-08-20 Michael Albinus <michael.albinus@gmx.de>
2517
2518 * net/tramp.el (tramp-accept-process-output): Accept only output
2519 from PROC. Otherwise, process filters and sentinels might be
2520 confused. (Bug#12145)
2521
25222012-08-20 Chong Yidong <cyd@gnu.org>
2523
2524 * descr-text.el (describe-text-properties-1): Use overlays-in to
2525 report on empty overlays (Bug#3322).
2526
25272012-08-20 Glenn Morris <rgm@gnu.org>
2528
2529 * mail/rmailout.el (rmail-output-read-file-name):
2530 Trap and report errors in rmail-output-file-alist elements.
2531
2532 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2533 since most non-font-lock faces are not also variables).
2534
25352012-08-20 Edward Reingold <reingold@iit.edu>
2536
2537 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2538 New function. (Bug12160)
2539
25402012-08-19 Glenn Morris <rgm@gnu.org>
2541
2542 * mail/rmailout.el (rmail-output-read-file-name):
2543 Fix previous change (when the alist is nil or does not match).
2544
25452012-08-19 Chong Yidong <cyd@gnu.org>
2546
2547 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2548 (Bug#12228).
2549
25502012-08-18 Chong Yidong <cyd@gnu.org>
2551
2552 * simple.el (yank-handled-properties): New defcustom.
2553 (yank-excluded-properties): Add font-lock-face and category.
2554 (yank): Doc fix.
2555
2556 * subr.el (remove-yank-excluded-properties):
2557 Obey yank-handled-properties. The special handling of font-lock-face
2558 and category is now done this way, instead of being hard-coded.
2559 (insert-for-yank-1): Remove font-lock-face handling.
2560 (yank-handle-font-lock-face-property)
2561 (yank-handle-category-property): New function.
2562
25632012-08-17 Glenn Morris <rgm@gnu.org>
2564
2565 * mail/rmailout.el (rmail-output-read-file-name):
2566 Check rmail-output-file-alist against the full message body
2567 in the correct rmail buffer. (Bug#12214)
2568
25692012-08-17 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2572 Eliminate superfluous prompt. (Bug#12203)
2573
25742012-08-17 Chong Yidong <cyd@gnu.org>
2575
2576 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2577 font spec, set the font directly (Bug#3228).
2578
25792012-08-17 Martin Rudalics <rudalics@gmx.at>
2580
2581 * window.el (delete-window): Fix last fix.
2582
25832012-08-16 Martin Rudalics <rudalics@gmx.at>
2584
2585 * window.el (window-valid-p): Move to window.c.
2586 (window-child, window-child-count, window-last-child)
2587 (window-normalize-window, window-combined-p)
2588 (window-combinations, window-atom-root, window-min-size)
2589 (window-sizable, window-sizable-p, window-size-fixed-p)
2590 (window-min-delta, window-max-delta, window--resizable)
2591 (window--resizable-p, window-resizable, window-total-size)
2592 (window-full-height-p, window-full-width-p, window-body-size)
2593 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2594 (minimize-window, window-deletable-p, delete-window)
2595 (delete-other-windows, set-window-buffer-start-and-point)
2596 (next-buffer, previous-buffer, split-window, balance-windows-2)
2597 (set-window-text-height, window-buffer-height)
2598 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2599 (truncated-partial-width-window-p): Minor code adjustments.
2600 In doc-strings state whether the argument window has to denote a
2601 live, valid or any window.
2602
26032012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2604
2605 * progmodes/subword.el (subword-forward-function)
2606 (subword-backward-function, subword-forward-regexp)
2607 (subword-backward-regexp): New variables.
2608 (subword-forward, subword-forward-internal, subword-backward-internal):
2609 Use new variables, eg so that different "word" definitions
2610 can be easily used. (Bug#11411)
2611
26122012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2615 for composite selectors.
2616 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2617 operation just because we can't find a previous revision.
2618
26192012-08-15 Chong Yidong <cyd@gnu.org>
2620
2621 * frame.el (set-frame-font): Accept font objects.
2622
26232012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2626
26272012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2628
2629 * man.el (Man-overstrike-face, Man-underline-face)
2630 (Man-reverse-face): Remove variables.
2631 (Man-overstrike, Man-underline, Man-reverse): New faces.
2632 (Man-fontify-manpage): Use them instead of the variables.
2633 (Man-cleanup-manpage): Comment change.
2634 (Man-ansi-color-map): New variable.
2635 (Man-fontify-manpage): Use it.
2636 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2637
2638 Implement ANSI SGR parameters 22-27 (bug#12146).
2639 * ansi-color.el (ansi-colors): Doc fix.
2640 (ansi-color-context, ansi-color-context-region): Doc fix.
2641 (ansi-color--find-face): New function.
2642 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2643 Rename the local variable `face' to `codes' since it is now a list of
2644 ansi codes. Doc fix.
2645 (ansi-color-get-face): Remove.
2646 (ansi-color-parse-sequence): New function, derived from
2647 ansi-color-get-face.
2648 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2649 codes 22-27.
2650
26512012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2652
2653 * subr.el (read-passwd): Allow use from a minibuffer.
2654
26552012-08-14 Eli Zaretskii <eliz@gnu.org>
2656
2657 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2658 inside comments and strings as identifiers.
2659
2660 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2661 expression to evaluate. This allows to evaluate expressions with
2662 embedded whitespace.
2663 (gud-tooltip-tips): Add a blank before the newline in the
2664 message-box text, for the benefit of message-box emulation on
2665 MS-Windows.
2666
2667 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2668 messages from GDB, pop them up in a tooltip to give feedback to
2669 user.
2670 (gdb-tooltip-print-1): Quote the expression to evaluate.
2671 This allows to evaluate expressions with embedded whitespace.
2672 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2673 if the TTY name is nil or empty (which happens when communicating
2674 with the inferior via pipes, e.g. on MS-Windows).
2675 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2676 don't send that to the GUD buffer.
2677
26782012-08-14 Glenn Morris <rgm@gnu.org>
2679
2680 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2681 Optimize away setq-default with no args, as for setq. (Bug#12195)
2682
26832012-08-14 Chong Yidong <cyd@gnu.org>
2684
2685 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2686
2687 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2688 (Bug#12085).
2689
26902012-08-14 Glenn Morris <rgm@gnu.org>
2691
2692 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2693
26942012-08-14 Michael Albinus <michael.albinus@gmx.de>
2695
2696 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2697 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2698 Use cached shell name.
2699
27002012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2701
2702 * progmodes/python.el (python-shell-send-string):
2703 (python-shell-send-setup-code): Do not use `format' with `message'.
2704
27052012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2706
2707 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2708 (ruby-percent-literal-beg-re): New constant.
2709 (ruby-syntax-general-delimiters-goto-beg): Rename to
2710 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2711 (ruby-syntax-propertize-general-delimiters): Rename to
2712 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2713 popular term. Adjust comments everywhere.
2714 (ruby-syntax-propertize-percent-literal): Only propertize when not
2715 inside a simple string or comment. When the literal is unclosed,
2716 leave the text after it unpropertized.
2717 (ruby-syntax-methods-before-regexp): New constant.
2718 (ruby-syntax-propertize-function): Use it to recognize regexps.
2719 Don't look at the text after regexp, just use the whitelist.
2720
27212012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2722
2723 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2724 non-nil always load the compiled file if it exists. (Bug#12197)
2725
27262012-08-14 Chong Yidong <cyd@gnu.org>
2727
2728 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2729 (hi-lock-set-pattern): When deciding whether to use font lock or
2730 overlays, look at font-lock-mode instead of font-lock-fontified
2731 (Bug#12168).
2732 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2733 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2734
27352012-08-14 Daiki Ueno <ueno@unixuser.org>
2736
2737 * subr.el (internal--after-with-selected-window): Fix typo
2738 (Bug#12193).
2739
27402012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2741
2742 Use `completion-table-dynamic' for completion functions.
2743 * progmodes/python.el
2744 (python-shell-completion--do-completion-at-point)
2745 (python-shell-completion--get-completions):
2746 Remove functions.
2747 (python-shell-completion-complete-at-point): New function.
2748 (python-completion-complete-at-point): Use it.
2749
27502012-08-13 Jambunathan K <kjambunathan@gmail.com>
2751
2752 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2753 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2754
27552012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * subr.el (function-get): Refine `autoload' arg so it can also
2758 autoload functions for gv.el (bug#12191).
2759 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2760 autoloads macros.
2761
2762 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2763 Prefer pcase-let over destructuring-bind.
2764 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2765 Also, remove whitespace as we go, rather than after accumulating the
2766 various places.
2767
2768 * subr.el (internal--before-with-selected-window)
2769 (internal--after-with-selected-window): Fix typo seleted->selected.
2770 (with-selected-window): Adjust callers.
2771 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2772
27732012-08-13 Bastien Guerry <bzg@gnu.org>
2774
2775 * window.el (special-display-popup-frame): Minor docstring
2776 enhancement. (Bug#12172)
2777
27782012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2779
2780 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2781 type 1-6.
2782 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2783 extended headers.
2784
2785 * files.el (hack-local-variables-filter): Remove useless eval.
2786
27872012-08-13 Martin Rudalics <rudalics@gmx.at>
2788
2789 * subr.el (with-selected-window): Fix last change.
2790
27912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * subr.el (internal--before-with-seleted-window)
2794 (internal--after-with-seleted-window): New functions.
2795 (with-selected-window): Use them, to replace dependency on
2796 tty-top-frame.
2797
27982012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2799
2800 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2801 binding for `newline'.
2802 (ruby-move-to-block): When moving backward, stop at block opening,
2803 not indentation.
2804 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2805 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2806 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2807 `ruby-toggle-block'.
2808
28092012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * ibuffer.el (ibuffer-do-toggle-read-only):
2812 * dired.el (dired-toggle-read-only):
2813 * buff-menu.el (Buffer-menu-toggle-read-only):
2814 * bindings.el (mode-line-toggle-read-only):
2815 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2816
28172012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2818
2819 * descr-text.el (describe-char): Put the overlays over the
2820 "displayed as" character.
2821
28222012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2823
2824 * calc/calc-units.el (math-default-units-table): Give an
2825 initial value.
2826 (math-put-default-units): Add options to put composite units and
2827 unit systems in the default units table.
2828 (calc-convert-units): Send composite units to
2829 `math-put-default-units' when appropriate.
2830
28312012-08-11 Glenn Morris <rgm@gnu.org>
2832
2833 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2834
2835 * tutorial.el (help-with-tutorial):
2836 * emacs-lisp/copyright.el (copyright-update-directory):
2837 * emacs-lisp/autoload.el (autoload-find-generated-file)
2838 (autoload-find-file): Disable local eval: (for insurance).
2839
2840 * files.el (hack-local-variables-filter): If an eval: form is not
2841 known to be safe, and enable-local-variables is :safe, then ignore
2842 the form totally, as is done for non-eval forms. (Bug#12155)
2843 This is CVE-2012-3479.
2844
28452012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2846
2847 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2848 (rx-form): Simplify.
2849
28502012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2853 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2854 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2855 (ruby-syntax-propertize-function): Adjust for changes in
2856 `ruby-syntax-propertize-heredoc'.
2857
28582012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2859
2860 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2861 binding (use `M-;' instead).
2862 (ruby-singleton-class-p): New function.
2863 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2864
28652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2868
28692012-08-10 Chong Yidong <cyd@gnu.org>
2870
2871 * progmodes/python.el (python-shell-get-process-name): Don't mess
2872 with same-window-buffer-names.
2873
2874 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2875 (eshell-remove-from-window-buffer-names): Make obsolete.
2876 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2877 (eshell): Just use pop-to-buffer-same-window instead.
2878
28792012-08-10 Chong Yidong <cyd@gnu.org>
2880
2881 * bindings.el: Bind M-= back to count-words-region.
2882
2883 * simple.el (count-words-region): Accept a prefix arg for acting
2884 on the entire buffer.
2885 (count-words--buffer-message): New helper function.
2886
28872012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2890 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2891 (event-start, event-end): Use posn-at-point to return a more
2892 informative posn.
2893 (posnp): New function.
2894 * mouse.el (popup-menu-normalize-position): Use it.
2895
28962012-08-10 Masatake YAMATO <yamato@redhat.com>
2897
2898 * mouse.el (popup-menu-normalize-position): New function.
2899 (popup-menu): Use `popup-menu-normalize-position' to normalize
2900 the form for POSITION argument.
2901
2902 * term/x-win.el (x-menu-bar-open):
2903 Use the value returend from (posn-at-point) as position
2904 passed to `popup-menu'.
2905
29062012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2907
2908 * calc/calccomp.el (math-compose-expr): Add extra argument
2909 indicating that parentheses should be put around products in
2910 denominators. Give multiplication precedence over division during
2911 composition.
2912
29132012-08-09 Chong Yidong <cyd@gnu.org>
2914
2915 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2916 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2917 (Man-untabify-command, manual-program): Convert to defcustom
2918 (Bug#10429).
2919
2920 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2921
2922 * descr-text.el (describe-char): Don't insert extra newlines
2923 (Bug#10127).
2924
2925 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2926 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2927
2928 * align.el (align-region): Delete temporary markers (Bug#10047).
2929 Plus some code cleanups.
2930
29312012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2932
2933 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2934 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2935 (python-shell-internal-last-output): Use make-local-variable
2936 instead of make-variable-buffer-local.
2937
29382012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2939
2940 * progmodes/python.el: Enhancements to forward-sexp.
2941 (python-nav-forward-sexp): Rename from
2942 python-nav-forward-sexp-function.
2943 (python-nav--forward-sexp, python-nav--backward-sexp):
2944 New functions.
2945
29462012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2947
2948 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2949 modes and simplification modes.
2950
29512012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * delsel.el (delete-selection-pre-hook): Don't propagate the
2954 file-supersession signals (bug#12161).
2955
29562012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2957
2958 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2959 (cl-map-extents): Add compatibility aliases (bug#12135).
2960
29612012-08-08 Michael Albinus <michael.albinus@gmx.de>
2962
2963 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2964 tests by `ignore-error'.
2965 (tramp-find-shell): Open also a new shell, when cache is already
2966 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2967
29682012-08-08 Juri Linkov <juri@jurta.org>
2969
2970 * bookmark.el: Add `defaults' property to the bookmark record.
2971 (bookmark-current-buffer): Doc fix.
2972 (bookmark-make-record): Add `defaults' property with default values
2973 to the bookmark record.
2974 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2975 with `bookmark-insert-current-bookmark'.
2976 (bookmark-set): Get `defaults' property from the bookmark record
2977 and use it in `read-from-minibuffer'.
2978 (bookmark-insert-current-bookmark): Remove function.
2979
2980 * info.el (Info-bookmark-make-record): Add `defaults' property
2981 with values of canonical Info node name, the current Info file
2982 name and the current Info node name. (Bug#12107)
2983
29842012-08-08 Juri Linkov <juri@jurta.org>
2985
2986 * files.el (basic-save-buffer): Use `buffer-name' as the default
2987 of `read-file-name' when buffer is not visiting a file (bug#12128).
2988
29892012-08-08 Juri Linkov <juri@jurta.org>
2990
2991 * info.el (Info-isearch-search): Doc fix.
2992 (Info-search): Change search-failed message from "initial node" to
2993 "end of node" (bug#12078).
2994 (Info-isearch-search): Change `isearch-string-state' to
2995 `isearch--state-string'.
2996
29972012-08-08 Glenn Morris <rgm@gnu.org>
2998
2999 * language/persian.el: Remove file.
3000 * language/misc-lang.el: Move unique part of persian.el here.
3001 * loadup.el: Remove language/persian.
3002
30032012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3004
3005 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3006
30072012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3008
3009 * progmodes/python.el Fixed defsubst warning.
3010 (python-syntax-context) Rename from python-info-ppss-context.
3011 (python-syntax-context-type): Rename from
3012 python-info-ppss-context-type.
3013 (python-syntax-comment-or-string-p): Rename from
3014 python-info-ppss-comment-or-string-p.
3015
30162012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3017
3018 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3019
30202012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3023 a defcustom that is quoted with backquote.
3024
3025 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3026 Fix handling of interactive spec when the body uses return.
3027 (math-do-arg-check, math-define-function-body): Use backquote forms.
3028 * calc/calc-ext.el (math-defcache): Likewise.
3029 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3030 * allout.el (allout-new-exposure): Likewise.
3031 * calc/calcalg2.el (math-tracing-integral): Likewise.
3032 * info.el (Info-last-menu-item): Likewise.
3033 * emulation/vip.el (vip-loop): Likewise.
3034 * textmodes/artist.el (artist-funcall): Likewise.
3035 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3036 Construct menu-item directly.
3037
3038 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3039 Don't declare.
3040
30412012-08-07 Chong Yidong <cyd@gnu.org>
3042
3043 * simple.el (deactivate-mark): Preserve text properties when
3044 saving the primary selection (Bug#8384).
3045
30462012-08-07 Kevin Ryde <user42@zip.com.au>
3047
3048 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3049 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3050 and continue processing (Bug#12110).
3051
30522012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3055 syntax-propertize-function (bug#10095).
3056
30572012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3058
3059 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3060 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3061 describe-function-1.
3062 (describe-function-1): Use them. Move compiler macro after sig.
3063 (help-fns--compiler-macro): Use function-get. Assume we're already in
3064 standard-output. Adjust layout to new call order.
3065
3066 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3067 re-binding a symbol that has a symbol-macro (bug#12119).
3068
30692012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3070
3071 * language/persian.el: New file. (Bug#11812)
3072 * loadup.el: Add language/persian.el.
3073
30742012-08-06 Chong Yidong <cyd@gnu.org>
3075
3076 * window.el (window--maybe-raise-frame): New function.
3077 (window--display-buffer): Split off from here.
3078 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3079 (display-buffer-pop-up-window, display-buffer-use-some-window):
3080 Obey an inhibit-switch-frame action alist entry.
3081 (display-buffer): Update doc.
3082
3083 * replace.el (occur-after-change-function): Avoid losing focus by
3084 using the inhibit-switch-frame display parameter (Bug#12139).
3085
30862012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3087
3088 Make internal shell process buffer names start with space.
3089 * progmodes/python.el (python-shell-make-comint): Add optional
3090 argument INTERNAL.
3091 (run-python-internal): Use it.
3092 (python-shell-internal-get-or-create-process): Check for new
3093 internal buffer names.
3094
30952012-08-06 Glenn Morris <rgm@gnu.org>
3096
3097 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3098 Do less getting and setting of environment variables.
3099
31002012-08-05 Chong Yidong <cyd@gnu.org>
3101
3102 * proced.el (proced): Add substitution string to docstring to
3103 trigger autoloading of the proced library on C-h f (Bug#1768).
3104
3105 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3106 Don't show defvars which have no second argument (Bug#8638).
3107
3108 * imenu.el (imenu-generic-expression): Move documentation here
3109 from imenu--generic-function.
3110 (imenu--generic-function): Refer to imenu-generic-expression.
3111
31122012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3113
3114 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3115 indentation declaration.
3116 (viper-loop): Add indentation declaration (Bug#7025).
3117
31182012-08-05 Chong Yidong <cyd@gnu.org>
3119
3120 * help-fns.el (describe-variable): Add hyperlink for
3121 directory-local variables files. Improve buffer-local and
3122 permanent-local reporting; suggested by MON KEY (Bug#6644).
3123
3124 * help-mode.el (help-dir-local-var-def): New button type.
3125
3126 * files.el (kill-buffer-hook): Provide a defvar.
3127
31282012-08-05 Glenn Morris <rgm@gnu.org>
3129
3130 * eshell/esh-ext.el (eshell/addpath):
3131 Also update eshell-path-env. (Bug#12013)
3132
31332012-08-05 Chong Yidong <cyd@gnu.org>
3134
3135 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3136
3137 * fringe.el (fringe-styles): Add docstring.
3138 (fringe--check-mode): New function.
3139 (set-fringe-mode, set-fringe-style): Use it.
3140 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3141
3142 * files.el (set-auto-mode): Fix invalid setq call.
3143
31442012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3145
3146 * isearch.el: Misc simplification; use defstruct.
3147 (isearch-mode-map): Dense maps now work like sparse ones.
3148 (isearch--state): New defstruct.
3149 (isearch-string-state, isearch-message-state, isearch-point-state)
3150 (isearch-success-state, isearch-forward-state)
3151 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3152 (isearch-wrapped-state, isearch-barrier-state)
3153 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3154 replaced by defstruct's accessors.
3155 (isearch--set-state): Rename from isearch-top-state and change
3156 calling convention.
3157 (isearch-push-state): Use new isearch--get-state.
3158 (isearch-toggle-word): Disable regexp when enabling word.
3159 (isearch-message-prefix): Remove unused arg _c-q-hack.
3160 (isearch-message-suffix): Remove unused arg _ellipsis.
3161
31622012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3163
3164 * simple.el (list-processes--refresh): For a server use :host or
3165 :local as the address.
3166 (list-processes): Doc fix.
3167
31682012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
3169
3170 * lisp/mpc.el: Support password in host argument.
3171 (mpc--proc-connect): Parse and use new password element.
3172 Set mpc-proc variable instead of returning process.
3173 (mpc-proc): Adjust accordingly.
3174
31752012-08-03 Eli Zaretskii <eliz@gnu.org>
3176
3177 * whitespace.el (whitespace-display-mappings): Use Unicode
3178 codepoints, instead of emacs-mule codepoints. See
3179 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3180 for the details.
3181
3182 * files.el (file-truename): Don't skip symlink-chasing part on
3183 windows-nt. Incorporate the resolution of 8+3 short aliases on
3184 Windows into the loop that recursively chases symlinks.
3185 Compare directory and its parent case-insensitively on MS-Windows and
3186 MS-DOS.
3187
31882012-08-03 Chong Yidong <cyd@gnu.org>
3189
3190 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3191
3192 * sort.el (sort-regexp-fields): Doc fix.
3193
31942012-08-03 Tassilo Horn <tsdh@gnu.org>
3195
3196 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3197 labels regex position point at the expected place.
3198
31992012-08-03 MON KEY <monkey@sandpframing.com>
3200
3201 * net/imap.el (imap-interactive-login, imap-authenticate)
3202 (imap-mailbox-lsub, imap-mailbox-list)
3203 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3204 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3205 (imap-parse-response): Doc fix.
3206
32072012-08-03 João Távora <joaotavora@gmail.com>
3208
3209 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3210 if sexp scanning does not move point (Bug#5734).
3211
32122012-08-02 Tassilo Horn <tsdh@gnu.org>
3213
3214 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3215 Add listings, minted, and ctable packages.
3216 (reftex-label-alist-builtin): Move listings, minted, and ctable
3217 entries before LaTeX.
3218 (reftex-label-alist): Docfix.
3219
32202012-08-02 Bastien Guerry <bzg@gnu.org>
3221
3222 * replace.el (occur): Fix docstring (bug#12122).
3223
32242012-08-02 Glenn Morris <rgm@gnu.org>
3225
3226 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3227
32282012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3229
3230 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3231 * international/mule-cmds.el: Create
3232 inactivate-current-input-method-function as an obsolete alias for
3233 deactivate-current-input-method-function. See Katsumi Yamaoka in
3234 <http://bugs.gnu.org/10150#46>.
3235
32362012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3237
3238 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3239 of nested `if's.
3240
32412012-08-01 Glenn Morris <rgm@gnu.org>
3242
3243 * progmodes/autoconf.el (autoconf-definition-regexp):
3244 Add AH_TEMPLATE, adjust submatch numbering.
3245 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3246 (autoconf-current-defun-function): Update for above change.
3247 (autoconf-current-defun-function): First skip to end of current word.
3248
32492012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3250
3251 * calendar/cal-html.el (cal-html-insert-agenda-days):
3252 Fix typo. (Bug#12018)
3253
32542012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3255
3256 Shell processes: enhancements to startup and CEDET compatibility.
3257 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3258 (python-shell-make-comint): accept-process-output at startup.
3259 (run-python-internal): Set inferior-python-mode-hook to nil.
3260 (python-shell-internal-get-or-create-process): call sit-for.
3261 (python-preoutput-result): Add obsolete alias.
3262 (python-shell-internal-send-string): Use it.
3263 (python-shell-send-setup-code): Remove call to
3264 accept-process-output.
3265
32662012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3267
3268 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3269 (Bug#12108)
3270
32712012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3272
3273 * calc-mode.el (calc-basic-simplification-mode): Rename from
3274 `calc-limited-simplification-mode'.
3275 (calc-alg-simplification-mode): New function.
3276 (calc-set-simplify-mode): Adjust message.
3277
3278 * calc.el (calc-set-mode-line): Adjust mode line display for
3279 basic simplification mode.
3280
3281 * calc-help.el (calc-m-prefix-help): Update help message.
3282
3283 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3284 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3285
32862012-07-31 Bastien Guerry <bzg@gnu.org>
3287
3288 * man.el (man): Fix comment. (bug#12101)
3289
32902012-07-31 Martin Rudalics <rudalics@gmx.at>
3291
3292 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3293 Don't return a non-nil value when no suitable buffer was found.
3294
32952012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3296
3297 * progmodes/python.el (run-python-internal): Disable font lock for
3298 internal shells.
3299
33002012-07-30 Stefan Merten <smerten@oekonux.de>
3301
3302 * rst.el: Silence `checkdoc-ispell'.
3303 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3304 (rst-official-version, rst-official-cvs-rev)
3305 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3306 (rst-mode-map): New key binding.
3307
33082012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3309
3310 Update .PHONY listings in makefiles.
3311 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3312 autoloads, update-subdirs, updates, bzr-update, update-authors,
3313 compile-onefile, compile-calc, backup-compiled-files,
3314 compile-after-backup, compile-one-process, mh-autoloads,
3315 bootstrap-clean, distclean, maintainer-clean.
3316
33172012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3318
3319 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3320 (calc-set-mode-line): Don't display "AlgSimp ".
3321
3322 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3323 (calc-lim-simplify-mode): New function.
3324 (calc-set-simplify-mode): Default to 'alg.
3325 (calc-default-simplify-mode): Make algebraic simplifications
3326 the default.
3327
3328 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3329 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3330
3331 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3332 indicate new simplification modes.
3333
3334 * calc/README: Mention new default simplification mode.
3335
3336 * calc/calc.el (math-normalize-error): New variable.
3337 (math-normalize): Set `math-normalize-error' to t
3338 when there's an error.
3339
3340 * calc/calc-alg.el (math-simplify): Don't simplify when
3341 `math-normalize' returns an error.
3342
33432012-07-29 Eli Zaretskii <eliz@gnu.org>
3344
3345 * international/mule-cmds.el (set-locale-environment): Revert last
3346 change, since display-graphic-p returns nil when this function is
3347 called during startup. Instead...
3348
3349 * term/w32console.el (terminal-init-w32console): ...setup the
3350 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3351
33522012-07-29 Juri Linkov <juri@jurta.org>
3353
3354 * simple.el (goto-line): Don't display default line number in the
3355 prompt because it should be displayed by `read-number' (bug#9952).
3356 Add the current line number to the defaults of `goto-line' to
3357 allow its easier modification by users with `M-n' (bug#9201).
3358
3359 * subr.el (read-number): Support multiple default values like in
3360 other minibuffer reading functions. Replace `read' with
3361 `string-to-number' for consistency with `number-to-string'.
3362
33632012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3364
3365 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3366 * emulation/viper-init.el (viper-deactivate-input-method-action):
3367 Rename from viper-inactivate-input-method-action.
3368 (viper-deactivate-input-method):
3369 Rename from viper-inactivate-input-method.
3370 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3371 * international/mule-cmds.el (deactivate-input-method):
3372 Rename from inactivate-input-method.
3373 Also run input-method-deactivate-hook.
3374 (deactivate-current-input-method-function):
3375 Rename from inactivate-current-input-method-function.
3376 (input-method-deactivate-hook): New hook.
3377 (input-method-inactivate-hook): Mark obsolete.
3378 (inactivate-input-method): Mark obsolete.
3379
3380 * international/quail.el (quail-activate):
3381 Also run quail-deactivate-hook.
3382 (quail-deactivate): Rename from quail-inactivate.
3383 * international/robin.el (robin-activate):
3384 Also run robin-deactivate-hook.
3385 (robin-deactivate): Rename from robin-inactivate.
3386
33872012-07-29 Chong Yidong <cyd@gnu.org>
3388
3389 * simple.el (indicate-copied-region): New function.
3390 (kill-ring-save): Split off from here.
3391
3392 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3393 (kill-rectangle): Set deactivate-mark to t on read-only error.
3394
3395 * register.el (copy-to-register, copy-rectangle-to-register):
3396 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3397 (append-to-register, prepend-to-register):
3398 Call 2012-07-29 Juri Linkov <juri@jurta.org>
3399
3400 * simple.el (async-shell-command-buffer): New defcustom.
3401 (shell-command): Use it. (Bug#4719)
3402
34032012-07-28 Eli Zaretskii <eliz@gnu.org>
3404
3405 * international/mule-cmds.el (set-locale-environment): In a
3406 console session on MS-Windows, set up keyboard and terminal
3407 encoding from the OEM codepage, not the ANSI codepage.
3408 (Bug#12055)
3409
34102012-07-28 Chong Yidong <cyd@gnu.org>
3411
3412 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3413 gdb-get-location.
3414
34152012-07-28 Leo Liu <sdl.web@gmail.com>
3416
3417 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3418 the alist (bug#12029).
3419
34202012-07-28 Eli Zaretskii <eliz@gnu.org>
3421
3422 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3423 (compile-always, compile-first)
3424 ($(lisp)/calendar/cal-loaddefs.el)
3425 ($(lisp)/calendar/diary-loaddefs.el)
3426 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3427 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3428 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3429 instead of on update-subdirs.
3430 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3431
34322012-07-28 Chong Yidong <cyd@gnu.org>
3433
3434 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3435 directory if vc-deduce-backend returns nil (Bug#7350).
3436
3437 * simple.el (delete-trailing-lines): New option.
3438 (delete-trailing-whitespace): Obey it (Bug#11879).
3439
34402012-07-28 David Engster <deng@randomsample.de>
3441
3442 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3443 Explanation of new 'symbol-qnames feature in doc-strings.
3444 (xml-maybe-do-ns): Return expanded names as plain symbols if
3445 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3446 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3447
34482012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3449
3450 Consistent completion in inferior python with emacs -nw.
3451 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3452 binding in inferior-python-mode-map with "\t".
3453 (python-shell-completion-complete-at-point)
3454 (python-completion-complete-at-point): Remove interactive spec.
3455
34562012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3457
3458 * calc/calccomp.el (math-compose-expr): Undo previous change.
3459
34602012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3461
3462 * progmodes/python.el (python-mode-map): Add keybinding for
3463 run-python.
3464 (python-shell-make-comint): Fix pop-to-buffer call.
3465 (run-python): Autoload. New arg SHOW.
3466 (python-shell-get-or-create-process): Do not pop python process
3467 buffer.
3468
34692012-07-27 Michael Albinus <michael.albinus@gmx.de>
3470
3471 * notifications.el (notifications-on-action-signal)
3472 (notifications-on-closed-signal): Use also the bus address for the map.
3473 (notifications-notify, notifications-close-notification)
3474 (notifications-get-capabilities): Add optional argument BUS.
3475
34762012-07-27 Tassilo Horn <tsdh@gnu.org>
3477
3478 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3479 Add support for the lstlisting and minted environments, and for the
3480 ctable macro.
3481 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3482 labels written in keyvals syntax.
3483
34842012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3485
3486 * calc/calccomp.el (math-compose-expr): Use parentheses when
3487 there is a product in the denominator of a fraction.
3488
34892012-07-26 Eli Zaretskii <eliz@gnu.org>
3490
3491 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3492 ($(lisp)/calendar/diary-loaddefs.el)
3493 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3494 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3495 Fixes failures in parallel bootstrap because subdirs.el is being
3496 rewritten while the autoload files are built at the same time,
3497 which needs to load subdirs.el.
3498
34992012-07-26 Martin Rudalics <rudalics@gmx.at>
3500
3501 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3502 (mouse-drag-line): Don't exit tracking when a switch-frame or
3503 switch-window event occurs (Bug#12006).
3504
35052012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * mouse.el (popup-menu): Fix last change.
3508
35092012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3510
3511 Autoload from Lisp with more care. Follow aliases when looking for
3512 function properties.
3513 * subr.el (autoloadp): New function.
3514 (symbol-file): Use it.
3515 (function-get): New function.
3516 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3517 autoload-do-load.
3518 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3519 (lisp-indent-function):
3520 * emacs-lisp/gv.el (gv-get):
3521 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3522 * emacs-lisp/byte-opt.el (byte-optimize-form):
3523 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3524 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3525 Use function-get.
3526 * emacs-lisp/cl.el: Don't propagate function properties any more.
3527
3528 * speedbar.el (speedbar-add-localized-speedbar-support):
3529 * emacs-lisp/disass.el (disassemble-internal):
3530 * desktop.el (desktop-load-file):
3531 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3532 (describe-function-1):
3533 * emacs-lisp/find-func.el (find-function-noselect):
3534 * emacs-lisp/elp.el (elp-instrument-function):
3535 * emacs-lisp/advice.el (ad-has-proper-definition):
3536 * apropos.el (apropos-safe-documentation, apropos-macrop):
3537 * emacs-lisp/debug.el (debug-on-entry):
3538 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3539 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3540 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3541
35422012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3543
3544 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3545 function, not an obsolete variable (Bug#12046).
3546
35472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3548
3549 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3550
35512012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3552
3553 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3554 window only if it is still live (Bug#12034).
3555
35562012-07-25 Martin Rudalics <rudalics@gmx.at>
3557
3558 * subr.el (redirect-frame-focus): Add advertised calling
3559 convention (Bug#12030).
3560
35612012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3562
3563 Prefer typical American spelling for "acknowledgment".
3564 * vc/add-log.el (change-log-acknowledgment): Rename from
3565 change-log-acknowledgement, with an alias for the old name.
3566
35672012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3568
3569 * calc-alg.el (math-simplify-divide): Don't cross multiply
3570 in an equation when the lhs is a variable.
3571
35722012-07-24 Julien Danjou <julien@danjou.info>
3573
3574 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3575 Remove, unused.
3576
35772012-07-23 Eli Zaretskii <eliz@gnu.org>
3578
3579 * startup.el (command-line): Don't display an empty user name in
3580 the error message about non-existent home directory, when
3581 init-file-user was set to an empty string. See
3582 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3583 for the details and context.
3584
35852012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3586
3587 * ses.el (ses-cell-formula-aset): New macro.
3588 (ses-cell-references-aset): New macro.
3589 (ses-cell-p): New function.
3590 (ses-rename-cell): Do no longer rely on complex operations like
3591 ses-cell-set-formula or ses-set-cell to change the cell and handle
3592 the undo at the same time, but rather use lower level new macros
3593 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3594 the undo directly. Refresh the mode line.
3595
35962012-07-21 Leo Liu <sdl.web@gmail.com>
3597
3598 * progmodes/cc-cmds.el (c-defun-name):
3599 Use match-string-no-properties instead for consistency.
3600
36012012-07-20 Leo Liu <sdl.web@gmail.com>
3602
3603 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3604 (Bug#7879)
3605
3606 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3607
36082012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3611 * progmodes/bug-reference.el, misearch.el: Provide themselves
3612 (bug#11915).
3613
3614 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3615 of narrowed buffer (bug#11966).
3616
36172012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3618
3619 * ses.el (ses-rename-cell): Set new name also in reference list of
3620 cells of which the renamed cell depends.
3621
36222012-07-20 Masatake YAMATO <yamato@redhat.com>
3623
3624 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3625 to check whether menu-bar is shown or not. If not shown,
3626 show the menu-bar as a popup menu instead of using tmm.
3627 * mouse.el (popup-menu): Accept `point' as `position' argument.
3628
36292012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3630
3631 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3632 up inside string symbol literal (bug#11923).
3633
36342012-07-20 Eli Zaretskii <eliz@gnu.org>
3635
3636 * startup.el (fancy-startup-text): Read the whole tutorial, not
3637 just its first 256 bytes. Prevents gibberish in display of the
3638 tutorial title.
3639
36402012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3641
3642 Drop idle buffer compaction due to an absence of the
3643 proved efficiency.
3644 * compact.el: Remove.
3645
36462012-07-19 Sam Steingold <sds@gnu.org>
3647
3648 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3649 vc-bzr-pull & vc-bzr-merge-branch.
3650 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3651 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3652 for consistency with compilation-error-regexp-alist.
3653 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3654 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3655 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3656 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3657
36582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * emacs-lisp/chart.el: Use lexical-binding.
3661 (chart-emacs-storage): Don't hardcode the list of entries.
3662
36632012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3664
3665 Next round of tweaks caused by Fgarbage_collect changes.
3666 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3667
36682012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3669
3670 Compact buffers when idle.
3671 * compact.el: New file.
3672
36732012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * subr.el (eventp): Presume that if it looks vaguely like an event,
3676 it's an event (bug#10190).
3677
36782012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3679
3680 Enhancements to ppss related code (thanks Stefan).
3681 * progmodes/python.el (python-indent-context)
3682 (python-indent-calculate-indentation, python-indent-dedent-line)
3683 (python-indent-electric-colon, python-nav-forward-block)
3684 (python-mode-abbrev-table)
3685 (python-info-assignment-continuation-line-p): Simplify checks
3686 for ppss context.
3687 (python-info-continuation-line-p): Cleanup.
3688 (python-info-ppss-context): Do not catch 'quote.
3689 (python-info-ppss-context-type)
3690 (python-info-ppss-comment-or-string-p): Simplify.
3691
36922012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3693
3694 * progmodes/python.el: Enhancements to eldoc support.
3695 (python-info-current-symbol): New function.
3696 (python-eldoc-at-point): Use python-info-current-symbol.
3697 (python-info-current-defun): Fix cornercase on first defun scan.
3698 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3699 and signal error when no inferior python process is available.
3700
37012012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3702
3703 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3704 assume it's always t.
3705 (vc-git-registered): Remove caching, the function is only called
3706 once.
3707 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3708
37092012-07-18 Chong Yidong <cyd@gnu.org>
3710
3711 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3712
3713 * simple.el (count-words): Report on narrowing (Bug#9959).
3714
3715 * bindings.el: Bind M-= to count-words.
3716
3717 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3718
37192012-07-18 Masatake YAMATO <yamato@redhat.com>
3720
3721 * progmodes/sh-script.el (sh-imenu-generic-expression):
3722 Capture a function with `function' keyword and without parentheses
3723 like "function FOO" (bug#11856).
3724
37252012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3726
3727 * window.el (split-window-sensibly): Make WINDOW argument
3728 optional.
3729
37302012-07-18 Chong Yidong <cyd@gnu.org>
3731
3732 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3733
3734 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3735 and make C-x 8 RET exit isearch (Bug#11439).
3736
3737 * international/iso-transl.el: Move isearch-mode-map key
3738 definitions to isearch.el.
3739
37402012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3743 (eieio-defclass): Use gv-define-setter when possible.
3744
37452012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3746
3747 Reflect recent changes in Fgarbage_collect.
3748 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3749 reflect new format of data returned by Fgarbage_collect.
3750
37512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3752
3753 New utility functions + python-info-ppss-context fix (Bug#11910).
3754 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3755 (python-info-ppss-comment-or-string-p): New functions.
3756 (python-info-ppss-context): Small fix for string check.
3757
37582012-07-17 Juri Linkov <juri@jurta.org>
3759
3760 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3761 (dired-do-async-shell-command): Don't add `*' at the end of the
3762 command (Bug#11815).
3763 (dired-do-shell-command): Doc fix.
3764 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3765 Join the individual commands using either "&" or ";" as the
3766 separator depending on the values of these trailing characters.
3767 At the end re-add the trailing "&". (Bug#10598)
3768
3769 * simple.el (async-shell-command): Sync the interactive spec with
3770 `shell-command'. Doc fix.
3771 (shell-command): Doc fix.
3772
37732012-07-17 Juri Linkov <juri@jurta.org>
3774
3775 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3776
37772012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3778
3779 Final renames and doc fixes for movement commands (bug#11899).
3780 * progmodes/python.el (python-nav-beginning-of-statement):
3781 Rename from python-nav-statement-start.
3782 (python-nav-end-of-statement): Rename from
3783 python-nav-statement-end.
3784 (python-nav-beginning-of-block): Rename from
3785 python-nav-block-start.
3786 (python-nav-end-of-block): Rename from python-nav-block-end.
3787
37882012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3789
3790 * progmodes/python.el (python-shell-send-string-no-output):
3791 Allow accept-process-output to quit, keeping shell process ready for
3792 future interactions (Bug#11868).
3793
37942012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3797
3798 * emacs-lisp/elint.el (elint-find-args-in-code):
3799 Use help-function-arglist, so as to handle lexical byte-code.
3800
3801 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3802 change (bug#11826).
3803
38042012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3807 Avoid spuriously marking the buffer as modified because of c-is-sws.
3808
3809 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3810 as not-a-comment (bug#11946).
3811
3812 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3813 for uninterned vars.
3814
3815 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3816 Use read-event since we don't really want to read chars but bytes.
3817
3818 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3819 $$..$$ but also $..$ using regexps (bug#11953).
3820 Use tex-verbatim for \url and \path.
3821 (tex-font-lock-keywords): Define as defconst like the others.
3822 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3823
38242012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3825
3826 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3827 alias for insert-char.
3828
38292012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3830
3831 * progmodes/python.el: Simplified imenu implementation.
3832 (python-nav-jump-to-defun): Remove command.
3833 (python-mode-map): Use `imenu' instead.
3834 (python-nav-list-defun-positions-cache)
3835 (python-imenu-include-defun-type, python-imenu-make-tree)
3836 (python-imenu-subtree-root-label, python-imenu-index-alist):
3837 Remove vars.
3838 (python-nav-list-defun-positions, python-nav-read-defun)
3839 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3840 (python-imenu-make-tree, python-imenu-create-index):
3841 Remove functions.
3842 (python-mode): Update to interact with imenu by setting
3843 `imenu-extract-index-name-function' only.
3844
38452012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3846
3847 * progmodes/python.el: Enhancements to navigation commands.
3848 (python-nav-backward-sentence)
3849 (python-nav-forward-sentence): Remove.
3850 (python-nav-backward-statement, python-nav-forward-statement)
3851 (python-nav-statement-start, python-nav-statement-end)
3852 (python-nav-backward-block, python-nav-forward-block)
3853 (python-nav-block-start, python-nav-block-end)
3854 (python-nav-forward-sexp-function)
3855 (python-info-current-line-comment-p)
3856 (python-info-current-line-empty-p): New functions.
3857 (python-indent-context): Use `python-nav-statement-start'.
3858
38592012-07-16 Michael Albinus <michael.albinus@gmx.de>
3860
3861 * eshell/em-ls.el (eshell/ls): Use `apply'.
3862
3863 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3864 multi-hops, instead of Tramp internals.
3865
3866 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3867
3868 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3869 when F1 and F2 are located on different hosts.
3870
38712012-07-14 Chong Yidong <cyd@gnu.org>
3872
3873 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3874 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3875 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3876 (xterm-mouse--read-event-sequence-1000)
3877 (xterm-mouse--read-event-sequence-1006): New functions. For old
3878 mouse protocol, handle M-mouse-X events correctly.
3879 (xterm-mouse-event): New arg specifying mouse protocol.
3880 (turn-on-xterm-mouse-tracking-on-terminal)
3881 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3882 sequence to toggle extended coordinates on newer XTerms.
3883 This appears to be harmless on terminals which do not support this.
3884
38852012-07-14 Leo Liu <sdl.web@gmail.com>
3886
3887 Add fringe bitmap indicators for flymake. (Bug#11253)
3888 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3889 (flymake-make-overlay): New arg BITMAP.
3890 (flymake-error-bitmap, flymake-warning-bitmap)
3891 (flymake-fringe-indicator-position): New user variables.
3892
3893 * fringe.el: New bitmap exclamation-mark.
3894
38952012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3896
3897 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3898 also (Bug#7879).
3899
39002012-07-14 Chong Yidong <cyd@gnu.org>
3901
3902 * electric.el (electric-pair-post-self-insert-function): Fix pair
3903 insertion in empty-region case (Bug#11520).
3904
39052012-07-14 Chong Yidong <cyd@gnu.org>
3906
3907 * bindings.el: Consolidate ctl-x-r-map bindings.
3908 Bind copy-rectangle-as-kill to C-x r w.
3909
3910 * rect.el, register.el: Move bindings to bindings.el.
3911
39122012-07-14 Reuben Thomas <rrt@sc3d.org>
3913
3914 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3915
39162012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3917
3918 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3919
39202012-07-13 Juanma Barranquero <lekktu@gmail.com>
3921
3922 * bindings.el (top): Use `mapc' instead of `mapcar'.
3923
3924 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3925
39262012-07-13 Michael Albinus <michael.albinus@gmx.de>
3927
3928 * progmodes/sql.el (sql-comint): Suppress the check for program on
3929 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3930 (Bug#11908)
3931
39322012-07-13 Chong Yidong <cyd@gnu.org>
3933
3934 * bindings.el: Assign a non-nil permanent-local property to
3935 per-buffer variables which lack a default value (Bug#11930).
3936
3937 * help-fns.el (describe-variable): In the "automatically becomes
3938 local" notice, take note of permanent-local variables.
3939
39402012-07-13 Chong Yidong <cyd@gnu.org>
3941
3942 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3943 to allow printing the message when called from Lisp.
3944
3945 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3946 Remove toggle-read-only.
3947
3948 * bs.el (bs-toggle-readonly):
3949 * buff-menu.el (Buffer-menu-toggle-read-only):
3950 Remove with-no-warnings around toggle-read-only.
3951
3952 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3953 Remove with-no-warnings around toggle-read-only.
3954 (ffap-read-only, ffap-read-only-other-window)
3955 (ffap-read-only-other-frame): Callers changed.
3956
3957 * help-mode.el: Don't require view package.
3958 (help-mode-finish): Set buffer-read-only instead of calling
3959 toggle-read-only.
3960
3961 * bindings.el (mode-line-toggle-read-only):
3962 * dired.el (dired-toggle-read-only):
3963 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3964 with non-nil second arg.
3965
3966 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3967 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3968 directly.
3969
39702012-07-12 Eli Zaretskii <eliz@gnu.org>
3971
3972 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3973 not incf.
3974
39752012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 More CL cleanups and reduction of use of cl.el.
3978 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3979 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3980 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3981 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3982 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3983 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3984 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3985 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3986 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3987 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3988 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3989 * eshell/em-cmpl.el, eshell/em-banner.el:
3990 * calendar/parse-time.el: Use cl-lib.
3991 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3992 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3993 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3994 * term/ns-win.el, term.el, shell.el, ps-samp.el:
3995 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3996 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3997 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3998 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3999 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4000 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4001 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4002 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4003 `lambda' rather than with `quote'.
4004 (eshell-do-opt): Adjust accordingly.
4005 (eshell-process-option): Simplify.
4006 * eshell/esh-var.el:
4007 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4008 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4009 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4010 to `pcase--dontcare'.
4011 * emacs-lisp/cl.el (labels): Mark obsolete.
4012 (cl--letf, letf): Move to cl-lib.
4013 (cl--letf*, letf*): Remove.
4014 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4015 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4016 (cl-progv): Rewrite.
4017 (cl--letf, cl-letf): Move from cl.el.
4018 (cl-letf*): New macro.
4019 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4020
40212012-07-11 Michael Albinus <michael.albinus@gmx.de>
4022
4023 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4024
40252012-07-11 Chong Yidong <cyd@gnu.org>
4026
4027 * vc/log-edit.el (log-edit-vc-backend): New variable.
4028 (log-edit): Doc fix.
4029
4030 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4031 argument of log-edit to set up all local variables.
4032 (vc-start-logentry): New optional arg specifying VC backend.
4033
4034 * vc/vc.el (vc-checkin): Use it.
4035 (vc-deduce-fileset): Handle Log Edit buffers.
4036 (vc-diff): Make first argument optional too.
4037
4038 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4039
40402012-07-10 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4043 command, just in case. The function is not needed anymore.
4044 (eshell-external-command): Do not call `eshell-remote-command'.
4045
40462012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 Reduce use of (require 'cl).
4049 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4050 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4051 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4052 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4053 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4054 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4055 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4056 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4057 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4058 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4059 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4060 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4061 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4062 (byte-compile-unfold-bcf, byte-compile-check-variable):
4063 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4064 (byte-compile-nilconstp):
4065 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4066 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4067
4068 * emacs-lisp/gv.el (cond): Make it a valid place.
4069 (if): Simplify slightly.
4070
4071 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4072 (pcase--self-quoting-p): New function.
4073 (pcase--u1): Use it.
4074
40752012-07-10 Glenn Morris <rgm@gnu.org>
4076
4077 * emacs-lisp/authors.el (authors-fixed-entries):
4078 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4079
40802012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4081
4082 Rename configure.in to configure.ac (Bug#11603).
4083 * emacs-lisp/authors.el (authors-canonical-file-name):
4084 * progmodes/autoconf.el (autoconf-mode):
4085 Prefer configure.ac to configure.in.
4086
40872012-07-08 Chong Yidong <cyd@gnu.org>
4088
4089 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4090 Implement the mouse-1-click-follows-link handling properly.
4091
4092 * info.el (Info-link-keymap): Use follow-link mechanism for
4093 header-line links (Bug#374).
4094
4095 * simple.el (deactivate-mark): Do not set the primary selection
4096 if another program has acquired it (Bug#11772).
4097
40982012-07-07 Kevin Ryde <user42@zip.com.au>
4099
4100 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4101 (woman-decode-region): Replace escaped-escapes without destroying
4102 bold or underline (Bug#11552).
4103 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4104
41052012-07-07 Chong Yidong <cyd@gnu.org>
4106
4107 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4108 (interprogram-cut-function, interprogram-paste-function):
4109 Mention that we typically mean the clipboard.
4110
41112012-07-06 Glenn Morris <rgm@gnu.org>
4112
4113 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4114
4115 * files.el (toggle-read-only): Restrict message to interactive use.
4116
41172012-07-06 Michael Albinus <michael.albinus@gmx.de>
4118
4119 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4120
4121 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4122
41232012-07-06 Glenn Morris <rgm@gnu.org>
4124
4125 * Makefile.in (compile-one-process): Rename from "recompile".
4126
4127 * Makefile.in (bzr-update): "compile" is the same as "recompile
4128 autoloads", but parallelizable, so use that instead.
4129
41302012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4131
4132 * window.el (quit-window): Always restore window height when
4133 it's saved in quit-restore parameter (Bug#11810).
4134
41352012-07-06 Glenn Morris <rgm@gnu.org>
4136
4137 * simple.el (kill-whole-line): Doc tweak.
4138
41392012-07-06 Eli Zaretskii <eliz@gnu.org>
4140
4141 * files.el (file-relative-name): Compare file names
4142 case-insensitively if on MS-Windows or MS-DOS, or if
4143 read-file-name-completion-ignore-case is non-nil. Don't use
4144 case-fold-search for this purpose. (Bug#11827)
4145
41462012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4147
4148 * calendar/cal-dst.el (calendar-current-time-zone):
4149 Return calendar-current-time-zone-cache if non-nil.
4150
41512012-07-17 Masatake YAMATO <yamato@redhat.com>
41522012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 * calendar/cal-dst.el (calendar-current-time-zone):
4155 Return calendar-current-time-zone-cache if non-nil.
4156
41572012-07-06 Glenn Morris <rgm@gnu.org>
4158
4159 * Makefile.in (cvs-update): Remove old alias.
4160
41612012-07-05 Michael Albinus <michael.albinus@gmx.de>
4162
4163 Sync with Tramp 2.2.6-pre.
4164
4165 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4166 compatible declaration.
4167
4168 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4169 Protect `list-load-path-shadows' call.
4170
4171 * net/tramp-compat.el (top): Require packages, which aren't
4172 autoloaded anymore for XEmacs. Protect call of
4173 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4174 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4175 it hurts at least for SXEmacs.
4176 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4177 standard-value for `temporary-file-directory'.
4178
4179 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4180 Redirect stderr to /dev/null.
4181 (tramp-sh-handle-write-region): uid and gid can be floats.
4182 Reported by Russell Sim <russell.sim@gmail.com>.
4183 (tramp-sh-handle-vc-registered): Hide errors.
4184 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4185 and `start-file-process'.
4186 (tramp-maybe-open-connection): Check also whether `non-essential'
4187 is bound.
4188
41892012-07-04 Chong Yidong <cyd@gnu.org>
4190
4191 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4192 (xml-parse-tag): Likewise, and avoid changing entity tables.
4193 (xml-syntax-table): Define from scratch, making sure not to give
4194 x2000 and other Unicode spaces whitespace syntax, since those are
4195 not spaces in XML.
4196 (xml-parse-fragment): Delete unused function.
4197 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4198 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4199 (xml-entity-ref, xml-pe-reference-re)
4200 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4201 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4202 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4203 (xml-entity-value-re): Use syntax references in regexps where
4204 possible; no need to define inside a let-binding.
4205 (xml-parse-dtd): Use xml-pe-reference-re.
4206 (xml-entity-or-char-ref-re): New defconst.
4207 (xml-parse-string, xml-substitute-special): Use it.
4208
42092012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4212 (find-file--read-only): New function.
4213 (find-file-read-only, find-file-read-only-other-window)
4214 (find-file-read-only-other-frame): Use it.
4215 (insert-file-contents-literally): Don't `fset'.
4216 (get-free-disk-space): Use locate-dominating-file.
4217
4218 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4219 function is already compiled.
4220
4221 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4222
42232012-07-03 Michael Albinus <michael.albinus@gmx.de>
4224
4225 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4226 files on the same host.
4227
42282012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4229
4230 * help-fns.el (describe-function-1): Only call
4231 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4232
42332012-07-03 Chong Yidong <cyd@gnu.org>
4234
4235 * xml.el: Protect parser against XML bombs.
4236 (xml-entity-expansion-limit): New variable.
4237 (xml-parse-string, xml-substitute-special): Use it.
4238 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4239
42402012-07-03 Glenn Morris <rgm@gnu.org>
4241
4242 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4243 Allow linking to specific messages in debbugs reports (eg 123#5).
4244
42452012-07-02 Chong Yidong <cyd@gnu.org>
4246
4247 * xml.el: Fix entity and character reference expansion, allowing
4248 them to expand into markup as per XML spec.
4249 (xml-default-ns): New variable.
4250 (xml-entity-alist): Use XML spec definitions for lt and amp.
4251 (xml-parse-region): Make first two arguments optional.
4252 Discard text properties.
4253 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4254 All callers changed.
4255 (xml-parse-tag): Call xml-parse-tag-1. For backward
4256 compatibility, this function should not modify buffer contents.
4257 (xml-parse-tag-1): Fix opening-tag regexp.
4258 (xml-parse-string): Rewrite, handling entity and character
4259 references properly.
4260 (xml--entity-replacement-text): Signal an error if a parameter
4261 entity is undefined.
4262
42632012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 * comint.el (comint-output-filter): Filter out repeated prompts.
4266
4267 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4268 and file-name-absolute-p.
4269 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4270 internal calls.
4271
42722012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4273
4274 Spelling fixes.
4275 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4276 Rename from byte-compile--refiy-function. All uses changed.
4277
42782012-07-01 Chong Yidong <cyd@gnu.org>
4279
4280 * xml.el (xml--parse-buffer): New function. Move most of
4281 xml-parse-region here.
4282 (xml-parse-region): Copy region into a temporary buffer, since
4283 parameter entity substitution requires changing buffer contents.
4284 Use xml--parse-buffer.
4285 (xml-parse-file): Use xml--parse-buffer.
4286 (xml-parse-dtd): Make parameter entity substitution work right.
4287 Use proper regexps for ELEMENT declarations (Bug#7172).
4288
42892012-06-30 Glenn Morris <rgm@gnu.org>
4290
4291 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4292
4293 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4294 Remove outdated and unnecessary dbus declarations.
4295
42962012-06-30 Eli Zaretskii <eliz@gnu.org>
4297
4298 * emacs-lisp/timer.el (timer-until): Subtract results of
4299 float-time, instead of taking float-time of the result of
4300 time-subtract, since float-time signals an error for negative time
4301 arguments.
4302
43032012-06-30 Chong Yidong <cyd@gnu.org>
4304
4305 * xml.el (xml-*-re): Convert defvars into defconsts, and
4306 eval-and-compile them so eval-and-compile works on derivatives.
4307 (xml--entity-replacement-text): Use eval-and-comple.
4308
43092012-06-30 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * vc/vc-git.el (vc-git-registered): Use cache property
4312 `git-registered'.
4313 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4314 `vc-git-working-revision' in order to benefit from the cache.
4315 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4316
43172012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4318
4319 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4320 removed (likely outside Emacs). (Bug#11757)
4321
43222012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4323
4324 * emacs-lisp/cl-lib.el: Require macroexp.
4325
43262012-06-30 Chong Yidong <cyd@gnu.org>
4327
4328 * xml.el: Implement XML parameter entities.
4329 (xml-parameter-entity-alist): New variable.
4330 (xml-parse-region, xml-parse-fragment): Preserve previous values
4331 of xml-entity-alist and xml-parameter-entity-alist, so that
4332 repeated calls on different documents do not change them.
4333 (xml-parse-tag): Fix doctype regexp.
4334 (xml--entity-replacement-text): New function.
4335 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4336 properly requires url retrieval which is unimplemented.
4337 (xml-escape-string): Doc fix.
4338
43392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4342
43432012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4344
4345 * fringe.el (fringe-mode): Doc fix.
4346
43472012-06-29 Michael Albinus <michael.albinus@gmx.de>
4348
4349 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4350 is non-nil.
4351 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4352 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4353
43542012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4355
4356 * calendar/cal-dst.el (calendar-current-time-zone):
4357 Return calendar-current-time-zone-cache if non-nil.
4358
43592012-06-29 Masatake YAMATO <yamato@redhat.com>
4360
4361 * progmodes/which-func.el (which-func-format):
4362 Add mouse-face. (Bug#11698)
4363
43642012-06-29 Leo Liu <sdl.web@gmail.com>
4365
4366 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4367
43682012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4369
4370 * minibuffer.el (minibuffer-confirm-exit-commands):
4371 Add completion-at-point (bug#11725).
4372
43732012-06-29 Glenn Morris <rgm@gnu.org>
4374
4375 * progmodes/f90.el (f90-font-lock-keywords-2):
4376 Add some preprocessor elements. (Bug#10499)
4377
43782012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4381 Use syntax-propertize (bug#11739).
4382
43832012-06-28 Juanma Barranquero <lekktu@gmail.com>
4384
4385 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4386
43872012-06-28 Julien Danjou <julien@danjou.info>
4388
4389 * term.el (term-handle-colors-array): Use a set of new faces to
4390 color the terminal. Also uses :inverse-video property.
4391 (term-default-fg-color): Set to nil by default, deprecate in favor
4392 of `term-face'.
4393 (term-default-bg-color): Set to nil by default, deprecate in favor
4394 of `term-face'.
4395 (term-current-face): Use `term-face' by default.
4396 (term-bold-attribute): Variable deleted.
4397
43982012-06-28 Glenn Morris <rgm@gnu.org>
4399
4400 * simple.el (completion-list-mode-finish):
4401 Don't use toggle-read-only. (Since completion-list-mode has
4402 a special mode-class, it wasn't doing anything extra anyway.)
4403
44042012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 Make inlining of other-mode interpreted functions work (bug#11799).
4407 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4408 (byte-compile): Use it to fix compilation of lexical-binding closures.
4409 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4410 function, if needed.
4411
44122012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * help-mode.el (help-make-xrefs): Don't just withstand
4415 cyclic-variable-indirection but any error in documentation-property.
4416
4417 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4418 memory use.
4419 * bindings.el (bindings--define-key): New function.
4420 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4421 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4422 * bindings.el: Use it to purecopy define-key bindings.
4423
4424 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4425
4426 * emacs-lisp/cl.el (flet): Mark obsolete.
4427 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4428 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4429 * progmodes/js.el (js-c-fill-paragraph):
4430 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4431 (ebrowse-switch-member-buffer-to-derived-class):
4432 * play/5x5.el (5x5-solver): Use cl-flet.
4433
4434 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4435 (cl--symbol-function): New macro.
4436 (cl--letf, cl--letf*): Use it.
4437
4438 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4439 Strip "toggle-" if any.
4440
44412012-06-27 Glenn Morris <rgm@gnu.org>
4442
4443 * info.el (Info-default-directory-list): Move here from paths.el.
4444 * paths.el: Remove file, which is now empty.
4445 * loadup.el: No longer load "paths".
4446
4447 * custom.el (custom-initialize-delay): Doc fix.
4448
4449 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4450 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4451 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4452 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4453 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4454 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4455 * eshell/eshell.el (eshell-defgroup): Remove alias.
4456
44572012-06-27 Chong Yidong <cyd@gnu.org>
4458
4459 * help.el (help-enable-auto-load): New variable.
4460
4461 * help-fns.el (help-fns--autoloaded-p): New function.
4462 (describe-function-1): Refer to a function as "autoloaded" if it
4463 was autoloaded at any time in the past. Perform autoloading if
4464 help-enable-auto-load is non-nil.
4465
44662012-06-26 Eli Zaretskii <eliz@gnu.org>
4467
4468 * makefile.w32-in (compile, compile-always): Depend on
4469 update-subdirs, not on subdirs.el. Otherwise, several different
4470 sub-targets of 'bootstrap' running in parallel could
4471 simultaneously write to subdirs.el, producing a garbled file.
4472
44732012-06-26 Sam Steingold <sds@gnu.org>
4474
4475 * files.el (file-name-base): New convenience function.
4476 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4477 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4478 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4479 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4480 * textmodes/ispell.el, textmodes/reftex-ref.el:
4481 * textmodes/tex-mode.el: Use it.
4482 Did not touch cedet and org because they are maintained elsewhere.
4483
44842012-06-26 Martin Rudalics <rudalics@gmx.at>
4485
4486 * calendar/calendar.el (calendar-exit): Don't try to delete or
4487 iconify last frame. See:
4488 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4489
44902012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4491
4492 * server.el (server-process-filter): Remember dir in the
4493 process's `server-client-directory' properties.
4494
44952012-06-24 Chong Yidong <cyd@gnu.org>
4496
4497 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4498 non-tag text.
4499
45002012-06-23 Juanma Barranquero <lekktu@gmail.com>
4501
4502 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4503
45042012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * help-fns.el (describe-variable): Don't croak when doc is not found.
4507 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4508 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4509 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4510 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4511 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4512 ((lambda ..) ..).
4513 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4514
45152012-06-23 Chong Yidong <cyd@gnu.org>
4516
4517 * info.el (Info-mouse-follow-link): Accept symbol values of
4518 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4519 (Info-fontify-node): Use Info-link-keymap for all navigation
4520 buttons, with link-args property to perform the desired action.
4521 (Info-link-keymap): Doc fix.
4522 (Info-next-link-keymap, Info-prev-link-keymap)
4523 (Info-up-link-keymap): Delete now-unused keymaps.
4524
45252012-06-23 Chong Yidong <cyd@gnu.org>
4526
4527 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4528
4529 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4530 system abbrevs.
4531
4532 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4533
45342012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4537 (bug#11719).
4538
4539 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4540 the requote function doesn't work properly (bug#11714).
4541
45422012-06-23 Glenn Morris <rgm@gnu.org>
4543
4544 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4545
45462012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4547
4548 Further GV/CL cleanups.
4549 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4550 gv-expander.
4551 (gv--defun-declaration): New function.
4552 (defun-declarations-alist): Use it.
4553 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4554 (gv-place): Autoload.
4555 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4556 original definition of dotimes and dolist.
4557 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4558 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4559 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4560 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4561 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4562 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4563 to the function's definition.
4564 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4565 * window.el:
4566 * files.el:
4567 * faces.el:
4568 * env.el: Don't use CL.
4569
45702012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4571
4572 Support higher-resolution time stamps (Bug#9000).
4573
4574 * calendar/time-date.el (with-decoded-time-value): New arg
4575 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4576 (encode-time-value): New optional arg PICO. New type 3.
4577 (time-to-seconds) [!float-time]: Support the new picoseconds
4578 component if it's used.
4579 (seconds-to-time, time-subtract, time-add):
4580 Support ps-resolution time stamps as well.
4581
4582 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4583 (timerp): Timer vectors now have length 9, not 8.
4584 (timer--time): Support new-style (4-part) time stamps.
4585 (timer-next-integral-multiple-of-time): Time stamps now have
4586 picosecond resolution, so take a bit more care about rounding.
4587 (timer-relative-time, timer-inc-time): New optional arg psecs.
4588 (timer-set-time-with-usecs): Set psecs to 0.
4589 (timer--activate): Check psecs component, too.
4590
4591 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4592
45932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4596 Move the non-essential binding to the post/pre-command-hook where it is
4597 more obviously correct.
4598
4599 * subr.el (read-passwd): Don't use a history at all.
4600 * savehist.el (savehist-save): Remove password saved accidentally
4601 because of the above bug.
4602
46032012-06-22 Bastien Guerry <bzg@gnu.org>
4604
4605 * files.el (toggle-read-only): Display a message telling whether
4606 the buffer is read-only or not (bug#11726).
4607
46082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4609
4610 * emacs-lisp/gv.el: New file.
4611 * subr.el (push, pop): Extend to generalized variables.
4612 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4613 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4614 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4615 gv-define-simple-setter, and gv-define-expander.
4616 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4617 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4618 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4619 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4620 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4621 gv-letplace.
4622 (cl-defstruct): Don't define setf-method any more.
4623 * emacs-lisp/cl.el (flet): Don't autoload.
4624 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4625 (define-setf-expander, defsetf, define-modify-macro)
4626 (cl-struct-setf-expander): Move from cl-lib.el.
4627 * emacs-lisp/syntax.el:
4628 * emacs-lisp/ewoc.el:
4629 * emacs-lisp/smie.el:
4630 * emacs-lisp/cconv.el:
4631 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4632 (timer--time): Use gv-define-simple-setter.
4633 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4634 to avoid coding-system problems in subr.el. Adjust all users.
4635 (macroexp--maxsize, macroexp-small-p): New functions.
4636 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4637 * scroll-bar.el (scroll-bar-mode):
4638 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4639 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4640 * winner.el (winner-configuration, winner-make-point-alist)
4641 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4642 * files.el (locate-file-completion-table): Avoid list*.
4643
46442012-06-22 Chong Yidong <cyd@gnu.org>
4645
4646 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4647 (dired-create-files): Doc fix (Bug#11329).
4648 (dired-do-copy): Doc fix (Bug#11334).
4649 (dired-mark-read-string): Doc fix (Bug#11553).
4650
4651 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4652 Doc fix (Bug#11326).
4653 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4654 (dired-dwim-target): Doc fix.
4655
4656 * wdired.el (wdired-mode): Doc fix.
4657
46582012-06-22 Glenn Morris <rgm@gnu.org>
4659
4660 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4661 (pcmpl-rpm-cache-stamp-file): New constant.
4662 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4663 (pcmpl-rpm-packages): Optionally cache list of packages.
4664
4665 * pcmpl-rpm.el (pcmpl-rpm): New group.
4666 (pcmpl-rpm-query-options): New option.
4667 (pcmpl-rpm-packages): No need to inline it.
4668 Use pcmpl-rpm-query-options.
4669
4670 * calendar/calendar.el (calendar-in-read-only-buffer):
4671 Avoid some needless mode changes.
4672
46732012-06-21 Chong Yidong <cyd@gnu.org>
4674
4675 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4676 (desktop-path): Remove . from the default value (Bug#10977).
4677 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4678
46792012-06-20 Chong Yidong <cyd@gnu.org>
4680
4681 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4682
46832012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4684
4685 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4686 (bug#11201).
4687
46882012-06-20 Chong Yidong <cyd@gnu.org>
4689
4690 * term.el (term-window-width): Handle the case of a missing right
4691 fringe (Bug#8837).
4692 (term-check-size): Use window-text-height (Bug#5445).
4693 (term-mode): Use define-derived-mode. Minor cleanups.
4694 Set font-lock-defaults (Bug#7692).
4695 (term-move-columns, term-insert-char, term-emulate-terminal)
4696 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4697
46982012-06-20 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * net/ange-ftp.el (ange-ftp-get-passwd):
4701 Bind `enable-recursive-minibuffers'.
4702 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4703
47042012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4705
4706 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4707
47082012-06-19 Glenn Morris <rgm@gnu.org>
4709
4710 * progmodes/python.el (python-mode): Derive from prog-mode.
4711
47122012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4713
4714 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4715 (edt-user-menu-bar-update-buffers): New functions.
4716 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4717
47182012-06-19 Chong Yidong <cyd@gnu.org>
4719
4720 * subr.el (with-selected-window): Preserve the selected window's
4721 terminal's top-frame (Bug#4702).
4722
4723 * window.el (save-selected-window): Likewise.
4724
47252012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 * progmodes/python.el (python-rx-constituents): Move backquote.
4728 (python-skeleton-define, python-define-auxiliary-skeleton):
4729 Use `declare'.
4730
47312012-06-18 Michael Albinus <michael.albinus@gmx.de>
4732
4733 * minibuffer.el (read-file-name-default): Revert the patch from
4734 2012-06-17.
4735
47362012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4739 (pcase--u1, pcase--q1): Don't use apply-partially.
4740
47412012-06-18 Glenn Morris <rgm@gnu.org>
4742
4743 * progmodes/python.el (python-proc, python-buffer)
4744 (python-send-receive, python-send-string): Fix obsolete versions.
4745
47462012-06-18 Martin Rudalics <rudalics@gmx.at>
4747
4748 * window.el (special-display-p): Completely remove stringp
4749 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4750
47512012-06-17 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4754
4755 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4756
4757 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4758 * net/tramp-sh.el (tramp-maybe-open-connection):
4759 Throw if `non-essential' is non-nil.
4760
47612012-06-17 Martin Rudalics <rudalics@gmx.at>
4762
4763 * window.el (special-display-p): Signal an error if BUFFER-NAME
4764 is not a string (Bug#11713).
4765
47662012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4767
4768 * progmodes/python.el (python-info-beginning-of-backslash):
4769 Rename from python-info-beginning-of-backlash, as a spelling fix.
4770
47712012-06-17 Chong Yidong <cyd@gnu.org>
4772
4773 * term.el (term-emulate-terminal): If term-check-size is called,
4774 move point to the process mark without resetting point (Bug#4635).
4775
47762012-06-17 Glenn Morris <rgm@gnu.org>
4777
4778 * international/mule-cmds.el (mule-menu-keymap)
4779 (set-language-environment, set-locale-environment): Doc tweaks.
4780
47812012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4782
4783 * cus-face.el (custom-face-attributes): Add wave-style underline
4784 attribute.
4785 * faces.el (set-face-attribute): Update docstring to describe
4786 wave-style underline attribute.
4787
47882012-06-16 Chong Yidong <cyd@gnu.org>
4789
4790 * term/xterm.el (terminal-init-xterm): Discard input before
4791 querying background mode (Bug#10959).
4792
47932012-06-16 Stefan Merten <smerten@oekonux.de>
4794
4795 * textmodes/rst.el: Added and corrected some comments.
4796 (rst-re-alist-def): Improve symbol syntax.
4797 (rst-mode-syntax-table): Correct syntax entries.
4798 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4799 (rst-official-version, rst-official-cvs-rev): Update version
4800 information.
4801
48022012-06-15 Juanma Barranquero <lekktu@gmail.com>
4803
4804 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4805 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4806
48072012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4808
4809 * progmodes/python.el: New python.el merge.
4810 (python-guess-indent): Obsolete var.
4811 (python-indent-guess-indent-offset): New defcustom.
4812 (python-indent): Obsolete var.
4813 (python-indent-offset): New defcustom.
4814 (python-python-command, python-jython-command): Delete var.
4815 (python-shell-interpreter): New defcustom.
4816 (python-pdbtrack-do-tracking-p): Delete var.
4817 (python-pdbtrack-activate): New defcustom.
4818 (python-use-skeletons): Obsolete var.
4819 (python-skeleton-autoinsert): New defcustom.
4820 (inferior-python-filter-regexp, python-continuation-offset)
4821 (python-honour-comment-indentation, python-indent-string-contents)
4822 (python-jython-packages, python-mode-hook)
4823 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4824 (python-shell-prompt-alist)
4825 (python-source-modes): Delete defcustoms.
4826 (python-check-buffer-name, python-eldoc-setup-code)
4827 (python-eldoc-string-code, python-ffap-setup-code)
4828 (python-ffap-string-code, python-fill-comment-function)
4829 (python-fill-decorator-function, python-fill-paren-function)
4830 (python-fill-string-function, python-imenu-include-defun-type)
4831 (python-imenu-make-tree, python-imenu-subtree-root-label)
4832 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4833 (python-shell-compilation-regexp-alist)
4834 (python-shell-completion-module-string-code)
4835 (python-shell-completion-pdb-string-code)
4836 (python-shell-completion-setup-code)
4837 (python-shell-completion-string-code)
4838 (python-shell-enable-font-lock, python-shell-exec-path)
4839 (python-shell-extra-pythonpaths)
4840 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4841 (python-shell-process-environment)
4842 (python-shell-prompt-block-regexp)
4843 (python-shell-prompt-output-regexp)
4844 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4845 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4846 (python-shell-virtualenv-path): New defcustoms.
4847 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4848 (inferior-python-mode-syntax-table, python--prompt-regexp)
4849 (python-buffer, python-command python-python-command)
4850 (python-default-template, python-imports, python-indent-index)
4851 (python-indent-list, python-indent-list-length)
4852 (python-mode-running, python-pdbtrack-is-tracking-p)
4853 (python-preoutput-continuation, python-preoutput-leftover)
4854 (python-preoutput-result, python-preoutput-skip-next-prompt)
4855 (python-prev-dir/file, python-recursing)
4856 (python-saved-check-command, python-version-checked)
4857 (python-which-func-length-limit)
4858 (view-return-to-alist): Delete vars.
4859 (python-check-custom-command, python-dotty-syntax-table)
4860 (python-imenu-index-alist, python-indent-current-level)
4861 (python-indent-dedenters, python-indent-levels)
4862 (python-nav-beginning-of-defun-regexp)
4863 (python-nav-list-defun-positions-cache)
4864 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4865 (python-shell-internal-buffer)
4866 (python-skeleton-available): New vars.
4867 (def-python-skeleton): Delete macro.
4868 (python-skeleton-define): New macro.
4869 (python-define-auxiliary-skeleton, python-rx): New macros.
4870 (python-insert-class): Delete command.
4871 (python-skeleton-class): New command.
4872 (python-insert-def): Delete command.
4873 (python-skeleton-def): New command.
4874 (python-insert-for): Delete command.
4875 (python-skeleton-for): New command.
4876 (python-insert-if): Delete command.
4877 (python-skeleton-if): New command.
4878 (python-insert-try/except, python-insert-try/finally): Delete commands.
4879 (python-skeleton-try): New command.
4880 (python-insert-while): Delete command.
4881 (python-skeleton-while): New command.
4882 (python-backspace): Delete command.
4883 (python-indent-dedent-line-backspace): New command.
4884 (python-electric-colon): Delete command.
4885 (python-indent-electric-colon): New command.
4886 (python-guess-indent): Delete command.
4887 (python-indent-guess-indent-offset): New command.
4888 (python-shift-left): Delete command.
4889 (python-indent-shift-left): New command.
4890 (python-shift-right): Delete command.
4891 (python-indent-shift-right): New command.
4892 (python-find-function): Delete command.
4893 (python-nav-jump-to-defun): New command.
4894 (python-next-statement): Delete command.
4895 (python-nav-forward-sentence): New command.
4896 (python-previous-statement): Delete command.
4897 (python-nav-backward-sentence): New command.
4898 (python-fill-paragraph): Delete command.
4899 (python-fill-paragraph-function): New command.
4900 (python-send-buffer): Delete command.
4901 (python-shell-send-buffer): New command.
4902 (python-send-defun): Delete command.
4903 (python-shell-send-defun): New command.
4904 (python-send-region, python-send-region-and-go): Delete commands.
4905 (python-shell-send-region)
4906 (python-shell-switch-to-shell): New commands.
4907 (python-send-string): Delete command.
4908 (python-shell-send-string): New command.
4909 (python-switch-to-python): Delete command.
4910 (python-shell-switch-to-shell): New command.
4911 (python-describe-symbol): Delete command.
4912 (python-eldoc-at-point): New command.
4913 (python--set-prompt-regexp, python-args-to-list)
4914 (python-after-info-look, python-check-version)
4915 (python-check-comint-prompt, python-find-imports)
4916 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4917 (python-unload-function, python-expand-template)
4918 (python-maybe-jython, python-preoutput-filter)
4919 (python-pdbtrack-get-source-buffer)
4920 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4921 (python-pdbtrack-toggle-stack-tracking)
4922 (python-pdbtrack-track-stack-file, python-initial-text)
4923 (python-first-word, python-comment-line-p, python-send-command)
4924 (python-setup-brm, python-sentinel, python-set-proc)
4925 (python-skip-out, python-input-filter, python-outdent-p)
4926 (python-outline-level, python-backslash-continuation-line-p)
4927 (python-end-of-block, python-end-of-statement, python-mark-block)
4928 (python-beginning-of-block, python-beginning-of-statement)
4929 (python-blank-line-p, python-beginning-of-string)
4930 (python-open-block-statement-p): Delete functions.
4931 (python-indent-line, python-indent-line-1): Delete functions.
4932 (python-indent-line): New function.
4933 (python-indentation-levels): Delete function.
4934 (python-indent-calculate-levels): New function.
4935 (python-proc): Delete function.
4936 (python-shell-get-process): New function.
4937 (python-send-receive): Delete function.
4938 (python-shell-send-string-no-output): New function.
4939 (python-module-path): Delete function.
4940 (python-ffap-module-path): New function.
4941 (python-completion-at-point)
4942 (python-symbol-completions): Delete functions.
4943 (python-completion-complete-at-point): New function.
4944 (python-load-file): Delete function.
4945 (python-shell-send-file): New function.
4946 (python-calculate-indentation): Delete function.
4947 (python-indent-calculate-indentation): New function.
4948 (python-skip-comments/blanks): Delete function.
4949 (python-util-forward-comment): New function.
4950 (python-continuation-line-p): Delete function.
4951 (python-info-continuation-line-p): New function.
4952 (python-which-func, python-current-defun): Delete function.
4953 (python-info-current-defun): New function.
4954 (python-beginning-of-defun): Delete function.
4955 (python-nav-beginning-of-defun): New function.
4956 (python-close-block-statement-p)
4957 (python-block-end-p): Delete function.
4958 (python-info-closing-block): New function.
4959 (python-comint-output-filter-function)
4960 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4961 (python-fill-comment, python-fill-decorator, python-fill-paren)
4962 (python-fill-string, python-imenu-make-element-tree)
4963 (python-imenu-make-tree, python-imenu-tree-assoc)
4964 (python-indent-context, python-indent-dedent-line)
4965 (python-indent-line-function)
4966 (python-indent-post-self-insert-function)
4967 (python-indent-toggle-levels)
4968 (python-info-assignment-continuation-line-p)
4969 (python-info-beginning-of-backlash)
4970 (python-info-block-continuation-line-p)
4971 (python-info-closing-block-message)
4972 (python-info-line-ends-backslash-p)
4973 (python-info-looking-at-beginning-of-defun)
4974 (python-info-ppss-context, python-info-ppss-context-type)
4975 (python-nav-list-defun-positions, python-nav-read-defun)
4976 (python-nav-sentence-end, python-nav-sentence-start)
4977 (python-pdbtrack-comint-output-filter-function)
4978 (python-pdbtrack-set-tracked-buffer)
4979 (python-shell-calculate-exec-path)
4980 (python-shell-calculate-process-environment)
4981 (python-shell-completion--do-completion-at-point)
4982 (python-shell-completion--get-completions)
4983 (python-shell-completion-complete-at-point)
4984 (python-shell-completion-complete-or-indent)
4985 (python-shell-get-or-create-process)
4986 (python-shell-get-process-name)
4987 (python-shell-internal-get-or-create-process)
4988 (python-shell-internal-get-process-name)
4989 (python-shell-internal-send-string, python-shell-make-comint)
4990 (python-shell-parse-command, python-shell-send-setup-code)
4991 (python-skeleton-add-menu-items)
4992 (python-util-clone-local-variables, python-util-position)
4993 (run-python-internal, python-indentation-levels)
4994 (python-nav-beginning-of-defun)
4995 (python-completion-complete-at-point): New functions.
4996 (run-python): Change arguments. New API requirements.
4997
49982012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4999
5000 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5001 (bug#11649).
5002
5003 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5004 (macroexp--expand-all): Use it.
5005
5006 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5007 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5008 Use `cl-function' instead.
5009
50102012-06-14 Juanma Barranquero <lekktu@gmail.com>
5011
5012 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5013 Suggested by Stefan Monnier while discussing bug#11657.
5014
50152012-06-14 Sam Steingold <sds@gnu.org>
5016
5017 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5018
50192012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5020
5021 * play/doctor.el (doctor-doc): Remove parameter and use
5022 doctor-sent instead of sent.
5023 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5024
50252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * files.el: Require cl-lib.
5028 (file-name-non-special): Replace case -> cl-case.
5029
5030 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5031
5032 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5033 mapping from #' to function*.
5034
50352012-06-13 Chong Yidong <cyd@gnu.org>
5036
5037 * mouse.el (mouse-drag-track): Do not set the mark if the user
5038 releases the mouse without selecting anything (Bug#11588).
5039
50402012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5043 as well (bug#11646).
5044
5045 * loadup.el: Count byte-code functions as well.
5046
5047 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5048 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5049
5050 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5051 (bug#11649). Add cl-defun and cl-defmacro.
5052
50532012-06-13 Drew Adams <drew.adams@oracle.com>
5054
5055 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5056 Fix last change.
5057
50582012-06-13 Michael Albinus <michael.albinus@gmx.de>
5059
5060 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5061 Otherwise, it blocks in batch mode.
5062
50632012-06-13 Juanma Barranquero <lekktu@gmail.com>
5064
5065 * help-mode.el (bookmark-make-record-default): Declare.
5066
50672012-06-13 Chong Yidong <cyd@gnu.org>
5068
5069 * emacs-lisp/package.el (list-packages): Compute a list of
5070 packages that are newly-available since the last list-packages
5071 invocation.
5072 (package-menu--new-package-list): New var.
5073 (package-menu--generate, package-menu--print-info)
5074 (package-menu--status-predicate, package-menu-mark-install):
5075 Handle new status label "new".
5076
50772012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5078
5079 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5080 conversion to backquotes.
5081
50822012-06-12 Chong Yidong <cyd@gnu.org>
5083
5084 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5085 Rename from gud-inhibit-global-bindings.
5086
5087 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5088
5089 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5090 hook from nxml-glyph-set-hook.
5091
5092 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5093 declaration.
5094
5095 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5096
5097 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5098 Convert to defcustom.
5099
51002012-06-12 Drew Adams <drew.adams@oracle.com>
5101
5102 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5103 New functions.
5104 (help-mode): Use them.
5105
51062012-06-11 Glenn Morris <rgm@gnu.org>
5107
5108 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5109 Use preprocessor face for directives.
5110 (fortran-directive-re): Doc fix.
5111
51122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5115 conversion to backquotes (bug#11652).
5116
5117 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5118 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5119 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5120 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5121 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5122 (cl-ninth, cl-tenth): Mark them as inlinable.
5123 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5124 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5125 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5126 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5127 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5128 (cl-list*, cl-adjoin): Don't put an autoload manually.
5129 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5130 (cl--compiler-macro-list*): Add autoload cookie.
5131 (cl--compiler-macro-cXXr): New function.
5132
5133 * help-fns.el (help-fns--compiler-macro): New function extracted from
5134 describe-function-1; follow aliases and use `compiler-macro' property.
5135 (describe-function-1): Use it.
5136
51372012-06-11 Chong Yidong <cyd@gnu.org>
5138
5139 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5140 is uninstalled, if imagemagick is installed.
5141
51422012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * emacs-lisp/cl-lib.el: Use lexical-binding.
5145 (cl-map-extents, cl-maclisp-member): Remove.
5146 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5147 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5148 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5149 * emacs-lisp/cl-extra.el: Use lexical-binding.
5150 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5151 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5152 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5153 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5154 * emacs-lisp/cl-seq.el: Use lexical-binding.
5155 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5156 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5157 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5158 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5159 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5160 CL's internals.
5161
51622012-06-11 Michael Albinus <michael.albinus@gmx.de>
5163
5164 Sync with Tramp 2.2.6-pre.
5165
5166 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5167 `print-length' and `print-level' to nil, in order to avoid
5168 truncation. Reported by Christopher Schmidt
5169 <christopher@ristopher.com>.
5170
5171 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5172
5173 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5174 New defmacro.
5175 (tramp-compat-copy-directory): Add optional argument
5176 COPY-CONTENTS. It is not handled yet.
5177
5178 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5179 (tramp-ftp-file-name-p): Simplify.
5180
5181 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5182 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5183 connection vector.
5184
5185 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5186 (tramp-methods): Do not use `tramp-password-end-of-line'.
5187 (tramp-completion-function-alist-putty): Handle UNIX case.
5188 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5189 (tramp-do-file-attributes-with-stat)
5190 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5191 gid as real numbers. They could run out of integer range on cygwin.
5192 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5193 (tramp-sh-handle-expand-file-name): Handle hops.
5194 (tramp-open-connection-setup-interactive-shell):
5195 Use `tramp-cleanup'. Move check for busyboxes ...
5196 (tramp-find-shell): ... here. Simplify implementation.
5197 Set "remote-shell" property also for alternative shells.
5198 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5199 If failing, a regular file would be written otherwise.
5200 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5201 (tramp-find-inline-encoding): Cache the coding commands in the
5202 process cache. Apply test command on the remote side, if defined.
5203 (tramp-find-inline-compress): Cache the compress commands in the
5204 process cache.
5205 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5206 when requested. Handle hops.
5207 (tramp-current-connection): New defvar.
5208 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5209 Throw `suppress', if there was a failed connection shortly before.
5210 Handle user interrupt. (Bug#10187)
5211 (tramp-get-inline-compress, tramp-get-inline-coding):
5212 Read connection properties from the process cache.
5213
5214 * net/tramp-smb.el (tramp-smb-server-version)
5215 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5216 New defconsts.
5217 (tramp-smb-prompt): Extend for powershell prompt.
5218 (tramp-smb-file-name-handler-alist): Add handlers for
5219 `process-file', `shell-command' and `start-file-process'.
5220 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5221 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5222 (tramp-smb-file-name-p): Simplify.
5223 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5224 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5225 (tramp-smb-shell-quote-argument): New defuns.
5226 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5227 Implement using "tar". By this, time-stamps are preserved.
5228 (tramp-smb-handle-copy-file): Handle also the case of directories.
5229 (tramp-smb-do-file-attributes-with-stat)
5230 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5231 Use `tramp-get-connection-buffer').
5232 (tramp-smb-handle-rename-file): Use "rename", when source and
5233 target are on the same share.
5234 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5235 Use `tramp-smb-server-version'.
5236 (tramp-smb-wait-for-output): Remove prompt.
5237
5238 * net/tramp.el (top): Require 'cl.
5239 (tramp-methods, tramp-rsh-end-of-line):
5240 Remove `tramp-password-end-of-line' from docstring.
5241 (tramp-save-ad-hoc-proxies): New defcustom.
5242 (tramp-completion-function-alist): Adapt docstring.
5243 (tramp-default-password-end-of-line): Remove defcustom.
5244 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5245 (tramp-user-regexp, tramp-file-name-regexp-unified)
5246 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5247 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5248 (tramp-remote-file-name-spec-regexp): New defconst.
5249 (tramp-file-name-structure): Extend structure for hops.
5250 (tramp-get-method-parameter): Move up.
5251 (tramp-file-name-p, tramp-dissect-file-name)
5252 (with-parsed-tramp-file-name): Handle hops.
5253 (tramp-file-name-hop): New defun.
5254 (tramp-make-tramp-file-name): New optional arg HOP.
5255 (tramp-message-show-progress-reporter-message): New defvar.
5256 (tramp-with-progress-reporter): Use it. We cannot use
5257 `tramp-message-show-message' here, because this suppresses also
5258 error buffers.
5259 (tramp-error-with-buffer): Suppress buffer view, if
5260 `tramp-message-show-message' is nil.
5261 Use `tramp-get-connection-buffer'.
5262 (tramp-cleanup): New defun.
5263 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5264 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5265 an error unchanged.
5266 (tramp-completion-handle-file-name-all-completions): Handle hops.
5267 Fix an error when called from ido.
5268 (tramp-completion-dissect-file-name): Use better local variable
5269 name. Add hop to the vector.
5270 (tramp-handle-insert-file-contents): Use progress-reporter for the
5271 whole scenario.
5272 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5273 to `t'.
5274 (tramp-check-for-regexp): Simplify search.
5275 (tramp-enter-password): Remove it. Move implementation ...
5276 (tramp-action-password): ... here.
5277 (tramp-mode-string-to-int, tramp-local-host-p)
5278 (tramp-make-tramp-temp-file, tramp-read-passwd)
5279 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5280 Set tramp-autoload cookie.
5281
5282 * net/trampver.el: Update release number.
5283
52842012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5285 Michael Albinus <michael.albinus@gmx.de>
5286
5287 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5288 (tramp-parse-group, tramp-parse-file)
5289 (tramp-parse-shostkeys-sknownhosts): New defuns.
5290 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5291 (tramp-parse-shosts-group, tramp-parse-sconfig)
5292 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5293 (tramp-parse-sknownhosts, tramp-parse-hosts)
5294 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5295 Use them.
5296 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5297 (tramp-parse-putty-group): Don't narrow.
5298 (tramp-parse-putty): Make a loop.
5299 (tramp-file-name-handler): Catch the `suppress' signal.
5300
53012012-06-11 Chong Yidong <cyd@gnu.org>
5302
5303 * image.el (imagemagick-register-types): Put the ImageMagick entry
5304 at the end of image-type-file-name-regexps.
5305
53062012-06-11 Johan Bockgård <bojohan@gnu.org>
5307
5308 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5309 (pcase, pcase-let*, pcase-dolist): Use them.
5310
53112012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * emacs-lisp/pcase.el (pcase--let*): New function.
5314 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5315 (pcase--expand): Use macroexp-let².
5316
53172012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5320 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5321 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5322 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5323 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5324 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5325
53262012-06-10 Glenn Morris <rgm@gnu.org>
5327
5328 * mail/rmail.el (rmail-yank-current-message): Leave point at
5329 correct position. (Bug#11660)
5330
53312012-06-10 Chong Yidong <cyd@gnu.org>
5332
5333 * allout-widgets.el: Fix code header.
5334
53352012-06-10 Chong Yidong <cyd@gnu.org>
5336
5337 * cus-edit.el (customize-changed-options-previous-release):
5338 Bump to 24.1.
5339
53402012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5341
5342 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5343
53442012-06-09 Chong Yidong <cyd@gnu.org>
5345
5346 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5347
53482012-06-09 Martin Rudalics <rudalics@gmx.at>
5349
5350 * window.el (special-display-popup-frame): Don't use
5351 window--display-buffer (Bug#11651).
5352
53532012-06-09 Eli Zaretskii <eliz@gnu.org>
5354
5355 Fix parallel builds: make sure loaddefs.el is not being written
5356 while Lisp files are compiled.
5357 (compile): Don't depend on 'mh-autoloads'.
5358 (compile-CMD, compile-SH): Depend on 'autoloads'.
5359 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5360
5361 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5362
53632012-06-09 Chong Yidong <cyd@gnu.org>
5364
5365 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5366 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5367 Doc fixes (Bug#11225).
5368
53692012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5372 a function if there's a clear indication that it has a compiler-macro.
5373 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5374 (macro-declarations-alist): Add arglist to declaration functions.
5375 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5376 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5377 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5378 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5379 Also add autoload to find the compiler macro.
5380 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5381 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5382 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5383 (cl--compiler-macro-get): New functions, replacing calls to
5384 cl-define-compiler-macro.
5385 (cl-typep) [compiler-macro]: Use macroexp-let².
5386
53872012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5388
5389 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5390 string properly, fixes Bug#11473.
5391
53922012-06-08 Chong Yidong <cyd@gnu.org>
5393
5394 * faces.el (set-face-attribute): Doc fix.
5395 (modify-face): Don't use :bold and :italic.
5396 (error, warning, success): Tweak definitions.
5397
5398 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5399 (custom-modified, custom-set, custom-changed, custom-themed)
5400 (custom-saved, custom-button, custom-button-mouse)
5401 (custom-button-pressed, custom-state, custom-comment-tag)
5402 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5403 (custom-group-subtitle): Use new-style face specs.
5404 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5405 (custom-set-face, custom-changed-face, custom-saved-face)
5406 (custom-button-face, custom-button-pressed-face)
5407 (custom-documentation-face, custom-state-face)
5408 (custom-comment-face, custom-comment-tag-face)
5409 (custom-variable-tag-face, custom-variable-button-face)
5410 (custom-face-tag-face, custom-group-tag-face-1)
5411 (custom-group-tag-face): Remove obsolete face alias.
5412
5413 * epa.el (epa-validity-high, epa-validity-medium)
5414 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5415 (epa-field-name, epa-field-body):
5416 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5417 (font-lock-keyword-face, font-lock-builtin-face)
5418 (font-lock-function-name-face, font-lock-variable-name-face)
5419 (font-lock-type-face, font-lock-constant-face):
5420 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5421 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5422 * speedbar.el (speedbar-button-face, speedbar-file-face)
5423 (speedbar-directory-face, speedbar-tag-face)
5424 (speedbar-selected-face, speedbar-highlight-face)
5425 (speedbar-separator-face):
5426 * whitespace.el (whitespace-newline, whitespace-space)
5427 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5428 (whitespace-line, whitespace-space-before-tab)
5429 (whitespace-space-after-tab, whitespace-indentation)
5430 (whitespace-empty):
5431 * emulation/cua-base.el (cua-global-mark):
5432 * eshell/em-prompt.el (eshell-prompt):
5433 * net/newst-plainview.el (newsticker-new-item-face)
5434 (newsticker-old-item-face, newsticker-immortal-item-face)
5435 (newsticker-obsolete-item-face, newsticker-date-face)
5436 (newsticker-statistics-face, newsticker-default-face):
5437 * net/newst-reader.el (newsticker-feed-face)
5438 (newsticker-extra-face, newsticker-enclosure-face):
5439 * net/newst-treeview.el (newsticker-treeview-face)
5440 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5441 (newsticker-treeview-immortal-face)
5442 (newsticker-treeview-obsolete-face)
5443 (newsticker-treeview-selection-face):
5444 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5445 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5446 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5447 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5448 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5449 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5450 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5451 (mpuz-text):
5452 * progmodes/vera-mode.el (vera-font-lock-number)
5453 (vera-font-lock-function, vera-font-lock-interface):
5454 * textmodes/table.el (table-cell): Use new-style face specs, and
5455 don't use the old :bold and :italic attributes.
5456
5457 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5458 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5459 (ebrowse-member-class, ebrowse-progress): Likewise.
5460 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5461 (ebrowse-file-name-face, ebrowse-default-face)
5462 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5463 (ebrowse-progress-face): Remove obsolete faces.
5464
5465 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5466 Inherit from error and warning faces respectively.
5467
5468 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5469 Likewise.
5470 (flyspell-incorrect-face, flyspell-duplicate-face):
5471 Remove obsolete aliases.
5472
54732012-06-08 Michael Albinus <michael.albinus@gmx.de>
5474
5475 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5476 Avoid infloop.
5477
54782012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5479
5480 * startup.el (argv, argi): Make lexically scoped.
5481 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5482 * emacs-lisp/cl-macs.el: Use lexical-binding.
5483 Rename cl-bind-* to cl--bind-*.
5484 * files.el: Don't require `cl' since it doesn't use it.
5485 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5486
54872012-06-08 Juanma Barranquero <lekktu@gmail.com>
5488
5489 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5490 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5491 instead of calling external sort utility.
5492 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5493
54942012-06-08 Eli Zaretskii <eliz@gnu.org>
5495
5496 * descr-text.el (describe-char): Mention how to insert the
5497 character, if the current input method doesn't support it.
5498 See the discussion in this thread for the details:
5499 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5500
55012012-06-08 Sam Steingold <sds@gnu.org>
5502
5503 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5504 XF86Back to previous-buffer.
5505 (minibuffer-local-map): Bind them to next-history-element and
5506 previous-history-element respectively.
5507 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5508 help-go-back respectively.
5509 * info.el (Info-mode-map): Bind them to Info-history-forward and
5510 Info-history-back respectively.
5511 These are the keys next to Up on the ThinkPad keyboard.
5512
55132012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5514
5515 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5516 * emacs-lisp/cl-macs.el: Provide itself.
5517 (cl--labels-convert-cache): New var.
5518 (cl--labels-convert): New function.
5519 (cl-flet, cl-labels): New implementation with new semantics, relying on
5520 lexical-binding.
5521 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5522 (cl-closure-vars, cl--function-convert-cache)
5523 (cl--function-convert): Move from cl-macs.el.
5524 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5525 rename by removing the "cl-" prefix.
5526 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5527
55282012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5531 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5532 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5533 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5534 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5535 (cl-hash-table-count): Add old compatibility aliases.
5536
5537 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5538 Use macroexpand-all-environment instead.
5539 (cl--old-macroexpand): New var.
5540 (cl--sm-macroexpand): New function.
5541 (cl-symbol-macrolet): Use it during macro expansion.
5542 (cl--function-convert-cache): New var.
5543 (cl--function-convert): New function, extracted from
5544 cl-macroexpand-all.
5545 (cl-lexical-let): Use it.
5546
5547 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5548 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5549 (cl-member): Remove old alias.
5550
5551 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5552 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5553 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5554 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5555 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5556 (cl-macroexpand-cmacs): Remove var.
5557 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5558 Use macroexpand-all instead.
5559
55602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5563 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5564 (macroexp-copyable-p): New functions and macros.
5565 * emacs-lisp/edebug.el (edebug-unwrap):
5566 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5567 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5568 (pcase--let*): Remove.
5569 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5570 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5571 macroexp-const-p instead.
5572 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5573
5574 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5575 instead of "cl-" for internal definitions. Use macroexp-const-p.
5576 (cl-old-bc-file-form): Remove var.
5577 (cl-const-exprs-p): Remove fun.
5578 (cl-labels, cl-macrolet): Use backquote.
5579 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5580 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5581 (cl-define-setf-expander): Rename from cl-define-setf-method.
5582 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5583
5584 * international/mule-cmds.el: Don't require CL.
5585 (view-hello-file): Don't use `letf'.
5586
55872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * tmm.el (tmm-prompt): Use string-prefix-p.
5590 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5591 (tmm-add-prompt): Use minibuffer-completion-help.
5592 (tmm-delete-map): Remove.
5593
5594 * subr.el (kbd): Make it its own function.
5595
55962012-06-07 Stefan Merten <smerten@oekonux.de>
5597
5598 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5599 Silence compiler warnings. Fix versions.
5600 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5601 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5602 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5603 (rst-package-emacs-version-alist): Correct Emacs version to
5604 represent major merge with upstream.
5605 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5606
56072012-06-06 Glenn Morris <rgm@gnu.org>
5608
5609 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5610 Only print environment variables if set.
5611
56122012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5615 (macroexp--cons): Rename from maybe-cons.
5616 (macroexp--accumulate): Rename from macroexp-accumulate.
5617 (macroexp--all-forms): Rename from macroexpand-all-forms.
5618 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5619 (macroexp--expand-all): Rename from macroexpand-all-1.
5620
56212012-06-06 Sam Steingold <sds@gnu.org>
5622
5623 * calendar/calendar.el (calendar-in-read-only-buffer):
5624 Call `special-mode' to enable the standard read-only keybindings.
5625
56262012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5629 with "loading" messages (bug#11635).
5630
56312012-06-06 Michael Albinus <michael.albinus@gmx.de>
5632
5633 * files.el (enable-remote-dir-locals): New option.
5634 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5635
5636 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5637 Ensure, that the temp directory is local.
5638
5639 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5640 `temporary-file-directory'.
5641
5642 * progmodes/python.el (python-send-region): Ensure, that the
5643 temporary file is created also in the remote case.
5644
56452012-06-06 Glenn Morris <rgm@gnu.org>
5646
5647 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5648 (vc-rcs-update-changelog): Use it.
5649
5650 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5651
5652 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5653 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5654 (vc-sccs-diff): Replace use of the external vcdiff script.
5655
56562012-06-05 Glenn Morris <rgm@gnu.org>
5657
5658 * ledit.el: Move to obsolete/.
5659
56602012-06-05 Sam Steingold <sds@gnu.org>
5661
5662 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5663 patch (Bug#11140).
5664
56652012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * emacs-lisp/cust-print.el: Move to obsolete.
5668
5669 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5670 compiler-macro expansion.
5671
5672 Add native compiler-macro support.
5673 * emacs-lisp/macroexp.el (macroexpand-all-1):
5674 Support compiler-macros directly. Properly follow aliases and apply
5675 the compiler macros more thoroughly.
5676 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5677 macroexpand now properly follows aliases.
5678 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5679 (cl-compiler-macroexpand): Use new prop.
5680 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5681
5682 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5683
56842012-06-05 Martin Rudalics <rudalics@gmx.at>
5685
5686 * window.el (get-lru-window, get-mru-window, get-largest-window):
5687 New argument NOT-SELECTED to avoid picking the selected window.
5688 (window--display-buffer-1, window--display-buffer-2): Replace by
5689 new function window--display-buffer
5690 (display-buffer-same-window, display-buffer-reuse-window)
5691 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5692 Use window--display-buffer.
5693 (display-buffer-use-some-window): Remove temporary dedication
5694 hack by calling get-lru-window and get-largest-window with
5695 NOT-SELECTED argument non-nil. Call window--display-buffer.
5696
56972012-06-05 Glenn Morris <rgm@gnu.org>
5698
5699 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5700 Replace external vcdiff script.
5701
57022012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5705
57062012-06-04 Chong Yidong <cyd@gnu.org>
5707
5708 * image.el (imagemagick-types-inhibit): Revert last change.
5709 Add INFO and M.
5710 (imagemagick-enabled-types): Remove CIN and EPS*.
5711
57122012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5713
5714 * emacs-lisp/cl-lib.el: Rename from cl.el.
5715 * emacs-lisp/cl.el: New compatibility file.
5716 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5717 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5718 to obey the "cl-" prefix.
5719 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5720
57212012-06-03 Glenn Morris <rgm@gnu.org>
5722
5723 * emacs-lisp/authors.el (authors-aliases): Addition.
5724
5725 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5726 Fix :version.
5727
57282012-06-03 Stefan Merten <smerten@oekonux.de>
5729
5730 * textmodes/rst.el: Add comments.
5731 (rst-transition, rst-adornment): New faces.
5732 (rst-adornment-faces-alist): Make default safe to reevaluate.
5733 Fixes
5734 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5735 Improve customization tags.
5736 (rst-define-level-faces): Clarify meaning.
5737
57382012-06-03 Chong Yidong <cyd@gnu.org>
5739
5740 * progmodes/compile.el (compilation-mode-line-fail)
5741 (compilation-mode-line-run, compilation-mode-line-exit):
5742 New faces.
5743 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5744
57452012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5746
5747 * progmodes/which-func.el (which-func-update-ediff-windows):
5748 New function. Use it in ediff-select-hook (Bug#11478).
5749
57502012-06-03 Chong Yidong <cyd@gnu.org>
5751
5752 * bindings.el: Remove explicit help text from format-mode-line.
5753 It is now supplied by mode-line-default-help-echo.
5754 (mode-line-front-space, mode-line-end-spaces)
5755 (mode-line-misc-info): New variables.
5756 (mode-line-modes, mode-line-position): Move the default value to
5757 the variable definition.
5758 (mode-line-default-help-echo): New defcustom.
5759 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5760 (mode-line-modified-help-echo): New functions.
5761 (mode-line-mule-info, mode-line-modified): Use them.
5762 (mode-line-eol-desc, propertized-buffer-identification):
5763 Consistency fixes for help text.
5764 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5765 set-buffer-file-coding-system (Bug#289).
5766 (mode-line-mule-info-help-echo): Update help text.
5767
57682012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * simple.el (execute-extended-command): Set real-this-command
5771 (bug#11506).
5772
57732012-06-02 Chong Yidong <cyd@gnu.org>
5774
5775 Remove incorrect uses of "modeline" in comments, docstrings, and
5776 function/variable names (Bug#10329).
5777
5778 * cus-edit.el (mode-line):
5779 * dframe.el (dframe-mouse-hscroll):
5780 * emacs-lisp/re-builder.el:
5781 * emacs-lisp/easy-mmode.el (define-minor-mode):
5782 * frame.el (set-frame-name):
5783 * help.el (lookup-minor-mode-from-indicator):
5784 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5785 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5786 (c-toggle-hungry-state):
5787 * progmodes/antlr-mode.el (antlr-language-alist):
5788 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5789 * progmodes/vhdl-mode.el (vhdl-mode):
5790 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5791 * term/ns-win.el (ns-face-at-pos):
5792 * term/sup-mouse.el (sup-mouse-report):
5793 * textmodes/flyspell.el (flyspell-mode-line-string):
5794 * textmodes/ispell.el (ispell-highlight-face):
5795 * textmodes/reftex-global.el:
5796 * vc/vc-arch.el (vc-arch-mode-line-string):
5797 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5798 * vc/vc-git.el (vc-git-mode-line-string):
5799 * vc/vc-hooks.el (vc-display-status)
5800 (vc-default-mode-line-string):
5801 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5802
5803 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5804
5805 * dired.el (dired-sort-set-mode-line): Rename from
5806 dired-sort-set-modeline. All callers changed.
5807
5808 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5809 eshell-status-in-modeline.
5810
5811 * foldout.el (foldout-mode-line-string): Rename from
5812 foldout-modeline-string. All callers changed.
5813 (foldout-update-mode-line): Rename from foldout-update-modeline.
5814
5815 * subr.el (redraw-modeline): Make into obsolete alias.
5816
5817 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5818 timeclock-modeline-display. Make old name an alias.
5819 (timeclock-update-mode-line): Likewise. All callers changed.
5820 (timeclock-mode-line-display): No need to check before using
5821 add-hook.
5822 (timeclock-relative, timeclock-day-over-hook)
5823 (timeclock-use-elapsed, timeclock-mode-string)
5824 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5825
5826 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5827 crisp-mode-modeline-string.
5828
5829 * play/solitaire.el (solitaire-build-mode-line): Rename from
5830 solitaire-build-modeline. All callers changed.
5831
5832 * play/zone.el (zone-hiding-mode-line): Rename from
5833 zone-hiding-modeline. All callers changed.
5834 (zone): Remove unusued `modeline-hidden-level' property.
5835
5836 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5837 xscheme-modeline-initialize. All callers changed.
5838
5839 * strokes.el (strokes-lighter): Rename from
5840 strokes-modeline-string.
5841
5842 * textmodes/sgml-mode.el (html-face-tag-alist)
5843 (html-tag-face-alist): Use mode-line face instead of obsolete
5844 alias modeline.
5845
58462012-06-02 Stefan Merten <smerten@oekonux.de>
5847
5848 * textmodes/rst.el: Always require `cl'.
5849 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5850
58512012-06-02 Chong Yidong <cyd@gnu.org>
5852
5853 * image.el (imagemagick-enabled-types): Rename from
5854 imagemagick-types-enable. Add many more types.
5855 (imagemagick-types-inhibit): Change default to nil.
5856 (imagemagick-filter-types): Caller changed.
5857
58582012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * emacs-lisp/cl-macs.el: Use backquotes.
5861 (cl-transform-function-property): Use eval-and-compile rather than
5862 abusing `require'.
5863 (defstruct): Use declare-function instead of with-no-warnings.
5864
5865 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5866 (byte-compile-output-docform): Re-add the print-circle bindings.
5867 (byte-compile-fix-header): Use #$ just because it's shorter.
5868 (byte-compile-output-file-form): Remove defun/defmacro.
5869
58702012-06-01 Martin Rudalics <rudalics@gmx.at>
5871
5872 * simple.el (choose-completion): Remove now obsolete binding for
5873 owindow.
5874
58752012-06-01 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5878 in order to avoid "Stack overflow in regexp matcher".
5879
58802012-05-31 Glenn Morris <rgm@gnu.org>
5881
5882 * image.el: For clarity, call imagemagick-register-types at
5883 top-level, rather than relying on a custom :initialize.
5884 (imagemagick-types-enable): New option. (Bug#11557)
5885 (imagemagick-filter-types): New function. (Bug#7406)
5886 (imagemagick-register-types): Use imagemagick-filter-types.
5887 If disabling support, remove elements altogether rather
5888 than using an impossible regexp.
5889 (imagemagick-types-inhibit): Give it the default init function.
5890
58912012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5894 Handle arbitrary file name lengths (Bug#11585).
5895
58962012-05-31 Martin Rudalics <rudalics@gmx.at>
5897
5898 * desktop.el (desktop-read): Clear previous and next buffers for
5899 all windows and bury *Messages* buffer (bug#11556).
5900
59012012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 Add `declare' for `defun'. Align `defmacro's with it.
5904 * emacs-lisp/easy-mmode.el (define-minor-mode)
5905 (define-globalized-minor-mode): Don't autoload the var definitions.
5906 * emacs-lisp/byte-run.el: Use lexical-binding.
5907 (defun-declarations-alist, macro-declarations-alist): New vars.
5908 (defmacro, defun): Use them.
5909 (make-obsolete, define-obsolete-function-alias)
5910 (make-obsolete-variable, define-obsolete-variable-alias):
5911 Use `declare'.
5912 (macro-declaration-function): Mark obsolete.
5913 * emacs-lisp/autoload.el: Use lexical-binding.
5914 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5915
59162012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5917
5918 * textmodes/ispell.el (ispell-with-no-warnings):
5919 Define as a macro.
5920 (ispell-kill-ispell, ispell-change-dictionary):
5921 Use `called-interactively-p' for Emacs instead of obsolete
5922 `interactive-p'.
5923
59242012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5927 (macro-declaration-function): Move var from C code.
5928 (macro-declaration-function): Define function with defalias.
5929 * emacs-lisp/macroexp.el (macroexpand-all-1):
5930 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5931 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5932 defun/defmacro any more.
5933 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5934 Provide fallback for unknown arglist.
5935 (byte-compile-arglist-warn): Change calling convention.
5936 (byte-compile-output-file-form): Move print-vars binding.
5937 (byte-compile-output-docform): Simplify accordingly.
5938 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5939 (byte-compile-defmacro-declaration): Remove.
5940 (byte-compile-file-form-defmumble): Generalize to defalias.
5941 (byte-compile-output-as-comment): Return byte-positions.
5942 Simplify callers accordingly.
5943 (byte-compile-lambda): Use `assert'.
5944 (byte-compile-defun, byte-compile-defmacro): Remove.
5945 (byte-compile-file-form-defalias):
5946 Use byte-compile-file-form-defmumble.
5947 (byte-compile-defalias-warn): Remove.
5948
59492012-05-29 Stefan Merten <smerten@oekonux.de>
5950
5951 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5952 possible. Fix authors. Improve comments. Improve loading of `cl'.
5953
5954 (rst-mode-abbrev-table): Merge definition.
5955 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5956 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5957
59582012-05-29 Ulf Jasper <ulf.jasper@web.de>
5959
5960 * calendar/icalendar.el
5961 (icalendar-export-region): Export UID properly.
5962
59632012-05-29 Leo Liu <sdl.web@gmail.com>
5964 * calendar/icalendar.el (icalendar-import-format):
5965 Add `icalendar-import-format-uid' (Bug#11525).
5966 (icalendar-import-format-uid): New.
5967 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5968 Export UID.
5969
59702012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5973 different alternative patterns.
5974 (pcase-codegen): Be more careful to preserve identity.
5975 (pcase--u1): Don't forget to mark vars as used.
5976
5977 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5978 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5979 (byte-compile-from-buffer): ...rather than here.
5980
5981 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5982 functions from byte-compile-function-environment.
5983
59842012-05-29 Troels Nielsen <bn.troels@gmail.com>
5985
5986 * window.el (window-deletable-p): Avoid deleting the root window
5987 of a frame with an active minibuffer.
5988
59892012-05-29 Martin Rudalics <rudalics@gmx.at>
5990
5991 * simple.el (choose-completion): Use quit-window (Bug#11567).
5992
59932012-05-29 Chong Yidong <cyd@gnu.org>
5994
5995 * whitespace.el (whitespace-cleanup): Fix usage of
5996 whitespace-empty-at-bob-regexp (Bug#11492).
5997
59982012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5999
6000 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6001 revert (Bug#11488).
6002
60032012-05-29 Juri Linkov <juri@jurta.org>
6004
6005 * isearch.el (isearch-mode-map): Bind `M-s _' to
6006 `isearch-toggle-symbol'. Bind `M-s c' to
6007 `isearch-toggle-case-fold'.
6008 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6009 (isearch-forward): Add `M-s _' to the docstring.
6010 (isearch-forward-symbol, isearch-toggle-case-fold)
6011 (isearch-symbol-regexp): New functions. (Bug#11381)
6012
60132012-05-29 Juri Linkov <juri@jurta.org>
6014
6015 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6016 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6017 a function, call it to get the regexp.
6018 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6019 property `isearch-message-prefix' instead of the string "word ".
6020 (isearch-search-fun-default): For the case of `isearch-word',
6021 return a lambda that calls re-search-forward/re-search-backward
6022 with a regexp returned by `word-search-regexp' or by the function
6023 in `isearch-word'.
6024
60252012-05-29 Juri Linkov <juri@jurta.org>
6026
6027 * isearch.el (isearch-search-fun-default): New function.
6028 (isearch-search-fun): Move default part to the new function
6029 `isearch-search-fun-default'.
6030 (isearch-search-fun-function): Set the default value to
6031 `isearch-search-fun-default'. (Bug#11381)
6032
6033 * comint.el (comint-history-isearch-end):
6034 Use `isearch-search-fun-default'.
6035 (comint-history-isearch-search): Use `isearch-search-fun-default'
6036 and remove spacial case for `isearch-word'.
6037 (comint-history-isearch-wrap): Remove spacial case for
6038 `isearch-word'.
6039
6040 * hexl.el (hexl-isearch-search-function):
6041 Use `isearch-search-fun-default'.
6042
6043 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6044 Use `word-search-regexp' for `isearch-word'.
6045
6046 * misearch.el (multi-isearch-search-fun):
6047 Use `isearch-search-fun-default'.
6048
6049 * simple.el (minibuffer-history-isearch-search):
6050 Use `isearch-search-fun-default' and remove spacial case for
6051 `isearch-word'.
6052 (minibuffer-history-isearch-wrap): Remove spacial case for
6053 `isearch-word'.
6054
6055 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6056 Remove spacial case for `isearch-word'.
6057 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6058
60592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6060
6061 Decrease XEmacs incompatibilities.
6062 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6063 Use `string-match'.
6064 (flyspell-delete-region-overlays): Use alternative definition for
6065 XEmacs.
6066 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6067 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6068 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6069 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6070 `define-obsolete-face-alias' under XEmacs, but old method.
6071
6072 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6073 `with-no-warnings' definition or Emacs alias.
6074 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6075 (ispell-word): Do not use `region-p' if XEmacs.
6076
60772012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6078
6079 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6080 Check for `ispell-dictionary-base-alist' instead of full
6081 `ispell-dictionary-alist'.
6082 (ispell-init-process): Show spellchecker when starting new Ispell
6083 process.
6084
60852012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6088 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6089
60902012-05-27 Juanma Barranquero <lekktu@gmail.com>
6091
6092 * version.el (motif-version-string, gtk-version-string)
6093 (ns-version-string): Declare.
6094
60952012-05-27 Juri Linkov <juri@jurta.org>
6096
6097 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6098 after the `eval-defun-1' specialcaseing
6099 like in `edebug-eval-defun' (bug#10181).
6100
6101 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6102 like in `eval-defun-1'.
6103
61042012-05-27 Eli Zaretskii <eliz@gnu.org>
6105
6106 * mail/sendmail.el (mail-yank-region):
6107 Recognize rmail-yank-current-message in addition to insert-buffer.
6108 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6109 a *mail* buffer created through rmail-start-mail with sendmail as
6110 mail-user-agent.
6111
61122012-05-27 Chong Yidong <cyd@gnu.org>
6113
6114 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6115 Default to 256 (Bug#11267).
6116
6117 * help.el (describe-mode): Doc fix.
6118
61192012-05-26 Glenn Morris <rgm@gnu.org>
6120
6121 * w32-fns.el (w32-init-info): Remove.
6122 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6123
6124 * info.el (info-initialize): For self-contained NS builds, put the
6125 included info/ directory at the front. (Bug#2791)
6126
6127 * paths.el (Info-default-directory-list): Make it a defcustom,
6128 mainly so that we can use custom-initialize-delay.
6129
61302012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * subr.el (buffer-has-markers-at): Mark obsolete.
6133
6134 * subr.el (lambda): Use declare.
6135
6136 * emacs-lisp/lisp-mode.el (lambda):
6137 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6138
61392012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6140
6141 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6142
61432012-05-26 Glenn Morris <rgm@gnu.org>
6144
6145 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6146
61472012-05-25 Glenn Morris <rgm@gnu.org>
6148
6149 * paths.el: Remove no-byte-compile.
6150 * loadup.el: No need to load paths.el uncompiled.
6151
6152 * image.el (imagemagick-types-inhibit): Doc fix.
6153
6154 * version.el: Remove no-byte-compile and associated formatting.
6155 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6156 is ancient code from when there was an "inc-vers.el".
6157
61582012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * progmodes/gdb-mi.el: Minor style changes.
6161 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6162 Turn into minor modes.
6163 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6164 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6165 (gdb-shell): Remove unneeded let-binding.
6166 (gdb-get-many-fields): Eliminate O(n²) behavior.
6167
61682012-05-25 Eli Zaretskii <eliz@gnu.org>
6169
6170 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6171 platforms that don't link in fontset.c.
6172
61732012-05-25 Juri Linkov <juri@jurta.org>
6174
6175 Use the same diff color scheme as in modern VCSes (bug#10181).
6176
6177 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6178 to avoid confusion with `diff-added' that now uses green colors.
6179 (diff-removed): Use shades of red.
6180 (diff-added): Use shades of green.
6181 (diff-changed): Leave just the yellow color.
6182 (diff-use-changed-face): New variable.
6183 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6184 how to highlight context diff changes.
6185 (diff-refine-change): Use shades of yellow.
6186 (diff-refine-removed): New face that uses shades of red.
6187 (diff-refine-added): New face that uses shades of green.
6188 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6189 `diff-refine-removed' in the call to `smerge-refine-subst'
6190 depending on the value of `diff-use-changed-face'.
6191
6192 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6193 (smerge-other): Use shades of green.
6194 (smerge-base): Use shades of yellow.
6195 (smerge-refined-change): Empty face.
6196 (smerge-refined-removed): New face that uses shades of red.
6197 (smerge-refined-added): New face that uses shades of green.
6198 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6199 args `props-r' and `props-a', and use them. Doc fix.
6200 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6201 on its value use different faces `smerge-refined-change',
6202 `smerge-refined-removed', `smerge-refined-added' in the call to
6203 `smerge-refine-subst'.
6204
6205 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6206 Add face condition `min-colors 88' with shades of red.
6207 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6208 `min-colors 88' with shades of green.
6209 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6210 `min-colors 88' with shades of yellow.
6211
62122012-05-24 Glenn Morris <rgm@gnu.org>
6213
6214 * paths.el (prune-directory-list, remote-shell-program): Move to...
6215 * files.el (prune-directory-list, remote-shell-program): ...here.
6216 For the latter, delay initialization, prefer ssh, just search PATH.
6217
6218 * paths.el (term-file-prefix): Move to faces.el (the only user).
6219 * faces.el (term-file-prefix): Move here, make it a defcustom.
6220
6221 * paths.el (news-directory, news-path, news-inews-program):
6222 Move to gnus/nnspool.el.
6223
6224 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6225
6226 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6227 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6228 Make the latter a defcustom, with a delayed initialization.
6229
6230 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6231 These were deleted from Gnus itself late 2010.
6232
62332012-05-22 Juanma Barranquero <lekktu@gmail.com>
6234
6235 * progmodes/which-func.el (which-func-ff-hook):
6236 Check against user-error, not error.
6237
6238 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6239 cl-specs.el, which no longer exists.
6240
62412012-05-22 Glenn Morris <rgm@gnu.org>
6242
6243 * info.el (info-emacs-bug): New command.
6244 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6245 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6246
62472012-05-21 Glenn Morris <rgm@gnu.org>
6248
6249 * makefile.w32-in (update-subdirs-SH):
6250 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6251
62522012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6255
6256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6257 Simplify Maven regexp, and make sure the file can't start with a space
6258 (bug#11517).
6259
62602012-05-21 Glenn Morris <rgm@gnu.org>
6261
6262 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6263 Scrap superfluous subshells.
6264
62652012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6268 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6269
62702012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6271
6272 * calc/calc.el (calc-ensure-consistent-units): New variable.
6273
6274 * calc/calc-units.el (math-consistent-units-p)
6275 (math-check-unit-consistency): New functions.
6276 (calc-quick-units, calc-convert-units):
6277 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6278 is non-nil.
6279 (calc-extract-units): Fix typo.
6280
62812012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6284
6285 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6286 (flyspell-default-deplacement-commands): Don't spell check after
6287 repeated window/frame switches (e.g. triggered by mouse-movement).
6288 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6289 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6290 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6291 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6292 Remove unused vars.
6293 (flyspell-get-casechars, flyspell-get-not-casechars):
6294 Simplify; Don't bother removing a ] just to add it back.
6295 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6296
62972012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6298
6299 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6300 New functions.
6301 (math-function-table): Add support for more C functions.
6302
63032012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6304
6305 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6306 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6307 Protect delay handling for otherchars against empty otherchars.
6308
63092012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6310
6311 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6312 their respective macro declarations.
6313 * skeleton.el (define-skeleton):
6314 * progmodes/compile.el (define-compilation-mode):
6315 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6316 (define-ibuffer-filter):
6317 * emacs-lisp/generic.el (define-generic-mode):
6318 * emacs-lisp/easy-mmode.el (define-minor-mode)
6319 (define-globalized-minor-mode):
6320 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6321 * emacs-lisp/byte-run.el (defsubst):
6322 * custom.el (deftheme): Add doc-string metadata.
6323
63242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6327
63282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6331
6332 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6333 * emacs-lisp/cl-macs.el: Idem.
6334 * emacs-lisp/cl-specs.el: Remove.
6335
63362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6337
6338 Minor renaming of internal CL functions and variables.
6339 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6340 (cl--position): Rename from cl-position.
6341 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6342 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6343 (cl--random-state): Rename from *random-state*.
6344
63452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6348 parens around the arg list (bug#11499).
6349
63502012-05-17 Juri Linkov <juri@jurta.org>
6351
6352 * isearch.el (word-search-regexp, word-search-backward)
6353 (word-search-forward, word-search-backward-lax)
6354 (word-search-forward-lax): Move functions from search.c
6355 (bug#10145, bug#11381).
6356
63572012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6358
6359 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6360 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6361 Delay for otherchars as for normal word components.
6362
63632012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * minibuffer.el (completion--sifn-requote): Fix last change.
6366 (minibuffer-local-must-match-filename-map):
6367 Move define-obsolete-variable-alias before its var.
6368
63692012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6372
6373 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6374 behavior.
6375 (completion--string-equal-p): New function.
6376 (completion--twq-all): Use it to get better assertion failure data.
6377
6378 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6379 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6380 (shell--requote-argument): New functions.
6381 (shell-completion-vars): Use them.
6382 (shell--parse-pcomplete-arguments): Rename from
6383 shell-parse-pcomplete-arguments.
6384 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6385 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6386 Obey comint-file-name-quote-list.
6387
6388 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6389 (smie-indent-keyword): Use it.
6390
63912012-05-14 Stefan Merten <smerten@oekonux.de>
6392
6393 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6394
63952012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6396
6397 * net/rlogin.el (rlogin-mode-map): Fix last change.
6398
63992012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6400
6401 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6402 the following \r\n using a single `process-send-string', since the
6403 Lotus SMTP server refuses to accept any commands if they are sent
6404 with two `process-send-string's (Bug#11444).
6405
64062012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * shell.el (shell-parse-pcomplete-arguments):
6409 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6410
64112012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6412
6413 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6414 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6415 (image-transform-width, image-transform-fit-width): New functions.
6416 (image-transform-properties): Use them.
6417 (image-transform-check-size): New function.
6418 (image-toggle-display-image): Use it (for testing).
6419 (image-transform-set-rotation): Reduce angle mod 360.
6420 Delete obsolete comment.
6421
64222012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6423
6424 * image-mode.el: Fix scaling (bug#11399).
6425 (image-transform-resize): Doc fix.
6426 (image-transform-properties): Default scale is 1 and height should
6427 be an integer.
6428
64292012-05-13 Johan Bockgård <bojohan@gnu.org>
6430
6431 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6432 than hard-coding `car', to fix misbehavior when moving forward.
6433
64342012-05-13 Chong Yidong <cyd@gnu.org>
6435
6436 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6437 (tabulated-list-entries, tabulated-list-padding)
6438 (tabulated-list-sort-key): Make permanent-local.
6439
6440 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6441 (electric-buffer-list): Put electric buffer menu
6442 command descriptions in this docstring, instead of the docstring
6443 of electric-buffer-menu-mode. Code cleanups.
6444 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6445 Electric-buffer-menu-mode.
6446 (electric-buffer-update-highlight): Minor code cleanup.
6447
64482012-05-13 Michael Albinus <michael.albinus@gmx.de>
6449
6450 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6451 (Bug#11447)
6452
64532012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6454
6455 Move define-obsolete-variable-alias before the var's definition.
6456 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6457 * tooltip.el (tooltip-hook):
6458 * textmodes/reftex-toc.el (reftex-toc-map):
6459 * textmodes/reftex-sel.el (reftex-select-label-map)
6460 (reftex-select-bib-map):
6461 * textmodes/reftex-index.el (reftex-index-map)
6462 (reftex-index-phrases-map):
6463 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6464 * progmodes/meta-mode.el (meta-mode-map):
6465 * novice.el (disabled-command-hook):
6466 * loadhist.el (unload-hook-features-list):
6467 * frame.el (blink-cursor):
6468 * files.el (find-file-not-found-hooks, write-file-hooks)
6469 (write-contents-hooks):
6470 * emulation/tpu-edt.el (GOLD-map):
6471 * emacs-lock.el (emacs-lock-from-exiting):
6472 * emacs-lisp/generic.el (generic-font-lock-defaults):
6473 * emacs-lisp/chart.el (chart-map):
6474 * dos-fns.el (register-name-alist):
6475 * dired-x.el (dired-omit-files-p):
6476 * desktop.el (desktop-enable):
6477 * cus-edit.el (custom-mode-hook):
6478 * buff-menu.el (buffer-menu-mode-hook):
6479 * bookmark.el (bookmark-read-annotation-text-func)
6480 (bookmark-exit-hooks):
6481 * allout.el (allout-mode-deactivate-hook)
6482 (allout-exposure-change-hook, allout-structure-added-hook)
6483 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6484 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6485 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6486 comes before the corresponding variable's definition.
6487
64882012-05-12 Chong Yidong <cyd@gnu.org>
6489
6490 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6491 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6492 (Buffer-menu-mode-map): Bind it.
6493 (Buffer-menu--pretty-name): Add a mouse-face property.
6494
64952012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6498 (prolog-upper-case-string, prolog-lower-case-string)
6499 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6500 (prolog-use-smie, prolog-smie-grammar): New vars.
6501 (prolog-smie-forward-token, prolog-smie-backward-token)
6502 (prolog-smie-rules): New funs.
6503 (prolog-comment-indent): Remove.
6504 (prolog-mode-variables): Use default comment indentation instead.
6505 Setup SMIE.
6506 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6507 (prolog-mode): Don't call them any more.
6508 (prolog-electric-colon, prolog-electric-dash)
6509 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6510
6511 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6512
6513 * minibuffer.el (completion--twq-all): Again, allow case differences.
6514
6515 * term.el: Move keymap initialization code to be more idiomatic.
6516 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6517 (term-terminal-menu): Move initialization into declaration.
6518 (term-escape-char): Let the user set it in her .emacs.
6519
6520 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6521 Provide SMIE-based indentation (not enabled by default yet).
6522 (sh-mode-map): Don't bind electric keys.
6523 Use electric-pair-mode instead of skeleton-pair.
6524 (sh-assignment-regexp): Fit within 80 columns.
6525 (sh-indent-supported): Specify actual shell name instead of boolean.
6526 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6527 (sh-maybe-here-document): Use it. Make obsolete.
6528 (sh-electric-here-document-mode) New minor mode.
6529 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6530 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6531 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6532 (sh-smie-rc-grammar, sh-use-smie): New vars.
6533 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6534 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6535 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6536 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6537 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6538 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6539 (sh-set-shell): Use smie-setup if requested.
6540
6541 * term.el (term-set-escape-char): Properly set term-escape-char.
6542 See http://stackoverflow.com/questions/10524656.
6543
65442012-05-10 Chong Yidong <cyd@gnu.org>
6545
6546 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6547 Use url-generic-parse-url, and handle host names and Windows
6548 filenames properly.
6549 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6550 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6551 URL schemes to work on.
6552 (ffap--toggle-read-only): New function.
6553 (ffap-read-only, ffap-read-only-other-window)
6554 (ffap-read-only-other-frame): Use it.
6555 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6556 necessary for ffap-url-unwrap-remote.
6557
65582012-05-10 Dave Abrahams <dave@boostpro.com>
6559
6560 * cus-start.el (create-lockfiles): Add it.
6561
65622012-05-09 Chong Yidong <cyd@gnu.org>
6563
6564 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6565 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6566
65672012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6570
65712012-05-09 Chong Yidong <cyd@gnu.org>
6572
6573 * ansi-color.el (ansi-color-process-output): Check for validity of
6574 comint-last-output-start before using it. This avoids a bad
6575 interaction with gdb-mi's input/output buffer.
6576
65772012-05-09 Glenn Morris <rgm@gnu.org>
6578
6579 * files.el (dir-locals-read-from-file):
6580 Mention dir-locals in any error message.
6581
65822012-05-09 Chong Yidong <cyd@gnu.org>
6583
6584 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6585 package (Bug#11410).
6586
6587 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6588 variables into description.
6589
65902012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6593 shell-delimiter-argument-list (bug#11348).
6594 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6595
65962012-05-09 Juanma Barranquero <lekktu@gmail.com>
6597
6598 * textmodes/rst.el: Silence byte-compiler warnings.
6599 (rst-re-alist, rst-reset-section-caches): Move around.
6600 (rst-re): Use `characterp', not `char-valid-p'.
6601 (font-lock-beg, font-lock-end): Declare.
6602
6603 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6604 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6605
6606 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6607
66082012-05-08 Glenn Morris <rgm@gnu.org>
6609
6610 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6611
66122012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * vc/log-edit.el: Add GNU coding standards highlighting.
6615 (log-edit-font-lock-gnu-style)
6616 (log-edit-font-lock-gnu-keywords): New vars.
6617 (log-edit-font-lock-keywords): New fun.
6618 (log-edit-mode): Don't fold case in font-lock.
6619 (log-edit-font-lock-keywords): Do not assume case-folding.
6620
6621 * imenu.el: Misc cleanup. Make docstrings out of comments.
6622 Use lexical-binding.
6623 (imenu--index-alist, imenu--last-menubar-index-alist)
6624 (imenu-menubar-modified-tick): Use defvar-local.
6625 (imenu--split-menu): Remove unused var.
6626 (imenu--cleanup-seen): Declare as global.
6627 (imenu--cleanup): Use dolist.
6628
6629 * subr.el (defvar-local): Add debug spec and doc-string position.
6630
66312012-05-08 Glenn Morris <rgm@gnu.org>
6632
6633 * language/burmese.el, language/cham.el, language/czech.el:
6634 * language/english.el, language/georgian.el, language/greek.el:
6635 * language/japanese.el, language/khmer.el, language/korean.el:
6636 * language/lao.el, language/misc-lang.el, language/romanian.el:
6637 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6638 * language/thai.el, language/utf-8-lang.el:
6639 Remove no-byte-compile setting.
6640
6641 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6642
66432012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6644
6645 * progmodes/make-mode.el (makefile-browse):
6646 Remove unnecessary interactive. (Bug#11324)
6647
66482012-05-07 Glenn Morris <rgm@gnu.org>
6649
6650 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6651
6652 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6653
66542012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6655
6656 * loadup.el: Preload newcomment.el.
6657 * newcomment.el: Move autoload-only code to toplevel.
6658
6659 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6660 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6661 Handle new :right-align column property.
6662 (tabulated-list-print-col): Idem, plus use `display' text-property to
6663 try and preserve alignment for variable pitch fonts.
6664
66652012-05-07 Chong Yidong <cyd@gnu.org>
6666
6667 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6668 (tabulated-list-use-header-line): New var.
6669 (tabulated-list-init-header): Use it.
6670 (tabulated-list-print-fake-header): New function.
6671 (tabulated-list-print): Use it.
6672 (tabulated-list-sort-button-map): Add non-header-line commands.
6673 (tabulated-list-init-header): Add column name property to basic
6674 labels as well.
6675 (tabulated-list-col-sort): Handle non-header-line button case.
6676 (tabulated-list--sort-by-column-name): Fix a corner case.
6677
6678 * buff-menu.el (list-buffers--refresh):
6679 Handle Buffer-menu-use-header-line.
6680
66812012-05-06 Chong Yidong <cyd@gnu.org>
6682
6683 * buff-menu.el: Convert to Tabulated List mode.
6684 (Buffer-menu-buffer+size-width): Make obsolete.
6685 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6686 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6687 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6688 documentation into docstring of buffer-menu.
6689 (Buffer-menu-toggle-files-only): Add an informative message.
6690 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6691 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6692 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6693 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6694 (Buffer-menu-execute, Buffer-menu-select)
6695 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6696 (Buffer-menu-bury): Use Tabulated List machinery.
6697 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6698 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6699 Delete.
6700 (list-buffers--refresh): New function.
6701 (list-buffers-noselect): Use it.
6702 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6703 (Buffer-menu--pretty-file-name): New helper functions.
6704
6705 * loadup.el: Preload tabulated-list.
6706
6707 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6708 tabulated-list-sort-column.
6709 (tabulated-list-init-header): Add the initial aligning space even
6710 if tabulated-list-padding is zero.
6711
67122012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6713
6714 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6715 whose cdr is not a cons cell correctly (bug#11038).
6716
67172012-05-06 Chong Yidong <cyd@gnu.org>
6718
6719 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6720 Accept additional plist in column descriptors.
6721 (tabulated-list-init-header): Obey it.
6722 (tabulated-list-get-entry): New function.
6723 (tabulated-list-put-tag): Use it. Use string-width instead of
6724 length.
6725 (tabulated-list--column-number): New function.
6726 (tabulated-list-print): Use it.
6727 (tabulated-list-print-col): New function.
6728 Set `tabulated-list-column-name' property on each column's text.
6729 (tabulated-list-print-entry): Use it.
6730 (tabulated-list-delete-entry, tabulated-list-set-col):
6731 New functions.
6732 (tabulated-list-sort-column): New command (Bug#11337).
6733
6734 * buff-menu.el (list-buffers): Move C-x C-b binding from
6735 buff-menu.el to bindings.el.
6736
6737 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6738 :advertised-binding feature.
6739
67402012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6741
6742 * progmodes/compile.el (compilation-internal-error-properties):
6743 Calculate start position correctly when end-col is set but
6744 end-line is not (Bug#11382).
6745
67462012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6747
6748 * man.el (Man-unindent): Use text-property-default-nonsticky to
6749 prevent untabify from inheriting face properties (Bug#11408).
6750
67512012-05-05 Stefan Merten <smerten@oekonux.de>
6752
6753 * textmodes/rst.el: Major merge with upstream development up to
6754 Docutils SVN r7399 / rst.el V1.2.1.
6755
6756 Clarify maintainership and authors.
6757
6758 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6759 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6760 (rst-official-version, rst-official-cvs-rev, rst-version)
6761 (rst-package-emacs-version-alist): New functions and variables
6762 for version information.
6763
6764 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6765 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6766 (rst-mode-syntax-table, rst-mode): New and corrected functions
6767 and variables representing reStructuredText features.
6768
6769 (rst-re): New function for reStructuredText regexes. Use in
6770 many places.
6771
6772 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6773 (rst-mode-map): Rebind keys.
6774
6775 (rst-mode-lazy, rst-font-lock-keywords)
6776 (rst-font-lock-extend-region)
6777 (rst-font-lock-extend-region-internal)
6778 (rst-font-lock-extend-region-extend)
6779 (rst-font-lock-find-unindented-line-limit)
6780 (rst-font-lock-find-unindented-line-match)
6781 (rst-adornment-level, rst-font-lock-adornment-level)
6782 (rst-font-lock-adornment-match)
6783 (rst-font-lock-handle-adornment-pre-match-form)
6784 (rst-font-lock-handle-adornment-matcher): Major revision of
6785 font-locking. Integrate with other code. Use `jit-lock-mode'.
6786
6787 (rst-preferred-adornments, rst-adjust-hook)
6788 (rst-new-adornment-down, rst-preferred-bullets)
6789 (rst-preferred-bullets, rst-indent, rst-indent-width)
6790 (rst-indent-field, rst-indent-literal-normal)
6791 (rst-indent-literal-minimized, rst-indent-comment): Change,
6792 extend and improve customization.
6793
6794 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6795 (rst-normalize-cursor-position, rst-get-decoration)
6796 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6797 (rst-rstrip, rst-toc-insert-find-delete-contents)
6798 (rst-shift-fill-region, rst-compute-bullet-tabs)
6799 (rst-debug-print-tabs, rst-debug-mark-found)
6800 (rst-shift-region-guts, rst-shift-region-right)
6801 (rst-shift-region-left, rst-use-char-classes)
6802 (rst-font-lock-keywords-function)
6803 (rst-font-lock-indentation-point)
6804 (rst-font-lock-find-unindented-line-begin)
6805 (rst-font-lock-find-unindented-line-end)
6806 (rst-font-lock-find-unindented-line)
6807 (rst-font-lock-adornment-point, rst-font-lock-level)
6808 (rst-adornment-level-alist): Remove functions and variables.
6809
6810 (rst-compare-adornments, rst-get-adornment-match)
6811 (rst-suggest-new-adornment, rst-get-adornments-around)
6812 (rst-adornment-complete-p, rst-get-next-adornment)
6813 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6814 (rst-straighten-adornments): Standardize function names to
6815 use "adornment" instead of "decoration". Correct callers.
6816 Similar standardizing in many places.
6817
6818 (rst-update-section, rst-adjust, rst-promote-region)
6819 (rst-enumerate-region, rst-bullet-list-region)
6820 (rst-repeat-last-character): Correct use of `interactive'.
6821
6822 (rst-classify-adornment, rst-find-all-adornments)
6823 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6824 (rst-find-leftmost-column, rst-repeat-last-character):
6825 Refactor functions.
6826
6827 (rst-find-title-line, rst-reset-section-caches)
6828 (rst-get-adornments-around, rst-adjust-adornment-work)
6829 (rst-arabic-to-roman, rst-roman-to-arabic)
6830 (rst-insert-list-pos, rst-insert-list-new-item)
6831 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6832 New functions.
6833
6834 (rst-all-sections, rst-section-hierarchy)
6835 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6836 New variables.
6837
6838 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6839 configuration instead of only buffer. Change where necessary.
6840
6841 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6842 (rst-shift-region, rst-adaptive-fill): New functions for
6843 indentation and filling.
6844
6845 (rst-comment-line-break, rst-comment-indent)
6846 (rst-comment-insert-comment, rst-comment-region)
6847 (rst-uncomment-region): New functions for handling comments.
6848
6849 (rst-compile): Quote shell arguments.
6850
6851 (rst-compile-pdf-preview, rst-compile-slides-preview):
6852 Delete temporary files after use.
6853
68542012-05-05 Glenn Morris <rgm@gnu.org>
6855
6856 * calendar/cal-html.el: Optionally include holidays in the output.
6857 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6858 (cal-html-holidays): New option.
6859 (cal-html-css-default): Add holiday entry.
6860 (holiday-in-range): Autoload it.
6861 (cal-html-htmlify-entry): Add optional class argument.
6862 (cal-html-htmlify-list): Add optional holidays argument.
6863 (cal-html-insert-agenda-days): Include holidays in the output.
6864 (cal-html-one-month): Maybe include holidays.
6865
6866 * calendar/holidays.el (holiday-in-range):
6867 Move here from cal-tex-list-holidays.
6868 * calendar/cal-tex.el (cal-tex-list-holidays):
6869 Make it an obsolete alias for holiday-in-range. Update all callers.
6870
68712012-05-05 Chong Yidong <cyd@gnu.org>
6872
6873 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6874 Nextstep.
6875
68762012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6877
6878 * files.el (file-auto-mode-skip): New var.
6879 (set-auto-mode-1): Use it.
6880
68812012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * repeat.el: Use lexical-binding.
6884 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6885 (repeat-undo-count): Remove.
6886 (repeat):
6887 * progmodes/octave-mod.el (octave-abbrev-start):
6888 * progmodes/f90.el (f90-abbrev-start):
6889 * face-remap.el (text-scale-adjust):
6890 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6891
6892 * emacs-lisp/pcase.el (pcase--let*): New function.
6893 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6894 a bit more.
6895 (pcase--split-pred): Be more clever about ruling out overlap between
6896 a predicate and some constant pattern.
6897 (pcase--q1): Use `null' instead of (eq foo nil).
6898
6899 * subr.el (setq-local, defvar-local): New macros.
6900 (kbd): Redefine as an alias.
6901 (with-selected-window): Leave unrelated frames alone.
6902 (set-temporary-overlay-map): New function.
6903
69042012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * subr.el (user-error): New function.
6907 * window.el (switch-to-buffer):
6908 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6909 (smerge-match-conflict):
6910 * simple.el (previous-matching-history-element)
6911 (next-matching-history-element, goto-history-element, undo-more)
6912 (undo-start):
6913 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6914 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6915 (next-file, tags-loop-scan, list-tags, complete-tag):
6916 * progmodes/compile.el (compilation-loop):
6917 * mouse.el (mouse-minibuffer-check):
6918 * man.el (Man-bgproc-sentinel, Man-goto-page):
6919 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6920 (Info-history-forward, Info-follow-reference, Info-menu)
6921 (Info-extract-menu-item, Info-extract-menu-counting)
6922 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6923 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6924 (Info-next-reference, Info-prev-reference, Info-index)
6925 (Info-index-next, Info-follow-nearest-node)
6926 (Info-copy-current-node-name):
6927 * imenu.el (imenu--make-index-alist)
6928 (imenu-default-create-index-function, imenu-add-to-menubar):
6929 * files.el (basic-save-buffer, recover-file):
6930 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6931 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6932 (checkdoc-message-text, checkdoc-defun):
6933 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6934 * cus-edit.el (customize-changed-options, customize-rogue)
6935 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6936 (custom-variable-mark-to-reset-standard)
6937 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6938 (custom-file):
6939 * completion.el (check-completion-length):
6940 * comint.el (comint-search-arg)
6941 (comint-previous-matching-input-string-position)
6942 (comint-previous-matching-input)
6943 (comint-replace-by-expanded-history-before-point, comint-send-input)
6944 (comint-copy-old-input, comint-backward-matching-input)
6945 (comint-goto-process-mark, comint-set-process-mark):
6946 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6947 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6948
69492012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * dabbrev.el (dabbrev--ignore-case-p): New function.
6952 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6953 Use it.
6954
6955 * files.el (automount-dir-prefix): Mark as obsolete.
6956
69572012-05-04 Glenn Morris <rgm@gnu.org>
6958
6959 * patcomp.el, play/bruce.el: Move to obsolete/.
6960
69612012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6962
6963 Fix minor Y10k bugs.
6964 * arc-mode.el (archive-unixdate):
6965 * autoinsert.el (auto-insert-alist):
6966 * calc/calc-forms.el (math-this-year):
6967 * emacs-lisp/copyright.el (copyright-current-year)
6968 (copyright-update-year, copyright):
6969 * tar-mode.el (tar-clip-time-string):
6970 * time.el (display-time-update):
6971 Don't assume years have 4 digits.
6972
69732012-05-04 Chong Yidong <cyd@gnu.org>
6974
6975 * dos-w32.el (file-name-buffer-file-type-alist)
6976 (direct-print-region-use-command-dot-com):
6977 * ffap.el (ffap-menu-regexp):
6978 * find-file.el (ff-special-constructs):
6979 * follow.el (follow-debug):
6980 * forms.el (forms--debug):
6981 * iswitchb.el (iswitchb-all-frames):
6982 * ido.el (ido-all-frames):
6983 * emacs-lisp/timer.el (timer-max-repeats):
6984 * mail/feedmail.el (feedmail-mail-send-hook)
6985 (feedmail-mail-send-hook-queued):
6986 * mail/footnote.el (footnote-signature-separator):
6987 * mail/mailabbrev.el (mail-alias-separator-string)
6988 (mail-abbrev-mode-regexp):
6989 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6990 * progmodes/idlwave.el (idlwave-libinfo-file)
6991 (idlwave-default-completion-case-is-down)
6992 (idlwave-library-routines): Convert defvars to defcustoms.
6993
6994 * mail/rmail.el (rmail-decode-mime-charset):
6995 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6996 (idlwave-shell-fix-inserted-breaks)
6997 (idlwave-shell-activate-alt-keybindings)
6998 (idlwave-shell-use-breakpoint-glyph):
6999 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7000
70012012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7002
7003 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7004
70052012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7006
7007 * progmodes/verilog-mode.el (font-lock-keywords):
7008 Fix mis-highligting auto. Reported by Craig Barner.
7009 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7010 defines from global name space. Reported by Dan Dever.
7011 (verilog-auto-reset, verilog-auto-reset-widths)
7012 (verilog-auto-tieoff): Support using unbased numbers for
7013 AUTORESET and AUTOTIEOFF.
7014 (verilog-submit-bug-report): Update variable list.
7015 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7016 parenthesis from not matching. Reported by Michael Rytting.
7017 (verilog-auto-template-lint): Fix hash error when linting modules
7018 with no used templates.
7019 (verilog-warn, verilog-warn-error)
7020 (verilog-warn-fatal): When non-interactive report multiple
7021 warnings before exiting. Suggested by Brad Dobbie.
7022 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7023 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7024 to report unused template errors. Reported by Brad Dobbie.
7025 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7026 nets, bug438. Reported by Vns Blore.
7027 (verilog-auto-inout-module, verilog-auto-reg)
7028 (verilog-read-decls, verilog-read-sub-decls-sig)
7029 (verilog-signals-edit-wire-reg, verilog-signals-with):
7030 Fix passing of Verilog data types in ANSI input/output ports
7031 such as "output logic" into the AUTOs. Special case "wire" and
7032 "reg" for backwards compatibility presuming Verilog 2001.
7033 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7034 (verilog-preprocess): Fix replication of preprocess output.
7035 Reported by Brad Dobbie.
7036 (verilog-auto-inst-interfaced-ports):
7037 Create verilog-auto-inst-interfaced-ports, bug429.
7038 Reported by Julian Gorfajn.
7039 (verilog-after-save-font-hook)
7040 (verilog-before-save-font-hook): New variable.
7041 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7042 (verilog-save-font-mods): Wrap disabling fontification, reported
7043 by David Rogoff.
7044 (verilog-do-indent, verilog-pretty-declarations-auto)
7045 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7046 Reported by Pierre-David Pfister.
7047 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7048 of class declarations, bug292. Reported by Kevin Heilman.
7049 (verilog-read-decls): Fix 'parameter type' not appearing in
7050 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7051 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7052 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7053 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7054 Reported by David Kravitz.
7055
70562012-05-03 Michael McNamara <mac@mail.brushroad.com>
7057
7058 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7059 assignment with tests in ifs and for loops.
7060 (verilog-extended-complete-re, verilog-complete-reg): Change so
7061 that DPI inport functions don't look like fuction declarations.
7062 (verilog-pretty-expr): Don't line up assignment
7063 operations to the test and increment in if and for loops
7064 (verilog-extended-complete-re, verilog-complete-reg): Change so
7065 that DPI inport functions don't look like fuction declarations.
7066
70672012-05-03 Kenichi Handa <handa@m17n.org>
7068
7069 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7070 decoding, and show a warning message without signaling an error
7071 (Bug#11282).
7072
70732012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/bytecomp.el
7076 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7077 since cconv.el might have introduced :fun-body, internal-make-closure,
7078 and friends for bytecomp to handle (bug#11391).
7079 * custom.el (defcustom): Avoid ((λ ..) ..).
7080
70812012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7084
70852012-05-02 Juanma Barranquero <lekktu@gmail.com>
7086
7087 * notifications.el (dbus-debug):
7088 * term/linux.el (gpm-mouse-enable):
7089 * term/screen.el (xterm-register-default-colors): Declare.
7090
70912012-05-02 Chong Yidong <cyd@gnu.org>
7092
7093 * cus-start.el (gc-cons-percentage, exec-suffixes)
7094 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7095 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7096 (make-cursor-line-fully-visible, void-text-area-pointer)
7097 (font-list-limit): Add customization data.
7098
7099 * allout.el (allout-exposure-change-functions)
7100 (allout-structure-added-functions)
7101 (allout-structure-deleted-functions)
7102 (allout-structure-shifted-functions): Rename abnormal hooks from
7103 *-hook, and convert to defcustoms.
7104 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7105 Convert to defcustoms.
7106 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7107
7108 * allout-widgets.el: Hook callers changed.
7109
71102012-05-02 Eli Zaretskii <eliz@gnu.org>
7111
7112 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7113 the yanked message in preference to the default value of
7114 buffer-file-coding-system.
7115
71162012-05-02 Martin Rudalics <rudalics@gmx.at>
7117
7118 * window.el (display-buffer--action-function-custom-type):
7119 Fix entry.
7120
71212012-05-02 Alan Mackenzie <acm@muc.de>
7122
7123 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7124
71252012-05-01 Glenn Morris <rgm@gnu.org>
7126
7127 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7128
7129 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7130
7131 * cus-edit.el (custom-variable-documentation): Simplify with format.
7132
71332012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7134 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * simple.el (suggest-key-bindings, execute-extended-command):
7137 Move from keyboard.c.
7138
71392012-05-01 Chong Yidong <cyd@gnu.org>
7140
7141 * follow.el: Eliminate advice.
7142 (set-process-filter, process-filter, sit-for): Advice deleted.
7143 (follow-mode-off-hook): Obsolete hook removed.
7144 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7145 Vars deleted.
7146 (follow-auto): Use a :set function.
7147 (follow-mode): Rewritten. Don't advise process filters.
7148 (follow-switch-to-current-buffer-all, follow-scroll-up)
7149 (follow-scroll-down): Assume follow-mode is bound.
7150 (follow-comint-scroll-to-bottom)
7151 (follow-align-compilation-windows): New functions.
7152 (follow--window-sorter): New function.
7153 (follow-all-followers): Use it to explicitly sort windows by their
7154 positions; don't make assumptions about next-window order.
7155 (follow-windows-start-end, follow-delete-other-windows-and-split)
7156 (follow-calc-win-start): Doc fix.
7157 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7158 vertical-motion unnecessarily.
7159 (follow-adjust-window): New function.
7160 (follow-post-command-hook): Use it.
7161 (follow-call-set-process-filter, follow-call-process-filter)
7162 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7163 (follow-stop-intercept-process-output, follow-generic-filter):
7164 Functions deleted.
7165 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7166 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7167 New functions, replacing advice on scroll-bar-* commands.
7168 (follow-mwheel-scroll): New function (Bug#4112).
7169
7170 * comint.el (comint-adjust-point): New function.
7171 (comint-postoutput-scroll-to-bottom): Use it.
7172 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7173
71742012-05-01 Glenn Morris <rgm@gnu.org>
7175
7176 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7177 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7178 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7179 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7180 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7181 Remove no-byte-compile setting.
7182
71832012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7186 all-completions code to not return a number in the last cdr.
7187
71882012-04-30 Leo Liu <sdl.web@gmail.com>
7189
7190 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7191 read-only error.
7192
71932012-04-29 Chong Yidong <cyd@gnu.org>
7194
7195 * follow.el (follow-calc-win-end): Rewrite to handle partial
7196 screen lines correctly (Bug#8390).
7197 (follow-avoid-tail-recenter): Minor cleanup.
7198
71992012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 Avoid the obsolete `assoc' package.
7202 * speedbar.el (speedbar-refresh): Avoid adelete.
7203 (speedbar-file-lists): Simplify and avoid aput.
7204 * man.el (Man--sections, Man--refpages): New vars, replacing
7205 Man-sections-alist and Man-refpages-alist.
7206 (Man-build-section-alist, Man-build-references-alist):
7207 Use them; avoid aput.
7208 (Man--last-section, Man--last-refpage): New vars.
7209 (Man-follow-manual-reference): Use them.
7210 Use the `default' arg of completing-read.
7211 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7212
72132012-04-27 Chong Yidong <cyd@gnu.org>
7214
7215 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7216
7217 * startup.el (x-apply-session-resources): New function.
7218
7219 * term/ns-win.el (ns-initialize-window-system):
7220 * term/w32-win.el (w32-initialize-window-system):
7221 * term/x-win.el (x-initialize-window-system): Use it to properly
7222 set menu-bar-mode and other vars from X resources, even if the
7223 initial frame is not a window-system frame (Bug#2299).
7224
7225 * subr.el (read-key): Avoid running filter function when setting
7226 up temporary tool bar entries (Bug#9922).
7227
72282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7229
7230 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7231 (Bug#11344)
7232
72332012-04-27 Chong Yidong <cyd@gnu.org>
7234
7235 * select.el (xselect--encode-string): New function, split from
7236 xselect-convert-to-string.
7237 (xselect-convert-to-string): Use it.
7238 (xselect-convert-to-filename, xselect-convert-to-os)
7239 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7240 returned strings are properly encoded (Bug#11315).
7241
72422012-04-27 Chong Yidong <cyd@gnu.org>
7243
7244 * simple.el (delete-active-region): Move to killing custom group.
7245
72462012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7247
7248 * progmodes/which-func.el (which-func-current): Quote %
7249 characters for mode-line processing.
7250
72512012-04-27 Chong Yidong <cyd@gnu.org>
7252
7253 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7254 reaching eob (Bug#11286).
7255
72562012-04-27 Eli Zaretskii <eliz@gnu.org>
7257
7258 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7259 (gdb): Make it buffer-local and init to zero.
7260 (gdb-control-commands-regexp): New variable.
7261 (gdb-send): Don't wrap in "-interpreter-exec console" if
7262 gdb-control-level is positive. Increment gdb-control-level
7263 whenever the command matches gdb-control-commands-regexp, and
7264 decrement it each time the command is "end". (Bug#11279)
7265
72662012-04-27 Martin Rudalics <rudalics@gmx.at>
7267
7268 * window.el (adjust-window-trailing-edge, enlarge-window)
7269 (shrink-window, window-resize):
7270 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7271 windows (Bug#11276).
7272
72732012-04-27 Chong Yidong <cyd@gnu.org>
7274
7275 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7276 fix "missing prefix" warning. All callers changed.
7277
72782012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * emacs-lisp/assoc.el: Move to obsolete/.
7281
72822012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7285
7286 * term/ns-win.el (ns-define-service):
7287 * progmodes/pascal.el (pascal-goto-defun):
7288 * progmodes/js.el (js--read-tab):
7289 * progmodes/etags.el (tags-lazy-completion-table):
7290 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7291 * emacs-lisp/ewoc.el (ewoc--wrap):
7292 * emacs-lisp/assoc.el (aput, adelete, amake):
7293 * doc-view.el (doc-view-convert-current-doc):
7294 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7295
72962012-04-26 Chong Yidong <cyd@gnu.org>
7297
7298 * image.el (image-type-from-buffer): Only return supported image
7299 type (Bug#9045).
7300
7301 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7302 value, for symmetry with diff-end-of-hunk.
7303 (diff-split-hunk, diff-find-source-location)
7304 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7305 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7306 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7307 compute the relevant hunk or file properly (Bug#6005).
7308 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7309
73102012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * vc/vc-mtn.el:
7313 * vc/vc-hg.el:
7314 * vc/vc-git.el:
7315 * vc/vc-dir.el:
7316 * vc/vc-cvs.el:
7317 * vc/vc-bzr.el:
7318 * vc/vc-arch.el:
7319 * vc/vc.el: Replace lexical-let by lexical-binding.
7320 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7321 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7322 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7323
73242012-04-26 Chong Yidong <cyd@gnu.org>
7325
7326 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7327 (diff-mode-shared-map): Bind it to / and [remap undo].
7328
7329 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7330 (ediff-window-setup-function): Use it as the default, to set up
7331 windows based on whether the current frame is graphical (Bug#2138).
7332 (ediff-choose-window-setup-function-automatically): Make obsolete.
7333
7334 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7335
73362012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * ffap.el: Remove old code for obsolete package.
7339 (ffap-complete-as-file-p): Remove.
7340
7341 Use completion-table-with-quoting for comint and pcomplete.
7342 * comint.el (comint--unquote&requote-argument)
7343 (comint--unquote-argument, comint--requote-argument): New functions.
7344 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7345 (comint-quote-filename): Use regexp-opt-charset.
7346 (comint--common-suffix, comint--common-quoted-suffix)
7347 (comint--table-subvert): Remove.
7348 (comint-unquote-function, comint-requote-function): New vars.
7349 (comint--complete-file-name-data): Use them with
7350 completion-table-with-quoting.
7351 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7352 * pcomplete.el (pcomplete-arg-quote-list)
7353 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7354 (pcomplete-unquote-argument-function): Default to non-nil.
7355 (pcomplete-unquote-argument): Simplify.
7356 (pcomplete--common-quoted-suffix): Remove.
7357 (pcomplete-requote-argument-function): New var.
7358 (pcomplete--common-suffix): New function.
7359 (pcomplete-completions-at-point): Use completion-table-with-quoting
7360 and completion-table-subvert.
7361
7362 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7363 (minibuffer--double-dollars): Preserve properties.
7364 (completion--sifn-requote): New function.
7365 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7366
7367 * minibuffer.el: Add support for completion of quoted/escaped data.
7368 (completion-table-with-quoting, completion-table-subvert): New funs.
7369 (completion--twq-try, completion--twq-all): New functions.
7370 (completion--nth-completion): New function.
7371 (completion-try-completion, completion-all-completions): Use it.
7372
73732012-04-25 Leo Liu <sdl.web@gmail.com>
7374
7375 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7376 Use compilation-message if available to find real filename.
7377
73782012-04-25 Chong Yidong <cyd@gnu.org>
7379
7380 * vc/diff-mode.el (diff-setup-whitespace): New function.
7381 (diff-mode): Use it.
7382
7383 * vc/diff.el (diff-sentinel):
7384 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7385 Whitespace mode variables based on diff style (Bug#8612).
7386
73872012-04-25 Leo Liu <sdl.web@gmail.com>
7388
7389 * progmodes/python.el (python-send-region): Add suffix .py to the
7390 temp file.
7391
7392 * files.el (auto-mode-alist): Use javascript-mode instead.
7393
73942012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7395
7396 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7397
7398 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7399 (soap-resolve-references-for-array-type): Hack to prevent self
7400 references, see Bug#9.
7401 (soap-parse-envelope): Report the contents of the 'detail' node
7402 when receiving a fault reply.
7403 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7404
7405 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7406 (soap-inspect-simple-type): New function.
7407
7408 * net/soap-client.el (soap-simple-type): New struct.
7409 (soap-default-xsd-types, soap-default-soapenc-types)
7410 (soap-decode-basic-type, soap-encode-basic-type):
7411 support unsignedInt and double basic types.
7412 (soap-resolve-references-for-simple-type)
7413 (soap-parse-simple-type, soap-encode-simple-type): New function.
7414 (soap-parse-schema): Parse xsd:simpleType declarations.
7415
7416 * net/soap-client.el (soap-default-xsd-types)
7417 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7418 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7419 the local name of "soapenc:Array".
7420 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7421 decoding integer, byte and anyURI xsd types.
7422
74232012-04-25 Chong Yidong <cyd@gnu.org>
7424
7425 * cus-edit.el (custom-buffer-create-internal): Update header text.
7426
74272012-04-25 Eli Zaretskii <eliz@gnu.org>
7428
7429 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7430 settings on 'system-type', not on 'window-system'. On MS-Windows,
7431 set interactive-mode on in GDB.
7432
74332012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7434
7435 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7436 (ruby-syntax-propertize-regexp): Remove.
7437 (ruby-syntax-propertize-function): Split regexp into chunks.
7438 Match following code directly.
7439
74402012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7441
7442 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7443 (ruby-syntax-propertize-regexp): New function.
7444 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7445 by a special keyword.
7446
7447 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7448 (ruby-syntax-general-delimiters-goto-beg)
7449 (ruby-syntax-propertize-general-delimiters): New functions.
7450 (ruby-syntax-propertize-function): Use them to handle GDL.
7451 (ruby-font-lock-keywords): Move old handling of GDL...
7452 (ruby-font-lock-syntactic-keywords): .. to here.
7453 (ruby-calculate-indent): Adjust indentation for GDL.
7454
74552012-04-24 Michael Albinus <michael.albinus@gmx.de>
7456
7457 * notifications.el (top): Remove unneeded declarations.
7458 (notifications-specification-version): Change to "1.2".
7459 (notifications-interface, notifications-notify-method)
7460 (notifications-close-notification-method): Fix docstring.
7461 (notifications-get-capabilities-method): New defconst.
7462 (notifications-notify): Add :action-items, :resident and
7463 :transient hints. Change "image_data" to "image-data" and
7464 "image_path" to "image-path".
7465 (notifications-get-capabilities): New defun.
7466
74672012-04-24 Leo Liu <sdl.web@gmail.com>
7468
7469 * progmodes/python.el: Move hideshow setup to the end.
7470
74712012-04-24 Martin Rudalics <rudalics@gmx.at>
7472
7473 * window.el (handle-select-window): Clear echo area since this is
7474 no more done by read_char (Bug#11304).
7475
74762012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7477
7478 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7479 and `/ M' to filter-derived-mode.
7480 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7481 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7482 (ibuffer-mark-by-mode): Use default rather than initial-input.
7483 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7484
74852012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7486
7487 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7488 (ibuffer-filter-by-derived-mode): New filter.
7489 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7490
74912012-04-23 Andreas Politz <politza@fh-trier.de>
7492
7493 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7494
74952012-04-23 Chong Yidong <cyd@gnu.org>
7496
7497 * cus-edit.el (customize-apropos, customize-apropos-options):
7498 Disable matching of non-option variables (Bug#11176).
7499 (customize-option, customize-option-other-window)
7500 (customize-changed-options): Doc fix.
7501 (customize-apropos-options, customize-apropos-faces)
7502 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7503
7504 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7505 Fix word list splitting (Bug#11132).
7506 (apropos-symbol, apropos-keybinding, apropos-label)
7507 (apropos-property, apropos-function-button)
7508 (apropos-variable-button, apropos-misc-button): New faces.
7509 (apropos-symbol-face, apropos-keybinding-face)
7510 (apropos-label-face, apropos-property-face, apropos-match-face):
7511 Variables removed (Bug#8396).
7512 (apropos-library-button, apropos-format-plist, apropos-print)
7513 (apropos-print-doc, apropos-describe-plist): Callers changed.
7514
75152012-04-23 Michael Albinus <michael.albinus@gmx.de>
7516
7517 * net/xesam.el (xesam-mode-map): Use let-bound map in
7518 initialization. (Bug#11292)
7519
75202012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7521
7522 Preserve ispell session localwords when switching back to
7523 original buffer.
7524
7525 * textmodes/ispell.el (ispell-buffer-session-localwords):
7526 New buffer-local variable to hold buffer session localwords.
7527 (ispell-kill-ispell): Add option 'clear to delete session
7528 localwords.
7529 (ispell-command-loop, ispell-change-dictionary)
7530 (ispell-buffer-local-words): Preserve session localwords when
7531 needed.
7532
7533 * textmodes/flyspell.el (flyspell-process-localwords)
7534 (flyspell-do-correct): Preserve session localwords when needed.
7535
75362012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7537
7538 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7539 using obsolete `translation-table-for-input'.
7540 (ispell-word, ispell-process-line, ispell-complete-word):
7541 Use plain `insert' instead of removed `ispell-insert-word'.
7542
75432012-04-22 Chong Yidong <cyd@gnu.org>
7544
7545 * cus-edit.el (custom-variable-menu)
7546 (custom-variable-reset-saved, custom-face-menu)
7547 (custom-face-reset-saved): If there is no saved value, make the
7548 "reset-saved" operation bring back the default (Bug#9509).
7549 (custom-face-state): Properly detect themed faces.
7550
7551 * faces.el (face-spec-set): Stop supporting deprecated form of
7552 third arg.
7553
75542012-04-22 Michael Albinus <michael.albinus@gmx.de>
7555
7556 Move functions from C to Lisp. Make non-blocking method calls
7557 the default. Implement further D-Bus standard interfaces.
7558
7559 * net/dbus.el (dbus-message-internal): Declare function.
7560 Remove unneeded function declarations.
7561 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7562 (dbus-message-type-method-return, dbus-message-type-error)
7563 (dbus-message-type-signal): Declare variables. Remove local
7564 definitions.
7565 (dbus-interface-dbus, dbus-interface-peer)
7566 (dbus-interface-introspectable, dbus-interface-properties)
7567 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7568 Adapt docstring.
7569 (dbus-interface-objectmanager): New defconst.
7570 (dbus-call-method, dbus-call-method-asynchronously)
7571 (dbus-send-signal, dbus-method-return-internal)
7572 (dbus-method-error-internal, dbus-register-service)
7573 (dbus-register-signal, dbus-register-method): New defuns, moved
7574 from dbusbind.c
7575 (dbus-call-method-handler, dbus-setenv)
7576 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7577 New defuns.
7578 (dbus-call-method-non-blocking): Make it an obsolete function.
7579 (dbus-unregister-object, dbus-unregister-service)
7580 (dbus-handle-event, dbus-register-property)
7581 (dbus-property-handler): Obey the new structure of
7582 `bus-registered-objects'.
7583 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7584 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7585 Use `dbus-call-method'.
7586
75872012-04-22 Chong Yidong <cyd@gnu.org>
7588
7589 * cus-edit.el (custom-commands, custom-reset-menu)
7590 (Custom-reset-standard): Tweak labels.
7591 (custom-reset-button-menu): Change default to t.
7592 (custom-buffer-create-internal): For the custom-reset-button-menu
7593 case, put the revert button first.
7594 (custom-group-subtitle): New face.
7595 (custom-group-value-create): Align docstring to a specific column.
7596
7597 * wid-edit.el (widget-documentation-link-add): Don't handle
7598 indentation in this function.
7599 (widget-documentation-string-indent-to): New function.
7600 (widget-documentation-string-value-create): Use it.
7601
7602 * autorevert.el (auto-revert):
7603 * epg-config.el (epg):
7604 * ibuffer.el (ibuffer):
7605 * mpc.el (mpc):
7606 * ses.el (ses):
7607 * eshell/eshell.el (eshell):
7608 * net/ange-ftp.el (ange-ftp):
7609 * progmodes/ebnf2ps.el (postscript):
7610 * progmodes/flymake.el (flymake):
7611 * progmodes/prolog.el (prolog):
7612 * progmodes/verilog-mode.el (verilog-mode):
7613 * progmodes/which-func.el (which-func):
7614 * term/xterm.el (xterm):
7615 * textmodes/picture.el (picture):
7616 * textmodes/tildify.el (tildify):
7617 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7618 customization buffers.
7619
76202012-04-22 Alan Mackenzie <acm@muc.de>
7621
7622 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7623 Adding a ) can hide the resulting (..) from searches. Fix it.
7624 Bound the backward search to the position of the existing (.
7625
76262012-04-21 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * progmodes/verilog-mode.el (verilog-mode): Check whether
7629 which-func-modes is t before adding verilog-mode.
7630 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7631
76322012-04-21 Leo Liu <sdl.web@gmail.com>
7633
7634 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7635
76362012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7637
7638 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7639 filling of the last column of a table (Bug#5635).
7640 (woman-find-next-control-line): New arg, specifying an additional
7641 regexp component for the control line.
7642 (woman2-roff-buffer): Use it.
7643 (woman-break-table): New function.
7644 (woman2-TS): Use it.
7645
76462012-04-21 Chong Yidong <cyd@gnu.org>
7647
7648 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7649 (woman-horizontal-escapes, woman-negative-vertical-space)
7650 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7651 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7652
76532012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7654
7655 * minibuffer.el (completion-file-name-table): Complete user names.
7656
76572012-04-20 Leo Liu <sdl.web@gmail.com>
7658
7659 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7660 and pcase-let*.
7661
76622012-04-20 Chong Yidong <cyd@gnu.org>
7663
7664 * server.el (server-execute): Respect initial-buffer-choice if it
7665 is a string and there are no files to open (Bug#2825).
7666 (server-create-window-system-frame, server-create-tty-frame):
7667 Don't switch buffers here.
7668 (server-process-filter): Only try to open a window system frame if
7669 compiled with graphical support (Bug#8314).
7670
76712012-04-20 Dan Nicolaescu <dann@gnu.org>
7672
7673 * battery.el (battery-echo-area-format): Display remaining time
7674 for sysfs backend too (Bug#11269).
7675 (battery-linux-sysfs): Fix conditional for the charge.
7676
76772012-04-20 Chong Yidong <cyd@gnu.org>
7678
7679 * progmodes/gdb-mi.el (gdb): Revert previous change.
7680 (gdb-inferior-io--init-proc): New function.
7681 (gdb-init-1): Use it.
7682 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7683 responsible for allocating a new pty and hooking it to gdb when
7684 the old pty gets an EIO due to process exit.
7685 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7686 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7687 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7688
76892012-04-20 Eli Zaretskii <eliz@gnu.org>
7690
7691 * window.el (window-min-size, window-sizable, window-min-delta)
7692 (window-max-delta, window--resizable, window-resizable)
7693 (window-total-size, window-full-height-p, window-full-width-p)
7694 (window-in-direction, window--resize-mini-window, window-resize)
7695 (window--resize-child-windows-normal)
7696 (window--resize-child-windows, window--resize-siblings)
7697 (window--resize-this-window, adjust-window-trailing-edge)
7698 (enlarge-window, shrink-window): Doc fixes.
7699
77002012-04-20 Chong Yidong <cyd@gnu.org>
7701
7702 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7703 New function to call delete-process on the gdb-inferior buffer's pty.
7704 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7705 pty process (Bug#11273).
7706 (gdb-update): New arg to suppress talking to the gdb process.
7707 (gdb-done-or-error): Use it.
7708 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7709 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7710 sentinel not being called.
7711
7712 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7713
7714 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7715
77162012-04-20 Glenn Morris <rgm@gnu.org>
7717
7718 * net/network-stream.el (open-network-stream): Doc fix.
7719
77202012-04-20 Chong Yidong <cyd@gnu.org>
7721
7722 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7723
77242012-04-20 Alan Mackenzie <acm@muc.de>
7725
7726 Ensure searching for keywords is case sensitive.
7727
7728 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7729 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7730 (c-defun-name, c-mark-function, c-cpp-define-name)
7731 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7732 (c-context-line-break): Bind case-fold-search to nil.
7733
7734 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7735 Bind case-fold-search to nil.
7736
77372012-04-20 Chong Yidong <cyd@gnu.org>
7738
7739 * mail/sendmail.el (mail-bury): Call return action with the right
7740 Rmail buffer (Bug#11242).
7741
7742 * server.el (server-process-filter): Handle corner case where both
7743 tty and nowait options are present (Bug#11102).
7744
77452012-04-20 Eli Zaretskii <eliz@gnu.org>
7746
7747 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7748 (top level): Put into the executable the ident-style '$Id:' tag on
7749 windows-nt as well.
7750
77512012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * electric.el (electric-indent-post-self-insert-function): Check that
7754 electric-indent-mode is enabled in current buffer.
7755
77562012-04-19 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * imenu.el (imenu-progress-message): Restore; it is "used" in
7759 erc/erc-imenu.el and net/snmp-mode.el.
7760
77612012-04-19 Juanma Barranquero <lekktu@gmail.com>
7762
7763 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7764 (mouse-avoidance-nudge-mouse): Remove unused binding.
7765
7766 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7767
7768 * descr-text.el (describe-char):
7769 * progmodes/python.el (python-describe-symbol):
7770 Don't call `toggle-read-only', set `buffer-read-only'.
7771
7772 * imenu.el (imenu-default-goto-function): Mark unused args.
7773 (imenu-progress-message): Remove obsolete macro; all callers changed.
7774
7775 * subr.el (keymap-canonicalize): Remove unused binding.
7776 (read-passwd): Mark unused arg.
7777
7778 * tutorial.el (tutorial--display-changes): Remove unused binding.
7779 (tutorial--save-tutorial-to): Remove unused variable.
7780
7781 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7782 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7783 (package-generate-autoloads, package-menu--generate)
7784 (package-menu--find-upgrades): Remove unused bindings.
7785
7786 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7787 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7788 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7789 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7790 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7791 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7792 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7793 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7794 (cua-delete-char-rectangle): Mark unused args.
7795 (cua-align-rectangle): Remove unused binding.
7796
7797 * mail/rmail.el (compilation--message->loc)
7798 (epa--find-coding-system-for-mime-charset): Declare.
7799
7800 * net/dbus.el (dbus-register-service): Declare.
7801 (dbus-name-owner-changed-handler): Remove unused binding.
7802
7803 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7804 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7805 (nxml-scan-backward-within): Mark unused arg.
7806 (nxml-dynamic-markup-word): Remove unused binding.
7807
7808 * mouse.el (mouse-menu-major-mode-map):
7809 * emacs-lisp/authors.el (authors-scan-change-log)
7810 (authors-add-to-author-list):
7811 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7812 * emacs-lisp/smie.el (smie-auto-fill):
7813 * mail/sendmail.el (mail-bury):
7814 * mail/unrmail.el (unrmail):
7815 * net/tls.el (open-tls-stream):
7816 * textmodes/picture.el (picture-mouse-set-point):
7817 Remove unused bindings.
7818
78192012-04-19 Michael Albinus <michael.albinus@gmx.de>
7820
7821 * net/tramp.el (tramp-action-password): Let-bind
7822 `enable-recursive-minibuffers' to t.
7823
78242012-04-18 Sam Steingold <sds@gnu.org>
7825
7826 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7827 instead of 'string to accommodate values like [f11].
7828 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7829 * progmodes/gdb-mi.el: Likewise.
7830
78312012-04-18 Leo Liu <sdl.web@gmail.com>
7832
7833 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7834 current buffer.
7835 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7836 LOCAL is nil.
7837
78382012-04-18 Chong Yidong <cyd@gnu.org>
7839
7840 * simple.el (line-move): Use forward-line if in batch mode
7841 (Bug#11053).
7842
78432012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7844
7845 * files.el (after-find-file): Do not try to add a final newline if
7846 the buffer is read-only (Bug#11156).
7847
78482012-04-17 Richard Stallman <rms@gnu.org>
7849
7850 * mail/rmail.el (rmail-start-mail):
7851 Pass (rmail-mail-return...) for the return-action.
7852 Pass (rmail-yank-current-message...) for the yank-action.
7853 (rmail-yank-current-message): New function.
7854 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7855 (rmail-reply): Likewise.
7856 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7857
7858 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7859 buffer, not the last. Reject temp buffers. Use the rmail-mode
7860 buffer, not newbuf.
7861
78622012-04-17 Juanma Barranquero <lekktu@gmail.com>
7863
7864 * server.el (server-ensure-safe-dir): Simplify.
7865
78662012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * emacs-lisp/smie.el: Provide smarter auto-filling.
7869 (smie-auto-fill): New function.
7870 (smie-setup): Use it.
7871
7872 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7873
78742012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7875
7876 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7877 (comment-indent): Use it.
7878
78792012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7880
7881 * ses.el: The overall change is to add cell renaming, that is
7882 setting fancy names for cell symbols other than name matching
7883 "\\`[A-Z]+[0-9]+\\'" regexp .
7884 (ses-localvars): Add ses--renamed-cell-symb-list.
7885 (ses-create-cell-variable): New defun.
7886 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7887 (ses-relocate-formula): Relocate formulas only for cells the
7888 symbols of which are not renamed, i.e. symbols whose names do not
7889 match regexp "\\`[A-Z]+[0-9]+\\'".
7890 (ses-relocate-all): Relocate values only for cells the symbols of
7891 which are not renamed.
7892 (ses-load): Create cells variables as the (ses-cell ...) are read,
7893 in order to check row col consistency with cell symbol name only
7894 for cells that are not renamed.
7895 (ses-replace-name-in-formula): New defun.
7896 (ses-rename-cell): New defun.
7897
78982012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7899
7900 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7901 New option (bug#11118).
7902 (perl-calculate-indent): Respect it.
7903
79042012-04-17 Glenn Morris <rgm@gnu.org>
7905
7906 * dired-aux.el (dired-mark-read-string): Doc fix.
7907
79082012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7909
7910 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7911 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7912
79132012-04-17 Glenn Morris <rgm@gnu.org>
7914
7915 * mouse.el (mouse-drag-track):
7916 * speedbar.el (speedbar-frame-mode):
7917 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7918
79192012-04-16 Leo Liu <sdl.web@gmail.com>
7920
7921 * progmodes/python.el: Trivial cleanup.
7922
79232012-04-16 Glenn Morris <rgm@gnu.org>
7924
7925 * vc/vc.el (vc-string-prefix-p):
7926 * vc/pcvs-util.el (cvs-string-prefix-p):
7927 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7928 * mpc.el (mpc-string-prefix-p):
7929 Make all of these into obsolete aliases for string-prefix-p.
7930 Update callers.
7931 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7932
7933 * textmodes/two-column.el: Move custom options to the start.
7934 (frame-width): Remove compat definition.
7935 (2C-associate-buffer, 2C-dissociate):
7936 Use with-current-buffer rather than save-excursion.
7937 (2C-dissociate): Force a mode-line update.
7938 (2C-autoscroll): Use ignore-errors.
7939
7940 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7941 Autoload trivia.
7942
7943 * emacs-lisp/cl-extra.el (*random-state*):
7944 Remove unnecessary declaration.
7945
7946 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7947
7948 * play/cookie1.el (cookie-snarf):
7949 Give an explicit error if input file cannot be read.
7950
7951 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7952
7953 * progmodes/perl-mode.el (c-macro-expand):
7954 Remove unnecessary autoload (it is in loaddefs.el).
7955
7956 * textmodes/picture.el (picture-desired-column)
7957 (picture-update-desired-column): Convert comments to doc-strings.
7958 (picture-substitute): Remove function.
7959 (picture-mode-map): Initialize in the defvar.
7960
7961 * woman.el: Remove eval-after-load for tar-mode.
7962 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7963 (woman-tar-extract-file): Autoload it.
7964
7965 * frame.el (automatic-hscrolling): Make this alias obsolete.
7966
79672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7968
7969 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7970 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7971 (ispell-dictionary-base-alist): Revert to original XEmacs
7972 friendly version for default. [:alpha:] will be added in
7973 `ispell-set-spellchecker-params' if needed.
7974
79752012-04-16 Chong Yidong <cyd@gnu.org>
7976
7977 * image.el (imagemagick--file-regexp): New variable.
7978 (imagemagick-register-types): Use it.
7979 (imagemagick-types-inhibit): Add :set function. Allow new value
7980 of t to inhibit all types.
7981
7982 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7983 so we can preload it.
7984
7985 * loadup.el (fboundp): Preload regexp-opt, needed by
7986 imagemagick-register-types.
7987
79882012-04-15 Chong Yidong <cyd@gnu.org>
7989
7990 * frame.el (scrolling): Remove nearly unused customization group.
7991
7992 * scroll-all.el (scroll-all-mode): Move to windows group.
7993
79942012-04-15 Chong Yidong <cyd@gnu.org>
7995
7996 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7997
79982012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8001 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8002
80032012-04-15 Glenn Morris <rgm@gnu.org>
8004
8005 * simple.el (process-file-side-effects): Doc fix.
8006
80072012-04-15 Glenn Morris <rgm@gnu.org>
8008
8009 * international/mule-cmds.el (set-language-environment): Doc fix.
8010
80112012-04-14 Juanma Barranquero <lekktu@gmail.com>
8012
8013 * server.el (server-auth-key, server-generate-key): Doc fixes.
8014 (server-get-auth-key): Doc fix. Use `string-match-p'.
8015 (server-start): Reflow docstring.
8016
80172012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8018
8019 * server.el (server-generate-key): `called-interactively-p'
8020 requires a parameter.
8021
80222012-04-14 Michal Nazarewicz <mina86@mina86.com>
8023
8024 * server.el (server-auth-key): New variable.
8025 (server-generate-key, server-get-auth-key): New function.
8026 (server-start): Use the new variable and functions to allow
8027 setting a permanent server key (bug#9423).
8028
80292012-04-14 Leo Liu <sdl.web@gmail.com>
8030
8031 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8032
80332012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8034
8035 Spelling fixes.
8036 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8037 Emacs uses American spelling.
8038
80392012-04-14 Juanma Barranquero <lekktu@gmail.com>
8040
8041 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8042 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8043 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8044 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8045
80462012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * progmodes/which-func.el (which-func-modes): Change default.
8049
80502012-04-14 Kim F. Storm <storm@cua.dk>
8051
8052 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8053 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8054
80552012-04-14 Chong Yidong <cyd@gnu.org>
8056
8057 * custom.el (custom-theme-set-variables): Doc fix.
8058
80592012-04-14 Glenn Morris <rgm@gnu.org>
8060
8061 * international/mule.el (set-auto-coding-for-load): Doc fix.
8062
80632012-04-14 Alan Mackenzie <acm@muc.de>
8064
8065 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8066 imenu work again for Objective C Mode. Correct the *-index values,
8067 these having been disturbed by a previous change in 2011-08.
8068
8069 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8070 Correct two search limits.
8071
80722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8075
80762012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8077
8078 * international/characters.el: Fix sorting.
8079
80802012-04-14 Eli Zaretskii <eliz@gnu.org>
8081
8082 * international/characters.el: Add more missing Latin case pairs.
8083
80842012-04-14 Glenn Morris <rgm@gnu.org>
8085
8086 * files.el (dir-locals-set-class-variables): Doc fix.
8087
80882012-04-14 Eli Zaretskii <eliz@gnu.org>
8089
8090 * international/characters.el: Add set-case-syntax-pair call for
8091 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8092 counterpart. (Bug#11209)
8093
8094 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8095
80962012-04-14 Glenn Morris <rgm@gnu.org>
8097
8098 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8099
81002012-04-14 Eli Zaretskii <eliz@gnu.org>
8101
8102 * textmodes/ispell.el (ispell-dictionary-base-alist):
8103 Add data for Hebrew.
8104
81052012-04-14 Chong Yidong <cyd@gnu.org>
8106
8107 * net/rcirc.el (rcirc-cmd-quit):
8108 Revert 2012-03-18 change (Bug#11192).
8109
81102012-04-14 Glenn Morris <rgm@gnu.org>
8111
8112 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8113
81142012-04-14 Eli Zaretskii <eliz@gnu.org>
8115
8116 * minibuffer.el (completion-in-region-mode-map):
8117 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8118
81192012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8120
8121 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8122
81232012-04-13 Masatake YAMATO <yamato@redhat.com>
8124
8125 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8126 to allow `C-M-f' and `C-M-b' to move to the nearest path
8127 separator (bug#9511).
8128
81292012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8130
8131 * avoid.el: Require cl when compiling. And also move the
8132 `provide' to the end.
8133
81342012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8135
8136 * avoid.el (mouse-avoidance-banish-position): New variable.
8137 (mouse-avoidance-banish-destination): Use it (bug#10165).
8138
81392012-04-13 Leo Liu <sdl.web@gmail.com>
8140
8141 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8142
81432012-04-13 Ken Brown <kbrown@cornell.edu>
8144
8145 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8146 this is no longer needed now that cygstart understands file:// URLs.
8147 (browse-url-filename-alist): For the same reason, don't modify
8148 file:// URLs on Cygwin.
8149
81502012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8151
8152 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8153 the region on shift if the binding is already shifted (bug#11221).
8154
81552012-04-12 Glenn Morris <rgm@gnu.org>
8156
8157 * mail/mailpost.el: Move to obsolete/.
8158
81592012-04-12 Drew Adams <drew.adams@oracle.com>
8160
8161 * imenu.el (imenu--generic-function): Ignore invisible definitions
8162 (bug#10123).
8163
81642012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8165
8166 * hexl.el (hexl-bits): New variable.
8167 (hexl-options): Mention the variable in the doc string.
8168 (hexl-rulerise, hexl-line-displen): New functions.
8169 (hexl-mode): Mention the new variable.
8170 (hexl-mode, hexl-current-address, hexl-current-address):
8171 Use the displen.
8172 (hexl-ascii-start-column): New function.
8173 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8174 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8175
81762012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8177
8178 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8179 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8180 the encoding, as expected by hunspell.
8181
81822012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * battery.el (battery--linux-sysfs-regexp): New const.
8185 (battery-status-function): Use it. Remove yeeloong special case.
8186 (battery-yeeloong-sysfs): Remove.
8187 (battery-echo-area-format): Remove yeeloong special case.
8188
81892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8192 Reported by Noah Friedman.
8193
8194 * subr.el (read-passwd): Use read-string.
8195
81962012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8197
8198 * vcursor.el (vcursor-move): Increase the priority of the overlay
8199 (bug#9663).
8200
82012012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8202
8203 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8204 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8205
82062012-04-11 William Stevenson <yhvh2000@gmail.com>
8207
8208 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8209 define-minor-mode (bug#10760).
8210
82112012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8212
8213 * progmodes/grep.el (rgrep): Tweak the find command line so
8214 that directories matching `grep-find-ignored-files' won't be
8215 pruned (bug#10351).
8216
82172012-04-11 Chong Yidong <cyd@gnu.org>
8218
8219 * startup.el (command-line): Remove support for long-obsolete
8220 variable font-lock-face-attributes.
8221
82222012-04-11 Glenn Morris <rgm@gnu.org>
8223
8224 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8225
82262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * window.el (window--state-get-1): Obey window-point-insertion-type.
8229
82302012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8231
8232 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8233 to previous function when point is on the first character of a
8234 function. Take care of that in `narrow-to-defun' (bug#6157).
8235
82362012-04-11 Glenn Morris <rgm@gnu.org>
8237
8238 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8239 not just file-errors.
8240
8241 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8242 (vc-bzr-sha1): Use internal sha1.
8243
82442012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8247
82482012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8249
8250 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8251 that start in the middle of the line (bug#10496).
8252
82532012-04-10 Dan Nicolaescu <dann@gnu.org>
8254
8255 * battery.el (battery-linux-proc-acpi): Only one battery is
8256 discharged at a time, but that seems to confuse battery.el when
8257 computing `rate-type' for the battery not being discharged
8258 (bug#10332).
8259
82602012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8261
8262 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8263
8264 * international/quail.el: Use dolist and simplify.
8265 (quail-define-package, quail-update-keyboard-layout)
8266 (quail-define-rules): Use dolist.
8267 (quail-insert-kbd-layout, quail-get-translation): CSE.
8268
8269 * tmm.el: Use dolist, remove left over hook.
8270 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8271 Use dolist.
8272 (calendar-load-hook): Don't mess with it.
8273
8274 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8275 Use derived-mode-p. Run the diff asynchronously.
8276
82772012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8278
8279 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8280
82812012-04-10 Juanma Barranquero <lekktu@gmail.com>
8282
8283 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8284 (list-dynamic-libraries--loaded): New function.
8285 (list-dynamic-libraries--refresh): Use it.
8286
82872012-04-10 Nathan Weizenbaum <nweiz@google.com>
8288
8289 * progmodes/python.el (python-fill-paragraph):
8290 Make python-fill-region in a multiline string work when font-lock is
8291 disabled (bug#7018).
8292
82932012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8294
8295 * language/european.el (cp775): Add oem/legacy (en)coding on
8296 DOS/MS Windows for the Baltic languages. There are still plenty
8297 of texts written in this encoding/codepage (bug#6519).
8298
82992012-04-10 Glenn Morris <rgm@gnu.org>
8300
8301 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8302 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8303
83042012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8305
8306 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8307 next-line "n" and previous-line "p" in order to make recentf more
8308 consistent with ibuffer, dired or org-mode (bug#9387).
8309
83102012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8311
8312 * image.el (put-image): Return the overlay created instead of the
8313 optional input string (bug#7834). Note that this may break code
8314 that is (for some reason or other) depending on `put-image'
8315 returning the string.
8316
8317 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8318
8319 * simple.el (zap-to-char): Allow zapping using input methods
8320 (bug#1580).
8321
8322 * textmodes/fill.el (fill-region): Leave point and mark where they
8323 were before filling (bug#5399).
8324
83252012-04-09 Glenn Morris <rgm@gnu.org>
8326
8327 * version.el (emacs-bzr-get-version):
8328 Handle lightweight checkouts of local branches.
8329
83302012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8331
8332 * international/characters.el: Recover lost case pairs. (Bug#11209)
8333
83342012-04-09 Chong Yidong <cyd@gnu.org>
8335
8336 * custom.el (custom-variable-p): Return nil for non-symbol
8337 arguments instead of signaling an error.
8338 (user-variable-p): Obsolete alias for custom-variable-p.
8339
8340 * apropos.el (apropos-variable):
8341 * files-x.el (read-file-local-variable):
8342 * simple.el (set-variable):
8343 * woman.el (woman-mini-help):
8344 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8345
83462012-04-09 Glenn Morris <rgm@gnu.org>
8347
8348 * startup.el (normal-top-level): Don't look for leim-list.el
8349 in places where it will not be found. (Bug#910)
8350
8351 * international/mule-cmds.el (set-default-coding-systems):
8352 * files.el (normal-mode):
8353 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8354 This function was removed with ucs-tables.el in 2008.
8355
83562012-04-08 Eli Zaretskii <eliz@gnu.org>
8357
8358 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8359 ispell-encoding8-command to "-i", without a trailing space.
8360 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8361 separate command-line arguments, to specify the encoding, since
8362 that's how hunspell expects it.
8363
83642012-04-08 Glenn Morris <rgm@gnu.org>
8365
8366 * loadup.el: Load bindings before cus-start.
8367 This reduces somewhat the number of "rogue" settings in emacs -Q.
8368
83692012-04-07 Glenn Morris <rgm@gnu.org>
8370
8371 * version.el (emacs-bzr-get-version): New function.
8372 (emacs-bzr-version): New variable.
8373 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8374 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8375
83762012-04-07 Eli Zaretskii <eliz@gnu.org>
8377
8378 * international/uni-bidi.el, international/uni-category.el:
8379 * international/uni-combining.el, international/uni-decimal.el:
8380 * international/uni-decomposition.el, international/uni-digit.el:
8381 * international/uni-lowercase.el, international/uni-mirrored.el:
8382 * international/uni-name.el, international/uni-numeric.el:
8383 * international/uni-titlecase.el, international/uni-uppercase.el:
8384 Update for Unicode 6.1.
8385
83862012-04-07 Eli Zaretskii <eliz@gnu.org>
8387
8388 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8389
83902012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8391
8392 * window.el (shrink-window): Mention the `window-min-height'
8393 variable in the doc string.
8394
83952012-04-05 Bastien Guerry <bzg@altern.org>
8396
8397 * color.el (color-lighten-name): Fix typo.
8398
83992012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8400
8401 * server.el (server--on-display-p): New function.
8402 (server--on-display-p): Use it.
8403
84042012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8405
8406 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8407 (bug#11145).
8408
84092012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * comint.el (comint--common-quoted-suffix): Check string boundary
8412 before comparing (bug#11158).
8413 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8414
84152012-04-04 Chong Yidong <cyd@gnu.org>
8416
8417 * minibuffer.el (completion-extra-properties): Doc fix.
8418
8419 * subr.el (delayed-warnings-hook): Doc fix.
8420
84212012-04-04 Daiki Ueno <ueno@unixuser.org>
8422
8423 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8424 selection (Bug#11159).
8425 (epa-insert-keys): Inform that the default public key will be
8426 exported if no key is selected.
8427
84282012-04-04 Richard Stallman <rms@gnu.org>
8429
8430 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8431
84322012-04-03 Chong Yidong <cyd@gnu.org>
8433
8434 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8435 mail-insert-file, not its obsolete alias mail-attach-file.
8436
84372012-04-03 Michael Albinus <michael.albinus@gmx.de>
8438
8439 * notifications.el (notifications-notify): Fix docstring.
8440
84412012-04-02 Glenn Morris <rgm@gnu.org>
8442
8443 * emacs-lisp/authors.el (authors-aliases): Another addition.
8444
84452012-04-02 Michael Albinus <michael.albinus@gmx.de>
8446
8447 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8448 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8449 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8450
84512012-04-01 Chong Yidong <cyd@gnu.org>
8452
8453 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8454 Handle root directory properly.
8455 (copy-directory): Caller changed.
8456
8457 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8458 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8459
84602012-03-31 Glenn Morris <rgm@gnu.org>
8461
8462 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8463
8464 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8465
8466 * calendar/calendar.el (calendar-window-list)
8467 (calendar-hide-window): Restore. (Bug#11140)
8468 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8469
8470 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8471
84722012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8473
8474 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8475 Check if file is a symlink (Bug#10489).
8476
8477 * files.el (copy-directory): Likewise.
8478
84792012-03-30 Chong Yidong <cyd@gnu.org>
8480
8481 * image.el (imagemagick-types-inhibit)
8482 (imagemagick-register-types): Doc fix.
8483
84842012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8485
8486 * textmodes/ispell.el (ispell-get-extended-character-mode):
8487 Disable extended-char-mode for hunspell. hunspell does not support it
8488 and treats ~word as ordinary words in pipe mode.
8489
84902012-03-30 Glenn Morris <rgm@gnu.org>
8491
8492 * tutorial.el (help-with-tutorial): Ensure local variables don't
8493 happen to make the buffer read-only. (Bug#11127)
8494
84952012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8498 (perl-calculate-indent): Return `noindent' in strings.
8499
85002012-03-28 Sam Steingold <sds@gnu.org>
8501
8502 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8503 instead of the broken adhockery which does not prevent calendar
8504 buffers from being displayed at random after exit.
8505 (calendar-window-list, calendar-hide-window): Remove the broken
8506 adhockery.
8507
85082012-03-28 Glenn Morris <rgm@gnu.org>
8509
8510 * replace.el (query-replace-map): Doc fix.
8511
85122012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8513
8514 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8515 contents. (Bug#11109)
8516
85172012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8518
8519 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8520 (bug#11077).
8521 (avl-tree--check, avl-tree--check-node): New funs.
8522
85232012-03-27 Martin Rudalics <rudalics@gmx.at>
8524
8525 * window.el (switch-to-visible-buffer): New option.
8526 (switch-to-prev-buffer, switch-to-next-buffer):
8527 Observe switch-to-visible-buffer. Make sure that checking for a window
8528 showing a buffer already is done on the same frame.
8529
85302012-03-27 Glenn Morris <rgm@gnu.org>
8531
8532 * startup.el (mail-host-address): Doc fix.
8533
85342012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8537 than 197 variables.
8538
85392012-03-26 Ami Fischman <ami@fischman.org>
8540
8541 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8542
85432012-03-26 Glenn Morris <rgm@gnu.org>
8544
8545 * files.el (save-buffers-kill-emacs): Doc fix.
8546
8547 * startup.el (normal-top-level, command-line, command-line-1):
8548 Give them doc strings.
8549
85502012-03-25 Eli Zaretskii <eliz@gnu.org>
8551
8552 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8553 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8554
85552012-03-25 Chong Yidong <cyd@gnu.org>
8556
8557 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8558 theme if it was previously enabled before (Bug#11031).
8559
8560 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8561 spec with custom-face-get-current-spec if its :shown-value is not
8562 determined yet (Bug#9337).
8563 (customize-create-theme, custom-theme-revert): Doc fixes.
8564
8565 * button.el (button-at): Minor addition to docstring.
8566
85672012-03-24 Simon Leinen <simon.leinen@gmail.com>
8568
8569 * vc/vc.el (vc-merge): Fix a prompt.
8570
85712012-03-24 Chong Yidong <cyd@gnu.org>
8572
8573 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8574 point (Bug#9623).
8575
8576 * button.el (button-at): Minor addition to docstring.
8577
85782012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * newcomment.el (comment-choose-indent): No space after BOL.
8581
85822012-03-22 Sam Steingold <sds@gnu.org>
8583
8584 * window.el (switch-to-prev-buffer): Revert last patch because the
8585 bug turned out to be an advertised feature (Elisp manual 28.14).
8586
85872012-03-22 Glenn Morris <rgm@gnu.org>
8588
8589 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8590 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8591
85922012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8593
8594 * net/network-stream.el (network-stream-open-starttls): Make error
8595 message under Windows be less misleading.
8596
85972012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8598
8599 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8600 understands (bug#9942).
8601
86022012-03-22 Chong Yidong <cyd@gnu.org>
8603
8604 * simple.el (end-of-visible-line): Handle return value of
8605 next-single-property-change properly (Bug#9371).
8606
86072012-03-22 Kenichi Handa <handa@m17n.org>
8608
8609 * international/quail.el (quail-insert-kbd-layout): Fix previous
8610 change. To avoid unwanted bidi reordering, use
8611 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8612
86132012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8614
8615 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8616 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8617 (ruby-beginning-of-indent): Be more careful with the difference
8618 between word-boundary and symbol boundary.
8619 (ruby-mode-syntax-table): Make : a symbol constituent.
8620
86212012-03-21 Andreas Politz <politza@fh-trier.de>
8622
8623 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8624
86252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8626
8627 * progmodes/etags.el (tags-completion-at-point-function):
8628 Improve last fix.
8629
8630 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8631
86322012-03-21 Sam Steingold <sds@gnu.org>
8633
8634 * progmodes/etags.el (tags-completion-at-point-function):
8635 Avoid the error when point is inside the pattern.
8636
86372012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8638
8639 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8640 line (Bug#10855).
8641
86422012-03-21 Drew Adams <drew.adams@oracle.com>
8643
8644 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8645
86462012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8647
8648 * ido.el (ido-set-current-directory, ido-read-internal)
8649 (ido-choose-completion-string, ido-completion-help): Handle nil
8650 value of ido-completion-buffer (Bug#11008).
8651
86522012-03-21 Sam Steingold <sds@gnu.org>
8653
8654 * window.el (switch-to-prev-buffer): Do not switch to a visible
8655 window previous buffer, just like with the frame previous buffers.
8656
86572012-03-21 Chong Yidong <cyd@gnu.org>
8658
8659 * faces.el (make-face, make-empty-face, copy-face):
8660 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8661 Doc fixes.
8662
86632012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8666 (widget-complete): Remove broken use of it.
8667
86682012-03-20 Chong Yidong <cyd@gnu.org>
8669
8670 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8671 Use string-width and truncate-string-width to handle arbitrary
8672 characters.
8673
86742012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8675
8676 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8677 to draw rectangles, not squares. (Regression introduced by revno
8678 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8679
86802012-03-18 Chong Yidong <cyd@gnu.org>
8681
8682 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8683 it is not yet defined (for temacs).
8684
86852012-03-18 Leo Liu <sdl.web@gmail.com>
8686
8687 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8688
86892012-03-17 Eli Zaretskii <eliz@gnu.org>
8690
8691 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8692 (ispell-choices-win-default-height, ispell-silently-savep)
8693 (ispell-dictionary-alist, ispell-encoding8-command)
8694 (ispell-check-version, ispell-aspell-find-dictionary)
8695 (ispell-valid-dictionary-list, ispell-words-keyword)
8696 (ispell-get-word, ispell-internal-change-dictionary)
8697 (ispell-region, ispell-skip-region-list)
8698 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8699 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8700 (ispell-message-text-end, ispell-message)
8701 (ispell-buffer-local-parsing): Doc fix.
8702
87032012-03-13 Jambunathan K <kjambunathan@gmail.com>
8704
8705 * htmlfontify.el: Add support for code block fontification for ODT
8706 export (Bug #9914).
8707 (hfy-optimisations): Define new option
8708 `body-text-only'
8709 (hfy-fontify-buffer): Honor above setting.
8710 (hfy-begin-span, hfy-end-span): New routines factored out form
8711 `hfy-fontify-buffer'.
8712 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8713 that permit insertion of custom tags.
8714 (hfy-fontify-buffer): Use above handlers.
8715 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8716 (hfy-face-to-css): Re-defined to be a variable.
8717 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8718 over multiple runs. This is made possible by having the caller let
8719 bind a special variable `hfy-user-sheet-assoc'.
8720 (htmlfontify-string): New defun.
8721 (hfy-compile-face-map): Make sure that the last char in the
8722 buffer is correctly fontified.
8723 (hfy-face-resolve-face): Whitespace only change.
8724
87252012-03-17 Eli Zaretskii <eliz@gnu.org>
8726
8727 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8728 message more clear.
8729
87302012-03-16 Leo Liu <sdl.web@gmail.com>
8731
8732 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8733
87342012-03-16 Alan Mackenzie <acm@muc.de>
8735
8736 Further optimise the handling of large macros.
8737
8738 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8739 limit to a call of `c-literal-limits'.
8740 (c-determine-+ve-limit): New function.
8741 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8742 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8743 In CASE 5B, restrict a search limit to 500.
8744 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8745
8746 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8747 Restrict macro bounds to +-500 from after-change's BEG END.
8748
87492012-03-16 Leo Liu <sdl.web@gmail.com>
8750
8751 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8752
87532012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8754
8755 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8756 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8757
87582012-03-16 Glenn Morris <rgm@gnu.org>
8759
8760 * view.el (view-buffer, view-buffer-other-window)
8761 (view-buffer-other-frame): Doc fixes re special mode-class.
8762
8763 * subr.el (eval-after-load): If named feature is provided not from
8764 a file, run after-load forms. (Bug#10946)
8765
8766 * calendar/calendar.el (calendar-insert-at-column):
8767 Handle non-unit-width characters a bit better. (Bug#10978)
8768
87692012-03-15 Chong Yidong <cyd@gnu.org>
8770
8771 * emacs-lisp/ring.el (ring-extend): New function.
8772 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8773
8774 * comint.el (comint-read-input-ring)
8775 (comint-add-to-input-history): Grow comint-input-ring lazily.
8776
87772012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8778
8779 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8780 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8781
8782 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8783 (imenu-add-to-menubar): Don't add a redundant index.
8784 (imenu-update-menubar): Handle a dynamically composed keymap.
8785
87862012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8787
8788 * mail/sendmail.el (mail-encode-header):
8789 Bind rfc2047-encode-encoded-words to nil.
8790
87912012-03-13 Glenn Morris <rgm@gnu.org>
8792
8793 * calendar/calendar.el (calendar-string-spread):
8794 Handle non-unit-width characters a bit better. (Bug#10978)
8795
87962012-03-13 Leo Liu <sdl.web@gmail.com>
8797
8798 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8799 directory and file as argument (Bug#10822).
8800
88012012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8802
8803 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8804 For dynamically generated code, follow $PC.
8805 (gdb-disassembly-handler-custom): Handle no function name case.
8806
88072012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8808
8809 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8810 * emulation/ws-mode.el (ws-query-replace):
8811 * sort.el (sort-regexp-fields):
8812 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8813
88142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * dabbrev.el: Fix cycle completion order (bug#10963).
8817 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8818 (dabbrev-completion): Don't use an obarray; provide
8819 a cycle-sort-function.
8820
88212012-03-12 Leo Liu <sdl.web@gmail.com>
8822
8823 * simple.el (kill-new): Use equal-including-properties for comparison.
8824 (kill-do-not-save-duplicates): Doc fix.
8825
88262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * dabbrev.el: Fix cycle completion (bug#10963).
8829 Use lexical binding and wrap to 80 columns.
8830 (dabbrev-completion): Delay computing the list of completions.
8831
88322012-03-12 Kenichi Handa <handa@m17n.org>
8833
8834 * international/quail.el (quail-insert-kbd-layout): Surround each
8835 row by LRO and PDF instead of inserting many LRMs. Pad the left
8836 and right of each non-spacing marks. Insert invisible space
8837 between lower and upper characters to prevent composition.
8838
88392012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * minibuffer.el (minibuffer-complete): Don't get confused when the
8842 function is run twice via different commands (bug#10958).
8843 (complete-with-action): Fix docstring.
8844
88452012-03-12 Chong Yidong <cyd@gnu.org>
8846
8847 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8848 (nxml-completion-at-point-function): New function.
8849 (nxml-mode): Use it.
8850 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8851
8852 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8853 Load generated autoloads file before byte compiling (Bug#10970).
8854 (package--make-autoloads-and-compile): New helper fun.
8855
88562012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8857
8858 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8859
88602012-03-11 Michael Albinus <michael.albinus@gmx.de>
8861
8862 * autorevert.el (auto-revert-handler): Ensure, that
8863 file-readable-p is applied only for local files or in
8864 auto-revert-tail-mode.
8865
88662012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8867
8868 * server.el (server-eval-at): Handle non-tcp connections.
8869 Decode result string.
8870
8871 * server.el (server-msg-size): New constant.
8872 (server-reply-print): New function.
8873 (server-eval-and-print): Use it.
8874 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8875 Handle -print-nonl.
8876
88772012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8878
8879 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8880 (Bug#10987).
8881
88822012-03-11 Chong Yidong <cyd@gnu.org>
8883
8884 * simple.el (goto-line): Doc fix (Bug#9938).
8885
8886 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8887
8888 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8889 when finished (Bug#10963).
8890
88912012-03-11 Martin Rudalics <rudalics@gmx.at>
8892
8893 * window.el (split-window-below): Fix bug in case where
8894 split-window-keep-point is nil (Bug#10971).
8895
88962012-03-11 Juri Linkov <juri@jurta.org>
8897
8898 * replace.el (replace-highlight): Set isearch-word to nil
8899 unconditionally. (Bug#10887)
8900
89012012-03-10 Eli Zaretskii <eliz@gnu.org>
8902
8903 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8904 mairix-replace-illegal-chars; all callers changed. Don't remove
8905 ^, ~, and = characters: they are meaningful in mairix search specs.
8906 (mairix-widget-create-query): Add usage information about mairix
8907 search forms: negating words, searching for substrings, etc.
8908
89092012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8910
8911 * international/fontset.el (font-encoding-alist): Add an entry for
8912 ksx1001 (Bug#5667).
8913
89142012-03-10 Richard Stallman <rms@gnu.org>
8915
8916 * mail/sendmail.el (mail-encode-header):
8917 Set rfc2047-encode-encoded-words.
8918
8919 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8920
8921 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8922 view buffer means not swapped.
8923 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8924 (rmail-write-region-annotate): Error if real text has disappeared.
8925
8926 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8927
89282012-03-10 Chong Yidong <cyd@gnu.org>
8929
8930 * emulation/cua-rect.el (cua--init-rectangles):
8931 * emulation/cua-base.el (cua--init-keymaps):
8932 Add delete-forward-char to remappings (Bug#9666).
8933
89342012-03-10 Martin Rudalics <rudalics@gmx.at>
8935
8936 * speedbar.el (speedbar-unhighlight-one-tag-line):
8937 Avoid unhighlighting due to frame switching (Bug#10275).
8938
89392012-03-10 Chong Yidong <cyd@gnu.org>
8940
8941 * minibuffer.el (completion-in-region, completion-help-at-point):
8942 Give the completion field overlay a high priority (Bug#6830).
8943
8944 * dired.el (dired-goto-file): Recognize absolute file name
8945 listings (Bug#7126).
8946 (dired-goto-file-1): New helper function.
8947 (dired-toggle-read-only): Inhibit warnings.
8948
89492012-03-09 Michael Albinus <michael.albinus@gmx.de>
8950
8951 * net/dbus.el (dbus-property-handler): Return empty array if
8952 there are no properties.
8953
89542012-03-09 Leo Liu <sdl.web@gmail.com>
8955
8956 * savehist.el (savehist-printable): Stricter check for string
8957 value (Bug#10937).
8958
89592012-03-09 Eli Zaretskii <eliz@gnu.org>
8960
8961 * mail/smtpmail.el (smtpmail-send-it):
8962 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8963 valid mbox format.
8964
89652012-03-09 Glenn Morris <rgm@gnu.org>
8966
8967 * files.el (dir-locals-find-file):
8968 Don't check result is regular, readable.
8969 (dir-locals-read-from-file): Demote errors.
8970
89712012-03-08 Eli Zaretskii <eliz@gnu.org>
8972
8973 * international/quail.el (quail-insert-kbd-layout):
8974 Insert invisible LRM characters before each character in a keyboard
8975 layout cell, to prevent their reordering by bidi display engine.
8976 For details, see the discussion in
8977 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8978
89792012-03-08 Alan Mackenzie <acm@muc.de>
8980
8981 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8982 the starting position; make it extend the marked region when
8983 invoked repeatedly - all under appropriate circumstances.
8984 Fixes bugs #5525, #10906.
8985
89862012-03-08 Glenn Morris <rgm@gnu.org>
8987
8988 * files.el (locate-dominating-file, dir-locals-find-file):
8989 Undo 2012-03-06 change.
8990
89912012-03-07 Eli Zaretskii <eliz@gnu.org>
8992
8993 * international/quail.el (quail-help):
8994 Force bidi-paragraph-direction be left-to-right. See discussion in
8995 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8996 for the reason.
8997
89982012-03-07 Michael Albinus <michael.albinus@gmx.de>
8999
9000 Avoid superfluous registering of signals. (Bug#10807)
9001
9002 * notifications.el (notifications-on-action-object)
9003 (notifications-on-close-object): New defvars.
9004 (notifications-on-action-signal, notifications-on-closed-signal):
9005 Unregister the signal if not needed any longer.
9006 (notifications-notify): Register `notifications-action-signal' or
9007 `notifications-closed-signal', if :on-action or :on-close has been
9008 passed as argument.
9009
90102012-03-07 Chong Yidong <cyd@gnu.org>
9011
9012 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9013 non-X platforms.
9014
90152012-03-06 Glenn Morris <rgm@gnu.org>
9016
9017 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9018 (x-disown-selection-internal, x-get-selection-internal):
9019 Doc fix (add arglist signatures). (Bug#10783)
9020
90212012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9022
9023 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9024 Handle breakpoints with no "type".
9025
90262012-03-06 Glenn Morris <rgm@gnu.org>
9027
9028 * files.el (locate-dominating-file): Add optional predicate argument.
9029 (dir-locals-find-file): Make use of above change.
9030
90312012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9032
9033 * info.el (Info-insert-dir): Also try "dir.gz".
9034
90352012-03-06 Glenn Morris <rgm@gnu.org>
9036
9037 * files.el (dir-locals-find-file):
9038 Ignore non-readable or non-regular files. (Bug#10928)
9039
9040 * files.el (locate-dominating-file): Doc fix.
9041
90422012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9043
9044 * calendar/calendar.el (calendar-set-mode-line):
9045 `getenv' returns a string. (Bug#10951)
9046
90472012-03-05 Leo Liu <sdl.web@gmail.com>
9048
9049 * simple.el (backward-delete-char-untabify): Constrain point to
9050 field (Bug#10939).
9051
9052 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9053
90542012-03-05 Chong Yidong <cyd@gnu.org>
9055
9056 * simple.el (count-words): If called from Lisp, return the word
9057 count, for symmetry with `count-lines'. Arglist changed.
9058 (count-words--message): Args changed. Consolidate counting code
9059 from count-words and count-words-region.
9060 (count-words-region): Caller changed.
9061 (count-lines-region): Make it an obsolete alias.
9062
90632012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9064
9065 * saveplace.el (save-place-to-alist)
9066 (save-place-ignore-files-regexp): Allow value nil to disable this
9067 feature.
9068
90692012-03-04 Chong Yidong <cyd@gnu.org>
9070
9071 * faces.el (face-spec-reset-face): For the default face, reset the
9072 attributes to default values (Bug#10748).
9073
90742012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075
9076 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9077 previous patch: Check `message-send-mail-function', and not the
9078 default function (bug#10897).
9079
90802012-03-04 Michael Albinus <michael.albinus@gmx.de>
9081
9082 * notifications.el (notifications-on-action-signal)
9083 (notifications-on-closed-signal): Check for unique service name of
9084 incoming event. Fix error in removing entry.
9085 (top): Register for signals with wildcard service name.
9086 (notifications-notify): Use daemon unique service name for map entries.
9087
90882012-03-04 Chong Yidong <cyd@gnu.org>
9089
9090 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9091
90922012-03-04 Glenn Morris <rgm@gnu.org>
9093
9094 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9095 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9096 (expand-abbrev, define-abbrev-table): Doc fixes.
9097
90982012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9099
9100 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9101 `message-default-send-mail-function' and not `send-mail-function'
9102 when doing the prompting for `sendmail-query-once' before sending
9103 in Message buffers (bug#10897).
9104
9105 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9106 This is inconsistent with all the other stream functions, which leave
9107 the setting up to the higher levels (if so wanted) (bug#10931).
9108
91092012-03-02 Alan Mackenzie <acm@muc.de>
9110
9111 Depessimize the handling of very large macros.
9112
9113 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9114 (c-macro-cache-syntactic): New variables to implement a one
9115 element macro cache.
9116 (c-invalidate-macro-cache): New function.
9117 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9118 Adapt to use the new cache.
9119 (c-state-safe-place): Use better the cache of safe positions.
9120 (c-state-semi-nonlit-pos-cache)
9121 (c-state-semi-nonlit-pos-cache-limit):
9122 New variables for...
9123 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9124 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9125 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9126 Use c-state-semi-safe-place.
9127
9128 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9129 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9130
91312012-03-02 Michael Albinus <michael.albinus@gmx.de>
9132
9133 * jka-compr.el (jka-compr-call-process):
9134 Apply `file-accessible-directory-p' only when the default directory is
9135 not remote.
9136
91372012-03-01 Michael Albinus <michael.albinus@gmx.de>
9138
9139 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9140 access of FILE2, if FILE1 does not exist.
9141
9142 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9143 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9144
9145 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9146 Add "PAGER=" to `process-environment'.
9147
91482012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9149
9150 * progmodes/sql.el: Bug fix
9151 (sql-get-login-ext): Save login values in globals.
9152 (sql-get-login): Use new version of `sql-get-login-ext'.
9153 (sql-interactive-mode): Set global `sql-connection' to nil.
9154 (sql-connect): Set global values for connection.
9155 (sql-product-interactive): Save global values as buffer local.
9156
91572012-02-29 Leo Liu <sdl.web@gmail.com>
9158
9159 * abbrev.el (define-abbrevs): Reset sys to nil.
9160
91612012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9162
9163 * files.el (file-equal-p): Rename from `files-equal-p'.
9164 Return nil when one or both files don't exist.
9165 (file-subdir-of-p): Now only top directory must exists,
9166 return nil if it doesn't.
9167 (copy-directory): No need to test with `file-subdir-of-p' after
9168 creating dir.
9169 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9170 to `file-equal-p'.
9171
91722012-02-28 Glenn Morris <rgm@gnu.org>
9173
9174 * shell.el (shell-mode):
9175 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9176 * play/landmark.el (landmark-font-lock-face-O):
9177 * play/handwrite.el (handwrite):
9178 * play/gomoku.el (gomoku-O):
9179 * net/browse-url.el (browse-url-browser-display):
9180 * international/mule.el (define-charset):
9181 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9182 * filesets.el (filesets-find-file-delay):
9183 * eshell/em-xtra.el (eshell-xtra):
9184 * eshell/em-unix.el (eshell-grep):
9185 * emulation/viper.el (viper-mode):
9186 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9187 * emacs-lisp/easymenu.el (easy-menu-define):
9188 * calendar/timeclock.el (timeclock-use-display-time):
9189 * bs.el (bs-mode):
9190 * bookmark.el (bookmark-save-flag):
9191 Doc fix (standardize possessive apostrophe usage).
9192
91932012-02-27 Chong Yidong <cyd@gnu.org>
9194
9195 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9196 Fix key-binding lookup for ESC key (Bug#9146).
9197
9198 * font-lock.el (font-lock-specified-p): Rename from
9199 font-lock-spec-present. Callers changed.
9200
92012012-02-27 Daniel Hackney <dan@haxney.org>
9202
9203 * emacs-lisp/package.el (package-compute-transaction):
9204 Handle holding a package version to t in package-load-list.
9205
92062012-02-26 Michael Albinus <michael.albinus@gmx.de>
9207
9208 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9209 (tramp-get-inode, tramp-get-device): Use cached values.
9210
92112012-02-26 Alan Mackenzie <acm@muc.de>
9212
9213 Check there is a font-lock specification before doing initial
9214 fontification.
9215
9216 * font-core.el (font-lock-mode): Move the conditional from
9217 :after-hook to font-lock-initial-fontify.
9218 (font-lock-default-function): Move the check for a specification
9219 to font-lock-spec-present.
9220
9221 * font-lock.el (font-lock-initial-fontify): Call ...
9222 (font-lock-spec-present): New function.
9223
92242012-02-26 Jim Blandy <jimb@red-bean.com>
9225
9226 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9227 (gdb-send): Apply it to the operand of the '-interpreter-exec
9228 console' command, so that we can pass arguments with (say) quotes
9229 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9230
92312012-02-26 Chong Yidong <cyd@gnu.org>
9232
9233 * help-fns.el (describe-function-1): Clarify description of
9234 remapping (Bug#10844).
9235
9236 * files.el (files-equal-p): Doc fix.
9237 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9238 and quit the loop once a mismatch is found.
9239
92402012-02-25 Juanma Barranquero <lekktu@gmail.com>
9241
9242 * bs.el (bs--show-with-configuration): Don't throw an error
9243 if the window cannot be split; otherwise, subsequent calls to
9244 bs-show fail, restoring a stale window config. (Bug#10882)
9245
92462012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9247
9248 * term/ns-win.el (global-map): Bind ns-drag-file to
9249 ns-find-file (Bug#5855, Bug#10050).
9250
92512012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * calendar/parse-time.el (parse-time-string): Allow extractor to
9254 return nil.
9255
92562012-02-25 Michael Albinus <michael.albinus@gmx.de>
9257
9258 * net/tramp.el (tramp-file-name-for-operation):
9259 Add `files-equal-p' and `file-subdir-of-p'.
9260
9261 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9262 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9263 Add COPY-CONTENTS argument.
9264
92652012-02-25 Chong Yidong <cyd@gnu.org>
9266
9267 Add custom groups for VC backends, for consistency with vc-bzr.
9268
9269 * vc/vc-arch.el (vc-arch):
9270 * vc/vc-cvs.el (vc-cvs):
9271 * vc/vc-git.el (vc-git):
9272 * vc/vc-hg.el (vc-hg):
9273 * vc/vc-mtn.el (vc-mtn):
9274 * vc/vc-rcs.el (vc-rcs):
9275 * vc/vc-sccs.el (vc-sccs):
9276 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9277 All relevant defcustoms reassigned.
9278
92792012-02-25 Chong Yidong <cyd@gnu.org>
9280
9281 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9282
9283 * term/x-win.el (x-initialize-window-system): Reduce default for
9284 x-selection-timeout to 5 seconds (Bug#8869).
9285
92862012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9287
9288 * files.el (files-equal-p, file-subdir-of-p): New functions.
9289 (copy-directory): Error when trying to copy a directory on itself.
9290 Add missing copy-contents arg to tramp handler.
9291 * dired-aux.el (dired-copy-file-recursive): Same.
9292 (dired-create-files): Modify destination when source is equal to
9293 dest when copying files.
9294 Return also when dest is a subdir of source. (Bug#10489)
9295
92962012-02-24 Michael Albinus <michael.albinus@gmx.de>
9297
9298 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9299 (Bug#10874)
9300
93012012-02-23 Alan Mackenzie <acm@muc.de>
9302
9303 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9304 parameter "after-hook:" to allow the expansion to run code after
9305 the execution of the mode hooks.
9306
9307 * font-lock.el (font-lock-initial-fontify): New function extracted
9308 from font-lock-mode-internal.
9309
9310 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9311 :after-hook.
9312
93132012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9316 (completion--cache-all-sorted-completions): New function.
9317 (completion-all-sorted-completions): Use it.
9318 (completion--do-completion, minibuffer-force-complete):
9319 Use it to re-instate the flush hook.
9320
9321 * icomplete.el (icomplete-completions): Replace last fix with a better
9322 one (bug#10850).
9323
93242012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9325
9326 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9327 when it might call us back infinitely (bug#10797).
9328
93292012-02-23 Glenn Morris <rgm@gnu.org>
9330
9331 * minibuffer.el (completion-category-overrides): Doc fix.
9332
93332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9334
9335 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9336 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9337
93382012-02-23 Glenn Morris <rgm@gnu.org>
9339
9340 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9341 (authors-obsolete-files-regexps, authors-ignored-files)
9342 (authors-ambiguous-files, authors-renamed-files-alist):
9343 Add more entries.
9344
93452012-02-23 Juri Linkov <juri@jurta.org>
9346
9347 * isearch.el (isearch-occur): Sync interactive spec with occur's
9348 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9349
9350 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9351
93522012-02-22 Juri Linkov <juri@jurta.org>
9353
9354 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9355 (ucs-insert): Doc fix. Check for hex digits in the string.
9356 Don't display `nil' in the error message. (Bug#10857)
9357
93582012-02-22 Alan Mackenzie <acm@muc.de>
9359
9360 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9361
93622012-02-22 Glenn Morris <rgm@gnu.org>
9363
9364 * ffap.el (ffap-c-path):
9365 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9366
93672012-02-22 Chong Yidong <cyd@gnu.org>
9368
9369 * custom.el (load-theme): Doc fix.
9370
93712012-02-22 Glenn Morris <rgm@gnu.org>
9372
9373 * dired-x.el (dired-guess-shell-alist-default):
9374 Remove escape sequences from nroff output. (Bug#172)
9375
93762012-02-21 Glenn Morris <rgm@gnu.org>
9377
9378 * vc/emerge.el (emerge-defvar-local):
9379 Set `permanent-local' property rather than unused `preserved'.
9380
9381 * textmodes/picture.el (picture-delete-char): New alias.
9382 (picture-mode-map): Use it. (Bug#10860)
9383 (picture-mode): Doc fix.
9384
93852012-02-21 Juanma Barranquero <lekktu@gmail.com>
9386
9387 * newcomment.el (uncomment-region-default): Remove unused binding.
9388
93892012-02-21 Glenn Morris <rgm@gnu.org>
9390
9391 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9392 (picture-self-insert, picture-tab-chars): Doc fix.
9393 (picture-mode-map): Fix C-a, C-e.
9394
93952012-02-20 Glenn Morris <rgm@gnu.org>
9396
9397 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9398
93992012-02-20 Leo Liu <sdl.web@gmail.com>
9400
9401 * icomplete.el (icomplete-completions): Check FROM arg before
9402 passing to substring (Bug#10850).
9403
94042012-02-19 Chong Yidong <cyd@gnu.org>
9405
9406 * comint.el: Require ansi-color.
9407 (comint-output-filter-functions): Add ansi-color-process-output.
9408
9409 * ansi-color.el: Don't set comint-output-filter-functions; it is
9410 now in the initial value defined in comint.el.
9411 (ansi-color-apply-face-function): New variable.
9412 (ansi-color-apply-on-region): Use it.
9413 (ansi-color-apply-overlay-face): New function.
9414
9415 * shell.el (shell): No need to require ansi-color.
9416 (shell-mode): Use ansi-color-apply-face-function to highlight
9417 color escapes using font-lock-face property (Bug#10835).
9418
94192012-02-19 Chong Yidong <cyd@gnu.org>
9420
9421 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9422 mode-line formats (Bug#10839).
9423
94242012-02-18 Glenn Morris <rgm@gnu.org>
9425
9426 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9427
9428 * mail/undigest.el (unforward-rmail-message): Doc fix.
9429
9430 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9431
94322012-02-18 Eli Zaretskii <eliz@gnu.org>
9433
9434 * international/characters.el (script-list): Sync with the latest
9435 Unicode Character Database.
9436
94372012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * international/titdic-cnv.el: Remove duplicate coding tag.
9440 * language/cham.el: Likewise.
9441 * language/tai-viet.el: Likewise.
9442
94432012-02-18 Glenn Morris <rgm@gnu.org>
9444
9445 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9446 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9447 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9448 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9449 * calendar/holidays.el (holiday-bahai-holidays)
9450 (calendar-holidays, list-holidays):
9451 Use utf-8 Bahá'í in doc-strings, menus, etc.
9452
94532012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9454
9455 * saveplace.el (save-place-ignore-files-regexp): New variable
9456 allowing for excluding files from saving their location of point.
9457 The default value matches the temporary commit message editing
9458 files from Git, SVN, Bazaar, and Mercurial.
9459 (save-place-to-alist): Use it.
9460
94612012-02-17 Lawrence Mitchell <wence@gmx.li>
9462 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * newcomment.el (uncomment-region-default): Don't leave extra space
9465 when an arg is provided (bug#8150).
9466
94672012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9468
9469 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9470
94712012-02-17 Glenn Morris <rgm@gnu.org>
9472
9473 * net/socks.el: Require network-stream. (Bug#10599)
9474
94752012-02-17 Kenichi Handa <handa@m17n.org>
9476
9477 * international/charprop.el:
9478 * international/uni-name.el:
9479 * international/uni-old-name.el:
9480 * international/uni-comment.el: Regenerate.
9481
94822012-02-16 Glenn Morris <rgm@gnu.org>
9483
9484 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9485 Interactively in calendar buffer, give an error if not on a date.
9486
94872012-02-15 Glenn Morris <rgm@gnu.org>
9488
9489 * shell.el (shell-delimiter-argument-list):
9490 Revert 2011-02-17 change. (Bug#8027)
9491
94922012-02-15 Chong Yidong <cyd@gnu.org>
9493
9494 * minibuffer.el (completion-at-point-functions): Doc fix.
9495
9496 * custom.el (defcustom): Doc fix; note use of defvar.
9497
94982012-02-15 Glenn Morris <rgm@gnu.org>
9499
9500 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9501 Doc fixes.
9502
95032012-02-14 Glenn Morris <rgm@gnu.org>
9504
9505 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9506
95072012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9508
9509 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9510 way the ports list is computed.
9511 (smtpmail-query-smtp-server): Prompt the user for a port number if
9512 we can't connect to any of the standard ports (bug#10810).
9513
95142012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9515
9516 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9517
95182012-02-13 Glenn Morris <rgm@gnu.org>
9519
9520 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9521
95222012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9523
9524 * net/gnutls.el (gnutls-trustfiles): New variable.
9525 (gnutls-negotiate): Use it.
9526
95272012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9528
9529 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9530 does its stuff if Gnus is running.
9531
95322012-02-13 Alan Mackenzie <acm@muc.de>
9533
9534 Fix a loop in c-set-fl-decl-start.
9535
9536 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9537 c-backward-syntactic-ws actually moves backwards.
9538
95392012-02-13 Leo Liu <sdl.web@gmail.com>
9540
9541 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9542 beginning so that all \C-o chars are removed.
9543
95442012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9545
9546 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9547
95482012-02-12 Alan Mackenzie <acm@muc.de>
9549
9550 Fix infinite loop with long macros.
9551 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9552
95532012-02-12 Chong Yidong <cyd@gnu.org>
9554
9555 * window.el (display-buffer): Doc fix (Bug#10785).
9556
95572012-02-12 Glenn Morris <rgm@gnu.org>
9558
9559 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9560 (x-disown-selection-internal, x-get-selection-internal):
9561 Sync docs with the xselect.c versions.
9562
9563 * allout-widgets.el: Add missing license notice.
9564
95652012-02-11 Glenn Morris <rgm@gnu.org>
9566
9567 * select.el (x-get-selection-internal, x-own-selection-internal)
9568 (x-disown-selection-internal):
9569 * x-dnd.el (x-get-selection-internal): Update declarations.
9570
9571 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9572
9573 * window.el (window-sides-slots):
9574 * tool-bar.el (tool-bar-position):
9575 * term/xterm.el (xterm-extra-capabilities):
9576 * ses.el (ses-self-reference-early-detection):
9577 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9578 (verilog-auto-wire-type)
9579 (verilog-auto-delete-trailing-whitespace)
9580 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9581 (verilog-auto-tieoff-declaration):
9582 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9583 (sql-oracle-statement-starters, sql-oracle-scan-on):
9584 * progmodes/prolog.el (prolog-align-comments-flag)
9585 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9586 (prolog-left-indent-regexp, prolog-paren-indent-p)
9587 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9588 (prolog-types, prolog-mode-specificators)
9589 (prolog-determinism-specificators, prolog-directives)
9590 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9591 (prolog-electric-dot-flag)
9592 (prolog-electric-dot-full-predicate-template)
9593 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9594 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9595 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9596 (prolog-program-switches, prolog-prompt-regexp)
9597 (prolog-debug-on-string, prolog-debug-off-string)
9598 (prolog-trace-on-string, prolog-trace-off-string)
9599 (prolog-zip-on-string, prolog-zip-off-string)
9600 (prolog-use-standard-consult-compile-method-flag)
9601 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9602 (prolog-imenu-max-lines, prolog-info-predicate-index)
9603 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9604 (prolog-char-quote-workaround):
9605 * progmodes/cc-vars.el (c-defun-tactic):
9606 * net/tramp.el (tramp-encoding-command-interactive)
9607 (tramp-local-end-of-line):
9608 * net/soap-client.el (soap-client):
9609 * net/netrc.el (netrc-file):
9610 * net/gnutls.el (gnutls):
9611 * minibuffer.el (completion-category-overrides)
9612 (completion-cycle-threshold)
9613 (completion-pcm-complete-word-inserts-delimiters):
9614 * man.el (Man-name-local-regexp):
9615 * mail/feedmail.el (feedmail-display-full-frame):
9616 * international/characters.el (glyphless-char-display-control):
9617 * eshell/em-ls.el (eshell-ls-date-format):
9618 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9619 (lisp-lambda-list-keyword-parameter-indentation)
9620 (lisp-lambda-list-keyword-parameter-alignment):
9621 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9622 * dired-x.el (dired-omit-verbose):
9623 * cus-theme.el (custom-theme-allow-multiple-selections):
9624 * calc/calc.el (calc-highlight-selections-with-faces)
9625 (calc-lu-field-reference, calc-lu-power-reference)
9626 (calc-note-threshold):
9627 * battery.el (battery-mode-line-limit):
9628 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9629 (archive-7z-update):
9630 * allout.el (allout-prefixed-keybindings)
9631 (allout-unprefixed-keybindings)
9632 (allout-inhibit-auto-fill-on-headline)
9633 (allout-flattened-numbering-abbreviation):
9634 * allout-widgets.el (allout-widgets-auto-activation)
9635 (allout-widgets-icons-dark-subdir)
9636 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9637 (allout-widgets-theme-dark-background)
9638 (allout-widgets-theme-light-background)
9639 (allout-widgets-item-image-properties-emacs)
9640 (allout-widgets-item-image-properties-xemacs)
9641 (allout-widgets-run-unit-tests-on-load)
9642 (allout-widgets-time-decoration-activity)
9643 (allout-widgets-hook-error-post-time)
9644 (allout-widgets-track-decoration):
9645 Add missing :version tags to new defcustoms and defgroups.
9646
9647 * progmodes/sql.el (sql-ansi-statement-starters)
9648 (sql-oracle-statement-starters): Add custom type.
9649
9650 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9651 (prolog-system-version): Give it a type.
9652
96532012-02-11 Eli Zaretskii <eliz@gnu.org>
9654
9655 * term/pc-win.el (x-select-text, x-selection-owner-p)
9656 (x-own-selection-internal, x-disown-selection-internal)
9657 (x-get-selection-internal): Sync doc strings and argument lists
9658 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9659
96602012-02-11 Leo Liu <sdl.web@gmail.com>
9661
9662 * progmodes/python.el (python-end-of-statement): Fix infinite
9663 loop. (Bug#10788)
9664
96652012-02-10 Glenn Morris <rgm@gnu.org>
9666
9667 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9668 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9669
96702012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9671
9672 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9673 about SMTP before checking the From header.
9674
9675 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9676 into own function for reuse by emacsbug.el.
9677
96782012-02-10 Leo Liu <sdl.web@gmail.com>
9679
9680 * subr.el (condition-case-unless-debug): Rename from
9681 condition-case-no-debug. All callers changed.
9682 (with-demoted-errors): Fix caller.
9683
9684 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9685 * nxml/rng-valid.el (rng-do-some-validation):
9686 * emacs-lisp/package.el (package-refresh-contents)
9687 (package-menu-execute):
9688 * desktop.el (desktop-create-buffer):
9689 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9690
96912012-02-10 Glenn Morris <rgm@gnu.org>
9692
9693 * textmodes/bibtex.el:
9694 Add missing :version tags for new/changed defcustoms.
9695
9696 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9697
96982012-02-09 Lars Ingebrigtsen <larsi@rusty>
9699
9700 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9701 (smtpmail-via-smtp): Use it, or fall back on the From address.
9702 (smtpmail-send-it): Ditto.
9703
97042012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9707 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9708 (byte-compile-tmp-var): New const.
9709 (byte-compile-defvar): Use it to minimize .elc size.
9710 Just use `defvar' rather than simulate it (bug#10761).
9711
97122012-02-09 Glenn Morris <rgm@gnu.org>
9713
9714 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9715
9716 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9717 Add :version tags.
9718
9719 * progmodes/compile.el (compilation-error-screen-columns)
9720 (compilation-first-column, compilation-filter-start): Doc fixes.
9721
9722 * vc/log-view.el (log-view-toggle-entry-display):
9723 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9724
9725 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9726 (report-emacs-bug-can-use-xdg-email):
9727 (report-emacs-bug-insert-to-mailer): Doc fixes.
9728 (report-emacs-bug): Message fix.
9729
9730 * net/browse-url.el (browse-url-can-use-xdg-open)
9731 (browse-url-xdg-open): Doc fixes.
9732
9733 * electric.el (electric-indent-mode, electric-pair-mode)
9734 (electric-layout-rules, electric-layout-mode): Doc fixes.
9735 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9736
97372012-02-08 Martin Rudalics <rudalics@gmx.at>
9738
9739 * server.el (server-unselect-display): Don't inadvertently kill
9740 the current buffer. (Bug#10729)
9741
97422012-02-08 Glenn Morris <rgm@gnu.org>
9743
9744 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9745 (sql-list-table): Doc fixes.
9746
9747 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9748 Comment out (does nothing).
9749
9750 * completion.el (dynamic-completion-mode):
9751 * dirtrack.el (dirtrack-debug-mode):
9752 * electric.el (electric-layout-mode):
9753 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9754 * face-remap.el (text-scale-mode, buffer-face-mode):
9755 * iimage.el (iimage-mode):
9756 * image-mode.el (image-transform-mode):
9757 * minibuffer.el (completion-in-region-mode):
9758 * scroll-lock.el (scroll-lock-mode):
9759 * simple.el (next-error-follow-minor-mode):
9760 * tar-mode.el (tar-subfile-mode):
9761 * tooltip.el (tooltip-mode):
9762 * vcursor.el (vcursor-use-vcursor-map):
9763 * wid-browse.el (widget-minor-mode):
9764 * emulation/tpu-edt.el (tpu-edt-mode):
9765 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9766 * international/iso-ascii.el (iso-ascii-mode):
9767 * language/thai-util.el (thai-word-mode):
9768 * mail/supercite.el (sc-minor-mode):
9769 * net/goto-addr.el (goto-address-mode):
9770 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9771 * progmodes/cwarn.el (cwarn-mode):
9772 * progmodes/flymake.el (flymake-mode):
9773 * progmodes/glasses.el (glasses-mode):
9774 * progmodes/hideshow.el (hs-minor-mode):
9775 * progmodes/pascal.el (pascal-outline-mode):
9776 * textmodes/enriched.el (enriched-mode):
9777 * vc/smerge-mode.el (smerge-mode):
9778 Doc fixes (minor mode argument).
9779
97802012-02-07 Eli Zaretskii <eliz@gnu.org>
9781
9782 * ls-lisp.el (ls-lisp-sanitize): New function.
9783 (ls-lisp-insert-directory): Use it to fix or remove any elements
9784 in file-alist with missing attributes. (Bug#4673)
9785
97862012-02-07 Alan Mackenzie <acm@muc.de>
9787
9788 Fix spurious recognition of c-in-knr-argdecl.
9789
9790 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9791 putative K&R region.
9792
97932012-02-07 Alan Mackenzie <acm@muc.de>
9794
9795 * progmodes/cc-engine.el (c-forward-objc-directive):
9796 Prevent looping in "#pragma mark @implementation".
9797
97982012-02-07 Michael Albinus <michael.albinus@gmx.de>
9799
9800 * notifications.el (notifications-on-closed-signal): Make `reason'
9801 optional. (Bug#10744)
9802
98032012-02-07 Glenn Morris <rgm@gnu.org>
9804
9805 * emacs-lisp/easy-mmode.el (define-minor-mode):
9806 Doc fixes for the macro and the mode it defines.
9807
9808 * image.el (imagemagick-types-inhibit): Doc fix.
9809
9810 * cus-start.el (imagemagick-render-type): Add it.
9811
98122012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9813
9814 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9815 Set the default at load time, too, so that `font-lock-fontify-buffer'
9816 can be called without setting up the entire mode first. This fixes
9817 a bug in `mm-inline-text' with C MIME parts.
9818
98192012-02-06 Chong Yidong <cyd@gnu.org>
9820
9821 * simple.el (list-processes--refresh): Delete exited processes
9822 (Bug#8094).
9823
9824 * comint.el (comint-next-prompt): next-single-char-property-change
9825 and prev-single-char-property-change never return nil (Bug#8657).
9826
9827 * custom.el (defcustom): Doc fix (Bug#9711).
9828
98292012-02-05 Chong Yidong <cyd@gnu.org>
9830
9831 * cus-edit.el (custom-variable-reset-backup): Quote the value
9832 before storing it in the customized-value property (Bug#6712).
9833 (custom-display): Add a customization type tag.
9834 (custom-buffer-create-internal): Improve tooltip message.
9835
9836 * wid-edit.el (widget-field-value-get): New optional arg to
9837 suppress trailing whitespace truncation.
9838 (character): Use it (Bug#2689).
9839
98402012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9841
9842 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9843 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9844
98452012-02-05 Chong Yidong <cyd@gnu.org>
9846
9847 * cus-edit.el (custom-variable-value-create): For mismatched
9848 types, show the current value (Bug#7600).
9849
9850 * custom.el (defcustom): Doc fix.
9851
98522012-02-05 Glenn Morris <rgm@gnu.org>
9853
9854 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9855
98562012-02-05 Juanma Barranquero <lekktu@gmail.com>
9857
9858 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9859 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9860 (pp-last-sexp): Use `looking-at-p'.
9861
98622012-02-04 Glenn Morris <rgm@gnu.org>
9863
9864 * files.el (revert-buffer):
9865 Doc fix (mention revert-buffer-in-progress-p).
9866
9867 * emacs-lisp/ert-x.el (ert-simulate-command):
9868 Check deferred-action-list (which is obsolete) is bound.
9869
9870 * subr.el (with-wrapper-hook): Doc fixes.
9871
9872 * simple.el (filter-buffer-substring-functions)
9873 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9874
98752012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9876
9877 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9878 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9879
98802012-02-04 Leo Liu <sdl.web@gmail.com>
9881
9882 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9883
98842012-02-04 Glenn Morris <rgm@gnu.org>
9885
9886 * image.el (image-extension-data): Add obsolete alias.
9887
9888 * isearch.el (isearch-update): Doc fix.
9889
9890 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9891
9892 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9893
98942012-02-03 Glenn Morris <rgm@gnu.org>
9895
9896 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9897 (image-animate-timeout): Doc fix.
9898
9899 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9900
99012012-02-02 Glenn Morris <rgm@gnu.org>
9902
9903 * server.el (server-auth-dir): Doc fix.
9904 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9905
9906 * subr.el (run-mode-hooks): Doc fix.
9907
99082012-02-02 Juri Linkov <juri@jurta.org>
9909
9910 * image-mode.el (image-toggle-display-image): Remove tautological
9911 `major-mode' from the `derived-mode-p' test.
9912
99132012-02-02 Kenichi Handa <handa@m17n.org>
9914
9915 * composite.el (compose-region): Cancel previous change.
9916
99172012-02-02 Kenichi Handa <handa@m17n.org>
9918
9919 * composite.el (compose-region, compose-string): Signal error for
9920 a null string component (Bug#6988).
9921
99222012-02-01 Chong Yidong <cyd@gnu.org>
9923
9924 * view.el (view-buffer-other-window, view-buffer-other-frame):
9925 Handle special modes like view-buffer (Bug#10650).
9926 (view-buffer): Simplify.
9927
9928 * frame.el (set-frame-font): Tweak meaning of third argument.
9929
9930 * dynamic-setting.el (font-setting-change-default-font):
9931 Use set-frame-font (Bug#9982).
9932
99332012-02-01 Glenn Morris <rgm@gnu.org>
9934
9935 * progmodes/compile.el (compilation-internal-error-properties):
9936 Respect compilation-first-column in the "*compilation*" buffer.
9937
9938 * emacs-lisp/easy-mmode.el (define-minor-mode):
9939 Relax :variable's test for a named function.
9940
99412012-01-31 Alan Mackenzie <acm@muc.de>
9942
9943 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9944 off by one error.
9945
99462012-01-31 Chong Yidong <cyd@gnu.org>
9947
9948 * frame.el (set-frame-font): New arg ALL-FRAMES.
9949
9950 * menu-bar.el (menu-set-font): Use set-frame-font.
9951
9952 * faces.el (face-spec-reset-face): Don't apply unspecified
9953 attribute values to the default face.
9954
99552012-01-31 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * progmodes/cwarn.el (cwarn): Remove dead link.
9958 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9959 Remove * from defcustom docstrings.
9960 (turn-on-cwarn-mode): Make obsolete.
9961 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9962 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9963
99642012-01-31 Glenn Morris <rgm@gnu.org>
9965
9966 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9967 Fix :variable handling of mode a symbol not equal to modefun.
9968 Allow named functions to be used as the cdr of :variable.
9969
99702012-01-30 Glenn Morris <rgm@gnu.org>
9971
9972 * emacs-lisp/authors.el (authors-fixed-entries):
9973 Remove reference to deleted file rnewspost.el.
9974
99752012-01-29 Juanma Barranquero <lekktu@gmail.com>
9976
9977 * window.el (window-with-parameter): Remove unused variable `windows'.
9978 (window--side-check): Remove unused variable `code'.
9979 (window--resize-siblings): Remove unused variable `first'.
9980 (adjust-window-trailing-edge): Remove unused variable `failed'.
9981 (window-deletable-p, window--delete): Remove unused variable `buffer'.
9982 Use `let', not `let*'.
9983 (balance-windows-2): Remove unused variable `found'.
9984 (window--state-put-2): Remove unused variable `splits'.
9985 (window-state-put): Remove unused variable `selected'.
9986 (same-window-p): Use `string-match-p'.
9987 (display-buffer-assq-regexp): Remove unused variable `value'.
9988 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9989 Mark argument ALIST as ignored.
9990 (pop-to-buffer): Remove unused variable `old-window'.
9991
99922012-01-29 Eli Zaretskii <eliz@gnu.org>
9993
9994 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9995 and .lzma compressed files.
9996
99972012-01-29 Chong Yidong <cyd@gnu.org>
9998
9999 * frame.el (window-system-default-frame-alist): Doc fix.
10000
10001 * dynamic-setting.el (font-setting-change-default-font): Don't
10002 change the default face if SET-FONT argument is non-nil (Bug#9982).
10003
100042012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10005
10006 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10007
100082012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10009
10010 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10011 breakpoints in files outside current directory (Bug#6098).
10012
100132012-01-29 Chong Yidong <cyd@gnu.org>
10014
10015 * progmodes/python.el: Require ansi-color at top-level.
10016
10017 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10018 Define and use in Emacs Lisp mode (Bug#9360).
10019 (lisp-mode-abbrev-table): Add doc.
10020 (lisp-mode-variables): Don't set local-abbrev-table.
10021 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10022
100232012-01-28 Roland Winkler <winkler@gnu.org>
10024
10025 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10026
100272012-01-28 Roland Winkler <winkler@gnu.org>
10028
10029 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10030 (bibtex-set-dialect): Use it. Either set global values of
10031 dialect-dependent variables or bind these variables buffer-locally
10032 (Bug#10254).
10033 (bibtex-mode): Call bibtex-set-dialect via
10034 hack-local-variables-hook.
10035 (bibtex-dialect): Update docstring.
10036 Add safe-local-variable predicate.
10037 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10038 bibtex-set-dialect.
10039 (bibtex-mode-map): Define menu for each dialect.
10040 (bibtex-entry): Fix docstring.
10041
100422012-01-28 Chong Yidong <cyd@gnu.org>
10043
10044 * eshell/esh-arg.el (eshell-quote-argument): New function.
10045
10046 * eshell/esh-ext.el (eshell-invoke-batch-file):
10047 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10048 first arg to eshell-parse-command (Bug#10523).
10049
100502012-01-28 Drew Adams <drew.adams@oracle.com>
10051
10052 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10053 `default-directory' is non-nil.
10054
100552012-01-28 Eli Zaretskii <eliz@gnu.org>
10056
10057 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10058 line that displays system-configuration-options. (Bug#9924)
10059
100602012-01-28 Drew Adams <drew.adams@oracle.com>
10061
10062 * descr-text.el (describe-char): Show information about POS, in
10063 addition to information about the character at POS. Improve and
10064 update the doc string. Change "code point" to "code point in
10065 charset", to avoid confusion with the character's Unicode code
10066 point shown above that. (Bug#10129)
10067
100682012-01-28 Eli Zaretskii <eliz@gnu.org>
10069
10070 * descr-text.el (describe-char): Show the raw character, not only
10071 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10072 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10073 for the reasons.
10074
100752012-01-28 Phil Hagelberg <phil@hagelb.org>
10076
10077 * emacs-lisp/package.el (package-install):
10078 Run package-refresh-contents if there is no archive yet (Bug#9798).
10079
100802012-01-28 Chong Yidong <cyd@gnu.org>
10081
10082 * emacs-lisp/package.el (package-maybe-load-descriptor):
10083 New function, split from package-maybe-load-descriptor.
10084 (package-maybe-load-descriptor): Use it.
10085 (package-download-transaction): Fully load required packages
10086 inside the loop, so that `require' calls work (Bug#10593).
10087 (package-install): No need to call package-initialize now.
10088
100892012-01-28 Chong Yidong <cyd@gnu.org>
10090
10091 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10092
10093 * tooltip.el (tooltip-mode): Doc fix.
10094 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10095
10096 * frame.el (set-cursor-color): Doc fix (Bug#352).
10097
10098 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10099 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10100
10101 * cus-edit.el (custom-buffer-create-internal): Fix search button
10102 action (Bug#10542).
10103 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10104
101052012-01-27 Eduard Wiebe <usenet@pusto.de>
10106
10107 * dired.el (dired-mark-files-regexp):
10108 Include any subdirectory components. (Bug#10445)
10109
101102012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10111
10112 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10113 Handle [host]:port syntax. (Bug#10533)
10114
101152012-01-27 Alex Harsanyi <harsanyi@mac.com>
10116
10117 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10118
101192012-01-26 Glenn Morris <rgm@gnu.org>
10120
10121 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10122 * term.el (term-raw-escape-map): Use Control-X-prefix.
10123 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10124
101252012-01-25 Martin Rudalics <rudalics@gmx.at>
10126
10127 * window.el (window-state-get, window--state-get-1): Don't deal
10128 with fixed-sizeness of windows. Simplify code.
10129
101302012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10131
10132 * window.el (window--state-get-1, window--state-put-2):
10133 Don't save and restore the mark.
10134
101352012-01-25 Chong Yidong <cyd@gnu.org>
10136
10137 * custom.el (custom-variable-p): Doc fix.
10138
101392012-01-25 Glenn Morris <rgm@gnu.org>
10140
10141 * dired.el (dired-goto-file): Handle some of the more common
10142 characters that `ls -b' escapes. (Bug#10596)
10143
10144 * progmodes/compile.el (compilation-next-error-function):
10145 Respect compilation-first-column in the "*compilation*" buffer.
10146 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10147
10148 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10149
101502012-01-24 Glenn Morris <rgm@gnu.org>
10151
10152 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10153
101542012-01-24 Julien Danjou <julien@danjou.info>
10155
10156 * color.el (color-rgb-to-hsl): Fix value computing.
10157 (color-hue-to-rgb): New function.
10158 (color-hsl-to-rgb): New function.
10159 (color-clamp, color-saturate-hsl, color-saturate-name)
10160 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10161 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10162
101632012-01-24 Glenn Morris <rgm@gnu.org>
10164
10165 * vc/vc-rcs.el (vc-rcs-create-tag):
10166 * vc/vc-sccs.el (vc-sccs-create-tag):
10167 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10168
101692012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10170
10171 * eshell/esh-util.el (eshell-read-hosts-file):
10172 Skip comment lines. (Bug#10549)
10173
10174 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10175
101762012-01-23 Juanma Barranquero <lekktu@gmail.com>
10177
10178 * subr.el (display-delayed-warnings): Doc fix.
10179 (collapse-delayed-warnings): New function to collapse identical
10180 adjacent warnings.
10181 (delayed-warnings-hook): Add it.
10182
101832012-01-22 Michael Albinus <michael.albinus@gmx.de>
10184
10185 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10186
10187 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10188 (tramp-default-user-alist): Don't add "pscp".
10189 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10190 property "login-as", if set. (Bug#10530)
10191
101922012-01-21 Michael Albinus <michael.albinus@gmx.de>
10193
10194 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10195 "plink1" and "psftp". (Bug#10530)
10196
101972012-01-21 Kenichi Handa <handa@m17n.org>
10198
10199 * international/mule-cmds.el (prefer-coding-system): Show a
10200 warning message if the default value of file-name-coding-system
10201 was not changed.
10202
102032012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10204
10205 * windmove.el (windmove-reference-loc):
10206 Fix windmove-reference-loc miscalculation.
10207
102082012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10209
10210 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10211 default unit.
10212
102132012-01-21 Glenn Morris <rgm@gnu.org>
10214
10215 * international/mule.el (auto-coding-alist): Add .tbz.
10216
10217 * files.el (local-enable-local-variables): Doc fix.
10218 (inhibit-local-variables-regexps): Rename from
10219 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10220 Doc fix. Add some extensions from auto-coding-alist.
10221 (inhibit-local-variables-suffixes):
10222 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10223 (inhibit-local-variables-p):
10224 New function, extracted from set-auto-mode-1.
10225 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10226 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10227 (hack-local-variables): Doc fix. Make the mode-only case
10228 respect enable-local-variables and friends.
10229 Respect inhibit-local-variables-regexps for file-locals, but
10230 not for directory-locals.
10231 (set-visited-file-name):
10232 Take account of inhibit-local-variables-regexps.
10233 Whether it applies may change as the file name is changed.
10234 * jka-cmpr-hook.el (jka-compr-install):
10235 * jka-compr.el (jka-compr-uninstall):
10236 Update for inhibit-first-line-modes-suffixes name change.
10237
102382012-01-20 Martin Rudalics <rudalics@gmx.at>
10239
10240 * help-macro.el (make-help-screen): Temporarily restore original
10241 binding for minor-mode-map-alist (Bug#10454).
10242
102432012-01-19 Julien Danjou <julien@danjou.info>
10244
10245 * color.el (color-name-to-rgb): Use the white color to find the max
10246 color component value and return correctly computed values.
10247 (color-name-to-rgb): Add missing float conversion for max value.
10248
102492012-01-19 Martin Rudalics <rudalics@gmx.at>
10250
10251 * window.el (window--state-get-1, window-state-get): Do not use
10252 special state value for window-persistent-parameters.
10253 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10254 (window--state-put-2): Reset all window parameters to nil before
10255 assigning values of persistent parameters.
10256
102572012-01-18 Alan Mackenzie <acm@muc.de>
10258
10259 Eliminate sluggishness and hangs in fontification of "semicolon
10260 deserts".
10261
10262 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10263 Change value 10000 -> 3000.
10264 (c-state-safe-place): Reformulate so it doesn't stack up an
10265 infinite number of wrong entries in c-state-nonlit-pos-cache.
10266 (c-determine-limit-get-base, c-determine-limit): New functions to
10267 determine backward search limits disregarding literals.
10268 (c-find-decl-spots): Amend commenting.
10269 (c-cheap-inside-bracelist-p): New function which detects "={".
10270
10271 * progmodes/cc-fonts.el
10272 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10273 backward search.
10274 (c-font-lock-declarations): Fix an occurrence of point being
10275 undefined. Check additionally for point being in a bracelist or
10276 near a macro invocation without a semicolon so as to avoid a
10277 fruitless time consuming search for a declarator. Give a more
10278 precise search limit for declarators using the new
10279 c-determine-limit.
10280
102812012-01-18 Glenn Morris <rgm@gnu.org>
10282
10283 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10284 (set-auto-mode): Doc fixes.
10285
102862012-01-17 Glenn Morris <rgm@gnu.org>
10287
10288 * isearch.el (search-nonincremental-instead): Fix doc typo.
10289
10290 * dired.el (dired-insert-directory): Handle newlines in directory name.
10291 (dired-build-subdir-alist): Unescape newlines in directory name.
10292
102932012-01-17 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10296 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10297 (tramp-action-terminal): Use it. (Bug#10530)
10298
102992012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10300
10301 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10302
103032012-01-16 Martin Rudalics <rudalics@gmx.at>
10304
10305 * window.el (window-state-ignored-parameters): Remove variable.
10306 (window--state-get-1): Rename argument MARKERS to IGNORE.
10307 Handle persistent window parameters. Make copy of clone-of
10308 parameter only if requested. (Bug#10348)
10309 (window--state-put-2): Install a window parameter only if it has
10310 a non-nil value or an existing parameter shall be overwritten.
10311
103122012-01-15 Michael Albinus <michael.albinus@gmx.de>
10313
10314 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10315
103162012-01-14 Eli Zaretskii <eliz@gnu.org>
10317
10318 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10319 don't pass the (nil) value of `upnode' to string-match.
10320
103212012-01-14 Chong Yidong <cyd@gnu.org>
10322
10323 * startup.el (command-line): Fix X resource class for cursorColor.
10324 Fix values recognized by the cursorBlink resource.
10325
103262012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10327
10328 * epg.el (epg--make-temp-file): Avoid permission race condition
10329 when running on old Emacs versions (bug#10403).
10330
103312012-01-14 Glenn Morris <rgm@gnu.org>
10332
10333 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10334
103352012-01-13 Alan Mackenzie <acm@muc.de>
10336
10337 Fix filling for when filladapt mode is enabled.
10338
10339 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10340 c-mask-paragraph, pass in `fill-paragraph' rather than
10341 `fill-region-as-paragraph'. (This is a reversion of a previous
10342 change.)
10343 * progmodes/cc-mode.el (c-basic-common-init):
10344 Make fill-paragraph-handle-comment buffer local and set it to nil.
10345
103462012-01-13 Glenn Morris <rgm@gnu.org>
10347
10348 * dired.el (dired-switches-escape-p): New function.
10349 (dired-insert-directory): Use dired-switches-escape-p.
10350 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10351
10352 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10353
103542012-01-12 Glenn Morris <rgm@gnu.org>
10355
10356 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10357 changes in adaptive-fill-regexp. (Bug#10276)
10358
103592012-01-11 Alan Mackenzie <acm@muc.de>
10360
10361 Fix Emacs bug #10463 - put `widen's around the critical spots.
10362
10363 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10364 widen around each invocation of c-state-pp-to-literal. Remove an
10365 unused let variable.
10366
103672012-01-11 Glenn Morris <rgm@gnu.org>
10368
10369 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10370 Doc fix.
10371
103722012-01-10 Chong Yidong <cyd@gnu.org>
10373
10374 * net/network-stream.el (network-stream-open-starttls):
10375 Avoid emitting a confusing error message when the server gives a bad
10376 response to the capability command.
10377
103782012-01-10 Glenn Morris <rgm@gnu.org>
10379
10380 * mail/unrmail.el (unrmail): Tweak previous change.
10381
103822012-01-09 Chong Yidong <cyd@gnu.org>
10383
10384 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10385
103862012-01-08 Alan Mackenzie <acm@muc.de>
10387
10388 Optimise font locking in long enum definitions.
10389
10390 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10391 arm to a cond form to handle enums.
10392 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10393 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10394
103952012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10396
10397 * files.el (move-file-to-trash): Preserve default file modes on error.
10398 (Bug#10401)
10399
104002012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10401
10402 * faces.el (set-face-attribute): Clarify the meaning of the nil
10403 frame (bug#10294).
10404
10405 * subr.el (with-selected-frame): Mention that the selected frame
10406 is restored (bug#9980).
10407
10408 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10409 (bug#9759).
10410
10411 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10412 (password-read): Don't autoload unused function.
10413
104142012-01-07 Juanma Barranquero <lekktu@gmail.com>
10415
10416 * progmodes/which-func.el (which-func-mode): Turn into a
10417 non-interactive function and mark as obsolete (bug#10428).
10418
104192012-01-06 Chong Yidong <cyd@gnu.org>
10420
10421 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10422 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10423 functions, along with 1 and -1.
10424
104252012-01-06 Eli Zaretskii <eliz@gnu.org>
10426
10427 * time.el (display-time-load-average)
10428 (display-time-default-load-average): Doc fixes. See the thread
10429 starting at
10430 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10431 for the details.
10432
104332012-01-06 Glenn Morris <rgm@gnu.org>
10434
10435 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10436 has no messages. (Bug#10377)
10437
10438 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10439 than Info-edit. (Bug#10385)
10440
10441 * time.el (display-time-load-average, display-time-next-load-average):
10442 Doc fixes.
10443
10444 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10445 local setting of buffer-read-only to the input buffer. (Bug#10419)
10446
10447 * calendar/calendar.el (calendar-mode):
10448 Locally set scroll-margin to 0. (Bug#10379)
10449
104502012-01-06 Ulrich Mueller <ulm@gentoo.org>
10451
10452 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10453
104542012-01-05 Glenn Morris <rgm@gnu.org>
10455
10456 * eshell/em-unix.el (diff-no-select): Autoload it.
10457 (eshell/diff): Use diff-no-select. (Bug#10420)
10458
104592012-01-05 Chong Yidong <cyd@gnu.org>
10460
10461 * shell.el (shell-dynamic-complete-functions): Revert last change.
10462 (shell-command-completion-function): New function.
10463 (shell-completion-vars): Use it to implement
10464 shell-completion-execonly (Bug#10417).
10465
10466 * custom.el (enable-theme): Don't set custom-safe-themes.
10467
10468 * cus-theme.el (custom-theme-merge-theme):
10469 Ignore custom-enabled-themes and custom-safe-themes.
10470
104712012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10472
10473 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10474 first prompt in `sql-interacive-mode'.
10475 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10476 keywords.
10477 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10478 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10479 context of original buffer. Invoke `sql-login-hook'.
10480
104812012-01-04 Eli Zaretskii <eliz@gnu.org>
10482
10483 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10484 letters in cite-prefix.
10485
104862012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10487
10488 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10489
104902012-01-03 Chong Yidong <cyd@gnu.org>
10491
10492 * shell.el (shell-dynamic-complete-functions):
10493 Put pcomplete-completions-at-point, so as to try
10494 comint-filename-completion first (Bug#10417).
10495
104962012-01-02 Richard Stallman <rms@gnu.org>
10497
10498 * battery.el (battery-status-function):
10499 Detect when to use battery-yeeloong-sysfs.
10500 (battery-echo-area-format): Add string for Yeeloong.
10501 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10502 (battery-yeeloong-sysfs): New function.
10503
105042012-01-02 Chong Yidong <cyd@gnu.org>
10505
10506 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10507 (dirtrack): Merge code for handling relative filenames in prompt
10508 from shell-dir-cookie-watcher.
10509 (dirtrack-debug-message): New arg to avoid excess format calls.
10510
10511 * shell.el (shell-dir-cookie-re): Variable deleted.
10512 (shell-dir-cookie-watcher): Function deleted.
10513 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10514 with dirtrack-mode.
10515
105162012-01-01 Eli Zaretskii <eliz@gnu.org>
10517
10518 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10519 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10520 libgnutls-26.dll.
10521
105222011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10523
10524 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10525
105262011-12-31 Eli Zaretskii <eliz@gnu.org>
10527
10528 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10529 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10530
105312011-12-29 Michael Albinus <michael.albinus@gmx.de>
10532
10533 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10534 also for alternative shells.
10535 (tramp-open-connection-setup-interactive-shell): Check, whether
10536 the shell is a busybox.
10537 (tramp-send-command): Don't suppress multiple prompts for
10538 busyboxes, it hurts.
10539
105402011-12-28 Chong Yidong <cyd@gnu.org>
10541
10542 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10543 (gdb-get-source-file): Move mode line update to
10544 gdb-get-source-file (Bug#10087).
10545
105462011-12-25 Chong Yidong <cyd@gnu.org>
10547
10548 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10549 gud-gdb-marker-filter without taking it as an argument.
10550 (gud-gdb-run-command-fetch-lines): Caller changed.
10551 (gud-gdb-completion-function): New variable.
10552 (gud-gdb-completion-at-point): Use it.
10553 (gud-gdb-completions-1): Split from gud-gdb-completions.
10554
10555 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10556 function as separate arguments.
10557 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10558 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10559 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10560 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10561 (gdb-stopped, def-gdb-auto-update-trigger)
10562 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10563 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10564 Callers changed.
10565 (gud-gdbmi-completions): New function.
10566 (gdb): Use it for generating the completion table.
10567
105682011-12-24 Alan Mackenzie <acm@muc.de>
10569
10570 Introduce a mechanism to widen the region used in context font
10571 locking. Use this to protect declarations from losing their contexts.
10572
10573 * progmodes/cc-langs.el (c-before-font-lock-functions):
10574 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10575 (c-before-context-fontification-functions): New defvar, a list of
10576 functions to be run just before context (etc.) font locking.
10577
10578 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10579 New, functionality extracted from
10580 c-neutralize-syntax-in-and-mark-CPP.
10581 (c-in-after-change-fontification): New variable.
10582 (c-after-change): Set c-in-after-change-fontification.
10583 (c-set-fl-decl-start): Rejig its interface, so it can be called
10584 from both after-change and context fontifying.
10585 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10586 New functions.
10587 (c-standard-font-lock-fontify-region-function): New variable.
10588 (c-font-lock-fontify-region): New function.
10589
105902011-12-24 Juri Linkov <juri@jurta.org>
10591
10592 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10593 (Bug#10348)
10594
105952011-12-23 Michael Albinus <michael.albinus@gmx.de>
10596
10597 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10598 existence of source file. (Bug#10325)
10599
106002011-12-23 Alan Mackenzie <acm@muc.de>
10601
10602 Fix unstable fontification inside templates.
10603
10604 * progmodes/cc-langs.el (c-before-font-lock-functions):
10605 Newly created from the singular version. The (c c++ objc) entry now
10606 additionally has c-set-fl-decl-start. The other languages (apart
10607 from AWK) have that as a single entry.
10608
10609 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10610 The functionality for "local" declarations has been extracted to
10611 c-set-fl-decl-start.
10612
10613 * progmodes/cc-mode.el (c-common-init, c-after-change):
10614 Changes due to pluralisation of c-before-font-lock-functions.
10615 (c-set-fl-decl-start): New function, extracted from
10616 c-font-lock-enclosing-decls and enhanced.
10617
106182011-12-23 Juanma Barranquero <lekktu@gmail.com>
10619
10620 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10621
106222011-12-22 Juri Linkov <juri@jurta.org>
10623
10624 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10625
106262011-12-22 Chong Yidong <cyd@gnu.org>
10627
10628 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10629
106302011-12-21 Drew Adams <drew.adams@oracle.com>
10631
10632 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10633
106342011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10635
10636 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10637
106382011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10639
10640 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10641 highlighting and support. Fix up comments for capitalization.
10642 (cfengine-mode-debug): New var.
10643 (cfengine3-mode): Change the modeline indicator to "CFE3".
10644 (cfengine3-font-lock-keywords): Improve defun highlighting.
10645 (cfengine2-actions): Rename from `cfengine-actions'.
10646 (cfengine2-font-lock-keywords): Rename from
10647 `cfengine-font-lock-keywords'.
10648 (cfengine2-imenu-expression): Rename from
10649 `cfengine-imenu-expression'.
10650 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10651 (cfengine2-beginning-of-defun): Rename from
10652 `cfengine-beginning-of-defun'.
10653 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10654 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10655 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10656 modeline indicator to "CFE2".
10657 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10658 (cfengine-mode-abbrevs): Mark obsolete.
10659
106602011-12-21 Chong Yidong <cyd@gnu.org>
10661
10662 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10663 filename argument.
10664
106652011-12-20 Martin Rudalics <rudalics@gmx.at>
10666
10667 * window.el (window-normalize-buffer-to-display): Remove.
10668 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10669
106702011-12-19 Chong Yidong <cyd@gnu.org>
10671
10672 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10673 Don't signal an error in a predicate function; return non-nil.
10674 (vc-dir-mark-file): Move the error here.
10675 (vc-dir-mark-unmark): If acting on the region, keep going if one
10676 of the entries cannot be marked/unmarked.
10677 (vc-dir-mark-all-files): If current entry is a directory, mark
10678 only child files, as documented.
10679
106802011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10681
10682 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10683 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10684 addition.
10685
106862011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10687
10688 * term/ns-win.el (ns-get-selection-internal)
10689 (ns-store-selection-internal): Declare.
10690 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10691 Declare as obsolete.
10692 (ns-get-pasteboard, ns-paste-secondary):
10693 Use ns-get-selection-internal.
10694 (ns-set-pasteboard, ns-copy-including-secondary):
10695 Use ns-store-selection-internal.
10696
106972011-12-17 Chong Yidong <cyd@gnu.org>
10698
10699 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10700 (vc-deduce-fileset): Doc fix.
10701
107022011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10703
10704 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10705
107062011-12-13 Sam Steingold <sds@gnu.org>
10707
10708 * man.el (Man-getpage-in-background): When running under a
10709 window-system, ignore $MANWIDTH and $COLUMNS.
10710
107112011-12-15 Kenichi Handa <handa@m17n.org>
10712
10713 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10714 (setup-ethiopic-environment-internal): Comment out key-binding for
10715 ethio-toggle-punctuation.
10716
107172011-12-13 Alan Mackenzie <acm@muc.de>
10718
10719 Add the switch statement to AWK Mode.
10720
10721 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10722 "default" to the keywords regexp.
10723
10724 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10725 expression as the rest.
10726 (c-nonlabel-token-key): Allow string literals for AWK.
10727 Refactor for the other modes.
10728
10729 Large brace-block initialisation makes CC Mode slow: Fix.
10730 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10731 routines. Limit backward searching in c-font-lock-enclosing.decl.
10732
10733 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10734 pp-state and literal type in addition to the limits.
10735 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10736 (c-state-literal-at): Use the above new defun.
10737 (c-slow-in-literal, c-fast-in-literal): Remove.
10738 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10739
10740 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10741 being in a literal. Add a limit for backward searching.
10742
10743 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10744 c-slow-in-literal.
10745
107462011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10749
107502011-12-13 Martin Rudalics <rudalics@gmx.at>
10751
10752 * window.el (delete-other-windows): Use correct frame in call to
10753 window-with-parameter.
10754
107552011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10756
10757 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10758 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10759 (makefile-gmake-statements, makefile-makepp-statements):
10760 Use it and add new makepp keywords.
10761 (makefile-makepp-font-lock-keywords): Add new patterns.
10762 (makefile-match-function-end): Match new [...] and [[...]].
10763
107642011-12-11 Juanma Barranquero <lekktu@gmail.com>
10765
10766 * ses.el (ses-call-printer-return, ses-cell-property-get)
10767 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10768 (ses-create-cell-variable, ses-reset-header-string)
10769 (ses-cell-set-formula, ses-repair-cell-reference-all)
10770 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10771 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10772 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10773 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10774 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10775 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10776 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10777 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10778 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10779 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10780 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10781 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10782
107832011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10784
10785 * ses.el: The overall change is to add cell renaming, that is
10786 setting fancy names for cell symbols other than name matching
10787 "\\`[A-Z]+[0-9]+\\'" regexp .
10788 (ses-create-cell-variable): New defun.
10789 (ses-relocate-formula): Relocate formulas only for cells the
10790 symbols of which are not renamed, i.e. symbols whose names do not
10791 match regexp "\\`[A-Z]+[0-9]+\\'".
10792 (ses-relocate-all): Relocate values only for cells the symbols of
10793 which are not renamed.
10794 (ses-load): Create cells variables as the (ses-cell ...) are read,
10795 in order to check row col consistency with cell symbol name only
10796 for cells that are not renamed.
10797 (ses-replace-name-in-formula): New defun.
10798 (ses-rename-cell): New defun.
10799
108002011-12-11 Chong Yidong <cyd@gnu.org>
10801
10802 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10803 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10804
108052011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10806
10807 * window.el (other-window): Fix docstring.
10808
108092011-12-10 Eli Zaretskii <eliz@gnu.org>
10810
10811 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10812 `from' or `to' address before taking its substring.
10813 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10814 encoded name is chopped in the middle of the encoded string, and
10815 thus displayed encoded.
10816
108172011-12-10 Juanma Barranquero <lekktu@gmail.com>
10818
10819 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10820
108212011-12-10 Eli Zaretskii <eliz@gnu.org>
10822
10823 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10824 to use texinfo-update-node and commands that call it if the
10825 Texinfo file uses @node lines without next/prev/up pointers.
10826 Correct outdated description about texinfo-master-menu.
10827 (texinfo-all-menus-update, texinfo-master-menu)
10828 (texinfo-update-node, texinfo-every-node-update)
10829 (texinfo-multiple-files-update): Doc fix. Warn against updating
10830 all the @node lines.
10831 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10832 argument is numeric. Explain better in the doc string what the
10833 function really does.
10834 (texinfo-insert-master-menu-list): Improve the error message
10835 displayed if there's no menu in the Top node.
10836 (Bug#2975) See also this thread:
10837 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10838
108392011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10840
10841 * speedbar.el (speedbar-supported-extension-expressions):
10842 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10843
108442011-12-09 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * printing.el (pr-mode-alist):
10847 * simple.el (filter-buffer-substring-functions)
10848 (completion-list-insert-choice-function):
10849 * window.el (window-with-parameter, window-atom-root)
10850 (window-sides-slots, window-size-fixed, window-min-delta)
10851 (window-max-delta, window--resize-mini-window)
10852 (window--resize-child-windows-normal, window-tree)
10853 (delete-other-windows, quit-window, split-window)
10854 (display-buffer-record-window, special-display-buffer-names)
10855 (special-display-regexps, special-display-popup-frame)
10856 (same-window-p, split-window-sensibly)
10857 (display-buffer-overriding-action, display-buffer-alist)
10858 (display-buffer-base-action, display-buffer, switch-to-buffer)
10859 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10860 (fit-window-to-buffer, recenter-positions)
10861 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10862 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10863 and remove unneeded backslashes in docstrings.
10864
108652011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10868
10869 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10870 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10871 end in ".mk".
10872 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10873 when reading the makefile (bug#10116).
10874
108752011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10878 (bug#10116).
10879
108802011-12-06 Glenn Morris <rgm@gnu.org>
10881
10882 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10883
108842011-12-06 Chong Yidong <cyd@gnu.org>
10885
10886 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10887
108882011-12-06 Juanma Barranquero <lekktu@gmail.com>
10889
10890 * textmodes/table.el (table-shorten-cell): Fix typo.
10891
108922011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10893
10894 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10895
108962011-12-05 Eli Zaretskii <eliz@gnu.org>
10897
10898 * descr-text.el (describe-char): Fix display of strong
10899 right-to-left characters and directional embeddings and overrides.
10900
10901 * simple.el (what-cursor-position): Fix display of codepoints of
10902 strong right-to-left characters.
10903
109042011-12-05 Chong Yidong <cyd@gnu.org>
10905
10906 * faces.el (read-color): Doc fix.
10907
109082011-12-05 Glenn Morris <rgm@gnu.org>
10909
10910 * align.el (align--set-marker): Add doc-string.
10911 Don't try to move something that is not a marker. (Bug#10216)
10912
109132011-12-04 Glenn Morris <rgm@gnu.org>
10914
10915 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10916 overly zealous deletion of trailing whitespace.
10917
109182011-12-04 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * server.el (server-delete-client): On Windows, do not try to delete
10921 the only terminal.
10922 (server-process-filter): On Windows, treat requests for a tty frame as
10923 if they were for a GUI frame if the running server is in GUI mode.
10924
109252011-12-03 Glenn Morris <rgm@gnu.org>
10926
10927 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10928
109292011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * electric.el: Streamline electric-indent's hook.
10932 (electric-indent-chars): Revert to simple list.
10933 (electric-indent-functions): New var.
10934 (electric-indent-post-self-insert-function): Use it.
10935
10936 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10937 there's no inferior buffer (bug#10196).
10938 (prolog-consult-compile): Don't use toggle-read-only.
10939
109402011-12-02 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10943 interrupt. (Bug#10187)
10944
109452011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10948 (bug#9160).
10949
10950 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10951 (bug#10191).
10952
109532011-12-02 Juri Linkov <juri@jurta.org>
10954
10955 * info.el (Info-search): Display "end of manual" when Isearch
10956 reaches the end of single-file Info manual. (Bug#9918)
10957
109582011-12-02 Eli Zaretskii <eliz@gnu.org>
10959
10960 * isearch.el (isearch-message-prefix): Run the input method part
10961 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10962
109632011-12-02 Juri Linkov <juri@jurta.org>
10964
10965 * isearch.el (isearch-occur): Use `word-search-regexp' for
10966 `isearch-word'.
10967 (isearch-search-and-update): Add condition for `isearch-word' and
10968 call `word-search-regexp'. (Bug#10145)
10969
109702011-12-01 Glenn Morris <rgm@gnu.org>
10971
10972 * eshell/em-hist.el (eshell-hist-initialize):
10973 Handle eshell-history-size nil and HISTSIZE set or unset.
10974 (eshell-history-file-name, eshell-history-size): Fix custom type.
10975
109762011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10979
109802011-12-01 Michael McNamara <mac@mail.brushroad.com>
10981
10982 * progmodes/verilog-mode.el (verilog-pretty-expr):
10983 Rework verilog-pretty-expr to handle new assignment operators in system
10984 verilog, such as += *= and the like.
10985 (verilog-assignment-operator-re): Regular expression to find the
10986 assigment operator in a verilog assignment.
10987 (verilog-assignment-operation-re): Regular expression to find an
10988 assignment statement for pretty-expr.
10989 (verilog-in-attribute-p): Query returns true if point is in an
10990 attribute context; used to skip these for expression line up from
10991 pretty-expr.
10992 (verilog-in-parameter-p): Query returns true if point is in an
10993 parameter definition context; used to skip these for expression
10994 line up from pretty-expr.
10995 (verilog-in-parenthesis-p): Query returns true if point is in a
10996 parenthetical expression, specifically ( ) but not [ ] or { };
10997 used by pretty-expr.
10998 (verilog-just-one-space): If there is no space, don't add one.
10999 (verilog-get-lineup-indent-2): Specifically skip just attribute
11000 contexts for expression lineup, rather than skipping all
11001 parenthetical expressions.
11002 (verilog-calculate-indent): Fix comment, and fix indent.
11003 (verilog-do-indent): Indent declarations in lists (suggested by
11004 Joachim Lechner).
11005 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11006 skeleton items.
11007 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11008 by Alain Mellan).
11009
110102011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11011
11012 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11013 parameters with embedded comments. Reported by Ray Stevens.
11014 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11015 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11016 Reported by Tim Holt.
11017 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11018 instantiated by upper module causing wrong expansion until AUTOed a
11019 second time. Reported by K C Buckenmaier.
11020 (verilog-diff-auto): Fix showing .* as a difference when
11021 `verilog-auto-star-save' off. Reported by Dan Dever.
11022 (verilog-auto-reset, verilog-read-always-signals)
11023 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11024 temporary signals in reset list if
11025 verilog-auto-reset-blocking-in-non is nil, and match assignment
11026 style to each signal's assignment type, bug381.
11027 Reported by Thomas Esposito.
11028 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11029 (verilog-uvm-statement-re): Support UVM indentation and
11030 highlighting, with old OVM keywords only.
11031 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11032 Support AUTOTIEOFF creating non-wire data types.
11033 Suggested by Jonathan Greenlaw.
11034 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11035 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11036 (verilog-inject-sense, verilog-read-inst-pins)
11037 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11038 Fix mismatching parenthesis inside commented out code when deleting
11039 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11040 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11041 non-numeric vector width. Reported by Alex Reed.
11042 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11043 detecting signals with parameter widths. Reported by Alex Reed.
11044 (verilog-auto-delete-trailing-whitespace):
11045 With `verilog-auto-delete-trailing-whitespace' remove trailing
11046 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11047 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11048 Fix verilog-scan-cache corruption when running user AUTO expansion
11049 hooks that call indentation routines.
11050 (verilog-simplify-range-expression): Fix typo ignoring lower case
11051 identifiers.
11052 (verilog-delete-auto): Fix delete-autos to also remove user created
11053 automatics, as long as they start with AUTO.
11054 (verilog-batch-diff-auto, verilog-diff-auto)
11055 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11056 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11057 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11058 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11059 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11060 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11061 is disabled and its cache will get corrupt, causing AUTOS not to
11062 expand. Instead use only -quick functions.
11063 (verilog-scan-region): Fix scanning over escaped quotes.
11064 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11065 (verilog-re-search-backward-quick)
11066 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11067 related functions now ignore strings, to fix misparsing of strings
11068 with magic comments embedded in them.
11069 (verilog-read-auto-template):
11070 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11071 Reported by Brad Dobbie.
11072 (verilog-read-auto-template):
11073 Fix 'verilog-auto-inst-template-numbers' with comments.
11074 Reported by Brad Dobbie.
11075 (verilog-auto-inst, verilog-auto-inst-param)
11076 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11077 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11078 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11079 debugging templates without merge conflicts, bug357.
11080 Reported by Brad Dobbie.
11081 (verilog-read-auto-template):
11082 Fix verilog-auto-inst-template-numbers with multiple templates.
11083 Reported by Brad Dobbie.
11084 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11085 abbrevs so user won't be asked to save.
11086 (verilog-read-auto-lisp-present): Fix to start at beginning of
11087 buffer in case called outside of verilog-auto.
11088 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11089 to "X-2". Reported by Matthew Myers.
11090 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11091 all inputs from module templates. Reported by Leith Johnson.
11092 (verilog-module-inside-filename-p): Fix locating programs as with
11093 modules.
11094 (verilog-auto-inst-port): Fix vl-width expressions when using
11095 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11096 (verilog-decls-get-regs, verilog-decls-get-signals,
11097 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11098 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11099 verilog-read-decls): Combine reg and wire structures into one var
11100 structure to represent SystemVerilog concepts.
11101 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11102 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11103 (verilog-auto-wire-type, verilog-insert-definition):
11104 Add verilog-auto-wire-type and AUTOLOGIC to support using
11105 SystemVerilog "logic" keyword instead of "wire"/"reg".
11106 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11107 to declares outputs that also have assignments (presumably in an
11108 ifdef or generate if so there's not a driver conflict).
11109 Reported by Matthew Myers.
11110 (verilog-auto-declare-nettype, verilog-insert-definition):
11111 Add verilog-auto-declare-nettype to fix declarations using
11112 `default_nettype none. Reported by Julian Gorfajn.
11113 (verilog-read-always-signals-recurse, verilog-read-decls)
11114 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11115 malformed end statement, bug325. Reported by Joshua Wise and
11116 Andrew Drake.
11117 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11118 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11119 when expanding .* in interfaces, bug320.
11120 Reported by Pierre-David Pfister.
11121 (verilog-read-module-name): Fix import statements between module
11122 name and open parenthesis, bug317.
11123 Reported by Pierre-David Pfister.
11124 (verilog-simplify-range-expression): Fix simplification of
11125 multiplications inside AUTOWIRE connections, bug303.
11126 (verilog-auto-inst-port): Support parameter expansion in
11127 multidimensional arrays.
11128 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11129 after "assert property". Reported by Julian Gorfajn.
11130 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11131 with multiplication, bug303.
11132 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11133 Reported by Jan Frode Lonnum.
11134
111352011-11-30 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11138 (hfy-shell-file-name, hfy-shell):
11139 * international/fontset.el (x-decompose-font-name): Fix typos.
11140
111412011-11-29 Ken Brown <kbrown@cornell.edu>
11142
11143 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11144 (gdb-version): Remove defvar.
11145 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11146 (gdb-gud-context-command, gdb-non-stop-handler)
11147 (gdb-current-context-command, gdb-stopped): Use it.
11148 (gdb-init-1): Enable pretty printing here.
11149 (gdb-non-stop-handler): Don't enable pretty-printing here.
11150 Check to see if the target supports non-stop mode; if not, turn off
11151 non-stop mode. Use the following.
11152 (gdb-check-target-async): New defun.
11153 (gud-watch, gdb-stopped): Fix whitespace.
11154 (gdb-get-source-file): Don't try to display the source file if
11155 `gdb-main-file' is nil.
11156
111572011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11158
11159 * align.el: Try to generate fewer markers (bug#10047).
11160 (align--set-marker): New macro.
11161 (align-region): Use it.
11162
111632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11164
11165 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11166
111672011-11-29 Chong Yidong <cyd@gnu.org>
11168
11169 * indent.el (indent-for-tab-command, indent-according-to-mode):
11170 Doc fix.
11171 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11172
111732011-11-29 Michael Albinus <michael.albinus@gmx.de>
11174
11175 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11176 aware of remote file names. (Bug#10124)
11177
111782011-11-29 Chong Yidong <cyd@gnu.org>
11179
11180 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11181
111822011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * files.el (find-file): Don't use force-same-window (bug#10144).
11185 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11186 use pop-to-buffer if the selected window can't be used.
11187 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11188
111892011-11-28 Eli Zaretskii <eliz@gnu.org>
11190
11191 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11192 special-mode-map.
11193
111942011-11-28 Chong Yidong <cyd@gnu.org>
11195
11196 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11197
111982011-11-27 Nick Roberts <nickrob@snap.net.nz>
11199
11200 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11201 gdb-get-source-file-list on gdb-create-source-file-list.
11202
112032011-11-26 Eli Zaretskii <eliz@gnu.org>
11204
11205 * whitespace.el (whitespace-newline): Use a different foreground
11206 color for 16-color light-background displays.
11207
112082011-11-24 Chong Yidong <cyd@gnu.org>
11209
11210 * window.el (display-buffer--special-action): Doc fix.
11211
112122011-11-25 Juanma Barranquero <lekktu@gmail.com>
11213
11214 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11215 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11216 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11217 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11218 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11219 (avl-tree-stack-first):
11220 * emacs-lisp/cconv.el (cconv--analyse-use):
11221 * net/gnutls.el (gnutls-negotiate): Fix typos.
11222
112232011-11-24 Glenn Morris <rgm@gnu.org>
11224
11225 * lpr.el (lpr-windows-system, lpr-lp-system):
11226 * mail/binhex.el (binhex-begin-line):
11227 * progmodes/grep.el (grep-history, grep-find-history):
11228 * textmodes/flyspell.el:
11229 * vc/pcvs-defs.el (cvs-global-menu):
11230 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11231 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11232 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11233
11234 * net/tls.el: Fix case of "GnuTLS".
11235
11236 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11237
11238 * version.el (emacs-build-system): Give it a doc-string.
11239
112402011-11-24 Juri Linkov <juri@jurta.org>
11241
11242 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11243
112442011-11-24 Glenn Morris <rgm@gnu.org>
11245
11246 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11247 if called on a non-mime message just toggle the headers. (Bug#8006)
11248
112492011-11-24 Juanma Barranquero <lekktu@gmail.com>
11250
11251 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11252 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11253 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11254 (allout-rebullet-heading, allout-open-sibtopic)
11255 (allout-toggle-current-subtree-encryption)
11256 (allout-toggle-subtree-encryption, allout-encrypt-string)
11257 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11258 (allout-distinctive-bullets-string, allout-auto-activation):
11259 * window.el (window-normalize-buffer-to-display):
11260 * progmodes/verilog-mode.el (verilog-batch-indent):
11261 * textmodes/bibtex.el (bibtex-field-braces-opt)
11262 (bibtex-field-strings-opt):
11263 * vc/cvs-status.el (cvs-tree-merge):
11264 Fix typos.
11265
112662011-11-23 Michael Albinus <michael.albinus@gmx.de>
11267
11268 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11269 `non-essential' to t, in order to avoid remote connections.
11270
112712011-11-23 Eli Zaretskii <eliz@gnu.org>
11272
11273 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11274 On MS-DOS and MS-Windows, compare with loaddefs.el
11275 case-insensitively.
11276
112772011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11278
11279 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11280
112812011-11-23 Glenn Morris <rgm@gnu.org>
11282
11283 * paths.el (rmail-file-name): Reformat the doc-string so that it
11284 is picked up.
11285
11286 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11287 (rmail-auto-file): Ignore case in the "special" field names,
11288 as mail-fetch-field does for all others.
11289
11290 * mail/rmail.el (rmail-forward):
11291 * mail/rmailkwd.el (rmail-set-label):
11292 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11293 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11294
11295 * mail/rmail.el (rmail-current-message): Doc fix.
11296
11297 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11298
112992011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11302
113032011-11-22 Glenn Morris <rgm@gnu.org>
11304
11305 * mail/rmailmm.el (test-rmail-mime-handler)
11306 (test-rmail-mime-bulk-handler)
11307 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11308
113092011-11-21 Juri Linkov <juri@jurta.org>
11310
11311 * calc/calc.el (calc-read-key-sequence):
11312 Let-bind `input-method-function' to nil. (Bug#10018)
11313
113142011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11315
11316 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11317 Tell the caller that the next line needs recomputation, even
11318 though it doesn't start a sexp (bug#10094).
11319
113202011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11323
113242011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11327 Use force-same-window.
11328
113292011-11-20 Juanma Barranquero <lekktu@gmail.com>
11330
11331 * descr-text.el (describe-char-unicode-data):
11332 * json.el (json-string-escape):
11333 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11334 (Footnote-unicode, Footnote-style-p):
11335 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11336
113372011-11-20 Chong Yidong <cyd@gnu.org>
11338
11339 * window.el (replace-buffer-in-windows): Restore interactive spec.
11340
113412011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11344
11345 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11346 (byte-compile-global-not-obsolete-vars): New var.
11347 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11348 Use it.
11349 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11350
113512011-11-20 Juanma Barranquero <lekktu@gmail.com>
11352
11353 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11354 * progmodes/pascal.el (electric-pascal-equal):
11355 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11356 * xml.el (xml-substitute-special): Fix typos.
11357
113582011-11-20 Glenn Morris <rgm@gnu.org>
11359
11360 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11361 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11362 Doc fixes.
11363 (rmail-decode-mime-charset): Mark as obsolete.
11364
11365 * mail/rmailsum.el (rmail-message-regexp-p-1):
11366 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11367 Before using mime functions, check they are set. (Bug#10077)
11368
113692011-11-19 Juri Linkov <juri@jurta.org>
11370
11371 * info.el (Info-finder-find-node): Use `package--builtins' instead
11372 of `package-alist'. Use node names formed by the pattern "Keyword "
11373 and the keyword name.
11374
113752011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11376
11377 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11378
113792011-11-19 Juri Linkov <juri@jurta.org>
11380
11381 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11382 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11383 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11384 `old-history', `old-history-forward'. Add let-binding
11385 `window-selected'. Remove calls to `kill-buffer',
11386 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11387 before calling `Info-find-node', so `Info-find-node-2' will reread
11388 the Info file. Restore window positions only when `window-selected'
11389 is non-nil.
11390
113912011-11-19 Juri Linkov <juri@jurta.org>
11392
11393 * isearch.el (isearch-lazy-highlight-new-loop):
11394 Remove condition `(not isearch-error)'. (Bug#9918)
11395
11396 * misearch.el (multi-isearch-search-fun): Add condition
11397 `(not bound)' to ignore lazy-highlighting search.
11398 Add the search-failed message "end of multi" when the end of
11399 multi-sequence is reached. Uncapitalize the search-failed
11400 message "Repeat for next buffer".
11401
11402 * info.el (Info-search): Add the search-failed message
11403 "end of the manual" when the end of the manual is reached
11404 in Isearch mode.
11405
114062011-11-19 Juri Linkov <juri@jurta.org>
11407
11408 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11409 Use non-destructive `remove' instead of `delete' because
11410 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11411 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11412
114132011-11-19 Juri Linkov <juri@jurta.org>
11414
11415 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11416 to nil instead of binding `search-ring' and `regexp-search-ring'.
11417 (Bug#9185)
11418
114192011-11-19 Eli Zaretskii <eliz@gnu.org>
11420
11421 * simple.el (line-move): Force movement by logical lines for any
11422 hscrolled window, not only when auto-hscroll-mode is on.
11423 (line-move-visual): Update doc string to that effect. (Bug#10076)
11424
114252011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11426
11427 * language/european.el (macintosh): Define as alias for mac-roman.
11428
114292011-11-19 Eli Zaretskii <eliz@gnu.org>
11430
11431 * mail/rmailmm.el (rmail-mime-display-header)
11432 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11433 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11434 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11435 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11436 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11437 of a raw aref.
11438 (rmail-mime-entity-segment): To get past the tagline, move forward
11439 2 more lines, to account for the 2 empty lines that precede and
11440 follow the line with the buttons.
11441 (rmail-mime-update-tagline): Move one more line, to get past the
11442 empty line that follows the buttons in the tagline. (Bug#9520)
11443
114442011-11-19 Martin Rudalics <rudalics@gmx.at>
11445
11446 * window.el (window-max-delta-1, window-min-delta-1)
11447 (window-min-size-1, window-state-get-1, window-state-put-1)
11448 (window-state-put-2): Use "window--" prefix.
11449
114502011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11451
11452 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11453 (smie-warning-count): New var.
11454 (smie-set-prec2tab): Use it.
11455 (smie-bnf->prec2): Improve warnings. Add docstring.
11456 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11457 (smie-bnf--set-class): New function.
11458 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11459 corner case.
11460
11461 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11462 (compilation-error-properties, compilation-move-to-column):
11463 Handle compilation-first-column while in the target buffer.
11464
11465 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11466 Don't hardcode point-min==1.
11467
11468 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11469 (eshell-rewrite-for-command): Remove workaround.
11470 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11471 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11472 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11473
11474 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11475
114762011-11-17 Glenn Morris <rgm@gnu.org>
11477
11478 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11479 Ignore buffer-local generated-autoload-file if it is the same
11480 as the global value. (Bug#10049)
11481
114822011-11-17 Juanma Barranquero <lekktu@gmail.com>
11483
11484 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11485 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11486 (reftex-toc-previous-heading, reftex-toc-max-level)
11487 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11488 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11489 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11490 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11491 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11492 (reftex-toc-rename-label, reftex-toc-visit-location)
11493 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11494 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11495 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11496 leaving "*toc*" only for references to the buffer.
11497
114982011-11-17 Martin Rudalics <rudalics@gmx.at>
11499
11500 * window.el (window-resize, delete-window, split-window):
11501 Replace window-splits by window-combination-resize.
11502 * cus-start.el (window-splits): Replace by window-combination-resize.
11503
115042011-11-17 Glenn Morris <rgm@gnu.org>
11505
11506 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11507 Make bash entry derive from sh entry, not shell entry.
11508
115092011-11-16 Michael Albinus <michael.albinus@gmx.de>
11510
11511 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11512 local file name.
11513
115142011-11-16 Juanma Barranquero <lekktu@gmail.com>
11515
11516 * menu-bar.el (menu-bar-file-menu):
11517 * printing.el (pr-ps-utility):
11518 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11519 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11520 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11521 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11522 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11523 (icalendar--convert-cyclic-to-ical)
11524 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11525 (icalendar--convert-ical-to-diary)
11526 (icalendar--convert-recurring-to-diary)
11527 (icalendar--convert-non-recurring-all-day-to-diary)
11528 (icalendar-import-format-sample):
11529 * progmodes/idlw-shell.el (idlwave-shell-mode):
11530 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11531 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11532 (vhdl-ps-print-init): Fix typos.
11533
115342011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11535
11536 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11537 FSF and collapse date sequence, obscure author/maintainer email address
11538 better, remove extra version line, track relocation of author's webpage.
11539
11540 * progmodes/python.el (python-pdbtrack-input-prompt)
11541 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11542 regular python pdb prompts. Adjustments shamelessly taken exactly as
11543 suggested in EmacsWiki page (tiny change):
11544 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11545
115462011-11-16 Juanma Barranquero <lekktu@gmail.com>
11547
11548 * expand.el (expand-pos, expand-index, expand-point):
11549 Remove redundant info from docstring.
11550 (expand-add-abbrevs): Doc fix.
11551 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11552 (expand-sample-perl-mode-expand-list): Fix typos.
11553
11554 * net/dbus.el (dbus-event-member-name):
11555 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11556 * term/pc-win.el (msdos-create-frame-with-faces):
11557 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11558
115592011-11-16 Martin Rudalics <rudalics@gmx.at>
11560
11561 * window.el (split-window, window-state-get-1)
11562 (window-state-put-1, window-state-put-2): Rename occurrences of
11563 window-nest to window-combination-limit.
11564 * cus-start.el (window-nest): Rename to window-combination-limit.
11565
115662011-11-16 Chong Yidong <cyd@gnu.org>
11567
11568 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11569 regexp (Bug#10033).
11570
115712011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11574 `completing-read' will remove *Completions* and will preserve
11575 current-buffer for us.
11576 (tmm-add-prompt): Users of *Completions* will always (re)set its
11577 major mode.
11578 (tmm-old-comp-map): Remove.
11579
115802011-11-16 Glenn Morris <rgm@gnu.org>
11581
11582 * mail/rmailedit.el: Require rmailmm when compiling.
11583 (rmail-old-mime-state): New declaration.
11584 (rmail-edit-current-message): If editing a mime message,
11585 edit the "raw" message from the mbox buffer.
11586 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11587
115882011-11-15 Glenn Morris <rgm@gnu.org>
11589
11590 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11591 which wasn't being used. Add optional arg to force given state.
11592 (rmail-mime): Add optional arg to force given state.
11593
115942011-11-15 Juanma Barranquero <lekktu@gmail.com>
11595
11596 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11597 * frame.el (display-mm-dimensions-alist):
11598 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11599 (outline-move-subtree-down):
11600 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11601 (newsticker--treeview-do-get-node):
11602 * net/quickurl.el (quickurl-list-buffer-name):
11603 * progmodes/dcl-mode.el (dcl-mode):
11604 * progmodes/gdb-mi.el (gdb-mapcar*):
11605 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11606
116072011-11-15 Glenn Morris <rgm@gnu.org>
11608
11609 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11610 in a boolean sense, so just make it a boolean, and fix the doc.
11611 (rmail-show-mime-function, rmail-mime-feature)
11612 (rmail-require-mime-maybe): Doc fixes.
11613 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11614
11615 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11616
116172011-11-15 Juanma Barranquero <lekktu@gmail.com>
11618
11619 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11620 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11621 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11622 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11623
116242011-11-15 Glenn Morris <rgm@gnu.org>
11625
11626 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11627 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11628 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11629 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11630 (rmail-mime, rmail-show-mime): Doc fixes.
11631
11632 * term/ns-win.el (mode-line-frame-identification):
11633 Leave it alone. (Bug#10051)
11634
11635 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11636
11637 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11638 Handle empty buffers. (Bug#9978)
11639
116402011-11-14 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * international/mule.el (define-charset):
11643 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11644 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11645 * progmodes/verilog-mode.el (verilog-backward-token):
11646 * textmodes/ispell.el (lookup-words):
11647 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11648
116492011-11-14 Glenn Morris <rgm@gnu.org>
11650
11651 * progmodes/executable.el
11652 (executable-make-buffer-file-executable-if-script-p):
11653 Handle file-modes returning nil.
11654
11655 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11656 message - not necessary, and causes problems. (Bug#9831)
11657
11658 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11659
11660 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11661
11662 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11663 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11664 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11665
116662011-11-12 Martin Rudalics <rudalics@gmx.at>
11667
11668 * window.el (window-resize, delete-window): Use window-splits
11669 variable instead of function.
11670 (window-state-get-1, window-state-put-2, window-state-put):
11671 Don't deal with windows' splits status.
11672
116732011-11-12 Glenn Morris <rgm@gnu.org>
11674
11675 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11676 (apropos-documentation): Doc fixes.
11677
116782011-11-11 Juanma Barranquero <lekktu@gmail.com>
11679
11680 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11681 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11682
116832011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * electric.el (electric-indent-post-self-insert-function): Make it
11686 possible for a char to only indent in some circumstances.
11687 (electric-indent-mode): Simplify.
11688
116892011-11-11 Martin Rudalics <rudalics@gmx.at>
11690
11691 * window.el (windows-with-parameter): Remove unused function.
11692 (windows-at-side): Rename to window-at-side-list.
11693 (window-check, window-atom-check, window-atom-check-1)
11694 (window-side-check, window-size-ignore, window-size-fixed-1)
11695 (window-in-direction-2): Prefix with "window--".
11696 (window-tree-1): Rename to window--subtree, fix doc-string.
11697
116982011-11-11 Glenn Morris <rgm@gnu.org>
11699
11700 * subr.el (eval-after-load): If FILE is already loaded,
11701 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11702
117032011-11-10 Glenn Morris <rgm@gnu.org>
11704
11705 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11706 Call svn via vc-svn-command rather than vc-do-command.
11707 (vc-svn-command): Add --non-interactive. (Bug#9993)
11708 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11709
11710 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11711 Add toggle-read-only. (Bug#7292)
11712 * files.el (toggle-read-only): Mention that it should only
11713 be used interactively. (Bug#10006)
11714
117152011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11716
11717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11718 Adjust regexp for OCaml warnings.
11719
11720 * electric.el (electric-pair-post-self-insert-function): Let user
11721 turn it off buffer-locally (bug#9932).
11722
11723 * progmodes/python.el (python-beginning-of-statement):
11724 Rewrite (bug#2703).
11725
11726 * progmodes/compile.el: Better handle TABs (bug#9749).
11727 (compilation-internal-error-properties)
11728 (compilation-next-error-function): Obey the target buffer's
11729 compilation-error-screen-columns.
11730
117312011-11-09 Juanma Barranquero <lekktu@gmail.com>
11732
11733 * progmodes/meta-mode.el: Remove obsolete comments.
11734 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11735 Fix typos in docstrings.
11736
117372011-11-09 Martin Rudalics <rudalics@gmx.at>
11738
11739 * window.el (window-size-fixed-p): Rewrite doc-string.
11740 (window-resizable-p): Rename to window--resizable-p. Update callers.
11741 (window--resizable): New function. Make all callers of
11742 window-resizable call window--resizable instead.
11743 (window-resizable): Rewrite in terms of window--resizable.
11744
117452011-11-08 Glenn Morris <rgm@gnu.org>
11746
11747 * progmodes/delphi.el (delphi-mode-syntax-table):
11748 Let define-derived-mode define a proper syntax table. (Bug#9994)
11749
117502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * window.el: Stay away from defsubst.
11753 (window-list-no-nils): Remove.
11754 (window-state-get-1, window-state-get): Use backquote instead.
11755
117562011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11757
11758 * emacs-lisp/find-func.el (find-function-read):
11759 Fix incorrect use of default argument in `completing-read'.
11760
117612011-11-08 Martin Rudalics <rudalics@gmx.at>
11762
11763 * window.el (display-buffer-function, special-display-function):
11764 Mention display-buffer-record-window but do not mention
11765 help-setup parameter in doc-strings.
11766 (window-min-delta): Fix doc-string typo.
11767
117682011-11-08 Chong Yidong <cyd@gnu.org>
11769
11770 * window.el (window-total-height, window-total-width): Doc fix.
11771 (window-body-size): Move from C.
11772 (window-body-height, window-body-width): Move to C.
11773
117742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11775
11776 * window.el: Make special-display like display-buffer-alist (bug#9532).
11777 (display-buffer--special-action): New function, morphed
11778 from display-buffer--special.
11779 (display-buffer): Use it to handle special-display-buffers at higher
11780 priority (just after display-buffer-alist).
11781 (display-buffer-fallback-action, display-buffer--other-frame-action)
11782 (pop-to-buffer-same-window): Remove display-buffer--special.
11783
117842011-11-07 Glenn Morris <rgm@gnu.org>
11785
11786 * calendar/cal-menu.el (cal-menu-set-date-title):
11787 Do nothing if not in a calendar. (Bug#9976)
11788
117892011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * files.el (find-file): Always use selected-window.
11792
117932011-11-07 Martin Rudalics <rudalics@gmx.at>
11794
11795 * window.el (window-combinations): Make WINDOW argument
11796 mandatory. Rewrite doc-string.
11797 (walk-window-subtree, window-atom-check, window-min-delta)
11798 (window-max-delta, window--resize-this-window)
11799 (window--resize-root-window-vertically, window-tree)
11800 (balance-windows, window-state-put): Rewrite doc-strings as to
11801 not mention the term "subwindow".
11802 (window--resize-subwindows-skip-p): Rename to
11803 window--resize-child-windows-skip-p.
11804 (window--resize-subwindows-normal): Rename to
11805 window--resize-child-windows-normal.
11806 (window--resize-subwindows): Rename to
11807 window--resize-child-windows.
11808 (window-or-subwindow-p): Rename to window--in-subtree-p.
11809
118102011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11811
11812 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11813 Ensure that mbox format messages end in two newlines (Bug#9974).
11814
118152011-11-06 Chong Yidong <cyd@gnu.org>
11816
11817 * window.el (window-combination-p): Function deleted; its
11818 side-effect is not used in any existing code.
11819 (window-combinations, window-combined-p): Call window-*-child
11820 directly.
11821
118222011-11-05 Chong Yidong <cyd@gnu.org>
11823
11824 * window.el (window-valid-p): Rename from window-any-p.
11825 (window-size-ignore, window-state-get): Callers changed.
11826 (window-normalize-window): Rename from window-normalize-any-window.
11827 New arg LIVE-ONLY, replacing window-normalize-live-window.
11828 (window-normalize-live-window): Delete.
11829 (window-combination-p, window-combined-p, window-combinations)
11830 (walk-window-subtree, window-atom-root, window-min-size)
11831 (window-sizable, window-sizable-p, window-size-fixed-p)
11832 (window-min-delta, window-max-delta, window-resizable)
11833 (window-resizable-p, window-full-height-p, window-full-width-p)
11834 (window-current-scroll-bars, window-point-1, set-window-point-1)
11835 (window-at-side-p, window-in-direction, window-resize)
11836 (adjust-window-trailing-edge, maximize-window, minimize-window)
11837 (window-deletable-p, delete-window, delete-other-windows)
11838 (record-window-buffer, unrecord-window-buffer)
11839 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11840 (quit-window, split-window, window-state-put)
11841 (set-window-text-height, fit-window-to-buffer)
11842 (shrink-window-if-larger-than-buffer): Callers changed.
11843
118442011-11-04 Eli Zaretskii <eliz@gnu.org>
11845
11846 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11847 rfc2047-decode-string.
11848 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11849 warnings.
11850
11851 * window.el (window-body-height, window-body-width): Mention in
11852 the doc string that the return values are in frame's canonical
11853 units. (Bug#9949)
11854
118552011-11-03 Alan Mackenzie <acm@muc.de>
11856
11857 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11858 change in cc-engine.el.
11859
118602011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11863
118642011-11-02 Martin Rudalics <rudalics@gmx.at>
11865
11866 * window.el (quit-window): Call unrecord-window-buffer after
11867 showing another buffer in the window. (Bug#9937)
11868 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11869
118702011-11-02 Juanma Barranquero <lekktu@gmail.com>
11871
11872 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11873 Accept status with more than 9 shelves. (Bug#9935)
11874 Reported by Colin D Bennett <colin@gibibit.com>.
11875
118762011-11-01 Martin Rudalics <rudalics@gmx.at>
11877
11878 * help.el (with-help-window): Don't reference
11879 temp-buffer-show-specifiers in doc-string.
11880
118812011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11882
11883 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11884 menu-item.
11885
118862011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11887
11888 * whitespace.el: New version 13.2.2.
11889 (whitespace-newline-mode): Disable properly. Reported by Sarah
11890 <EmacsWiki>.
11891
118922011-10-30 Ulf Jasper <ulf.jasper@web.de>
11893
11894 * net/newst-treeview.el: Remove "Time-stamp".
11895 (newsticker--group-manage-orphan-feeds): Do not call
11896 newsticker--treeview-tree-update.
11897 (newsticker-treeview-update, newsticker-treeview):
11898 Call newsticker--treeview-tree-update if necessary.
11899
119002011-10-30 Martin Rudalics <rudalics@gmx.at>
11901
11902 * window.el (window-iso-combination-p, window-iso-combined-p)
11903 (window-iso-combinations): Remove "iso-" infix.
11904 Suggested by Chong Yidong.
11905 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11906 (window-max-delta-1, window-resize, window--resize-siblings)
11907 (window--resize-this-window, adjust-window-trailing-edge)
11908 (split-window, balance-windows-1)
11909 (shrink-window-if-larger-than-buffer):
11910 * calendar/calendar.el (calendar-generate-window):
11911 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11912
119132011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11914
11915 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11916 in place (bug#9907).
11917 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11918 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11919 (eshell-structure-basic-command, eshell-rewrite-while-command)
11920 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11921 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11922 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11923 (eshell-do-pipelines-synchronously, eshell-eval-command):
11924 Use backquotes and prefer setq to set.
11925 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11926 (eshell-macrop): Use functionp.
11927 (eshell-do-eval): Handle multiple expressions in `while' body.
11928
119292011-10-30 Chong Yidong <cyd@gnu.org>
11930
11931 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11932 instead of set-mark (Bug#9810).
11933
119342011-10-30 Chong Yidong <cyd@gnu.org>
11935
11936 * window.el (split-window-below, split-window-right): Rename from
11937 split-window-above-each-other and split-window-side-by-side
11938 respectively. All callers changed.
11939 (split-window-sensibly, split-window-sensibly): Use them.
11940 (split-window-keep-point): Doc fix.
11941
11942 * isearch.el: Add isearch-scroll property to split-window-below
11943 and split-window-right.
11944
11945 * follow.el (follow-mode):
11946 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11947 * progmodes/ada-xref.el (ada-gdb-application):
11948 * emulation/vip.el (vip-buffer-in-two-windows):
11949 * image-dired.el (image-dired-dired-with-window-configuration):
11950 * dired-x.el (dired-do-find-marked-files):
11951 * dired.el (dired-pop-to-buffer):
11952 * bs.el (bs--show-with-configuration):
11953 * vc/emerge.el (emerge-setup-windows):
11954 * textmodes/two-column.el (2C-two-columns):
11955 * textmodes/reftex-toc.el (reftex-toc):
11956 * progmodes/gdb-mi.el (gdb-setup-windows):
11957 * progmodes/fortran.el (fortran-window-create):
11958 * net/newst-treeview.el (newsticker--treeview-window-init):
11959 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11960 * emulation/tpu-edt.el (tpu-gold-map):
11961 * emulation/crisp.el (crisp-mode-map):
11962 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11963
119642011-10-29 Chong Yidong <cyd@gnu.org>
11965
11966 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11967
11968 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11969
11970 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11971 forged Ispell output (Bug#7904).
11972
11973 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11974
119752011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * doc-view.el: Avoid ugly errors about not finding nil.
11978 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11979 (doc-view-dvipdf-program, doc-view-unoconv-program)
11980 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11981 Avoid nil or absolute file name as default value.
11982 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11983
119842011-10-28 Alan Mackenzie <acm@muc.de>
11985
11986 * progmodes/cc-defs.el (c-version): -> 5.32.2.
11987
119882011-10-28 Alan Mackenzie <acm@muc.de>
11989
11990 Amend the handling of c-beginning/end-of-defun in nested declaration
11991 scopes.
11992
11993 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11994 cc-langs.el. Change it to a defcustom.
11995
11996 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11997 cc-vars.el.
11998
11999 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12000 Prevent "class foo : bar" being spuriously recognized as a label.
12001
12002 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12003 Add parameter `inclusive' (to include enclosing braces in the region).
12004 (c-widen-to-enclosing-decl-scope): New function.
12005 (c-while-widening-to-decl-block): New macro.
12006 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12007 outward for defun boundaries, and correspondingly change symbol
12008 `respect-enclosure' to `go-outward'.
12009 (c-declaration-limits): Change algorithm to report only the "innermost"
12010 defun's boundaries.
12011
120122011-10-28 Deniz Dogan <deniz@dogan.se>
12013
12014 * net/rcirc.el (rcirc-mode): Use hard newlines.
12015
120162011-10-28 Alan Mackenzie <acm@muc.de>
12017
12018 Amend to indent and fontify macros "which include their own semicolon"
12019 correctly, using the "virtual semicolon" mechanism.
12020
12021 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12022
12023 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12024 Recode to scan one line at a time rather than having \n and \r
12025 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12026 (c-forward-label): Amend for virtual semicolons.
12027 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12028
12029 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12030 of the new C macros.
12031
12032 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12033 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12034 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12035 (c-opt-cpp-macro-define): Make into a full language variable.
12036 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12037 AWK Mode (including \n, \r) removed, no longer needed.
12038
12039 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12040 Invoke c-make-macro-with-semi-re.
12041
12042 * progmodes/cc-vars.el (c-macro-with-semi-re):
12043 (c-macro-names-with-semicolon): New variables.
12044 (c-make-macro-with-semi-re): New function.
12045
120462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * vc/log-edit.el: Fill empty field rather than adding new one.
12049 (log-edit-add-field): New function.
12050 (log-edit-insert-changelog): Use it.
12051
120522011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12053
12054 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12055
120562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12059 (gdb--check-interpreter): New function.
12060 (gdb): Use it.
12061
120622011-10-27 Glenn Morris <rgm@gnu.org>
12063
12064 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12065 (least-positive-float, least-negative-float)
12066 (least-positive-normalized-float, least-negative-normalized-float)
12067 (float-epsilon, float-negative-epsilon):
12068 Remove unnecessary declarations.
12069
12070 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12071 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12072 (least-positive-float, least-negative-float)
12073 (least-positive-normalized-float, least-negative-normalized-float)
12074 (float-epsilon, float-negative-epsilon): Add doc-strings,
12075 based on those in cl.texi.
12076
12077 * files.el (set-visited-file-name): If the major-mode changed,
12078 reload the local variables. (Bug#9796)
12079
120802011-10-27 Chong Yidong <cyd@gnu.org>
12081
12082 * subr.el (change-major-mode-after-body-hook): New hook.
12083 (run-mode-hooks): Run it.
12084
12085 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12086 Use change-major-mode-before-body-hook.
12087
12088 * simple.el (fundamental-mode):
12089 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12090 change introducing fundamental-mode-hook.
12091
120922011-10-26 Juanma Barranquero <lekktu@gmail.com>
12093
12094 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12095
120962011-10-26 Michael Albinus <michael.albinus@gmx.de>
12097
12098 * ido.el (ido-file-name-all-completions-1): Do not require
12099 tramp.el explicitly. (Bug#7583)
12100
121012011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/octave-mod.el:
12104 * progmodes/octave-inf.el: Update maintainer.
12105
121062011-10-26 Chong Yidong <cyd@gnu.org>
12107
12108 * subr.el (with-wrapper-hook): Rewrite doc.
12109
121102011-10-25 Michael Albinus <michael.albinus@gmx.de>
12111
12112 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12113 filenames "/method:foo:". (Bug#9793)
12114
121152011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12118 (bug#9865).
12119
121202011-10-24 Glenn Morris <rgm@gnu.org>
12121
12122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12123
121242011-10-24 Michael Albinus <michael.albinus@gmx.de>
12125
12126 * notifications.el: Add the requirement of a running D-Bus session
12127 bus to the Commentary.
12128
121292011-10-24 Juri Linkov <juri@jurta.org>
12130
12131 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12132 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12133 (Bug#9364)
12134
121352011-10-24 Juri Linkov <juri@jurta.org>
12136
12137 * info.el (Info-following-node-name-re): Add newline to the list
12138 of allowed characters for leading space. (Bug#9824)
12139
121402011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12141
12142 * progmodes/octave-inf.el (inferior-octave-mode-map):
12143 Fix C-c C-h binding.
12144 * progmodes/octave-mod.el (octave-help): Remove.
12145
121462011-10-23 Michael Albinus <michael.albinus@gmx.de>
12147
12148 Sync with Tramp 2.2.3.
12149
12150 * net/tramp-cache.el (top): Pacify byte-compiler using
12151 `init-file-user' and `site-run-file'.
12152
12153 * net/trampver.el: Update release number.
12154
121552011-10-23 Chong Yidong <cyd@gnu.org>
12156
12157 * files.el (toggle-read-only): Remove obsolete comment about
12158 version control.
12159
12160 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12161 for toggle-read-only. Note that this hasn't called vc-next-action
12162 since 2008-05-02, though it wasn't documented at the time.
12163
12164 * vc/ediff-init.el (ediff-toggle-read-only-function):
12165 Use toggle-read-only.
12166
121672011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12168
12169 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12170 of c-parse-state.
12171
12172 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12173 correct faulty logical expression.
12174 (c-parse-state-state, c-record-parse-state-state):
12175 (c-replay-parse-state-state): New defvar/defuns.
12176 (c-debug-parse-state): Use new functions.
12177
121782011-10-22 Martin Rudalics <rudalics@gmx.at>
12179
12180 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12181 last fix. Use window-in-direction correctly.
12182
121832011-10-21 Chong Yidong <cyd@gnu.org>
12184
12185 * progmodes/idlwave.el (idlwave-mode):
12186 * progmodes/vera-mode.el (vera-mode): No need to set
12187 require-final-newline; that's done in prog-mode.
12188 Suggested by Stefan Monnier.
12189
121902011-10-21 Martin Rudalics <rudalics@gmx.at>
12191
12192 * mouse.el (mouse-drag-window-above)
12193 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12194 (mouse-drag-mode-line-1, mouse-drag-header-line)
12195 (mouse-drag-vertical-line-rightward-window): Remove.
12196 (mouse-drag-line): New function.
12197 (mouse-drag-mode-line, mouse-drag-header-line)
12198 (mouse-drag-vertical-line): Call mouse-drag-line.
12199 * window.el (window-at-side-p, windows-at-side): New functions.
12200
122012011-10-21 Ulrich Mueller <ulm@gentoo.org>
12202
12203 * tar-mode.el (tar-grind-file-mode):
12204 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12205
122062011-10-21 Chong Yidong <cyd@gnu.org>
12207
12208 * progmodes/idlwave.el (idlwave-mode):
12209 * progmodes/vera-mode.el (vera-mode):
12210 Use mode-require-final-newline.
12211
122122011-10-20 Glenn Morris <rgm@gnu.org>
12213
12214 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12215
122162011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12217
12218 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12219
122202011-10-20 Chong Yidong <cyd@gnu.org>
12221
12222 * emulation/cua-base.el (cua-mode):
12223 * mail/footnote.el (footnote-mode):
12224 * mail/mailabbrev.el (mail-abbrevs-mode):
12225 * net/xesam.el (xesam-minor-mode):
12226 * progmodes/bug-reference.el (bug-reference-mode):
12227 * progmodes/cap-words.el (capitalized-words-mode):
12228 * progmodes/compile.el (compilation-minor-mode)
12229 (compilation-shell-minor-mode):
12230 * progmodes/gud.el (gud-tooltip-mode):
12231 * progmodes/hideif.el (hide-ifdef-mode):
12232 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12233 * progmodes/subword.el (subword-mode):
12234 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12235 * progmodes/which-func.el (which-function-mode):
12236 * term/tvi970.el (tvi970-set-keypad-mode):
12237 * term/vt100.el (vt100-wide-mode):
12238 * textmodes/flyspell.el (flyspell-mode):
12239 * textmodes/ispell.el (ispell-minor-mode):
12240 * textmodes/nroff-mode.el (nroff-electric-mode):
12241 * textmodes/paragraphs.el (use-hard-newlines):
12242 * textmodes/refill.el (refill-mode):
12243 * textmodes/reftex.el (reftex-mode):
12244 * textmodes/rst.el (rst-minor-mode):
12245 * textmodes/sgml-mode.el (html-autoview-mode)
12246 (sgml-electric-tag-pair-mode):
12247 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12248 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12249 * emulation/crisp.el (crisp-mode):
12250 * emacs-lisp/eldoc.el (eldoc-mode):
12251 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12252 minor mode behavior.
12253
122542011-10-19 Juri Linkov <juri@jurta.org>
12255
12256 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12257 the list of hard-coded chars with escape-glyph face.
12258
122592011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12262
122632011-10-19 Michael Albinus <michael.albinus@gmx.de>
12264
12265 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12266 running process.
12267
122682011-10-19 Glenn Morris <rgm@gnu.org>
12269
12270 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12271 Ignore ignored files. (Bug#9726)
12272
122732011-10-19 Chong Yidong <cyd@gnu.org>
12274
12275 Doc fix for minor modes, stating that an omitted argument enables
12276 the mode unconditionally when called from Lisp.
12277
12278 * abbrev.el (abbrev-mode):
12279 * allout.el (allout-mode):
12280 * autoinsert.el (auto-insert-mode):
12281 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12282 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12283 (global-auto-revert-mode):
12284 * battery.el (display-battery-mode):
12285 * composite.el (global-auto-composition-mode)
12286 (auto-composition-mode):
12287 * delsel.el (delete-selection-mode):
12288 * desktop.el (desktop-save-mode):
12289 * dired-x.el (dired-omit-mode):
12290 * dirtrack.el (dirtrack-mode):
12291 * doc-view.el (doc-view-minor-mode):
12292 * double.el (double-mode):
12293 * electric.el (electric-indent-mode, electric-pair-mode):
12294 * emacs-lock.el (emacs-lock-mode):
12295 * epa-hook.el (auto-encryption-mode):
12296 * follow.el (follow-mode):
12297 * font-core.el (font-lock-mode):
12298 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12299 * help.el (temp-buffer-resize-mode):
12300 * hilit-chg.el (highlight-changes-mode)
12301 (highlight-changes-visible-mode):
12302 * hi-lock.el (hi-lock-mode):
12303 * hl-line.el (hl-line-mode, global-hl-line-mode):
12304 * icomplete.el (icomplete-mode):
12305 * ido.el (ido-everywhere):
12306 * image-file.el (auto-image-file-mode):
12307 * image-mode.el (image-minor-mode):
12308 * iswitchb.el (iswitchb-mode):
12309 * jka-cmpr-hook.el (auto-compression-mode):
12310 * linum.el (linum-mode):
12311 * longlines.el (longlines-mode):
12312 * master.el (master-mode):
12313 * mb-depth.el (minibuffer-depth-indicate-mode):
12314 * menu-bar.el (menu-bar-mode):
12315 * minibuf-eldef.el (minibuffer-electric-default-mode):
12316 * mouse-sel.el (mouse-sel-mode):
12317 * msb.el (msb-mode):
12318 * mwheel.el (mouse-wheel-mode):
12319 * outline.el (outline-minor-mode):
12320 * paren.el (show-paren-mode):
12321 * recentf.el (recentf-mode):
12322 * reveal.el (reveal-mode, global-reveal-mode):
12323 * rfn-eshadow.el (file-name-shadow-mode):
12324 * ruler-mode.el (ruler-mode):
12325 * savehist.el (savehist-mode):
12326 * scroll-all.el (scroll-all-mode):
12327 * scroll-bar.el (scroll-bar-mode):
12328 * server.el (server-mode):
12329 * shell.el (shell-dirtrack-mode):
12330 * simple.el (auto-fill-mode, transient-mark-mode)
12331 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12332 (line-number-mode, column-number-mode, size-indication-mode)
12333 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12334 * strokes.el (strokes-mode):
12335 * time.el (display-time-mode):
12336 * t-mouse.el (gpm-mouse-mode):
12337 * tool-bar.el (tool-bar-mode):
12338 * tooltip.el (tooltip-mode):
12339 * type-break.el (type-break-mode-line-message-mode)
12340 (type-break-query-mode):
12341 * view.el (view-mode):
12342 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12343 (global-whitespace-mode, global-whitespace-newline-mode):
12344 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12345
12346 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12347 Fix autogenerated docstring.
12348
123492011-10-19 Juri Linkov <juri@jurta.org>
12350
12351 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12352 by checking environment variables "DESKTOP_SESSION" and
12353 "XDG_CURRENT_DESKTOP". (Bug#9779)
12354
123552011-10-19 Juri Linkov <juri@jurta.org>
12356
12357 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12358 (browse-url-chromium-program, browse-url-chromium-arguments):
12359 New defcustoms.
12360 (browse-url-default-browser): Check for `browse-url-chromium' and
12361 call `browse-url-chromium-program'.
12362 (browse-url-chromium): New command. (Bug#9779)
12363
123642011-10-18 Juanma Barranquero <lekktu@gmail.com>
12365
12366 * facemenu.el (list-colors-duplicates): On Windows, detect more
12367 duplicates by assuming that only colors matching "^System" are
12368 special "system colors". (Bug#9722)
12369
123702011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12371
12372 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12373 to distinguish the author from the committer.
12374
123752011-10-18 Michael Albinus <michael.albinus@gmx.de>
12376
12377 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12378
123792011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12380
12381 * international/mule.el (sgml-html-meta-auto-coding-function):
12382 Add support for detecting encoding in HTML5 specified only as
12383 <meta charset="UTF-8">. Implementation just makes http-equiv and
12384 content-type parts from HTML4 encoding string optional. (Bug#9716)
12385
123862011-10-18 Glenn Morris <rgm@gnu.org>
12387
12388 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12389
123902011-10-18 Chong Yidong <cyd@gnu.org>
12391
12392 * faces.el (cursor): Doc fix.
12393
123942011-10-17 Chong Yidong <cyd@gnu.org>
12395
12396 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12397
123982011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12399
12400 * dirtrack.el (dirtrack): Support shell buffers with path
12401 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12402
124032011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12404
12405 * json.el: Bump version to 1.3 and note change in History.
12406 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12407
124082011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 * comint.el (comint-insert-input, comint-send-input)
12411 (comint-get-old-input-default, comint-backward-matching-input)
12412 (comint-next-prompt): Use nil instead of `input' for field property of
12413 past user input (bug#114).
12414
12415 * minibuffer.el (completion--replace): Inherit surrounding properties
12416 (bug#114).
12417 (minibuffer-complete-and-exit): Use it.
12418
12419 * comint.el (comint--table-subvert): Quote the all-completions output
12420 (bug#9160).
12421
124222011-10-17 Martin Rudalics <rudalics@gmx.at>
12423
12424 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12425
12426 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12427 window on right of selected. (Bug#9350) Reword other window
12428 entries and separate them from frame entries.
12429
124302011-10-15 Glenn Morris <rgm@gnu.org>
12431
12432 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12433 Doc fixes.
12434
124352011-10-15 Chong Yidong <cyd@stupidchicken.com>
12436
12437 * net/network-stream.el (network-stream-open-starttls):
12438 Improve detection of failure due to lack of TLS support.
12439
12440 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12441 putting the input text in front and in bold.
12442
124432011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12444
12445 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12446
12447 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12448 empty buffer.
12449
12450 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12451 unread-command-events rather than pushing yet-another event.
12452
124532011-10-14 Eli Zaretskii <eliz@gnu.org>
12454
12455 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12456 the explanation of the possible choices. Make the options passed
12457 to completing-read shorter.
12458
124592011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12460
12461 * textmodes/flyspell.el (flyspell-large-region): Make sure
12462 extended character mode is used if defined (Bug#1339).
12463
124642011-10-13 Eli Zaretskii <eliz@gnu.org>
12465
12466 * simple.el (what-cursor-position): Fix the display of the
12467 character info for LRE, LRO, RLE, and RLO characters by appending
12468 an invisible PDF.
12469
124702011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12471
12472 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12473 even in case of error; add debug spec; simplify data flow.
12474 (with-timeout-handler): Remove.
12475
124762011-10-12 Michael Albinus <michael.albinus@gmx.de>
12477
12478 Fix Bug#6019, Bug#9315.
12479
12480 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12481 complete `buffer-file-name', the local file name part could look
12482 remotely (for example on VMS).
12483
12484 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12485 `tramp-run-real-handler'.
12486 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12487 already quoted by '"'.
12488
12489 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12490 Let `file-name-handler-alist' be nil, the local file name part
12491 could look remotely (for example on VMS).
12492
124932011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12496 from here...
12497 (flyspell-post-command-hook): ...to here.
12498
124992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12502 if not needed.
12503 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12504 using completion. Protect against "slow" callers.
12505 Remove the "message hack".
12506
125072011-10-11 Juri Linkov <juri@jurta.org>
12508
12509 * isearch.el (isearch-lazy-highlight-word): New variable.
12510 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12511 Use it. (Bug#9727)
12512
125132011-10-11 Glenn Morris <rgm@gnu.org>
12514
12515 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12516 like f90-previous-statement does.
12517
125182011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12519
12520 * eshell/eshell.el (eshell-command): History should be saved
12521 only in interactive use, to avoid error.
12522
125232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * minibuffer.el (completion-file-name-table): Fix last change,
12526 i.e. ignore normal errors but not the other ones.
12527
125282011-10-10 Martin Rudalics <rudalics@gmx.at>
12529
12530 * window.el (special-display-buffer-names)
12531 (special-display-regexps): Remove some remnants of earlier
12532 changes from doc-strings.
12533 (quit-windows-on): New function.
12534
12535 * vc/vc.el (vc-revert, vc-rollback):
12536 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12537 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12538 (Bug#6183) (Bug#7074) (Bug#7447)
12539
125402011-10-09 Martin Rudalics <rudalics@gmx.at>
12541
12542 * window.el (frame-auto-hide-function): Add version tag.
12543 (Bug#9699)
12544
125452011-10-09 Michael Albinus <michael.albinus@gmx.de>
12546
12547 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12548 condition.
12549
125502011-10-09 Leo Liu <sdl.web@gmail.com>
12551
12552 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12553 (Bug#9701)
12554
125552011-10-08 Glenn Morris <rgm@gnu.org>
12556
12557 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12558 before the first code statement zero indent. (Bug#9690)
12559
125602011-10-08 Chong Yidong <cyd@stupidchicken.com>
12561
12562 * simple.el (count-words-region): Always count in the region.
12563 Report the number of lines and characters too.
12564 (count-words): New command, which counts in the buffer if the
12565 region is inactive, as count-words-region used to.
12566 (count-words--message): New function. Handle plurals.
12567 (count-lines-region): Make it an alias for count-words-region.
12568
12569 * bindings.el (esc-map): Replace count-lines-region with
12570 count-words-region.
12571
125722011-10-08 Martin Rudalics <rudalics@gmx.at>
12573
12574 * window.el (window--delete): Delete dedicated frame
12575 unconditionally when argument KILL is non-nil. (Bug#9699)
12576 (switch-to-buffer): Fix doc-string typo.
12577
125782011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12579
12580 * eshell/eshell.el (eshell-command): Avoid using hooks.
12581
125822011-10-07 Chong Yidong <cyd@stupidchicken.com>
12583
12584 * bindings.el ([M-left],[M-right]): Bind to left-word and
12585 right-word respectively.
12586
125872011-10-07 Glenn Morris <rgm@gnu.org>
12588
12589 * cus-start.el (debug-on-quit): Fix custom type.
12590
125912011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12592
12593 * subr.el (define-key-after): Clarify that the function is not
12594 useful for non-menu keymaps.
12595
12596 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12597
125982011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12599
12600 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12601 in current minibuffer (Fix bug with recursive minibuffers).
12602
126032011-10-06 Chong Yidong <cyd@stupidchicken.com>
12604
12605 * progmodes/gdb-mi.el (gdb): Doc fix.
12606
126072011-10-05 Martin Rudalics <rudalics@gmx.at>
12608
12609 * window.el (frame-auto-hide-function): New option replacing
12610 frame-auto-delete. Suggested by Stefan Monnier.
12611 (window--delete): Call frame-auto-hide-function instead of
12612 investigating frame-auto-delete.
12613 (window-point-1, set-window-point-1): New functions.
12614 (window-in-direction, record-window-buffer, window-state-get-1)
12615 (display-buffer-record-window): Use window-point-1 instead of
12616 window-point.
12617 (set-window-buffer-start-and-point): Use set-window-point-1.
12618
126192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12622
126232011-10-05 Glenn Morris <rgm@gnu.org>
12624
12625 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12626 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12627
126282011-10-05 Leo Liu <sdl.web@gmail.com>
12629
12630 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12631 works with buffer object.
12632
126332011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * mpc.el (mpc-tool-bar-map): Add labels.
12636
126372011-10-04 Glenn Morris <rgm@gnu.org>
12638
12639 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12640
126412011-10-04 Martin Rudalics <rudalics@gmx.at>
12642
12643 * window.el (window--delete): New function.
12644 (frame-auto-delete): Resuscitate option.
12645 (bury-buffer, replace-buffer-in-windows)
12646 (quit-window): Rewrite using window--delete.
12647 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12648 Pass display-buffer-mark-dedicated to window--display-buffer-2
12649 (Bug#9639).
12650
126512011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12654 returns a list (bug#9554). Add remote file name completion.
12655 * comint.el (comint--table-subvert): Curry and get quote&unquote
12656 functions as arguments.
12657 (comint--complete-file-name-data): Adjust call accordingly.
12658 * pcomplete.el (pcomplete--table-subvert): Remove.
12659 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12660
12661 * minibuffer.el (completion-table-case-fold): Use currying.
12662 (completion--styles-type, completion--cycling-threshold-type):
12663 New constants.
12664 (completion-styles, completion-category-overrides)
12665 (completion-cycle-threshold): Use them.
12666 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12667 completion-table-case-fold.
12668
126692011-10-03 Stephen Berman <stephen.berman@gmx.net>
12670
12671 * minibuffer.el (completion-category-overrides): Fix type of styles
12672 and add more user friendly tags (bug#9660).
12673
126742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12677 (mule-input-method-string): New widget.
12678 (default-input-method, language-info-custom-alist): Use it.
12679
126802011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12681
12682 * pcomplete.el: Require comint.
12683 (pcomplete--common-suffix): Remove.
12684 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12685 (pcomplete--table-subvert): Sync with comint--table-subvert.
12686 (pcomplete--entries): Use comint-completion-file-name-table.
12687 * comint.el (comint-unquote-filename): Simplify.
12688 (comint-completion-file-name-table): New function (bug#9616).
12689 (comint--complete-file-name-data): Use it.
12690
12691 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12692 (pcmpl-gnu-tar-buffer): Remove.
12693 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12694 around. Make sure pcomplete-suffix-list is only changed temporarily.
12695 Don't look inside the tar's file if it's too large.
12696
126972011-10-01 Chong Yidong <cyd@stupidchicken.com>
12698
12699 * cus-edit.el (custom-mode-map):
12700 * epa.el (epa-key-list-mode-map):
12701 * man.el (Man-mode-map):
12702 * startup.el (splash-screen-keymap):
12703 * simple.el (special-mode-map): Use scroll-up-command and
12704 scroll-down-command.
12705
12706 * progmodes/idlw-help.el (idlwave-help-mode-map):
12707 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12708 * net/newst-plainview.el (newsticker-mode-map):
12709 * emulation/ws-mode.el (wordstar-mode-map):
12710 * emulation/vi.el (vi-com-map):
12711 * calc/calc-graph.el (calc-graph-show-dumb):
12712 * term/sun.el (terminal-init-sun):
12713 * term/ns-win.el (global-map):
12714 * progmodes/grep.el (grep-mode-map):
12715 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12716 * mail/rmail.el (rmail-mode-map):
12717 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12718
12719 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12720 custom-safe-themes as special.
12721
127222011-10-01 Julien Danjou <julien@danjou.info>
12723
12724 * notifications.el (notifications-notify): Fix docstring.
12725
127262011-10-01 Per Starbäck <per@starback.se>
12727
12728 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12729
127302011-09-30 Martin Rudalics <rudalics@gmx.at>
12731
12732 * startup.el (command-line-1): Fix last fix by inserting
12733 initial-scratch-message into *scratch* before displaying it.
12734 (Bug#9605) and (Bug#9636)
12735
127362011-09-29 Eli Zaretskii <eliz@gnu.org>
12737
12738 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12739 window is hscrolled, move by logical lines. (Bug#9607)
12740 (line-move-visual): Update the doc string to the above effect.
12741
127422011-09-29 Martin Rudalics <rudalics@gmx.at>
12743
12744 * window.el (display-buffer-record-window): When WINDOW is the
12745 selected window use `point' instead of `window-point'. (Bug#9626)
12746
12747 * startup.el (command-line-1): Use insert-before-markers when
12748 inserting initial-scratch-message. (Bug#9605)
12749
12750 * help.el (help-window): Remove variable.
12751
127522011-09-29 Glenn Morris <rgm@gnu.org>
12753
12754 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12755
127562011-09-29 Juanma Barranquero <lekktu@gmail.com>
12757
12758 * descr-text.el (describe-char-categories): Accept category
12759 descriptions more than one line long.
12760
127612011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12762
12763 * simple.el (delete-trailing-whitespace): Fix last change.
12764
12765 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12766 Don't confuse "y => 3" as the beginning of a `y' operation.
12767
12768 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12769 object has more than 4 slots (bug#9613).
12770
127712011-09-28 Juanma Barranquero <lekktu@gmail.com>
12772
12773 * subr.el (with-output-to-temp-buffer):
12774 * net/quickurl.el (quickurl, quickurl-browse-url):
12775 Fix typos in docstrings.
12776
127772011-09-27 Eli Zaretskii <eliz@gnu.org>
12778
12779 * minibuffer.el (completion-styles)
12780 (completion-category-overrides): Cross reference each other in doc
12781 strings.
12782
127832011-09-27 Glenn Morris <rgm@gnu.org>
12784
12785 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12786 to split-string. (Bug#9606)
12787
127882011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12789
12790 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12791 (bug#9615).
12792
127932011-09-27 Chong Yidong <cyd@stupidchicken.com>
12794
12795 * emacs-lisp/package.el (list-packages): Fix echo area message.
12796
127972011-09-27 Leo Liu <sdl.web@gmail.com>
12798
12799 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12800
128012011-09-25 Michael Albinus <michael.albinus@gmx.de>
12802
12803 * net/dbus.el (dbus-unregister-object): Don't release services for
12804 registered signals. (Bug#9581)
12805
128062011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12807
12808 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12809 function that picks between cfengine 2 and 3 support
12810 automatically. Update docs accordingly.
12811
128122011-09-22 Kenichi Handa <handa@m17n.org>
12813
12814 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12815 ZERO.
12816 (indian-itrans-v5-table-for-tamil): New variable.
12817 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12818
128192011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12820
12821 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12822 that's true if the current command involved collapsing of text.
12823 It's reset to false at the beginning of the next command.
12824 (allout-post-command-business): Move the cursor to the beginning
12825 of entry if the cursor is hidden and collapsing activity just
12826 happened.
12827
128282011-09-24 Chong Yidong <cyd@stupidchicken.com>
12829
12830 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12831 tracking (Bug#9541).
12832
128332011-09-24 Ulf Jasper <ulf.jasper@web.de>
12834
12835 * net/newst-reader.el (newsticker-html-renderer)
12836 (newsticker-show-news): Automatically load html rendering package
12837 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12838 because w3m-fill-column is let-bound" and the error "Symbol's value
12839 as variable is void: w3m-fill-column".
12840
128412011-09-24 Michael Albinus <michael.albinus@gmx.de>
12842
12843 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12844 Release services only if they are defined. (Bug#9581)
12845
128462011-09-23 Richard Stallman <rms@gnu.org>
12847
12848 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12849 distinguish start of paragraph from start of its text.
12850
12851 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12852
12853 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12854 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12855 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12856
128572011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12858
12859 * international/mule-diag.el (mule-diag): Insert a newline after
12860 each fontset description.
12861
128622011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12863
12864 * simple.el (delete-trailing-whitespace):
12865 Document last change; simplify.
12866
128672011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12868
12869 * simple.el (delete-trailing-whitespace): Also delete
12870 extra newlines at the end of the buffer.
12871
12872 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12873 (picture-newline): Use forward-line so as to ignore fields.
12874
128752011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * subr.el (with-wrapper-hook): Fix edebug spec.
12878
128792011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12880
12881 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12882 (bug#4538).
12883
128842011-09-23 Michael Albinus <michael.albinus@gmx.de>
12885
12886 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12887 Fix nasty bug using wrong cached values.
12888
128892011-09-23 Alan Mackenzie <acm@muc.de>
12890
12891 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12892
128932011-09-23 Chong Yidong <cyd@stupidchicken.com>
12894
12895 * window.el (pop-to-buffer): Ensure right window is selected if we
12896 chose another frame.
12897
128982011-09-22 Eli Zaretskii <eliz@gnu.org>
12899
12900 * simple.el (what-cursor-position): Use get-char-property-change
12901 and next-single-char-property-change, to be able to show display
12902 properties that come from overlays as well as text properties.
12903
129042011-09-22 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12907
12908 * cmuscheme.el (run-scheme, switch-to-scheme):
12909 * cus-edit.el (customize-group, custom-buffer-create)
12910 (customize-browse):
12911 * info.el (info):
12912 * shell.el (shell):
12913 * mail/sendmail.el (mail):
12914 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12915
129162011-09-22 Richard Stallman <rms@gnu.org>
12917
12918 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12919 move back only to line beg, don't move back over blank lines.
12920
129212011-09-22 Michael Albinus <michael.albinus@gmx.de>
12922
12923 * files.el (copy-directory): Set directory attributes only in case
12924 they could be retrieved from the source directory. (Bug#9565)
12925
129262011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12927
12928 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12929 (hs-find-block-beginning, hs-hide-level-recursive):
12930 Ignore strings as well as comments. (Bug#9502)
12931
129322011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12933
12934 * progmodes/sql.el (sql-comint-postgres):
12935 Convert port number to a string. (Bug#9566)
12936
129372011-09-22 Martin Rudalics <rudalics@gmx.at>
12938
12939 * window.el (quit-window): Undedicate window when switching to
12940 previous buffer. Reported by Thierry Volpiatto
12941 <thierry.volpiatto@gmail.com>.
12942 (special-display-popup-frame): When popping up a new frame reset
12943 its previous buffers to nil. Simplify code.
12944
129452011-09-21 Michael Albinus <michael.albinus@gmx.de>
12946
12947 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12948 and process filter, as done also in `shell-command'.
12949
129502011-09-21 Martin Rudalics <rudalics@gmx.at>
12951
12952 * window.el (set-window-buffer-start-and-point):
12953 Call set-window-start with NOFORCE argument t.
12954 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12955 (quit-window): Reword doc-string. Handle new format of
12956 quit-restore parameter. Don't delete window if it has a
12957 previous buffer we can show instead of the present one.
12958 (display-buffer-record-window): Rewrite using a new format for
12959 the quit-restore window parameter
12960 (special-display-popup-frame, display-buffer-same-window)
12961 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12962 (display-buffer-pop-up-window, display-buffer-use-some-window):
12963 Adapt symbol passed to display-buffer-record-window.
12964 * help.el (help-window-setup): Handle new format of quit-restore
12965 parameter.
12966
129672011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12968
12969 * faces.el (face-list): Fix docstring (bug#9564).
12970
12971 * window.el (display-buffer--action-function-custom-type):
12972 Don't include internal functions in the Custom interface.
12973
129742011-09-20 Juri Linkov <juri@jurta.org>
12975
12976 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12977 (Info-forward-node, Info-backward-node, Info-next-preorder)
12978 (Info-last-preorder): Use it. (Bug#9528)
12979
129802011-09-20 Juri Linkov <juri@jurta.org>
12981
12982 * info.el (Info-last-preorder): Visit last menu item only when
12983 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12984
129852011-09-20 Julien Danjou <julien@danjou.info>
12986
12987 * password-cache.el (password-cache-remove): Remove entries even if the
12988 value is nil, so that password with a nil value (negative caching) is
12989 possible to invalidate.
12990
129912011-09-20 Lawrence Mitchell <wence@gmx.li>
12992
12993 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12994 all whitespace around breakpoint. (Bug#9553)
12995 (f90-find-breakpoint): Only break at whitespace inside a comment.
12996
129972011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
12998
12999 * minibuffer.el (completion-file-name-table): Keep track of errors.
13000 (completion-table-with-predicate): Handle the case where pred1 is nil.
13001 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13002
130032011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13006 (debugger-return-value): Signal an error if the debugging context does
13007 not await any return value.
13008
13009 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13010 * image-mode.el (image-toggle-display-text)
13011 (image-toggle-display-image): Stay away from evil `intangible'.
13012
130132011-09-19 Leo Liu <sdl.web@gmail.com>
13014
13015 * replace.el (occur-revert-arguments): Make it permanent-local.
13016 (occur-mode): Don't call font-lock-defontify.
13017
130182011-09-19 Chong Yidong <cyd@stupidchicken.com>
13019
13020 * net/ldap.el (ldap-search-internal): Don't push empty search
13021 result (Bug#9508).
13022
130232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13026
130272011-09-19 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13030 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13031
130322011-09-18 Juri Linkov <juri@jurta.org>
13033
13034 * buff-menu.el (Buffer-menu-mode-map):
13035 * dired.el (dired-mode-map):
13036 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13037 (lisp-interaction-mode-map):
13038 * emacs-lisp/package.el (package-menu-mode-map):
13039 * epa.el (epa-key-list-mode-map):
13040 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13041 (menu-bar-options-menu):
13042 * outline.el (outline-mode-menu-bar-map):
13043 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13044 * vc/vc-dir.el (vc-dir-menu-map):
13045 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13046 Capitalize non-function content words in menu item strings.
13047
13048 * dired.el (dired-mode-map): Add menu item for
13049 `image-dired-dired-toggle-marked-thumbs'.
13050
130512011-09-18 Juri Linkov <juri@jurta.org>
13052
13053 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13054 to `isearch-case-fold-search' and restore its original value
13055 after the `isearch-mode' call.
13056
130572011-09-18 Juri Linkov <juri@jurta.org>
13058
13059 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13060 because `zgrep' returns 1 for successful matches (bug#9226).
13061
130622011-09-18 Juri Linkov <juri@jurta.org>
13063
13064 * info.el (Info-extract-menu-node-name): Check the second match
13065 for empty string (second test-case of bug#9528).
13066 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13067 intermediate nodes to the history (first test-case of bug#9528).
13068
130692011-09-18 Juri Linkov <juri@jurta.org>
13070
13071 * info.el (Info-mode-syntax-table): New variable.
13072 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13073
130742011-09-18 Juri Linkov <juri@jurta.org>
13075
13076 * info.el (Info-file-supports-index-cookies):
13077 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13078 outputs one more line for long file names (bug#4142).
13079
130802011-09-18 Chong Yidong <cyd@stupidchicken.com>
13081
13082 * newcomment.el (comment-normalize-vars): If prompting for
13083 comment-start, set comment-start-skip too (Bug#8424).
13084
130852011-09-18 Johan Bockgård <bojohan@gnu.org>
13086
13087 * icomplete.el: Fix previous fix of Bug#5849.
13088 (icomplete-mode): Don't set completion-show-inline-help.
13089 (icomplete-minibuffer-setup): Set completion-show-inline-help
13090 locally during icompletion.
13091
130922011-09-18 Chong Yidong <cyd@stupidchicken.com>
13093
13094 * woman.el (woman2-process-escapes): Don't delete unrecognized
13095 escapes (Bug#7843).
13096
13097 * files.el (inhibit-first-line-modes-regexps): Add image files.
13098 (hack-local-variables-prop-line): Return nil for malformed
13099 prop-lines (Bug#9044).
13100
131012011-09-18 Michael Albinus <michael.albinus@gmx.de>
13102
13103 * net/tramp.el (top): Don't require 'shell.
13104 (tramp-methods): Fix docstring.
13105 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13106 Return complete remote file name. Handle "smb" case.
13107 Use `tramp-tmpdir', if defined for the respective method.
13108 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13109
13110 * net/tramp-compat.el (top): Require 'shell.
13111
13112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13113 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13114 `tramp-current-host'.
13115 (tramp-get-remote-tmpdir): Remove.
13116
13117 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13118 `tramp-tmpdir' entries.
13119 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13120 (tramp-smb-handle-file-attributes): Ignore errors.
13121 (tramp-smb-wait-for-output): Check also for process end.
13122
131232011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
13125 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13126 when sending QUIT (bug#9312).
13127
131282011-09-17 Chong Yidong <cyd@stupidchicken.com>
13129
13130 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13131 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13132 occur-mode-display-occurrence.
13133 (occur-edit-mode): Add usage message.
13134 (occur-cease-edit): New command.
13135 (occur-after-change-function): Use text properties to find the
13136 position of the prefix text.
13137 (occur-engine): Set stickiness of prefix text properties.
13138
131392011-09-17 Glenn Morris <rgm@gnu.org>
13140
13141 * progmodes/etags.el (complete-tag):
13142 Fix call to completion-in-region. (Bug#9526)
13143
131442011-09-17 Juri Linkov <juri@jurta.org>
13145
13146 * textmodes/ispell.el (ispell-word): Add to the error message
13147 the word, ispell program name and current dictionary (bug#9121).
13148 (ispell-tex-arg-end): Capitalize "error" in the error message.
13149
131502011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13151
13152 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13153 check. (Bug#4251)
13154
131552011-09-17 Juri Linkov <juri@jurta.org>
13156
13157 * window.el (window-safe-min-height, window-safe-min-width):
13158 Fix typos (followup to bug#9522).
13159
131602011-09-17 Sven Joachim <svenjoac@gmx.de>
13161
13162 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13163
131642011-09-16 Eli Zaretskii <eliz@gnu.org>
13165
13166 * simple.el (line-move): If goal-column is set, move by logical
13167 lines, not by display lines. (Bug#971)
13168 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13169 to reflect the above change.
13170
131712011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * image.el (imagemagick-register-types): Use regexp-opt.
13174
131752011-09-15 Chong Yidong <cyd@stupidchicken.com>
13176
13177 * window.el (display-buffer-base-action): Rename from
13178 display-buffer-default-action. Make default value empty.
13179 (display-buffer-overriding-action): Convert to defvar.
13180 (display-buffer-fallback-action): New var.
13181
131822011-09-15 Chong Yidong <cyd@stupidchicken.com>
13183
13184 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13185 declaration.
13186 (package--add-to-archive-contents): If there is a duplicate entry
13187 with an older version, remove it.
13188 (package-menu-mark-delete, package-menu-mark-install)
13189 (package-menu-mark-unmark): Make unused args optional.
13190 (package-menu-mark-obsolete-for-deletion):
13191 Use package-menu-get-status instead of a regexp search.
13192 (package-menu-get-status): Use tabulated-list-entry.
13193 (package-menu-mark-upgrades): New command.
13194 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13195 (package-menu-execute): Do installation before deletion.
13196 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13197 instead of checking major-mode.
13198 (package-menu--find-upgrades): New function.
13199
132002011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13201
13202 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13203 passwords in the log buffer.
13204 (smtpmail-process-filter): Update the process marker so that the
13205 "broken by peer" status message is inserted in the right place.
13206
132072011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13208
13209 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13210 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13211 bibtex-completion-at-point-function.
13212 (bibtex-completion-at-point-function): Use them.
13213
13214 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13215
13216 * mpc.el (mpc-constraints-tag-lookup): New function.
13217 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13218 also to browser "album|playlist".
13219
132202011-09-14 Juri Linkov <juri@jurta.org>
13221
13222 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13223 (isearch-edit-string): Use length of `isearch-string' when
13224 `isearch-fail-pos' returns nil.
13225 (isearch-message): Remove duplicate code and call
13226 `isearch-fail-pos' with arg `t'.
13227
132282011-09-14 Chong Yidong <cyd@stupidchicken.com>
13229
13230 * replace.el (occur-mode-goto-occurrence): Don't force using other
13231 window (Bug#9499).
13232
13233 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13234
132352011-09-14 Martin Rudalics <rudalics@gmx.at>
13236
13237 * window.el (display-buffer-window): Remove.
13238 (display-buffer-record-window): Use help-setup window parameter
13239 instead of variable display-buffer-window.
13240 (display-buffer-function, special-display-buffer-names)
13241 (special-display-function): Mention help-setup parameter instead
13242 of display-buffer-window in doc-string.
13243 * help.el (help-window-setup): New argument help-window.
13244 Use help-window-setup parameter instead of display-buffer-window.
13245 Reword some messages.
13246 (with-help-window): Pass window used for displaying the buffer
13247 to help-window-setup. Don't set display-buffer-window.
13248
132492011-09-13 Glenn Morris <rgm@gnu.org>
13250
13251 * emacs-lisp/debug.el (debugger-make-xrefs):
13252 Preserve point. (Bug#9462)
13253
132542011-09-13 Chong Yidong <cyd@stupidchicken.com>
13255
13256 * window.el (window-deletable-p): Use next-frame.
13257
132582011-09-13 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (window-auto-delete): Remove.
13261 (window-deletable-p): Remove argument FORCE. Don't deal with
13262 dedication and previous buffers.
13263 (switch-to-prev-buffer): Don't delete window.
13264 (delete-windows-on): Delete a window's frame if and only if the
13265 window is dedicated.
13266 (replace-buffer-in-windows): Delete buffer's window or frame if
13267 and only if window is dedicated.
13268 (quit-window): Handle quit-restore as before last change.
13269 (bury-buffer): Delete window only if window-deletable-p returns t.
13270
132712011-09-13 Chong Yidong <cyd@stupidchicken.com>
13272
13273 * window.el (window-deletable-p): Never delete the last frame on a
13274 given terminal.
13275
132762011-09-13 Glenn Morris <rgm@gnu.org>
13277
13278 * help.el (describe-key-briefly): Copy previous standard-output change.
13279
132802011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13281
13282 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13283
132842011-09-13 Glenn Morris <rgm@gnu.org>
13285
13286 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13287 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13288
132892011-09-12 Chong Yidong <cyd@stupidchicken.com>
13290
13291 * dired-aux.el (dired-mark-read-string): Don't return default
13292 value on empty input (Bug#9361).
13293 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13294 Omit initial minibuffer contents.
13295 (dired-do-chmod): Signal an error on empty input.
13296 (dired-mark-read-string): Don't return default on empty input.
13297
13298 * files.el (file-modes-symbolic-to-number): Doc fix.
13299
133002011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13301
13302 * international/mule-cmds.el (ucs-completions): Remove.
13303 (read-char-by-name): Use complete-with-action instead; add metadata.
13304
133052011-09-11 Chong Yidong <cyd@stupidchicken.com>
13306
13307 * window.el (display-buffer--action-function-custom-type)
13308 (display-buffer--action-custom-type): New vars.
13309 (display-buffer-alist, display-buffer-default-action)
13310 (display-buffer-overriding-action): Add defcustom types.
13311
13312 * frame.el (delete-other-frames): Doc fix (Bug#276).
13313
133142011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13315
13316 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13317
133182011-09-11 Chong Yidong <cyd@stupidchicken.com>
13319
13320 Change modes that used same-window-* vars to use switch-to-buffer.
13321
13322 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13323 Use switch-to-buffer.
13324
13325 * cus-edit.el (customize-group, custom-buffer-create)
13326 (customize-browse, custom-buffer-create-other-window):
13327 Use switch-to-buffer or switch-to-buffer-other-window.
13328
13329 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13330 (Info-prev, Info-up, Info-speedbar-goto-node)
13331 (info-display-manual): Use switch-to-buffer.
13332 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13333
13334 * mail/sendmail.el (mail): Use switch-to-buffer.
13335 (mail-recover): Use switch-to-buffer-other-window.
13336
13337 * cmuscheme.el (run-scheme, switch-to-scheme):
13338 * ielm.el (ielm):
13339 * shell.el (shell):
13340 * net/rlogin.el (rlogin):
13341 * net/telnet.el (telnet, rsh):
13342 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13343
133442011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13345
13346 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13347
133482011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13349
13350 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13351 so don't mention it (bug#9301).
13352 (dired-sort-toggle-or-edit): Clarify string further.
13353
13354 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13355 match `x', `w32' and `ns', like the manual says (bug#9029).
13356
13357 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13358 (process-kill-buffer-query-function): Mention the buffer name in
13359 the query.
13360
13361 * image-mode.el (image-next-line): The line parameter is mandatory
13362 (bug#9258).
13363
13364 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13365 which can be useful (bug#9301).
13366
13367 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13368
13369 * subr.el (match-string): Mention that the current buffer should
13370 be the same as the search was done in (bug#9282).
13371
13372 * facemenu.el: Disable the remove-* commands if the mark isn't
13373 active (bug#9162).
13374
133752011-09-10 Chong Yidong <cyd@stupidchicken.com>
13376
13377 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13378 of display-buffer.
13379 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13380
13381 * replace.el (occur-mode-goto-occurrence)
13382 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13383 and display-buffer.
13384
13385 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13386 display-buffer.
13387
13388 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13389 special-display and same-window variables.
13390 (mail-other-window): Use switch-to-buffer-other-window.
13391 (mail-other-frame): USe switch-to-buffer-other-frame.
13392
13393 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13394 Use display-buffer-other-frame.
13395 (gdb-display-gdb-buffer): Use pop-to-buffer.
13396
13397 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13398
13399 * progmodes/python.el: Don't set same-window-buffer-names.
13400
13401 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13402
13403 * window.el (display-buffer-alist): Add *Python*.
13404
134052011-09-10 Chong Yidong <cyd@stupidchicken.com>
13406
13407 * window.el (display-buffer-alist): Add entry for buffers
13408 previously handled same-window-*.
13409 (display-buffer-alist, display-buffer-default-action)
13410 (display-buffer-overriding-action): Mark as risky.
13411 (display-buffer-alist): Document action function changes.
13412 (display-buffer--same-window-action)
13413 (display-buffer--other-frame-action): New variables.
13414 (switch-to-buffer, display-buffer-other-frame): Use them.
13415 (display-buffer): Rename reuse-frame entry to reusable-frames.
13416 (display-buffer-reuse-selected-window): Function deleted.
13417 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13418 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13419 (display-buffer-special): New function.
13420 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13421 display-buffer-reuse-or-pop-window. Split off special-display
13422 part into display-buffer-special.
13423 (display-buffer-use-some-window): Don't perform any special
13424 pop-up-frames handling.
13425 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13426 (display-buffer--maybe-same-window): Rename from
13427 display-buffer-maybe-same-window.
13428
13429 * info.el: Don't set same-window-regexps.
13430 (info-setup): New function.
13431 (info-other-window, info): Call it.
13432
13433 * cus-edit.el: Don't set same-window-regexps.
13434 (customize-group): New argument.
13435 (customize-group-other-window): Use it.
13436 (customize-face, customize-face-other-window): Likewise.
13437 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13438
13439 * net/rlogin.el:
13440 * net/telnet.el:
13441 * progmodes/gud.el: Don't set same-window-regexps.
13442
13443 * cmuscheme.el:
13444 * ielm.el:
13445 * shell.el:
13446 * mail/sendmail.el:
13447 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13448
134492011-09-10 Juri Linkov <juri@jurta.org>
13450
13451 * isearch.el (isearch-edit-string): Remove obsolete mention of
13452 `C-w' (`isearch-yank-word-or-char') from docstring.
13453 (isearch-query-replace): Fix typo in docstring (bug#9466).
13454
134552011-09-10 Juri Linkov <juri@jurta.org>
13456
13457 * paren.el (show-paren-function): Don't show escaped parens.
13458 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13459
134602011-09-10 Eli Zaretskii <eliz@gnu.org>
13461
13462 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13463 (mm-default-file-encoding): Remove autoload forms, they are
13464 replaced with autoload cookies in mml.el and mm-encode.el.
13465 (mail-add-attachment): New command.
13466 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13467 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13468 the doc string.
13469 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13470
134712011-09-10 Reuben Thomas <rrt@sc3d.org>
13472
13473 * simple.el (count-words-region): Use buffer if there's no region
13474 (bug#9429).
13475
134762011-09-09 Juri Linkov <juri@jurta.org>
13477
13478 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13479 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13480 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13481
134822011-09-09 Alan Mackenzie <acm@muc.de>
13483
13484 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13485 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13486
134872011-09-09 Eli Zaretskii <eliz@gnu.org>
13488
13489 Fix for Savannah bug#9392.
13490 * simple.el (mail-encode-mml): New defvar.
13491
13492 * mail/rmail.el (mail-encode-mml): Add a defvar.
13493 (rmail-enable-mime-composing): Default to t.
13494 (rmail-forward): Use MIME method of forwarding only if both
13495 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13496 Set mail-encode-mml non-nil if the MIME method was used.
13497
13498 * mail/sendmail.el (mml-to-mime): Add autoload form.
13499 (mail-encode-mml): Add a defvar.
13500 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13501 to nil.
13502 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13503 message through mml-to-mime, and reset mail-encode-mml to nil.
13504
135052011-09-09 Glenn Morris <rgm@gnu.org>
13506
13507 * woman.el (woman-if-body): When processing an .el block,
13508 do not delete the next .el block as well. (Bug#9447)
13509 (woman-special-characters): Add oq, cq, and hy characters.
13510
135112011-09-08 Martin Rudalics <rudalics@gmx.at>
13512
13513 * window.el (window-deletable-p): Make sure window is live before
13514 invoking window-prev-buffers.
13515
135162011-09-08 Leo Liu <sdl.web@gmail.com>
13517
13518 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13519
135202011-09-08 Juri Linkov <juri@jurta.org>
13521
13522 * progmodes/compile.el (compilation-environment): Make it
13523 a defcustom (bug#8340).
13524
135252011-09-08 Martin Rudalics <rudalics@gmx.at>
13526
13527 * window.el (frame-auto-delete): Rename to window-auto-delete.
13528 Make it control auto-deletion of windows and/or frames.
13529 (window-deletable-p): New argument FORCE. Rewrite conditions
13530 for deleting window/frame. (Bug#9419)
13531 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13532 Rewrite handling of case when window/frame can be deleted.
13533 (delete-windows-on): Call window-deletable-p with new FORCE
13534 argument t. (Bug#9456)
13535
135362011-09-07 Chong Yidong <cyd@stupidchicken.com>
13537
13538 * help-mode.el (help-mode): Restore autoload.
13539
135402011-09-07 Juri Linkov <juri@jurta.org>
13541
13542 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13543 `compilation-environment'. Set buffer-local
13544 `compilation-environment' to `thisenv' later after (funcall mode).
13545 (Bug#8340)
13546
13547 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13548 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13549 instead of replacing its value. (Bug#8340)
13550
135512011-09-07 Juri Linkov <juri@jurta.org>
13552
13553 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13554 based on text properties put by `grep-filter' instead of matching
13555 escape sequences.
13556 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13557 to the value of `grep-error-screen-columns' (bug#9438).
13558
135592011-09-07 Juri Linkov <juri@jurta.org>
13560
13561 * simple.el (next-error-highlight, next-error-highlight-no-select):
13562 Doc fix (bug#9432).
13563
135642011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13565
13566 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13567 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13568
135692011-09-07 Leo Liu <sdl.web@gmail.com>
13570
13571 * net/rcirc.el (rcirc-mode): Conditionally initialize
13572 rcirc-input-ring.
13573
135742011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13575
13576 * emacs-lisp/find-func.el (find-function-C-source): Only set
13577 find-function-C-source-directory after checking that we found a source
13578 file there (bug#9440).
13579
135802011-09-06 Alan Mackenzie <acm@muc.de>
13581
13582 * isearch.el (isearch-other-meta-char): Wherever a key list is
13583 unread, "unread" the prefix arg, too. This fixes bug #8901.
13584
135852011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13586
13587 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13588
135892011-09-05 Juri Linkov <juri@jurta.org>
13590
13591 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13592
135932011-09-05 Juri Linkov <juri@jurta.org>
13594
13595 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13596 keeping point where processing of grep matches begins, and
13597 continue to delete remaining escape sequences from the same point.
13598 (grep-filter): Make leading zero optional in "0?1;31m" because
13599 git-grep emits "\033[1;31m" escape sequences unlike expected
13600 "\033[01;31m" as GNU Grep does (bug#9408).
13601 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13602
136032011-09-05 Juri Linkov <juri@jurta.org>
13604
13605 * subr.el (y-or-n-p): Capitalize "yes".
13606
136072011-09-04 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13610 `tramp-cache-unload-hook' where appropriate.
13611 (tramp-methods): Rename `tramp-remote-sh' to
13612 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13613 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13614
13615 * net/tramp-sh.el (top): Don't require 'shell.
13616 (tramp-methods): Add `tramp-remote-shell' and
13617 `tramp-remote-shell-args' entries.
13618 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13619 (tramp-sh-handle-shell-command): Remove.
13620 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13621 Use `tramp-remote-shell'.
13622
136232011-09-03 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * mail/sendmail.el (sendmail-query-once-function): Delete.
13626 (sendmail-query-once): Save directly to send-mail-function.
13627 Update message-send-mail-function too.
13628
13629 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13630
136312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13632
13633 * progmodes/python.el (python-mode-map): Use correct function to
13634 start python interpreter from menu-bar (as reported by Geert
13635 Kloosterman).
13636 (inferior-python-mode-map): Fix typo.
13637 (python-shell-map): Remove.
13638
136392011-09-03 Deniz Dogan <deniz@dogan.se>
13640
13641 * net/rcirc.el (rcirc-print): Simplify code for
13642 rcirc-scroll-show-maximum-output. There is no need to walk
13643 through all windows to find the right one.
13644
136452011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13646
13647 * help.el (help-return-method): Doc fix.
13648
136492011-09-03 Martin Rudalics <rudalics@gmx.at>
13650
13651 * window.el (window-deletable-p): Don't return a non-nil value
13652 when there's a buffer that was shown in the window before.
13653 (Bug#9419)
13654 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13655 Set window's previous buffers to nil.
13656
136572011-09-03 Eli Zaretskii <eliz@gnu.org>
13658
13659 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13660 newline before and after the tag line, so it doesn't interfere
13661 with determining the paragraph direction of bidirectional text.
13662
136632011-09-03 Leo Liu <sdl.web@gmail.com>
13664
13665 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13666
136672011-09-02 Chong Yidong <cyd@stupidchicken.com>
13668
13669 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13670 (pop-to-buffer): Change interactive spec. Pass second argument
13671 directly to display-buffer.
13672 (display-buffer): Fix interactive spec. Use functionp to
13673 distinguish between a function and a list of functions.
13674
13675 * abbrev.el (edit-abbrevs):
13676 * arc-mode.el (archive-extract):
13677 * autoinsert.el (auto-insert):
13678 * bookmark.el (bookmark-bmenu-list):
13679 * files.el (find-file):
13680 * view.el (view-buffer):
13681 * progmodes/compile.el (compilation-goto-locus):
13682 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13683
136842011-09-02 Chong Yidong <cyd@stupidchicken.com>
13685
13686 * window.el (display-buffer-alist): Doc fix.
13687 (display-buffer): Add docstring. Don't treat
13688 display-buffer-default specially.
13689 (display-buffer-reuse-selected-window)
13690 (display-buffer-same-window, display-buffer-maybe-same-window)
13691 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13692 (display-buffer-pop-up-window)
13693 (display-buffer-reuse-or-pop-window)
13694 (display-buffer-use-some-window): New functions.
13695 (display-buffer-default-action): Use them.
13696 (display-buffer-default): Delete.
13697 (pop-to-buffer-1): Fix choice of actions.
13698
136992011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13700
13701 * minibuffer.el (completion--insert-strings): Don't get confused by
13702 completion entries that end with an LF char.
13703
137042011-09-01 Eli Zaretskii <eliz@gnu.org>
13705
13706 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13707
137082011-09-01 Chong Yidong <cyd@stupidchicken.com>
13709
13710 * window.el (display-buffer): Restore interactive spec.
13711 (display-buffer-same-window, display-buffer-other-window):
13712 New functions.
13713 (pop-to-buffer-1): New function. Use the above.
13714 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13715 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13716
13717 * view.el (view-buffer-other-window, view-buffer-other-frame):
13718 Just use pop-to-buffer.
13719
137202011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13721
13722 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13723
137242011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13725
13726 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13727
137282011-08-31 Richard Stallman <rms@gnu.org>
13729
13730 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13731 of the separation of rmail-view-buffer from rmail-buffer.
13732 If you say no to "replace original", the decrypt is in the
13733 view buffer. If you say yes, the decrypt goes into the
13734 rmail buffer also.
13735
137362011-08-31 Martin Rudalics <rudalics@gmx.at>
13737
13738 * window.el (display-buffer-window): Rewrite doc-string.
13739 (display-buffer-record-window): New function.
13740 (display-buffer-macro-specifiers)
13741 (display-buffer-even-window-sizes, display-buffer-set-height)
13742 (display-buffer-set-width, display-buffer-in-window)
13743 (display-buffer-reuse-window, display-buffer-split-specifiers)
13744 (display-buffer-side-specifiers, display-buffer-split-window-1)
13745 (display-buffer-split-window, display-buffer-split-atom-window)
13746 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13747 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13748 (display-buffer-other-window-means-other-frame)
13749 (display-buffer-normalize-special)
13750 (display-buffer-normalize-default)
13751 (display-buffer-normalize-argument)
13752 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13753 (display-buffer-normalize-specifiers, display-buffer-frame)
13754 (display-buffer-same-window, display-buffer-same-frame)
13755 (display-buffer-other-window)
13756 (display-buffer-same-frame-other-window)
13757 (display-buffer-other-frame, pop-to-buffer-same-window)
13758 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13759 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13760 (switch-to-buffer-same-frame)
13761 (switch-to-buffer-other-window-same-frame)
13762 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13763 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13764 (display-buffer-alist-set): Remove.
13765 (display-buffer-function, special-display-buffer-names)
13766 (special-display-regexps, special-display-function):
13767 In doc-string refer to display-buffer-window and quit-restore
13768 parameter.
13769 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13770 (special-display-frame-alist, special-display-popup-frame)
13771 (same-window-buffer-names, same-window-regexps, same-window-p)
13772 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13773 (split-window-preferred-function, split-height-threshold)
13774 (split-width-threshold, window-splittable-p)
13775 (split-window-sensibly, window--try-to-split-window)
13776 (window--frame-usable-p, even-window-heights)
13777 (window--even-window-heights, window--display-buffer-1)
13778 (window--display-buffer-2, display-buffer-other-frame):
13779 Restore old Emacs 23 code, order and doc-strings where applicable.
13780 (display-buffer-default, display-buffer-assq-regexp): New functions.
13781 (display-buffer-alist): Rewrite doc-string.
13782 (display-buffer-default-action)
13783 (display-buffer-overriding-action): New variables.
13784 (display-buffer, switch-to-buffer): Rewrite.
13785 (pop-to-buffer): Restore Emacs 23 behavior but use
13786 window-normalize-buffer-to-display.
13787 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13788 Restore Emacs 23 behavior but use
13789 window-normalize-buffer-to-switch-to.
13790 (pop-to-buffer-same-window): Rewrite.
13791 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13792 Rewrite using Emacs 23 options.
13793
137942011-08-31 Michael Albinus <michael.albinus@gmx.de>
13795
13796 * net/tramp.el (tramp-root-regexp): Remove.
13797 (tramp-completion-file-name-regexp-unified)
13798 (tramp-completion-file-name-regexp-separate)
13799 (tramp-completion-file-name-regexp-url): Don't use leading volume
13800 letter on w32 systems. (Bug#5303, Bug#9311)
13801 (tramp-drop-volume-letter): Simplify definition.
13802 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13803
138042011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13805
13806 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13807 (bug#9356).
13808
138092011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13810
13811 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13812
138132011-08-29 Juri Linkov <juri@jurta.org>
13814
13815 * isearch.el (isearch-done): Don't display message "Mark saved"
13816 when arg `edit' is non-nil to prevent its flicker in the echo area.
13817
138182011-08-28 Chong Yidong <cyd@stupidchicken.com>
13819
13820 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13821 obsolete packages for deletion.
13822
138232011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13824
13825 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13826 (help-mode): Derive help-mode from special-mode. Don't invoke
13827 view-mode from help-mode.
13828 (help-xref-override-view-map): Remove.
13829 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13830 view-mode is not used anymore.
13831
138322011-08-28 Chong Yidong <cyd@stupidchicken.com>
13833
13834 * server.el (server-port): Doc fix.
13835
13836 * cus-theme.el (custom-theme-choose-mode): Inherit from
13837 special-mode (Bug#9124).
13838 (custom-theme-choose-mode-map): Add special-mode to parent.
13839
138402011-08-28 Alan Mackenzie <acm@muc.de>
13841
13842 * progmodes/cc-fonts.el
13843 (c-make-font-lock-BO-decl-search-function): New function.
13844 (c-basic-matchers-after - "Fontify the clauses after various
13845 keywords"): Extract the three keyword lists for the 3 erroneous
13846 constructs from the list of four, and use the new function above
13847 in place of an old one.
13848
138492011-08-28 Deniz Dogan <deniz@dogan.se>
13850
13851 * net/rcirc.el (rcirc-insert-prev-input)
13852 (rcirc-insert-next-input): Remove unused argument.
13853
138542011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13855
13856 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13857
138582011-08-27 Alan Mackenzie <acm@muc.de>
13859
13860 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13861 handle function pointer parameters properly.
13862
138632011-08-27 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (display-buffer-reuse-window): Fix case where
13866 selected window was reused with non-nil OTHER-WINDOW argument.
13867 (Bug#9381)
13868
138692011-08-27 Deniz Dogan <deniz@dogan.se>
13870
13871 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13872 oftc's NickServ messages.
13873
138742011-08-27 Glenn Morris <rgm@gnu.org>
13875
13876 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13877
138782011-08-26 Chong Yidong <cyd@stupidchicken.com>
13879
13880 * emacs-lisp/package.el (package-install): Call package-initialize
13881 if called interactively.
13882
138832011-08-26 Leo Liu <sdl.web@gmail.com>
13884
13885 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13886
138872011-08-25 Juri Linkov <juri@jurta.org>
13888
13889 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13890 `search-whitespace-regexp' (bug#9364).
13891
138922011-08-25 Juri Linkov <juri@jurta.org>
13893
13894 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13895 `regexp-search-ring' to their global values to protect from
13896 updating by `read-from-minibuffer' (bug#9185).
13897
138982011-08-25 Juri Linkov <juri@jurta.org>
13899
13900 * textmodes/ispell.el (ispell-command-loop): Add newline
13901 at the end of the "Use option `i'..." line.
13902
139032011-08-25 Juri Linkov <juri@jurta.org>
13904
13905 * battery.el (display-battery-mode): If `battery-status-function'
13906 or `battery-mode-line-format' is nil, display the message and set
13907 `display-battery-mode' to nil (bug#9363).
13908
139092011-08-25 Eli Zaretskii <eliz@gnu.org>
13910
13911 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13912 bidi-string-mark-left-to-right; they are unnecessary now.
13913
139142011-08-25 Deniz Dogan <deniz@dogan.se>
13915
13916 * net/quickurl.el: Documentation typo fixes.
13917
139182011-08-25 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13921
139222011-08-25 Glenn Morris <rgm@gnu.org>
13923
13924 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13925
13926 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13927 (smtpmail-via-smtp): Handle nil response from smtp.
13928
139292011-08-24 Juri Linkov <juri@jurta.org>
13930
13931 * proced.el (proced-marked): Inherit from `error' instead of
13932 `font-lock-warning-face'.
13933
13934 * ibuffer.el (ibuffer-marked-face): Change default face from
13935 `font-lock-warning-face' to `warning'.
13936 (ibuffer-deletion-face): Change default face from
13937 `font-lock-type-face' to `error'.
13938
13939 * battery.el (battery-update): Use the face `error' instead of
13940 `font-lock-warning-face' (bug#6117).
13941
139422011-08-24 Juri Linkov <juri@jurta.org>
13943
13944 * faces.el (success): Change face color from "Green3" to
13945 "ForestGreen" on light background (bug#9353).
13946
139472011-08-24 Chong Yidong <cyd@stupidchicken.com>
13948
13949 * window.el (quit-window): Rename from quit-restore-window.
13950 Use same arglist as old quit-window.
13951 (frame-auto-delete): Doc fix.
13952
13953 * view.el (view-mode-exit): Use quit-window.
13954
139552011-08-24 Juri Linkov <juri@jurta.org>
13956
13957 * isearch.el (isearch-ring-adjust1): Start visiting previous
13958 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13959 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13960 for empty search string (when the last search string is reused
13961 automatically) to adjust the isearch ring to the last element and
13962 prepare the correct index for further M-p commands (bug#9185).
13963
139642011-08-24 Kenichi Handa <handa@m17n.org>
13965
13966 * international/ucs-normalize.el: If decomposition property of
13967 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13968 nil.
13969 (nfd, nfkd): Likewise.
13970
139712011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13972
13973 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13974 from process filters aren't reliably transmitted to the surrounding
13975 accept-process-output.
13976 (mpc-proc-check): New function.
13977 (mpc-proc-sync): Use it (bug#8293)
13978
139792011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13982 Add compatibility functions (bug#9313).
13983
139842011-08-23 Eli Zaretskii <eliz@gnu.org>
13985
13986 * cus-start.el (all): Add entry for bidi-paragraph-direction.
13987
13988 * international/uni-bidi.el: Regenerate.
13989
139902011-08-23 Kenichi Handa <handa@m17n.org>
13991
13992 * international/charprop.el:
13993 * international/uni-bidi.el:
13994 * international/uni-category.el:
13995 * international/uni-combining.el:
13996 * international/uni-comment.el:
13997 * international/uni-decimal.el:
13998 * international/uni-decomposition.el:
13999 * international/uni-digit.el:
14000 * international/uni-lowercase.el:
14001 * international/uni-mirrored.el:
14002 * international/uni-name.el:
14003 * international/uni-numeric.el:
14004 * international/uni-old-name.el:
14005 * international/uni-titlecase.el:
14006 * international/uni-uppercase.el: Regenerate.
14007
140082011-08-23 Martin Rudalics <rudalics@gmx.at>
14009
14010 * help.el (help-window-setup): Fix message displayed when other
14011 window is reused. (Bug#9341)
14012
140132011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14014
14015 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14016 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14017
14018 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14019 Mark obsolete.
14020 * shell.el (shell-parse-pcomplete-arguments): New function.
14021 (shell-completion-vars): Use it instead (bug#9160).
14022
140232011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14024
14025 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14026 strings and comments (bug#9333).
14027
14028 * emacs-lisp/debug.el (debug-arglist): New function.
14029 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14030 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14031
140322011-08-22 Juri Linkov <juri@jurta.org>
14033
14034 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14035 Revert regexp that highlights output switches to its old
14036 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14037
14038 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14039 to check for empty output (bug#9226).
14040
140412011-08-22 Chong Yidong <cyd@stupidchicken.com>
14042
14043 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14044 symbol-constituent as the default, as that stops font-lock from
14045 working properly (Bug#8843).
14046
140472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14048
14049 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14050 `coding-system-for-*' around the process open call to avoid
14051 auth-source side effects.
14052 (smtpmail-try-auth-methods): Expand the secret password.
14053 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14054 probe hangs.
14055
140562011-08-21 Chong Yidong <cyd@stupidchicken.com>
14057
14058 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14059
14060 * emacs-lisp/find-func.el (find-function-noselect): New arg
14061 lisp-only.
14062
14063 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14064 signal an error for built-in functions (Bug#6664).
14065
140662011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14067
14068 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14069 (smtpmail-try-auth-methods): Use it.
14070
140712011-08-21 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * font-lock.el (font-lock-fontify-region)
14074 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14075 (font-lock-default-unfontify-buffer)
14076 (font-lock-default-fontify-region)
14077 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14078
14079 * progmodes/compile.el (compilation-error-properties):
14080 Fix confusion between file struct and message struct (Bug#9319).
14081 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14082 `ant' regexp.
14083
14084 * net/browse-url.el (browse-url-firefox): Don't call
14085 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14086
140872011-08-20 Glenn Morris <rgm@gnu.org>
14088
14089 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14090
14091 * tutorial.el (tutorial--default-keys): Update some default bindings.
14092
14093 * files.el (hack-local-variables): Fully ignore case for "mode:".
14094
140952011-08-20 Alan Mackenzie <acm@muc.de>
14096
14097 Resolve invalid use of a regexp in regexp-opt.
14098
14099 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14100 detection for a java annotation.
14101
14102 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14103 detection for a java annotation.
14104
14105 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14106 handling for java.
14107 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14108
141092011-08-20 Chong Yidong <cyd@stupidchicken.com>
14110
14111 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14112 (Bug#9274).
14113
141142011-08-20 Alan Mackenzie <acm@muc.de>
14115
14116 Fontify CPP expressions correctly when starting in the middle of
14117 such a construct. Mainly for when jit-lock etc. starts a chunk
14118 here.
14119
14120 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14121 variable.
14122 (c-make-font-lock-search-form): New function, extracted from
14123 c-make-font-lock-search-function.
14124 (c-make-font-lock-search-function): Use the above function.
14125 (c-make-font-lock-context-search-function): New function.
14126 (c-cpp-matchers): Enhance the preprocessor expression case with
14127 the above function
14128 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14129 which takes an expression.
14130
14131 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14132
141332011-08-20 Martin Rudalics <rudalics@gmx.at>
14134
14135 * window.el (display-buffer-reuse-window)
14136 (display-buffer-pop-up-window): Don't reuse or split a side
14137 window.
14138
141392011-08-19 Glenn Morris <rgm@gnu.org>
14140
14141 * files.el (hack-local-variables-prop-line, hack-local-variables):
14142 Downcase "Mode:". (Bug#9331)
14143
141442011-08-18 Chong Yidong <cyd@stupidchicken.com>
14145
14146 * international/characters.el: Add L and R categories.
14147
14148 * subr.el (bidi-string-mark-left-to-right): Rename from
14149 string-mark-left-to-right. Use category search.
14150
14151 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14152
141532011-08-18 Juri Linkov <juri@jurta.org>
14154
14155 * faces.el (error, warning, success): New faces with definitions
14156 copied from old default values of `font-lock-warning-face',
14157 `compilation-warning', `compilation-info' (bug#6117).
14158
14159 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14160
14161 * progmodes/compile.el (compilation-error): Inherit from `error'.
14162 (compilation-warning): Inherit from `warning'.
14163 (compilation-info): Inherit from `success'.
14164
14165 * dired.el (dired-marked): Inherit from `warning'.
14166 (dired-flagged): Inherit from `error'.
14167
141682011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14169
14170 * mail/smtpmail.el (auth-source): Require to avoid problems with
14171 binding variables (bug#9298). Also clean up some unused
14172 autoloads.
14173
14174 * net/network-stream.el (network-stream-open-starttls):
14175 Support using starttls.el without using gnutls-cli.
14176
141772011-08-17 Juri Linkov <juri@jurta.org>
14178
14179 * progmodes/grep.el (rgrep): Handle the case when
14180 `grep-find-command' is a cons cell (bug#9278).
14181
141822011-08-17 Martin Rudalics <rudalics@gmx.at>
14183
14184 * window.el (display-buffer-pop-up-frame): Run frame creation
14185 function with BUFFER current (as special-display-popup-frame
14186 does). Reported by Drew Adams.
14187
141882011-08-17 Daiki Ueno <ueno@unixuser.org>
14189
14190 * epa-mail.el: Simplify GnuPG group expansion using
14191 epg-expand-group.
14192 (epa-mail-group-alist, epa-mail-group-modtime)
14193 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14194 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14195 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14196 Remove.
14197
141982011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14199
14200 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14201
142022011-08-16 Alan Mackenzie <acm@muc.de>
14203
14204 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14205 Correct, to avoid the inside of macros.
14206
142072011-08-16 Richard Stallman <rms@gnu.org>
14208
14209 * epa-mail.el: Handle GnuPG group definitions.
14210 (epa-mail-group-alist, epa-mail-group-modtime)
14211 (epa-mail-gnupg-conf-file): New variables.
14212 (epa-mail-parse-groups, epa-mail-sync-groups)
14213 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14214 (epa-mail-expand-recipients): New functions.
14215 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14216
14217 * mail/rmail.el (rmail-epa-decrypt): New command.
14218
14219 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14220 Don't bind buffer-read-only, just inhibit-read-only.
14221 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14222 (epa-decrypt-armor-in-region): Make error message clearer.
14223
142242011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14225
14226 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14227 and "a2b" to "ab" for `prefix'.
14228
142292011-08-14 Chong Yidong <cyd@stupidchicken.com>
14230
14231 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14232 filter groups.
14233 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14234 Fourquet (Bug#8804).
14235
142362011-08-12 Juanma Barranquero <lekktu@gmail.com>
14237
14238 * startup.el (argi): Declare as global variable (bug#9275).
14239
142402011-08-12 Chong Yidong <cyd@stupidchicken.com>
14241
14242 * subr.el (string-mark-left-to-right): Search the entire string
14243 for RTL script, not just the terminating character. Doc fix.
14244
142452011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14246
14247 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14248 New function.
14249 (js--regexp-literal, js-syntax-propertize-function): Remove.
14250 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14251 (js-mode-map): Don't rebind electric keys.
14252 (js-insert-and-indent): Remove.
14253 (js-mode): Setup electric-layout and electric-indent instead.
14254
14255 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14256
142572011-08-12 Daiki Ueno <ueno@unixuser.org>
14258
14259 * epa.el (epa-progress-callback-function): Fix the logic of
14260 displaying progress.
14261 * epa-file.el (epa-file-insert-file-contents): Make progress
14262 display more user-friendly.
14263 (epa-file-write-region): Ditto.
14264
142652011-08-10 Chong Yidong <cyd@stupidchicken.com>
14266
14267 * subr.el (string-mark-left-to-right): New function.
14268
14269 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14270 Use string-mark-left-to-right.
14271 (list-buffers-noselect): Caller changed.
14272
14273 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14274 Use string-mark-left-to-right.
14275 (tabulated-list-print): Recenter after moving point.
14276
142772011-08-10 Juri Linkov <juri@jurta.org>
14278
14279 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14280 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14281 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14282
142832011-08-09 Chong Yidong <cyd@stupidchicken.com>
14284
14285 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14286 (Bug#7554).
14287
142882011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14289
14290 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14291 character. (Bug#6594)
14292
142932011-08-08 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14296 (image-dired--with-db-file): New macro.
14297 (image-dired-write-tags, image-dired-remove-tag)
14298 (image-dired-create-gallery-lists, image-dired-write-comments)
14299 (image-dired-get-comment, image-dired-mark-tagged-files)
14300 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14301 (image-dired-gallery-generate): Use insert-file-contents.
14302
14303 * time.el (display-time-world-list, display-time-world-display):
14304 * time-stamp.el (time-stamp-string):
14305 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14306 set-time-zone-rule (Bug#7337).
14307
143082011-08-08 Daiki Ueno <ueno@unixuser.org>
14309
14310 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14311 (epg-error-to-string, epg-errors-to-string): New function.
14312 (epg-wait-for-completion): Reverse errors list.
14313 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14314 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14315 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14316 (epg-sign-keys, epg-generate-key-from-file)
14317 (epg-generate-key-from-string): Format errors by using
14318 epg-errors-to-string (bug#9255).
14319 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14320
143212011-08-07 Juri Linkov <juri@jurta.org>
14322
14323 * faces.el (list-faces-display): Remove extra angle bracket
14324 from `help-mode-map'.
14325
14326 * info.el (Info-history-toc-nodes): Doc fix.
14327
14328 * longlines.el (longlines-mode): Doc fix.
14329
143302011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14331
14332 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14333 of statements and in a few more cases (bug#9183).
14334
14335 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14336 New functions.
14337 (cl-transform-lambda): Use them (bug#9239).
14338
143392011-08-05 Martin Rudalics <rudalics@gmx.at>
14340
14341 * window.el (display-buffer-same-window)
14342 (display-buffer-same-frame, display-buffer-other-window)
14343 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14344 (pop-to-buffer-other-window)
14345 (pop-to-buffer-same-frame-other-window)
14346 (pop-to-buffer-other-frame): Make them defuns.
14347 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14348
143492011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14350
14351 * subr.el (make-composed-keymap): Move from C. Change calling
14352 convention, and improve docstring to bring attention to a subtle point.
14353 * minibuffer.el (completing-read-default): Adjust accordingly.
14354
143552011-08-03 Michael Albinus <michael.albinus@gmx.de>
14356
14357 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14358 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14359
14360 * net/trampver.el: Update release number.
14361
143622011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14363
14364 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14365 "in" (bug#9190).
14366
143672011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14368
14369 * mail/sendmail.el (sendmail-query-once): Restore the current
14370 buffer after querying (bug#9074).
14371
14372 * dired.el (dired-flagged): Use different faces for marked and
14373 flagged files (bug#6117).
14374
14375 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14376 (bug#4433).
14377
14378 * ido.el (ido-mode): Switch off the message if called
14379 non-interactively.
14380
14381 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14382 before 587, since it appears that that's more likely to work for
14383 more people.
14384
14385 * cus-edit.el (custom-file): When running under emacs -q, always
14386 refuse to save the customizations, even if the .emacs file doesn't
14387 exist.
14388
14389 * info.el: Remove the `Info-beginning-of-buffer' function
14390 (bug#8325).
14391
14392 * net/network-stream.el (network-stream-open-starttls):
14393 Use `starttls-available-p' to see whether starttls.el can be used.
14394
143952011-08-01 Martin Rudalics <rudalics@gmx.at>
14396
14397 * window.el (display-buffer-in-window): Don't set dedicated status
14398 of window here (Bug#9215).
14399 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14400 (display-buffer-pop-up-side-window)
14401 (display-buffer-in-side-window): Set dedicated status of window here.
14402
144032011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14404
14405 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14406 before binding generated-autoload-file.
14407
144082011-08-01 Deniz Dogan <deniz@dogan.se>
14409
14410 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14411
144122011-07-30 Michael Albinus <michael.albinus@gmx.de>
14413
14414 Sync with Tramp 2.2.2.
14415
14416 * net/trampver.el: Update release number.
14417
144182011-07-30 Juri Linkov <juri@jurta.org>
14419
14420 * dired-aux.el (dired-touch-initial): Remove function.
14421 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14422 current time, and `default' to the last modification time of the
14423 current marked file (bug#6887).
14424
144252011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14426
14427 * simple.el (goto-line): Use string-to-number to provide a
14428 numeric argument to read-number (bug#9163).
14429
144302011-07-27 Michael Albinus <michael.albinus@gmx.de>
14431
14432 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14433 connection process, it could be nil.
14434
144352011-07-27 Leo Liu <sdl.web@gmail.com>
14436
14437 Simplify url handling in rcirc-mode.
14438
14439 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14440 (rcirc-browse-url-at-mouse): Remove.
14441 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14442
144432011-07-26 Alan Mackenzie <acm@muc.de>
14444
14445 Fontify bitfield declarations properly.
14446
14447 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14448 (c-symbol-chars): Now exported as a lang variable.
14449 (c-not-primitive-type-keywords): New lang variable.
14450
14451 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14452 QT keyword "more" to prevent "more slots: ...." being spuriously
14453 parsed as a bitfield declaration.
14454
14455 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14456 Refactor and enhance to handle bitfield declarations.
14457 (c-punctuation-in): New function.
14458 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14459 declarations properly.
14460
144612011-07-26 Ulf Jasper <ulf.jasper@web.de>
14462
14463 * calendar/icalendar.el (icalendar--all-events): Take care of
14464 multiple vcalendars in a single file.
14465 (icalendar--convert-float-to-ical): Checkdoc fixes.
14466
144672011-07-25 Deniz Dogan <deniz@dogan.se>
14468
14469 * image.el (insert-image): Clarifying docstring.
14470
144712011-07-24 Michael Albinus <michael.albinus@gmx.de>
14472
14473 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14474 `tramp-send-command-and-check' if there is no error.
14475 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14476
144772011-07-22 Alan Mackenzie <acm@muc.de>
14478
14479 Prevent cc-langs.elc being loaded at run time.
14480
14481 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14482 cc-langs.
14483
14484 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14485 "(require 'cc-langs)". Quote a form so it will evaluate at
14486 (cc-mode's) compilation time.
14487
144882011-07-22 Michael Albinus <michael.albinus@gmx.de>
14489
14490 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14491 loading. (Bug#9114)
14492
144932011-07-21 Martin Rudalics <rudalics@gmx.at>
14494
14495 * window.el (display-buffer-pop-up-window)
14496 (display-buffer-pop-up-side-window)
14497 (display-buffer-in-side-window): Call display-buffer-set-height
14498 and display-buffer-set-width after setting the new window's
14499 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14500
145012011-07-20 Sam Steingold <sds@gnu.org>
14502
14503 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14504 (etags-tags-included-tables): Call `convert-standard-filename' on
14505 the file names contained in TAGS so that windows Emacs can handle
14506 TAGS files created by cygwin ctags.
14507
145082011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14509
14510 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14511 which apparently didn't work.
14512
145132011-07-19 Roland Winkler <winkler@gnu.org>
14514
14515 * proced.el (proced-send-signal): For *Marked Processes* buffer
14516 put point at beginning of buffer.
14517
145182011-07-19 Stephen Berman <stephen.berman@gmx.net>
14519
14520 * proced.el (proced-format): Make header lines align with the text
14521 (bug#1779).
14522
145232011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14524
14525 * view.el (view-buffer): Allow running in `special' modes if we're
14526 visiting a file (bug#8615).
14527
145282011-07-19 Martin Rudalics <rudalics@gmx.at>
14529
14530 * window.el (display-buffer-alist-of-strings-p)
14531 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14532 New functions.
14533 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14534 more accurately.
14535
145362011-07-18 Alan Mackenzie <acm@muc.de>
14537
14538 Fontify declarators properly when, e.g., a jit-lock chunk begins
14539 inside a declaration.
14540
14541 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14542
14543 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14544 New function.
14545 (c-complex-decl-matchers): Insert reference to
14546 c-font-lock-enclosing-decls.
14547
14548 * progmodes/cc-engine.el (c-backward-single-comment):
14549 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14550 to nil around calls to (forward-comment -1).
14551
145522011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14553
14554 * image.el (put-image): Doc typo fix.
14555
14556 * progmodes/etags.el (tags-search): Doc typo fix.
14557
14558 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14559 password if we get errors 550 to 554.
14560
145612011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14562
14563 * net/gnutls.el (gnutls-log-level): Remove.
14564
14565 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14566 indentation character (bug#6380).
14567
14568 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14569
14570 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14571 to clarify what the problem is (bug#4291).
14572
14573 * simple.el (current-kill): Clarify what
14574 `interprogram-paste-function' does (bug#7500).
14575 (auto-fill-mode): Document `auto-fill-function' in relation to
14576 `auto-fill-mode' (bug#2470).
14577
145782011-07-16 Lawrence Mitchell <wence@gmx.li>
14579
14580 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14581 method if slot is read-only (bug#9035).
14582
145832011-07-16 Martin Rudalics <rudalics@gmx.at>
14584
14585 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14586 * window.el (pop-to-buffer): Select window used even if it was
14587 selected before, see discussion of (Bug#8615), (Bug#6954).
14588 Pass argument NORECORD on to select-frame-set-input-focus.
14589
145902011-07-15 Glenn Morris <rgm@gnu.org>
14591
14592 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14593 Respect help-form.
14594
145952011-07-09 Lawrence Mitchell <wence@gmx.li>
14596
14597 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14598 (gnutls-negotiate): Use it.
14599
146002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14601
14602 * net/gnutls.el (gnutls-negotiate):
14603 Upcase `gnutls-algorithm-priority'.
14604
146052011-07-15 Glenn Morris <rgm@gnu.org>
14606
14607 * jka-compr.el (jka-compr-verbose): Move from here...
14608 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14609 Add missing :version tag.
14610 * info.el: No need to require jka-compr when compiling.
14611
146122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14613
14614 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14615 (gnutls-negotiate): Use it.
14616
14617 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14618
14619 * info.el (Info-beginning-of-buffer): New command.
14620 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14621 announcing `b' as the key (bug#8325).
14622 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14623
14624 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14625
14626 * international/mule-cmds.el
14627 (describe-specified-language-support): Make the error message
14628 clearer (bug#8905).
14629
14630 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14631
14632 * isearch.el (isearch-barrier): Add a doc string, since it's
14633 mentioned in a function doc string (bug#8678).
14634
146352011-07-15 Martin Rudalics <rudalics@gmx.at>
14636
14637 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14638 buffer argument (Bug#9083) and self-identifying label argument.
14639
146402011-07-15 Glenn Morris <rgm@gnu.org>
14641
14642 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14643
146442011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14645
14646 * man.el (Man-fontify-manpage): Fix message when formatting the
14647 man page (bug#7929).
14648
146492011-07-14 Eli Zaretskii <eliz@gnu.org>
14650
14651 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14652 argument LRM; if non-nil, append an invisible LRM character to the
14653 buffer name.
14654 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14655 last argument non-nil, when formatting buffer names.
14656 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14657 paragraph direction.
14658
146592011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14660
14661 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14662 the man page name (bug#7929).
14663
14664 * image.el (put-image): Mention the `put-image' overlay property
14665 (bug#7834).
14666
14667 * scroll-bar.el (set-scroll-bar-mode): Mention that
14668 `scroll-bar-mode' lists the values (bug#7772).
14669
14670 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14671 command (bug#7729).
14672
14673 * rect.el (apply-on-rectangle): Return the point after the last
14674 operation.
14675 (string-rectangle): Go to the point after the last operation
14676 (bug#7522).
14677
14678 * printing.el (pr-toggle-region): Clarify the documentation
14679 slightly (bug#7493).
14680
14681 * time.el (display-time-update):
14682 Allow `display-time-mail-function' to return nil (bug#7158).
14683 Fix suggested by Detlev Zundel.
14684
14685 * vc/diff.el (diff): Clarify the order the file names are read
14686 (bug#7111).
14687
14688 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14689 the doc string (bug#7015).
14690
14691 * font-lock.el (font-lock-maximum-decoration): Mention what
14692 numeric levels mean (bug#6935).
14693
14694 * startup.el (initial-buffer-choice): Don't mention the `none'
14695 selection, which is against policy.
14696
146972011-07-14 Martin Rudalics <rudalics@gmx.at>
14698
14699 * window.el (display-buffer-normalize-special):
14700 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14701
147022011-07-14 Eli Zaretskii <eliz@gnu.org>
14703
14704 * subr.el (version<, version<=, version=): Mention "-CVS" and
14705 "-12345" alpha version numbers.
14706
147072011-07-14 Chong Yidong <cyd@stupidchicken.com>
14708
14709 * bindings.el: Add advertised binding for set-mark-command
14710 (Bug#5772).
14711
147122011-07-14 Chong Yidong <cyd@stupidchicken.com>
14713
14714 * bindings.el (mode-line-other-buffer):
14715 * bookmark.el (bookmark-bmenu-2-window):
14716 * bs.el (bs-cycle-next, bs-cycle-previous):
14717 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14718 switch-to-buffer.
14719
14720 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14721 Delete.
14722
147232011-07-14 Juanma Barranquero <lekktu@gmail.com>
14724
14725 * follow.el (follow-debug-message, follow-redisplay):
14726 * jka-cmpr-hook.el (with-auto-compression-mode):
14727 Fix typos in docstrings.
14728
147292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14730
14731 * subr.el (with-silent-modifications): Clarify somewhat what the
14732 macro inhibits (bug#6525).
14733
14734 * simple.el (eval-expression): Note what it does if called
14735 interactively (bug#6495).
14736
147372011-07-13 Chong Yidong <cyd@stupidchicken.com>
14738
14739 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14740 Use pop-to-buffer buffer-or-name if it is nil.
14741
14742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14743 Remove switch-to-buffer.
14744
147452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14746
14747 * files.el (make-directory): Clarify that an error will be raised
14748 if there's an error (bug#6397).
14749
14750 * startup.el (initial-buffer-choice): Add `none' as a choice
14751 (bug#6234).
14752
14753 * subr.el (add-hook): Clarify section about buffer-local hooks
14754 (bug#6218).
14755
14756 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14757
147582011-07-13 Juanma Barranquero <lekktu@gmail.com>
14759
14760 * tabify.el (untabify): Preserve the current column so that point
14761 doesn't move (bug#6032).
14762
147632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14764
14765 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14766 Rewrite to avoid awkward possessive "s" (bug#5986).
14767
147682011-07-13 Glenn Morris <rgm@gnu.org>
14769
14770 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14771 (dired-insert-directory): Give a message the first time
14772 if ls is found not to support --dired.
14773
147742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14775
14776 * simple.el (toggle-truncate-lines): Clarify what is toggled
14777 (bug#5580). Text by Drew Adams.
14778
147792011-07-13 Chong Yidong <cyd@stupidchicken.com>
14780
14781 * simple.el (blink-matching-open): Make the error message from the
14782 last change less verbose.
14783
147842011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14785
14786 * font-lock.el (font-lock-comment-face): Use the high contrast
14787 "yellow" color for font-lock-comment-face on low color terminals
14788 using a dark background color (bug#4221).
14789
147902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14791
14792 * dired.el (dired-insert-set-properties): Make the doc string
14793 reflect what it does now (bug#5325).
14794
14795 * simple.el (blink-matching-open): Say that we were unable to find
14796 the match within the limit, if we're limited (bug#5122).
14797
14798 * international/mule-cmds.el (prefer-coding-system): Add an
14799 example (bug#4869).
14800
14801 * progmodes/etags.el (tags-search): Document `file-list-form'
14802 (bug#4731).
14803
148042011-07-13 Lawrence Mitchell <wence@gmx.li>
14805
14806 * net/browse-url.el (browse-url-default-browser)
14807 (browse-url-browser-function): Make the default browser choice a
14808 bit more logical (bug#4300). Also clean up the doc string.
14809
148102011-07-13 Juanma Barranquero <lekktu@gmail.com>
14811
14812 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14813 binary endings (bug#4440).
14814
148152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14816
14817 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14818 which can be pretty annoying (bug#8971).
14819
14820 * jka-compr.el (jka-compr-verbose): New variable, and use
14821 throughout (bug#8971).
14822
14823 * info.el (Info-find-file): Fall back on the installation
14824 directory if we can't find the info node anywhere else.
14825
148262011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14827
14828 * vc/vc.el (vc-revert-file):
14829 Don't set file time-stamp in the past. (Bug#5181)
14830
148312011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14832
14833 * files.el (after-find-file): Give a better error message when
14834 trying to find a symlink that points to a file that doesn't exist
14835 (bug#4398).
14836
14837 * progmodes/cc-vars.el: Remove (probably) misleading comment
14838 (bug#4396).
14839
148402011-07-12 Johan Bockgård <bojohan@gnu.org>
14841
14842 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14843
148442011-07-12 Chong Yidong <cyd@stupidchicken.com>
14845
14846 * mouse-sel.el: Hack restoring functionality, while keeping
14847 compatibility with 2010-07-03 changes to mouse selection.
14848 (mouse-sel-primary-overlay): New var.
14849 (mouse-sel-selection-alist): Use it.
14850 (mouse-sel-mode): Doc fix; remove points that are default features
14851 of mouse.el.
14852
148532011-07-12 Johan Bockgård <bojohan@gnu.org>
14854
14855 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14856 Fix previous fix (bug#2490).
14857
148582011-07-12 Roland Winkler <winkler@gnu.org>
14859
14860 * textmodes/bibtex.el (bibtex-initialize):
14861 Use pop-to-buffer-same-window.
14862 (bibtex-search-entries): Fix interactive call.
14863
148642011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14865
14866 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14867 Fontise bytecomp Error lines more correctly (bug#2490).
14868 Fix suggested by Johan Bockgård.
14869
14870 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14871
14872 * dired-x.el (dired-guess-default): Use `delete-dups'.
14873
148742011-07-12 Chong Yidong <cyd@stupidchicken.com>
14875
14876 * dired.el (dired-mark-prompt):
14877 * dired-aux.el (dired-read-shell-command): Doc fix.
14878
148792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14880
14881 * mail/sendmail.el (sendmail-query-once):
14882 Use `customize-save-variable' unconditionally, now that it works under
14883 emacs -Q.
14884
14885 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14886
14887 * cus-edit.el (custom-file): Take an optional no-error variable.
14888 (customize-save-variable): Set the variable, and give a warning if
14889 running under "emacs -q".
14890
148912011-07-11 Juanma Barranquero <lekktu@gmail.com>
14892
14893 * loadhist.el (unload-feature-special-hooks):
14894 Add `auto-coding-functions', `fill-nobreak-predicate' and
14895 `find-directory-functions' (bug#5327).
14896
148972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14898
14899 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14900
14901 * cus-edit.el (custom-guess-name-alist): -alist variables should
14902 use the `alist' type (bug#3120). Suggested by Drew Adams.
14903
14904 * printing.el: Add documentation to all the `pr-toggle-' commands.
14905
149062011-07-11 Leo Liu <sdl.web@gmail.com>
14907
14908 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14909 backends where it makes sense (bug#2623).
14910
149112011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14912
14913 * dired-x.el (dired-guess-default): Remove duplicate shell command
14914 entries (bug#2028).
14915 (dired-guess-default): Fix grammar in doc string (bug#2028).
14916 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14917
14918 * subr.el (remove-duplicates): New conveniency function.
14919
149202011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14921
14922 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14923 (bug#1526).
14924
149252011-07-10 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (display-buffer-normalize-default): Don't invert
14928 meaning of even-window-heights. Reported by Eli Zaretskii
14929 <eliz@gnu.org>.
14930
149312011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14932
14933 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14934
149352011-07-10 Chong Yidong <cyd@stupidchicken.com>
14936
14937 * window.el (display-buffer): Fix arguments to
14938 display-buffer-reuse-window in last change.
14939
14940 * faces.el (link): Use a less saturated blue on light backgrounds.
14941
14942 * startup.el (fancy-startup-text, fancy-about-text)
14943 (fancy-startup-tail): Use font-lock faces, for background safety.
14944
149452011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14946
14947 * emulation/viper-cmd.el (viper-change-state-to-vi):
14948 Limit triggering of abbrev expansion (Bug#9038).
14949
149502011-07-09 Martin Rudalics <rudalics@gmx.at>
14951
14952 * window.el (display-buffer-default-specifiers): Remove.
14953 (display-buffer-macro-specifiers): Remove default specifiers.
14954 (display-buffer-alist): Default to nil.
14955 (display-buffer-reuse-window): New optional argument other-window.
14956 (display-buffer-pop-up-window): Allow splitting internal
14957 windows. Check whether a live window was created.
14958 (display-buffer-other-window-means-other-frame)
14959 (display-buffer-normalize-arguments): Rename to
14960 display-buffer-normalize-argument and rewrite. Set the
14961 other-window specifier.
14962 (display-buffer-normalize-special): New function.
14963 (display-buffer-normalize-options): Rename to
14964 display-buffer-normalize-default and rewrite.
14965 (display-buffer-normalize-options-inhibit): Remove.
14966 (display-buffer-normalize-specifiers): Rewrite.
14967 (display-buffer): Process other-window specifier and call
14968 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14969 more faithfully.
14970 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14971 (display-buffer-alist-set): Don't handle 'unset default values.
14972 (display-buffer-in-window, display-buffer-alist-set):
14973 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14974 <tassilo@member.fsf.org>.
14975
149762011-07-09 Leo Liu <sdl.web@gmail.com>
14977
14978 * register.el (insert-register): Restore accidental change on
14979 2011-06-26. (Bug#9028)
14980
149812011-07-09 Glenn Morris <rgm@gnu.org>
14982
14983 * subr.el (remq): Handle the empty list. (Bug#9024)
14984
149852011-07-08 Andreas Schwab <schwab@linux-m68k.org>
14986
14987 * mail/sendmail.el (send-mail-function): No longer delay custom
14988 initialization.
14989 * custom.el (custom-initialize-delay): Doc fix.
14990
149912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
14992
14993 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14994
149952011-07-08 Michael Albinus <michael.albinus@gmx.de>
14996
14997 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14998 human-friendly prompt.
14999
150002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15003 provided by a particular plugin.
15004
150052011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
15007 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15008 save customizations (with "emacs -Q"), just set the variable
15009 instead of erroring out.
15010
15011 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15012
150132011-07-08 Juri Linkov <juri@jurta.org>
15014
15015 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15016 (archive-zip-update-case): Use 7z if found by `executable-find'.
15017 The order of searching the available programs is the same as in
15018 `archive-zip-extract' (bug#8968).
15019
150202011-07-07 Chong Yidong <cyd@stupidchicken.com>
15021
15022 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15023 (menu-bar-options-menu): Tweak descriptions.
15024
150252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
15027 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15028 menu items into verb phrases (bug#1421). Also refill to fit under
15029 80 columns.
15030
150312011-07-07 Chong Yidong <cyd@stupidchicken.com>
15032
15033 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15034 (Info-read-node-name): Doc fix (Bug#1084).
15035
15036 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15037 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15038 (end-of-sexp, beginning-of-sexp)
15039 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15040 (forward-symbol, forward-same-syntax, word-at-point)
15041 (sentence-at-point): Doc fix (Bug#1144).
15042
150432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15044
15045 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15046 should cover it (bug#1281).
15047
15048 * cus-edit.el (custom-show): Mark as obsolete.
15049
15050 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15051 negotiation fails, then possibly try again with a non-encrypted
15052 connection (bug#9017).
15053
15054 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15055 be used.
15056
150572011-07-07 Richard Stallman <rms@gnu.org>
15058
15059 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15060 property, and handle its changed format.
15061 Look for the correct line number.
15062 Use file's line contents (but not past first =) to find
15063 correct line in message.
15064
150652011-07-07 Kenichi Handa <handa@m17n.org>
15066
15067 * international/characters.el (build-unicode-category-table):
15068 Delete it.
15069 (unicode-category-table): Set it by unicode-property-table-internal.
15070
15071 * international/mule-cmds.el (char-code-property-alist): Move to
15072 to src/chartab.c.
15073 (get-char-code-property): Call unicode-property-table-internal to
15074 load a file. Call get-unicode-property-internal where necessary.
15075 (put-char-code-property): Call unicode-property-table-internal to
15076 load a file. Call put-unicode-property-internal where necessary.
15077 put-unicode-property-internal where necessary.
15078 (char-code-property-description):
15079 Call unicode-property-table-internal to load a file.
15080
15081 * international/charprop.el:
15082 * international/uni-bidi.el:
15083 * international/uni-category.el:
15084 * international/uni-combining.el:
15085 * international/uni-comment.el:
15086 * international/uni-decimal.el:
15087 * international/uni-decomposition.el:
15088 * international/uni-digit.el:
15089 * international/uni-lowercase.el:
15090 * international/uni-mirrored.el:
15091 * international/uni-name.el:
15092 * international/uni-numeric.el:
15093 * international/uni-old-name.el:
15094 * international/uni-titlecase.el:
15095 * international/uni-uppercase.el: Regenerate.
15096
15097 * loadup.el: Load international/charprop.el before
15098 international/characters.
15099
151002011-07-07 Chong Yidong <cyd@stupidchicken.com>
15101
15102 * window.el (next-buffer, previous-buffer): Signal an error if
15103 called from a minibuffer window.
15104
15105 * bindings.el: Revert 2011-07-04 change.
15106
151072011-07-06 Richard Stallman <rms@gnu.org>
15108
15109 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15110 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15111 Treat markers like ints.
15112 (rmail-mime-entity): Doc fix.
15113
151142011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15115
15116 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15117 defcustom again for backwards compatibility.
15118
15119 * simple.el (shell-command-on-region): Fill.
15120
15121 * dired-aux.el (dired-kill-line): Add a doc string.
15122
15123 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15124 to "\\sw\\|\\s_" (bug#358).
15125
15126 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15127 (dired-unmark-backward): Ditto.
15128 (dired-flag-backup-files): Ditto.
15129
15130 * dired-x.el (dired-mark-sexp): Ditto.
15131
151322011-07-06 Richard Stallman <rms@gnu.org>
15133
15134 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15135 (rmail-mime-entity): New arg TRUNCATED.
15136 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15137 New functions.
15138 (rmail-mime-save): Warn if entity is truncated.
15139 (rmail-mime-toggle-hidden): Likewise, for showing.
15140 (rmail-mime-process-multipart): Record when an entity is truncated.
15141
15142 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15143 if ENTITY is a string.
15144
151452011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15146
15147 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15148 of faces when `M-C-x'-ing their definitions (bug#8378).
15149 Also clean up the code slightly.
15150
15151 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15152 because that makes the colors go away.
15153
15154 * mail/sendmail.el (send-mail-function): Change the default to
15155 `sendmail-query-once'.
15156 (sendmail-query-once): Add an autoload cookie.
15157
15158 * net/network-stream.el (network-stream-open-starttls): Try using
15159 a plain connection even if the server offered STARTTLS, and we
15160 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15161 capability. This should make smtpmail.el work in slightly more
15162 configurations.
15163
151642011-07-06 Michael Albinus <michael.albinus@gmx.de>
15165
15166 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15167 New defun.
15168 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15169
151702011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15171
15172 * progmodes/sql.el: Version 3.0
15173 (sql-product-alist): Add product :completion-object,
15174 :completion-column, and :statement attributes.
15175 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15176 (sql-mode-syntax-table): Mark all punctuation.
15177 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15178 ansi keywords.
15179 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15180 (sql-mode-oracle-font-lock-keywords): Improve.
15181 (sql-oracle-show-reserved-words): New function for development.
15182 (sql-product-font-lock): Simplify for source code buffers.
15183 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15184 New functions.
15185 (sql-highlight-product): Set product specific syntax table.
15186 (sql-mode-map): Add statement movement functions.
15187 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15188 New variable.
15189 (sql-statement-regexp, sql-beginning-of-statement)
15190 (sql-end-of-statement, sql-signum): New functions.
15191 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15192 (sql-show-sqli-buffer): Bug fix.
15193 (sql-interactive-mode): Store connection data as buffer local.
15194 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15195 with sql-interactive-mode.
15196 (sql-save-connection): Save buffer local settings.
15197 (sql-connection-menu-filter): Change menu entry name.
15198 (sql-product-interactive): Bug fix.
15199 (sql-preoutput-hold): New variable.
15200 (sql-interactive-remove-continuation-prompt): Bug fixes.
15201 (sql-debug-redirect): New variable.
15202 (sql-str-literal): New function.
15203 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15204 Redesign.
15205 (sql-oracle-save-settings, sql-oracle-restore-settings)
15206 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15207 (sql-completion-object, sql-completion-column)
15208 (sql-completion-sqlbuf): New variables.
15209 (sql-build-completions-1, sql-build-completions)
15210 (sql-try-completion): New functions.
15211 (sql-read-table-name): Use them.
15212 (sql-contains-names): New buffer local variable.
15213 (sql-list-all, sql-list-table): Use it.
15214 (sql-oracle-completion-types): New variable.
15215 (sql-oracle-completion-object, sql-sqlite-completion-object)
15216 (sql-postgres-completion-object): New functions.
15217
152182011-07-06 Glenn Morris <rgm@gnu.org>
15219
15220 * window.el (pop-to-buffer): Doc fix.
15221
152222011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15223
15224 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15225
152262011-07-06 Chong Yidong <cyd@stupidchicken.com>
15227
15228 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15229
15230 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15231
152322011-07-05 Chong Yidong <cyd@stupidchicken.com>
15233
15234 * button.el (button): Inherit from link face. Suggested by Dan
15235 Nicolaescu.
15236
152372011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15238
15239 * progmodes/gdb-mi.el: Fit in 80 columns.
15240 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15241 switch-to-buffer.
15242
15243 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15244 if imenu is simply not configured (bug#8941).
15245
152462011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15247
15248 * allout.el (allout-post-undo-hook): New allout outline-change
15249 event hook to signal undo activity.
15250 (allout-post-command-business): Run allout-post-undo-hook if an
15251 undo just occurred.
15252 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15253 * allout-widgets.el (allout-widgets-after-undo-function):
15254 Ensure the integrity of the current item's decoration after it has been
15255 in the vicinity of an undo.
15256 (allout-widgets-mode): Include allout-widgets-after-undo-function
15257 on the new allout-post-undo-hook.
15258
152592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15260
15261 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15262 Let define-derived-mode define it.
15263 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15264 cycles of abbrev-table inheritance (bug#8998).
15265
152662011-07-05 Roland Winkler <winkler@gnu.org>
15267
15268 * textmodes/bibtex.el: Add support for biblatex.
15269 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15270 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15271 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15272 (bibtex-entry-alist, bibtex-field-alist): New variables.
15273 (bibtex-entry-field-alist): Obsolete alias for
15274 bibtex-BibTeX-entry-alist.
15275 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15276 (bibtex-set-dialect): New command.
15277 (bibtex-entry-type, bibtex-entry-head)
15278 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15279 Bind via bibtex-set-dialect.
15280 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15281 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15282 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15283 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15284 Define via bibtex-set-dialect.
15285 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15286 Obey bibtex-no-opt-remove-re.
15287 (bibtex-vec-push, bibtex-vec-incr): New functions.
15288 (bibtex-format-entry, bibtex-field-list)
15289 (bibtex-print-help-message, bibtex-validate)
15290 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15291
152922011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15293
15294 * progmodes/compile.el (compilation-goto-locus):
15295 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15296 * bs.el (bs-cycle-next, bs-cycle-previous):
15297 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15298 * bindings.el (mode-line-other-buffer):
15299 * autoinsert.el (auto-insert):
15300 * arc-mode.el (archive-extract):
15301 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15302
153032011-07-05 Juanma Barranquero <lekktu@gmail.com>
15304
15305 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15306 Fix check of `emacs-lock-unlockable-modes'.
15307 Coerce true values of `emacs-lock--try-unlocking' to t.
15308
153092011-07-05 Juanma Barranquero <lekktu@gmail.com>
15310
15311 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15312 * emacs-lock.el: New file.
15313
153142011-07-05 Julien Danjou <julien@danjou.info>
15315
15316 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15317 than `boundp' to check if face is set.
15318
153192011-07-05 Juanma Barranquero <lekktu@gmail.com>
15320
15321 * register.el (registerv-make):
15322 * window.el (window-min-height): Fix typos in docstrings.
15323
153242011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15325
15326 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15327 Update doc string.
15328
153292011-07-04 Juanma Barranquero <lekktu@gmail.com>
15330
15331 * server.el (server-execute): Catch quit and call
15332 `server-return-error' to pass the error back to emacsclient and
15333 close the connection (bug#8942).
15334
153352011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15336
15337 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15338 insecure exception for current topic. Also note that auto-saves
15339 are handled differently.
15340
15341 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15342 State variables for tracking auto-save inhibition situation.
15343
15344 (allout-write-contents-hook-handler): Rename from
15345 'allout-write-file-hook-handler', and describe how it depends on
15346 write-contents-functions sensitivity to non-nil value to prevent
15347 file write.
15348
15349 (allout-auto-save-hook-handler): Remove. auto-save does not check
15350 this in individual buffers, only in the starting buffer, so this
15351 is not the right way for us to inhibit auto-save in a buffer
15352 according to its condition.
15353
15354 (allout-mode): Use new allout-write-contents-hook-handler, and
15355 only with write-contents-functions. Remove auto-save provisions -
15356 they're implemented elsewhere.
15357
15358 (allout-before-change-handler): If undo is in progress, note that
15359 for attention of allout-post-command-business.
15360
15361 (allout-post-command-business): If the command we're following was
15362 an undo, check for change in the status of encrypted items and
15363 adjust auto-save inhibitions accordingly.
15364
15365 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15366 according to whether there are or aren't any plain-text topics
15367 pending encryption.
15368
15369 (allout-inhibit-auto-save-info-for-decryption):
15370 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15371 if there are plain-text topics pending encryption.
15372
15373 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15374 buffer-saved-size and some allout state to not inhibit auto-saves
15375 if there are no longer any plain-text topics pending encryption.
15376
15377 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15378 No longer provide for exemption of the current topic.
15379
153802011-07-04 Juri Linkov <juri@jurta.org>
15381
15382 Add 7z operations to delete and save changed members (bug#8968).
15383 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15384 New defcustoms.
15385 (archive-7z-write-file-member): New function.
15386 (archive-7z-summarize): Fix the number of dashes in the
15387 listing output.
15388
153892011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15390
15391 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15392 (bug#8958).
15393
153942011-07-04 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * bindings.el: Ignore next-buffer and previous-buffer in
15397 minibuffer-local-map.
15398
15399 * font-lock.el (font-lock-builtin-face): Change light background
15400 color to dark slate blue (Bug#6693).
15401
154022011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15403
15404 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15405
154062011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15407
15408 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15409 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15410 Add switch-to-buffer.
15411
154122011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15413
15414 * isearch.el (isearch-search-fun-function): Clarify further the
15415 meaning of the function returned.
15416
154172011-07-04 Michael Albinus <michael.albinus@gmx.de>
15418
15419 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15420
15421 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15422 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15423 Use it.
15424 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15425 `tramp-default-remote-path' does not exist.
15426 (tramp-send-command-and-read): New optional argument NOERROR.
15427 (tramp-open-connection-setup-interactive-shell)
15428 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15429 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15430 (tramp-process-sentinel): Flush also process' connection property.
15431 (tramp-sh-handle-start-file-process): Do not set process
15432 sentinel. It is done now ...
15433 (tramp-maybe-open-connection): ... here. (Bug#8929)
15434
154352011-07-04 MON KEY <monkey@sandpframing.com>
15436
15437 * play/animate.el (animate-string): Doc fixes and allow changing
15438 the buffer name (bug#5417).
15439
154402011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15441
15442 * play/animate.el (animation-buffer-name): Rename from *animate*.
15443
154442011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15445
15446 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15447 This is simpler and helps future-proof the code.
15448 (timer-until): Use time-subtract and float-time.
15449 (timer--time-less-p): Use time-less-p.
15450
154512011-07-04 Juanma Barranquero <lekktu@gmail.com>
15452
15453 * type-break.el (timep): Use the value of `float-time' to avoid a
15454 byte-compiler warning.
15455
15456 * server.el (server-eval-and-print): Return any result, even nil.
15457
154582011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15459
15460 * type-break.el: Accept time formats that the builtins accept.
15461 (timep, type-break-time-difference): Accept any format that
15462 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15463 This is simpler and helps future-proof the code.
15464 (type-break-time-difference): Round rather than ignoring
15465 subseconds components.
15466
154672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
15469 * info.el (Info-apropos-matches): Make non-interactive, since it
15470 doesn't seem to do anything useful as a command (bug#8829).
15471
154722011-07-03 Chong Yidong <cyd@stupidchicken.com>
15473
15474 * frame.el (frame-background-mode, frame-set-background-mode):
15475 Move from faces.el.
15476 (frame-default-terminal-background): New function.
15477
15478 * custom.el (custom-push-theme): Don't record faces in `changed'
15479 theme; this doesn't work correctly for per-frame face settings.
15480 (disable-theme): Use face-set-after-frame-default to reset faces.
15481 (custom--frame-color-default): New function.
15482
154832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
15485 * dired.el (dired-flagging-regexp): Remove unused variable
15486 (bug#8769).
15487
154882011-03-29 Kevin Ryde <user42@zip.com.au>
15489
15490 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15491 `perl-Test2' extend to match possible "fail #N" rep count
15492 (bug#8377).
15493
154942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15495
15496 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15497 `smtpmail-via-smtp' now returns the error instead of nil.
15498
15499 * isearch.el (isearch-search-fun-function): Clarify the doc string
15500 (bug#8101).
15501
155022011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15503
15504 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15505 unnecessary spaces (bug#8987).
15506
155072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508
15509 * net/network-stream.el (open-network-stream): Use the
15510 :end-of-capability command thoughout.
15511
155122011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15513
15514 * net/network-stream.el (open-network-stream): Add the
15515 :end-of-capability command parameter, used by pop3.el.
15516
155172011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15518
15519 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15520
15521 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15522 for list)" (bug#6475).
15523
15524 * files.el (file-expand-wildcards): Ignore non-readable
15525 sub-directories while trying to find matches instead of signaling
15526 an error (bug#6297).
15527
15528 * man.el (Man-reference-regexp): Allow matching possible
15529 word-wrapped references (bug#6289).
15530
15531 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15532 for consistency with the other vc buffers (bug#6197).
15533 (vc-checkin): Ditto.
15534
15535 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15536
15537 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15538
155392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15540
15541 * custom.el (defcustom): Clarify that :set is only used in the
15542 Customize user interface (bug#6089).
15543
15544 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15545 associated with a file, refuse to run instead of erroring out
15546 (bug#6084).
15547
15548 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15549 the doc string, since it appears that using `fill-column' always
15550 controls the width (bug#7845).
15551
15552 * simple.el (shell-command-on-region): Say where the error output
15553 went if `shell-command-default-error-buffer' is set (bug#6857).
15554
155552011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15556
15557 * allout.el (allout-yank-processing): Adjust cursor position for
15558 backwards-deleted space.
15559
15560 (allout-rebullet-heading): Register changes with
15561 allout-exposure-changed-hook, so the modified topic is properly
15562 decorated.
15563
155642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15565
15566 * minibuffer.el (completion-in-region): Document PREDICATE
15567 (bug#7136).
15568
15569 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15570 of keyword/argument pairs (bug#6904).
15571
15572 * replace.el (multi-occur):
15573 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15574
155752011-07-02 Drew Adams <drew.adams@oracle.com>
15576
15577 * dired.el (dired-mark-if): Make the message about whether it's
15578 marking or unmarking clearer (bug#8523).
15579
155802011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15581
15582 * disp-table.el (display-table-print-array): New function.
15583 (describe-display-table): Use it to print the vectors more pretty
15584 (Bug#8859).
15585
155862011-07-02 Martin Rudalics <rudalics@gmx.at>
15587
15588 * window.el (window-state-get-1): Don't assign clone numbers.
15589 Add clone-of item to list of window parameters.
15590 (window-state-put-2): Don't process clone numbers.
15591 (display-buffer-alist): Fix doc-string.
15592
155932011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15594
15595 * subr.el (remq): Don't allocate if it's not needed.
15596 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15597 (keymap--merge-bindings): New functions.
15598 (keymap-canonicalize): Use them to refine the canonicalization.
15599 * minibuffer.el (minibuffer-local-completion-map)
15600 (minibuffer-local-must-match-map): Move initialization from C.
15601 (minibuffer-local-filename-completion-map): Move initialization from C;
15602 don't inherit from anything here.
15603 (minibuffer-local-filename-must-match-map): Make obsolete.
15604 (completing-read-default): Use make-composed-keymap to combine
15605 minibuffer-local-filename-completion-map with either
15606 minibuffer-local-must-match-map or
15607 minibuffer-local-filename-completion-map.
15608
156092011-07-01 Glenn Morris <rgm@gnu.org>
15610
15611 * type-break.el (type-break-time-sum): Use dolist.
15612
15613 * textmodes/flyspell.el (flyspell-word-search-backward):
15614 Replace CL function.
15615
156162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15617
15618 * mouse.el (mouse--strip-first-event): New function.
15619 (function-key-map): Use it to map fringe clicks to normal clicks
15620 by default.
15621
15622 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15623 (vc-bzr-revision-completion-table): Add support for annotate and date.
15624
15625 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15626 inherit from parent.
15627
156282011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15629
15630 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15631 (dired-show-file-type): Doc fixup (bug#8818).
15632
15633 * dired.el (dired-mode): Fix up the doc string as suggested by
15634 Drew Adams (bug#8817).
15635
15636 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15637 cookie, since the manual says that it should be possible to add
15638 this function to `find-file-hook' (bug#8709).
15639
156402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15641
15642 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15643 here. Noted Ted Zlatanov as the maintainer.
15644 (cfengine-common-settings, cfengine-common-syntax): New functions
15645 to set up common things between `cfengine-mode' and
15646 `cfengine3-mode'.
15647 (cfengine3-mode): New mode.
15648 (cfengine3-defuns cfengine3-defuns-regex
15649 (cfengine3-class-selector-regex cfengine3-category-regex)
15650 (cfengine3-vartypes cfengine3-font-lock-keywords)
15651 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15652 (cfengine3-indent-line): Add from cfengine3.el.
15653
156542011-07-01 Michael Albinus <michael.albinus@gmx.de>
15655
15656 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15657
15658 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15659
156602011-07-01 Martin Rudalics <rudalics@gmx.at>
15661
15662 * window.el (same-window-buffer-names, same-window-regexps)
15663 (same-window-p, special-display-frame-alist)
15664 (special-display-popup-frame, special-display-function)
15665 (special-display-buffer-names, special-display-regexps)
15666 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15667 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15668 (split-window-preferred-function, split-height-threshold)
15669 (split-width-threshold, even-window-heights)
15670 (display-buffer-mark-dedicated, window-splittable-p)
15671 (split-window-sensibly, window-safely-shrinkable-p):
15672 Un-obsolete.
15673 (display-buffer): Don't spread args with function specifier
15674 because special-display-popup-frame won't like it.
15675
156762011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15677
15678 Time-stamp simplifications and fixes.
15679 These improve accuracy slightly, and future-proof the code
15680 against some potential changes to current-time format.
15681
15682 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15683 by using time-since and float-time.
15684
15685 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15686 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15687 + NNN microseconds".
15688
15689 * type-break.el (type-break-time-sum): Rewrite using time-add.
15690
15691 * play/hanoi.el (hanoi-current-time-float): Remove.
15692 All uses replaced by float-time.
15693
15694 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15695 This yields a more-accurate answer.
15696 (rng-time-to-float): Remove; no longer needed.
15697
15698 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15699
15700 * calendar/timeclock.el (timeclock-seconds-to-time):
15701 Defalias to seconds-to-time, since they're the same thing.
15702
15703 * emacs-lisp/elp.el (elp-elapsed-time):
15704 * emacs-lisp/benchmark.el (benchmark-elapse):
15705 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15706
157072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * window.el (bury-buffer): Don't iconify the only frame.
15710 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15711 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15712
157132011-07-01 Chong Yidong <cyd@stupidchicken.com>
15714
15715 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15716 Add mouse-yank-primary.
15717
157182011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15719
15720 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15721
157222011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15725 (find-library-name): Use it to find relative load names when provided
15726 absolute file name (bug#8803).
15727
157282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15729
15730 * textmodes/flyspell.el (flyspell-word): Consider words that
15731 differ only in case as potential doublons (bug#5687).
15732
15733 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15734 Remove two rather uninteresting debugging-like messages to make
15735 debbugs.el more silent.
15736
15737 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15738 a password-like phrase.
15739
157402011-06-30 Masatake YAMATO <yamato@redhat.com>
15741
15742 * progmodes/cc-guess.el: New file.
15743
15744 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15745
15746 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15747 derived from `c-basic-common-init'.
15748
15749 * progmodes/cc-mode.el (top-level): Require cc-guess.
15750 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15751
157522011-06-30 Lawrence Mitchell <wence@gmx.li>
15753
15754 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15755
157562011-06-30 Alan Mackenzie <acm@muc.de>
15757
15758 * progmodes/cc-engine.el (c-guess-continued-construct):
15759 Correct the handling of template-args-cont, particularly for when font
15760 lock is disabled. Name this case as "CASE G".
15761
157622011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15763
15764 * allout.el (allout-yank-processing): Fix injection of extra space
15765 between bullet and non-whitespace character in first topic when
15766 pasting, ensuring that the actual spacing in the pasted topic
15767 following the bullet char is preserved. This extra space was
15768 causing pasted encrypted topics to get a decrypted status even
15769 when the content was actually still encrypted. Now the decryption
15770 status from before the paste is preserved.
15771
15772 (allout-flag-region): Set all allout overlays so they evaporate
15773 when reduced to zero length (evanescent), to prevent overlay
15774 leakage.
15775
157762011-06-30 Glenn Morris <rgm@gnu.org>
15777
15778 * w32-fns.el (w32-charset-info-alist): Declare.
15779
15780 * find-dired.el (find-grep-options): Simplify.
15781
15782 * term/ns-win.el (ns-set-resource): Declare.
15783
15784 * ses.el (row, col): Declare dynamic variables honestly.
15785
15786 * textmodes/reftex-parse.el (index-tags): Declare.
15787
157882011-06-30 Chong Yidong <cyd@stupidchicken.com>
15789
15790 * cus-edit.el (customize-push-and-save): New function.
15791
15792 * files.el (hack-local-variables-confirm): Use it.
15793
15794 * custom.el (load-theme): New arg NO-CONFIRM.
15795 Use customize-push-and-save (Bug#8720).
15796 (custom-enabled-themes): Doc fix.
15797
15798 * cus-theme.el (customize-create-theme)
15799 (custom-theme-merge-theme): Callers to load-theme changed.
15800
158012011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15802
15803 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15804 short URLs have at least one dot in them (bug #7614).
15805
15806 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15807 nil, because using a pty is apparently too slow (bug #895).
15808
158092011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15810
15811 * mail/sendmail.el (sendmail-query-once): New function.
15812 (sendmail-query-once-function): New variable.
15813
158142011-06-29 Glenn Morris <rgm@gnu.org>
15815
15816 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15817
15818 * ses.el (top-level): Require cl when compiling.
15819 (ses-set-localvars): Fix error statement.
15820 Call it at compile time to silence a storm of warnings.
15821
158222011-06-29 Martin Rudalics <rudalics@gmx.at>
15823
15824 * window.el (normalize-live-buffer): Rename to
15825 window-normalize-buffer.
15826 (normalize-live-frame): Rename to window-normalize-frame.
15827 (normalize-any-window): Rename to window-normalize-any-window.
15828 (normalize-live-window): Rename to window-normalize-live-window.
15829 (make-window-atom): Rename to window-make-atom.
15830 (window-resize-reset): Rename to window--resize-reset.
15831 (window-resize-reset-1): Rename to window--resize-reset-1.
15832 (resize-mini-window): Rename to window--resize-mini-window.
15833 (resize-subwindows-skip-p): Rename to
15834 window--resize-subwindows-skip-p.
15835 (resize-subwindows-normal): Rename to
15836 window--resize-subwindows-normal.
15837 (resize-subwindows): Rename to window--resize-subwindows.
15838 (resize-other-windows): Rename to window--resize-siblings.
15839 (resize-this-window): Rename to window--resize-this-window.
15840 (resize-root-window): Rename to window--resize-root-window.
15841 (resize-root-window-vertically): Rename to
15842 window--resize-root-window-vertically.
15843 (normalize-buffer-to-display): Rename to
15844 window-normalize-buffer-to-display.
15845 (normalize-buffer-to-switch-to): Rename to
15846 window-normalize-buffer-to-switch-to.
15847 Correspondingly update all callers of the functions listed
15848 above.
15849 (display-buffer-alist, display-buffer-normalize-arguments)
15850 (display-buffer-normalize-options, display-buffer)
15851 (display-buffer-alist-set): Use "function" instead of
15852 "fun-with-args".
15853
158542011-06-28 Chong Yidong <cyd@stupidchicken.com>
15855
15856 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15857 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15858 debbugs.gnu.org. Mention acknowledgment email.
15859
158602011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15861
15862 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15863 buffer multibyteness, since it shouldn't matter.
15864
158652011-06-28 Martin Rudalics <rudalics@gmx.at>
15866
15867 * window.el (display-buffer-in-side-window): Handle dedicated
15868 windows as in display-buffer-reuse-window.
15869 (display-buffer-normalize-alist): Use value of override
15870 specifier.
15871 (display-buffer-normalize-specifiers): Use value of
15872 other-window-means-other-frame specifier.
15873 (display-buffer-alist): Rewrite some texts in widgets.
15874 (display-buffer): Spread arguments when calling function
15875 specified by fun-with-args.
15876
158772011-06-28 Deniz Dogan <deniz@dogan.se>
15878
15879 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15880 Unnest `let'.
15881
15882 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15883 selectors (Bug#5732).
15884 (css-proprietary-nmstart-re): Use `regexp-opt'.
15885
158862011-06-27 Jari Aalto <jari.aalto@cante.net>
15887
15888 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15889 (eshell-ls-date-format): New defcustom.
15890 (eshell-ls-file): Use it.
15891
158922011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15893
15894 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15895
158962011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15897
15898 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15899 (ange-ftp-make-tmp-name): New arg.
15900 (ange-ftp-file-local-copy): Use it.
15901
159022011-06-27 Jambunathan K <kjambunathan@gmail.com>
15903
15904 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15905 no-conversion (Bug#8870).
15906
159072011-06-27 Martin Rudalics <rudalics@gmx.at>
15908
15909 * window.el (window-right, window-left, window-child)
15910 (window-child-count, window-last-child)
15911 (window-iso-combination-p, walk-window-tree-1)
15912 (window-atom-check-1, window-tree-1, delete-window)
15913 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15914 new naming conventions - window-vchild, window-hchild,
15915 window-next and window-prev are now called window-top-child,
15916 window-left-child, window-next-sibling and window-prev-sibling
15917 respectively.
15918 (resize-window-reset): Rename to window-resize-reset.
15919 (resize-window-reset-1): Rename to window-resize-reset-1.
15920 (resize-window): Rename to window-resize.
15921 (window-min-height, window-min-width)
15922 (resize-mini-window, resize-this-window, resize-root-window)
15923 (resize-root-window-vertically, adjust-window-trailing-edge)
15924 (enlarge-window, shrink-window, maximize-window)
15925 (minimize-window, delete-window, quit-restore-window)
15926 (split-window, balance-windows, balance-windows-area-adjust)
15927 (balance-windows-area, window-state-put-2)
15928 (display-buffer-even-window-sizes, display-buffer-set-height)
15929 (display-buffer-set-width, set-window-text-height)
15930 (fit-window-to-buffer): Rename all "resize-window" prefixed
15931 calls to use the "window-resize" prefix convention.
15932 (display-buffer-alist): Fix symbol for label specifier.
15933 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15934 corresponding specifier.
15935 Reported by Juanma Barranquero <lekktu@gmail.com>.
15936
159372011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15938
15939 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15940 convention.
15941 (ses-call-printer): Does not pass an empty string to formatter when the
15942 cell is empty to keep from barking printer Calc math-format-value.
15943
159442011-06-27 Richard Stallman <rms@gnu.org>
15945
15946 * battery.el (battery-mode-line-limit): New variable.
15947 (battery-update): Handle it.
15948
15949 * mail/rmailmm.el (rmail-mime-process-multipart):
15950 Handle truncated messages.
15951
159522011-06-27 Glenn Morris <rgm@gnu.org>
15953
15954 * progmodes/flymake.el (flymake-err-line-patterns):
15955 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15956
159572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15958
15959 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15960 (ses--clean-!, ses--clean-_): New functions.
15961 (ses-range): Add configurability of readout order, and conversion
15962 to Calc vector.
15963
15964 * ses.el (ses-repair-cell-reference-all): New function.
15965 (ses-cell-symbol): Set macro as safe, so that it can be used in
15966 formulas.
15967
15968 * ses.el: Update cycle detection algorithm.
15969 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15970 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15971 (ses-set-localvars): New function.
15972 (ses-make-cell): Add property-list as a cell element.
15973 (ses-cell-property-get-fun, ses-cell-property-get)
15974 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15975 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15976 New functions.
15977 (ses-cell-property-set, ses-cell-property-pop)
15978 (ses-cell-property-get-handle): New macro.
15979 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15980 New aliases, used for code readability.
15981 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15982 cycle detection.
15983 (ses-self-reference-early-detection): New defcustom.
15984 (ses-formula-references): Robustify against self-referring cells.
15985 (ses-mode): Use ses-set-localvars.
15986 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15987 before lauching the update processing.
15988 (ses-initialize-Dijkstra-attempt): New function.
15989 (ses-recalculate-cell): Update for cycle detection based on
15990 Dijkstra algorithm.
15991
15992 * ses.el: Fix commenting and indenting convention.
15993
159942011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * bs.el (bs-cycle-next): Complete last change.
15997
159982011-06-27 Drew Adams <drew.adams@oracle.com>
15999
16000 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16001
160022011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16003
16004 * net/network-stream.el (network-stream-open-starttls):
16005 Don't re-get capabilities unless we've reestablished connection.
16006 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16007
16008 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16009 to binary to possibly avoid line encoding issues on Windows (among
16010 other things).
16011
160122011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16013
16014 * net/network-stream.el (open-network-stream): Return an :error
16015 saying what the problem was, if possible.
16016
16017 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16018 server.
16019
16020 * net/network-stream.el (network-stream-open-starttls): If we
16021 wanted to use STARTTLS, and the server offered it, but we weren't
16022 able to because we had no STARTTLS support, then close the connection.
16023 (open-network-stream): Return an :error element, if present.
16024
160252011-06-26 Chong Yidong <cyd@stupidchicken.com>
16026
16027 * hl-line.el (hl-line-sticky-flag): Doc fix.
16028 (global-hl-line-sticky-flag): New option (Bug#8323).
16029 (global-hl-line-highlight): Obey it.
16030
16031 * vc/vc.el (vc-revert-show-diff): Default to t.
16032
160332011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16034
16035 * allout-widgets.el (allout-widgets-post-command-business):
16036 Stop decorating intermediate isearch matches. They're not being
16037 undecorated when an isearch is continued past, and isearch
16038 automatically collapses them. This leads to "widget leaks", where
16039 decorated items accumulate in collapsed areas. Lines with lots of
16040 hidden widgets can slow down cursor travel, substantially.
16041 Too much complicated machinery would be needed to ensure undecoration,
16042 so we're doing without this nicety.
16043
16044 (allout-widgets-tally-string): Don't try to do a hash-table-count
16045 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16046 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16047 *Messages* when allout-widgets-maintain-tally is t.
16048
160492011-06-26 Martin Rudalics <rudalics@gmx.at>
16050
16051 * window.el (display-buffer-normalize-argument): Rename to
16052 display-buffer-normalize-arguments. Handle special meaning of
16053 LABEL argument. Respect special-display-function when popping up
16054 a new frame. Fix code searching for a window showing the buffer
16055 on another frame.
16056 (display-buffer-normalize-specifiers):
16057 Call display-buffer-normalize-arguments.
16058 (display-buffer-in-window): Don't undedicate the window if its
16059 buffer remains the same.
16060 Reported by Drew Adams <drew.adams@oracle.com>.
16061 (display-buffer-alist): Add choice for same-window macro
16062 specfier.
16063 (display-buffer): Mention special meaning of LABEL argument in
16064 doc-string. Fix quoting. Don't pop up a new frame even as
16065 fallback.
16066
160672011-06-26 Juanma Barranquero <lekktu@gmail.com>
16068
16069 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16070 avoid deleting the current window in some cases (bug#8911).
16071
160722011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16073
16074 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16075 (Bug#8934)
16076
160772011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16078
16079 * net/network-stream.el (network-stream-open-starttls):
16080 Use built-in TLS support if `gnutls-available-p' is true.
16081 (network-stream-open-tls): Ditto.
16082
160832011-06-26 Leo Liu <sdl.web@gmail.com>
16084
16085 * register.el (registerv): New struct.
16086 (registerv-make): New function.
16087 (jump-to-register, describe-register-1, insert-register):
16088 Support the jump-func, print-func and insert-func slot of a registerv
16089 struct. (Bug#8415)
16090
160912011-06-26 Chong Yidong <cyd@stupidchicken.com>
16092
16093 * vc/vc.el (vc-revert-show-diff): New defcustom.
16094 (vc-diff-internal): New arg specifying diff buffer.
16095 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16096 reuse an existing *vc-diff* buffer (Bug#8927).
16097
16098 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16099
161002011-06-26 Glenn Morris <rgm@gnu.org>
16101
16102 * progmodes/f90.el (f90-critical-indent): New option.
16103 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16104 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16105 (f90-mode): Doc fix.
16106 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16107 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16108 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16109 (f90-match-end): Handle block, critical.
16110
161112011-06-25 Glenn Morris <rgm@gnu.org>
16112
16113 * calendar/diary-lib.el (diary-included-files): Doc fix.
16114 (diary-include-files): New function, extracted from
16115 diary-include-other-diary-files and diary-mark-included-diary-files.
16116 (diary-include-other-diary-files, diary-mark-included-diary-files):
16117 Just call diary-include-files.
16118 (diary-mark-entries): Reset diary-included-files on first call.
16119
16120 * calendar/diary-lib.el (diary-mark-entries)
16121 (diary-mark-included-diary-files):
16122 Visit included diary-files in temp buffers.
16123
16124 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16125 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16126 (f90-start-block-re, f90-imenu-generic-expression)
16127 (f90-looking-at-program-block-start, f90-no-block-limit):
16128 Add support for submodules.
16129
16130 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16131 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16132
161332011-06-25 Eli Zaretskii <eliz@gnu.org>
16134
16135 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16136 buffer-file-type before setting its value, to avoid disastrous
16137 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16138
161392011-06-25 Juanma Barranquero <lekktu@gmail.com>
16140
16141 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16142
16143 * ses.el (ses-unload-function):
16144 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16145
16146 * proced.el (proced-unload-function):
16147 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16148
161492011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16150
16151 * server.el (server-create-window-system-frame): Add parameters arg.
16152 (server-process-filter): Doc fix. Handle frame-parameters.
16153
161542011-06-25 Juanma Barranquero <lekktu@gmail.com>
16155
16156 Fix bug#8730, bug#8781.
16157
16158 * loadhist.el (unload--set-major-mode): New function.
16159 (unload-feature): Use it.
16160
16161 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16162 (python-unload-function): New function.
16163
161642011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16165
16166 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16167
161682011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16169
16170 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16171 the candidates list.
16172
161732011-06-24 Juanma Barranquero <lekktu@gmail.com>
16174
16175 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16176
161772011-06-23 Richard Stallman <rms@gnu.org>
16178
16179 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16180 (rmail-variables): Set next-error-move-function.
16181 (rmail-what-message): Take argument POS.
16182 (rmail-next-error-move): New function.
16183
161842011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16185
16186 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16187 messages for adjacent non-terminals.
16188
161892011-06-23 Richard Stallman <rms@gnu.org>
16190
16191 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16192 (rmail-show-message-1): Preserve buffer modified flag.
16193 (rmail-start-mail): Don't specify use of rmail-mail-return;
16194 that's done by mail-bury now.
16195 (rmail-mail-return): Handle arg NEWBUF.
16196
161972011-06-23 Michael Albinus <michael.albinus@gmx.de>
16198
16199 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16200 SIZE is a number.
16201
162022011-06-23 Martin Rudalics <rudalics@gmx.at>
16203
16204 * window.el (get-lru-window, get-mru-window)
16205 (get-largest-window): Never return a minibuffer window.
16206 (display-buffer-pop-up-window): Fix a bug that could lead to
16207 reusing the minibuffer window.
16208 (display-buffer): Pass original specifier argument to
16209 display-buffer-function instead of the normalized one.
16210 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16211
162122011-06-22 Leo Liu <sdl.web@gmail.com>
16213
16214 * minibuffer.el (completing-read-function)
16215 (completing-read-default): Move from minibuf.c
16216
162172011-06-22 Richard Stallman <rms@gnu.org>
16218
16219 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16220 to Rmail even if not started by a special Rmail command.
16221
16222 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16223 Copy the buffer currently showing just one message.
16224
162252011-06-22 Roland Winkler <winkler@gnu.org>
16226
16227 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16228 (bibtex-clean-entry): First delete the old key so that a
16229 customized algorithm for generating the new key does not get
16230 confused by the old key.
16231 (bibtex-url): Obey regexp of first step.
16232 (bibtex-search-entries): Do not use add-to-list with local
16233 list-var.
16234
162352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16236
16237 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16238 stored a user name, then query for the password first, instead of
16239 waiting for SMTP to give an error message and the trying again.
16240
162412011-06-22 Lawrence Mitchell <wence@gmx.li>
16242
16243 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16244 BUFFER in call-process.
16245
162462011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16247
16248 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16249 QUIT twice.
16250 (smtpmail-try-auth-methods): Require user name and password from
16251 auth-source.
16252
162532011-06-22 Martin Rudalics <rudalics@gmx.at>
16254
16255 * window.el (display-buffer-default-specifiers)
16256 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16257 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16258 (split-window): Normalize SIDE argument (Bug#8916).
16259
16260 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16261 (special-display-frame-alist, special-display-popup-frame):
16262 Remove duplicate declarations. These are now in window.el.
16263
162642011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16265
16266 * mail/smtpmail.el (smtpmail-via-smtp):
16267 Set :use-starttls-if-possible so that we always use STARTTLS if the
16268 server supports it. SMTP servers that support STARTTLS commonly
16269 require it.
16270
16271 * net/network-stream.el (network-stream-open-starttls): Support
16272 upgrading to STARTTLS always, even if we don't have built-in support.
16273 (open-network-stream): Add the :always-query-capabilities keyword.
16274
16275 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16276 upgrades with `open-network-stream', and rely solely on
16277 auth-source for all credentials. Big changes throughout the file,
16278 but in particular:
16279 (smtpmail-auth-credentials): Remove.
16280 (smtpmail-starttls-credentials): Remove.
16281 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16282 MAIL FROM, too.
16283
16284 * net/network-stream.el (network-stream-open-starttls):
16285 Provide support for client certificates both for external and built-in
16286 STARTTLS.
16287 (auth-source): Require.
16288 (open-network-stream): Document the :client-certificate keyword.
16289 (network-stream-certificate): Change cert-cert to cert and
16290 cert-key to key.
16291
162922011-06-21 Michael Albinus <michael.albinus@gmx.de>
16293
16294 * net/tramp-cache.el (top): Don't load the persistency file when
16295 "emacs -Q" has been called.
16296
162972011-06-21 Tim Harper <timcharper@gmail.com>
16298
16299 * term/ns-win.el (ns-initialize-window-system):
16300 Set application-specific `ApplePressAndHoldEnabled' system
16301 resource to NO as it is not yet supported by the NS port.
16302
163032011-06-21 Juanma Barranquero <lekktu@gmail.com>
16304
16305 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16306 (list-dynamic-libraries): ...not here.
16307
163082011-06-21 Leo Liu <sdl.web@gmail.com>
16309
16310 * subr.el (sha1): Implement sha1 using secure-hash.
16311
163122011-06-21 Martin Rudalics <rudalics@gmx.at>
16313
16314 * window.el (display-buffer-alist): In default value do not
16315 enforce searching a window on any but the selected frame.
16316 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16317 (display-buffer-select-window): Remove function.
16318 (display-buffer-in-window): When a window on another frame gets
16319 reused, do not select it any more but just raise its frame if
16320 necessary (Bug#8851) and (Bug#8856).
16321 (display-buffer-normalize-options): Handle pop-up-frames related
16322 options more faithfully.
16323 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16324 window if it is on another frame.
16325 (display-buffer-alist, display-buffer-default-specifiers):
16326 Don't make new frame unsplittable by default.
16327 (display-buffer-normalize-argument): Fix doc-string typo and use
16328 'same-frame-other-window instead of 'other-window when associating
16329 with display-buffer-macro-specifiers.
16330
163312011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16332
16333 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16334 New functions.
16335 (5x5-mode-map, 5x5-mode-menu): Bind them.
16336 (5x5-draw-grid): Tweak the solver's rendering.
16337
163382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16339
16340 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16341 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16342
163432011-06-21 Drew Adams <drew.adams@oracle.com>
16344
16345 * menu-bar.el: Use function variable instead of switch-to-buffer.
16346 (menu-bar-select-buffer-function): New variable.
16347 (menu-bar-update-buffers): Use it (bug#8876).
16348
163492011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16350
16351 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16352 variable's status.
16353
163542011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16355
16356 * x-dnd.el (x-dnd-version-from-flags)
16357 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16358 and long as number (Bug#8899).
16359 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16360
163612011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16362
16363 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16364 (completion-try-completion, completion-all-completions): Compute the
16365 metadata argument if it's missing; make it optional (bug#8795).
16366
16367 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16368 (widget-complete): Use new :completion-function property.
16369 (widget-completions-at-point): New function.
16370 (default): Use :completion-function instead of :complete.
16371 (widget-default-completions): Rename from widget-default-complete;
16372 Rewrite.
16373 (widget-string-complete, widget-file-complete, widget-color-complete):
16374 Remove functions.
16375 (file, symbol, function, variable, coding-system, color):
16376 * international/mule-cmds.el (default-input-method, charset)
16377 (language-info-custom-alist):
16378 * cus-edit.el (face): Use new property :completions.
16379
16380 * progmodes/pascal.el (pascal-completions-at-point): New function.
16381 (pascal-mode): Use it.
16382 (pascal-mode-map): Use completion-at-point.
16383 (pascal-toggle-completions): Make obsolete.
16384 (pascal-complete-word, pascal-show-completions):
16385 * progmodes/octave-mod.el (octave-complete-symbol):
16386 Redefine as obsolete alias.
16387 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16388 Signal absence of completion info for old Octave,
16389 (inferior-octave-complete): Redefine as obsolete alias.
16390 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16391 (meta-completions-at-point): Rename from meta-complete-symbol and
16392 adapt it for use on completion-at-point-functions.
16393 (meta-common-mode): Use it.
16394 (meta-looking-at-backward, meta-match-buffer): Remove.
16395 (meta-complete-symbol): Redefine as obsolete alias.
16396 (meta-common-mode-map): Use completion-at-point.
16397 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16398 (makefile-mode-map): Use completion-at-point.
16399 (makefile-completions-at-point): Rename from makefile-complete and
16400 adapt it for use on completion-at-point-functions.
16401 (makefile-mode): Use it.
16402 (makefile-complete): Redefine as obsolete alias.
16403
164042011-06-20 Deniz Dogan <deniz@dogan.se>
16405
16406 * net/rcirc.el: Delete trailing whitespaces once and for all.
16407
164082011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16409
16410 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16411
164122011-06-19 Chong Yidong <cyd@stupidchicken.com>
16413
16414 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16415
16416 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16417
164182011-06-19 Martin Rudalics <rudalics@gmx.at>
16419
16420 * window.el (display-buffer-other-window-means-other-frame):
16421 Call display-buffer-normalize-alist.
16422 (display-buffer-normalize-specifiers-1): Rename to
16423 display-buffer-normalize-argument. New argument other-frame.
16424 Rewrite.
16425 (display-buffer-normalize-specifiers-2): Rename to
16426 display-buffer-normalize-options.
16427 (display-buffer-normalize-alist-1): New function.
16428 (display-buffer-normalize-specifiers-3): Rename to
16429 display-buffer-normalize-alist.
16430 Call display-buffer-normalize-alist-1.
16431 (display-buffer-normalize-options-inhibit): New variable.
16432 (display-buffer-normalize-specifiers): Rewrite calling
16433 display-buffer-normalize-alist,
16434 display-buffer-normalize-argument, and
16435 display-buffer-normalize-options. Don't call the latter if
16436 display-buffer-normalize-options-inhibit is non-nil.
16437 (frame-auto-delete): New option.
16438 (window-deletable-p): Use frame-auto-delete.
16439 (window-list-no-nils, window-state-ignored-parameters)
16440 (window-state-get-1, window-state-get, window-state-put-list)
16441 (window-state-put-1, window-state-put-2, window-state-put):
16442 New functions.
16443 (display-buffer-normalize-options): Move special-display-p group
16444 after pop-up-frame group (Bug#8851) and (Bug#8856).
16445
164462011-06-18 Chong Yidong <cyd@stupidchicken.com>
16447
16448 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16449 groups (Bug#8776).
16450 (rx-submatch-n): New function.
16451 (rx): Document it.
16452
16453 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16454 (Bug#8768).
16455
16456 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16457
16458 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16459
16460 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16461 anytime existing face settings are present (Bug#8889).
16462
16463 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16464 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16465 Remove unused argument.
16466
164672011-06-18 Martin Rudalics <rudalics@gmx.at>
16468
16469 * window.el (display-buffer-default-specifiers):
16470 Remove pop-up-frame. Add pop-up-window-min-height,
16471 pop-up-window-min-width, and another reuse-window specifier
16472 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16473 (display-buffer-normalize-specifiers-2):
16474 Handle split-height-threshold and split-width-threshold also when
16475 pop-up-windows is unset. Add a reuse-window specifier for the
16476 case popping up a new window fails.
16477 (special-display-popup-frame): Remove double quoting.
16478 (display-buffer-normalize-specifiers-1): Fix thinko.
16479
164802011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16481
16482 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16483 according to comint-completion-addsuffix.
16484
16485 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16486 (pcomplete-suffix-list): Mark as obsolete.
16487 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16488 pcomplete-seen in the closure.
16489 (pcomplete-comint-setup): Setup completion-at-point as well.
16490 (pcomplete--entries): New function.
16491 (pcomplete--env-regexp): New var.
16492 (pcomplete-entries): Rewrite to work with partial-completion and
16493 without relying on pcomplete-suffix-list.
16494 (pcomplete-pare-list): Remove, unused.
16495
164962011-06-17 Martin Rudalics <rudalics@gmx.at>
16497
16498 * window.el (display-buffer-alist): Set pop-up-window-min-height
16499 and pop-up-window-min-width in default value. Reported by
16500 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16501 other-window-means-other-frame.
16502 (display-buffer-macro-specifiers): Comment out entry for
16503 other-window specifier.
16504 (display-buffer-other-window-means-other-frame): New function.
16505 (display-buffer-normalize-specifiers-1): New arguments
16506 buffer-name and label. Treat other-window case specially.
16507 (display-buffer-normalize-specifiers-2): Treat other-window case
16508 specially.
16509 (display-buffer-normalize-specifiers-3): New function.
16510 (display-buffer-normalize-specifiers):
16511 Call display-buffer-normalize-specifiers-3.
16512
165132011-06-17 Martin Rudalics <rudalics@gmx.at>
16514
16515 * window.el (same-window-p): Fix two typos introduced when
16516 adding with-no-warnings.
16517 (display-buffer-normalize-specifiers-1): Don't check
16518 pop-up-frames for 'unset initialization.
16519 (display-buffer-normalize-specifiers-2): Major rewrite using
16520 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16521 (pop-up-frames, display-buffer-reuse-frames)
16522 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16523 Suggested by David Engster <deng@randomsample.de>.
16524 (even-window-heights): Initialize to 'unset.
16525 (display-buffer-alist-set): Handle new 'unset initializations.
16526 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16527 other window case.
16528
165292011-06-16 Martin Rudalics <rudalics@gmx.at>
16530
16531 * window.el (display-buffer-normalize-specifiers-1):
16532 Respect current value of pop-up-frames for most reasonable values of
16533 second argument of display-buffer (Bug#8865).
16534 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16535 (switch-to-buffer-other-window-same-frame)
16536 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16537 Adams (Bug#8875).
16538 (display-buffer): Don't check noninteractive when calling
16539 display-buffer-pop-up-frame.
16540 (display-buffer-pop-up-frame): Never pop up a frame in
16541 noninteractive mode (Bug#8857).
16542 (enlarge-window, shrink-window): Don't report an error when the
16543 window can't be resized as requested (Bug#8862).
16544
165452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16548
16549 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16550
16551 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16552
165532011-06-15 Alan Mackenzie <acm@muc.de>
16554
16555 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16556 for declarators, disable knr checking to speed up for normal files.
16557 2: Refactor, replacing a sequence of nested if forms by a cond form.
16558
165592011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16560
16561 * net/network-stream.el (open-network-stream): Add the keyword
16562 :always-query-capabilities for the case where you want to force a
16563 `plain' network connection, but the protocol still requires the
16564 capabilitiy command (i.e., SMTP and EHLO).
16565
16566 * subr.el (process-live-p): Rename from `process-alive-p' for
16567 consistency with other `-live-p' functions.
16568
165692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * window.el (same-window-buffer-names, same-window-regexps)
16572 (special-display-frame-alist, special-display-popup-frame)
16573 (special-display-function, special-display-buffer-names)
16574 (special-display-regexps, pop-up-frame-alist)
16575 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16576 (pop-up-windows, split-window-preferred-function)
16577 (split-height-threshold, split-width-threshold, even-window-heights)
16578 (display-buffer-mark-dedicated): Don't encourage the use of
16579 display-buffer-alist from Elisp code.
16580
165812011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16582
16583 * progmodes/python.el (python-mode): Derive from prog-mode.
16584 * progmodes/ps-mode.el (ps-mode):
16585 * progmodes/mixal-mode.el (mixal-mode):
16586 * progmodes/cfengine.el (cfengine-mode):
16587 * progmodes/ld-script.el (ld-script-mode): Likewise.
16588
165892011-06-15 Martin Rudalics <rudalics@gmx.at>
16590
16591 * window.el (display-buffer-alist): Trim default value to avoid
16592 popping up a new frame (Bug#8857) or reusing an arbitrary window
16593 on another frame.
16594 (display-buffer): Do not fall back on popping up a new frame in
16595 batch mode (Bug#8857).
16596
165972011-06-14 Chong Yidong <cyd@stupidchicken.com>
16598
16599 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16600 (custom-theme-summary): New function.
16601 (customize-themes): Use it.
16602
166032011-06-13 Glenn Morris <rgm@gnu.org>
16604
16605 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16606
166072011-06-13 Martin Rudalics <rudalics@gmx.at>
16608
16609 * help.el (help-window): Remove variable.
16610 (help-window-point-marker, temp-buffer-max-height)
16611 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16612 (help-print-return-message): Don't set help-window.
16613 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16614 (help-window-setup-finish): Remove.
16615 (help-window-display-message, help-window-setup)
16616 (with-help-window): Major rewrite based on new
16617 display-buffer-window variable.
16618
16619 * help-mode.el (help-mode-finish): Remove help-window related
16620 code.
16621
16622 * view.el (view-exits-all-viewing-windows): Remove reference to
16623 view-return-to-alist in doc-string.
16624 (view-return-to-alist): Make obsolete.
16625 (view-buffer): Call pop-to-buffer-same-window and remove
16626 undo-window code.
16627 (view-buffer-other-window): Call pop-to-buffer-other-window and
16628 simplify code. Ignore second argument.
16629 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16630 simplify code. Ignore second argument.
16631 (view-return-to-alist-update): Make obsolete.
16632 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16633 Rewrite using quit-restore window parameters.
16634 (view-mode-exit): Rename second argument to EXIT-ONLY.
16635 Rewrite using quit-restore-window.
16636 (View-exit, View-exit-and-edit, View-leave, View-quit)
16637 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16638 appropriate arguments.
16639 (view-end-message): Use quit-restore window parameter.
16640
16641 * window.el (display-buffer-function): Rewrite doc-string.
16642 (display-buffer-window, display-buffer-alist): New variables.
16643 (display-buffer-split-specifiers)
16644 (display-buffer-side-specifiers)
16645 (display-buffer-macro-specifiers): New constants.
16646 (display-buffer-even-window-sizes, display-buffer-set-height)
16647 (display-buffer-set-width, display-buffer-select-window)
16648 (display-buffer-in-window, display-buffer-reuse-window)
16649 (display-buffer-split-window-1, display-buffer-split-window)
16650 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16651 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16652 (display-buffer-in-side-window, normalize-buffer-to-display)
16653 (display-buffer-normalize-specifiers-1)
16654 (display-buffer-normalize-specifiers-2)
16655 (display-buffer-normalize-specifiers, display-buffer-frame):
16656 New functions.
16657 (display-buffer): Major rewrite.
16658 (display-buffer-other-window, display-buffer-other-frame)
16659 (pop-to-buffer, switch-to-buffer-other-window)
16660 (switch-to-buffer-other-frame): Rewrite.
16661 (display-buffer-same-window, display-buffer-same-frame)
16662 (display-buffer-same-frame-other-window)
16663 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16664 (pop-to-buffer-other-window)
16665 (pop-to-buffer-same-frame-other-window)
16666 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16667 (switch-to-buffer-other-window-same-frame): New functions.
16668 (same-window-p, special-display-p): Rewrite disabling warnings.
16669 Make obsolete.
16670 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16671 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16672 Make obsolete
16673 (same-window-buffer-names, same-window-regexps)
16674 (special-display-frame-alist, special-display-popup-frame)
16675 (special-display-function, special-display-buffer-names)
16676 (special-display-regexps, pop-up-frame-alist)
16677 (pop-up-frame-function, split-window-preferred-function)
16678 (split-height-threshold, split-width-threshold)
16679 (even-window-heights): Make obsolete.
16680
166812011-06-12 Glenn Morris <rgm@gnu.org>
16682
16683 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16684 Misc simplifications.
16685
166862011-06-12 Martin Rudalics <rudalics@gmx.at>
16687
16688 * window.el (window-safely-shrinkable-p): Restore function which
16689 was inadvertently removed in change from 2011-06-11. Declare as
16690 obsolete.
16691
16692 * calendar/calendar.el (calendar-generate-window):
16693 Use window-iso-combined-p instead of combination of one-window-p and
16694 window-safely-shrinkable-p.
16695
166962011-06-12 Glenn Morris <rgm@gnu.org>
16697
16698 * progmodes/fortran.el (fortran-mode-syntax-table):
16699 * progmodes/f90.el (f90-mode-syntax-table):
16700 Set % to punctuation. (Bug#8820)
16701 (f90-find-tag-default): Remove, no longer needed.
16702
167032011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16704
16705 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16706
167072011-06-11 Chong Yidong <cyd@stupidchicken.com>
16708
16709 * image.el (image-animated-p): Return animation delay in seconds.
16710 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16711 (image-animate-timeout): Remove DELAY argument. Don't assume
16712 every subimage has the same delay; get it from image-animated-p.
16713 (image-animate): Caller changed.
16714
167152011-06-11 Michael Albinus <michael.albinus@gmx.de>
16716
16717 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16718 to ignored backtrace functions.
16719
167202011-06-11 Glenn Morris <rgm@gnu.org>
16721
16722 * calendar/appt.el (appt-disp-window-function): Doc fix.
16723 (appt-check): Handle overlapping appointments. (Bug#8337)
16724
167252011-06-11 Martin Rudalics <rudalics@gmx.at>
16726
16727 * window.el (window-tree-1, window-tree): New functions, moving
16728 the latter to window.el.
16729 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16730 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16731 (bw-refresh-edges): Remove.
16732 (balance-windows-1, balance-windows-2): New functions.
16733 (balance-windows): Rewrite in terms of window tree functions,
16734 balance-windows-1 and balance-windows-2.
16735 (bw-adjust-window): Remove.
16736 (balance-windows-area-adjust): New function with functionality of
16737 bw-adjust-window but using resize-window.
16738 (set-window-text-height): Rewrite doc-string.
16739 Use normalize-live-window and resize-window.
16740 (enlarge-window-horizontally, shrink-window-horizontally):
16741 Rename argument to DELTA.
16742 (window-buffer-height): New function.
16743 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16744 Rewrite using new window resize routines.
16745 (kill-buffer-and-window, mouse-autoselect-window-select):
16746 Use ignore-errors instead of condition-case.
16747 (quit-window): Call delete-frame instead of delete-windows-on
16748 for the only buffer on frame.
16749
167502011-06-10 Martin Rudalics <rudalics@gmx.at>
16751
16752 * loadup.el (top-level): Load window before files for the sake
16753 of replace-buffer-in-windows.
16754
16755 * files.el (read-buffer-to-switch)
16756 (switch-to-buffer-other-window)
16757 (switch-to-buffer-other-frame, display-buffer-other-frame):
16758 Move to window.el.
16759
16760 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16761 (previous-buffer): Move to window.el.
16762
16763 * bindings.el (unbury-buffer): Move to window.el.
16764
16765 * window.el (delete-other-windows-vertically): Move after
16766 definition of delete-other-windows.
16767 (other-window, delete-windows-on, replace-buffer-in-windows):
16768 Move here from window.c.
16769 (record-window-buffer, unrecord-window-buffer)
16770 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16771 (switch-to-next-buffer): New functions.
16772 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16773 from simple.el. Call switch-to-next-buffer.
16774 (previous-buffer): Move here from simple.el.
16775 Call switch-to-prev-buffer.
16776 (bury-buffer): Move here from buffer.c. Switch to previous
16777 buffer when window cannot be deleted.
16778 (unbury-buffer): Move here from bindings.el.
16779 (ctl-x-map): Move binding for other-window from window.c to
16780 here.
16781 (read-buffer-to-switch, switch-to-buffer-other-window)
16782 (switch-to-buffer-other-frame): Move here from files.el.
16783 (normalize-buffer-to-switch-to): New functions.
16784 (switch-to-buffer): Move here from buffer.c.
16785 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16786
167872011-06-10 Martin Rudalics <rudalics@gmx.at>
16788
16789 * window.el (window-min-height, window-min-width): Move here
16790 from window.c. Add defcustoms and rewrite doc-strings.
16791 (resize-mini-window, resize-window): New functions.
16792 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16793 Move here from window.c.
16794 (maximize-window, minimize-window): New functions.
16795 (delete-window, delete-other-windows, split-window): Move here
16796 from window.c.
16797 (window-split-min-size): New function.
16798 (split-window-keep-point): Mention split-window-above-each-other
16799 instead of split-window-vertically.
16800 (split-window-above-each-other, split-window-vertically):
16801 Rename split-window-vertically to split-window-above-each-other
16802 and provide defalias for old definition.
16803 (split-window-side-by-side, split-window-horizontally):
16804 Rename split-window-horizontally to split-window-side-by-side
16805 and provide defalias for the old definition.
16806 (ctl-x-map): Move bindings for delete-window,
16807 delete-other-windows and enlarge-window here from window.c.
16808 Replace bindings for split-window-vertically and
16809 split-window-horizontally by bindings for
16810 split-window-above-each-other and split-window-side-by-side.
16811
16812 * cus-start.el (all): Remove entries for window-min-height and
16813 window-min-width. Add entries for window-splits and
16814 window-nest.
16815
168162011-06-09 Glenn Morris <rgm@gnu.org>
16817
16818 * calendar/appt.el (appt-mode-line): New function.
16819 (appt-check, appt-disp-window): Use it.
16820
16821 * files.el (hack-one-local-variable-eval-safep):
16822 Allow minor-modes with explicit +/-1 arguments.
16823
168242011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16825
16826 * term/xterm.el (xterm): Add defgroup.
16827 (xterm-extra-capabilities): Add defcustom to supply known xterm
16828 capabilities, skip querying them, or query them (default).
16829 (terminal-init-xterm): Use it.
16830 (terminal-init-xterm-modify-other-keys): New function to set up
16831 modifyOtherKeys support to simplify `terminal-init-xterm'.
16832
168332011-06-09 Martin Rudalics <rudalics@gmx.at>
16834
16835 * window.el (resize-window-reset, resize-window-reset-1)
16836 (resize-subwindows-skip-p, resize-subwindows-normal)
16837 (resize-subwindows, resize-other-windows, resize-this-window)
16838 (resize-root-window, resize-root-window-vertically)
16839 (window-deletable-p, window-or-subwindow-p)
16840 (frame-root-window-p): New functions.
16841
168422011-06-09 Glenn Morris <rgm@gnu.org>
16843
16844 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16845 (ange-ftp-get-files): Use it.
16846
168472011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16848
16849 * mail/sendmail.el (mail-recover-1, mail-recover):
16850 * files.el (recover-file, recover-session):
16851 Handle dired-listing-switches not being just a single short option.
16852
168532011-06-09 Glenn Morris <rgm@gnu.org>
16854
16855 * calendar/appt.el (appt-display-message, appt-disp-window):
16856 Handle lists of appointments.
16857
168582011-06-08 Martin Rudalics <rudalics@gmx.at>
16859
16860 * window.el (one-window-p): Move down in code.
16861 Rewrite doc-string.
16862 (window-current-scroll-bars): Rewrite doc-string.
16863 Normalize live window argument.
16864 (walk-windows, get-window-with-predicate, count-windows):
16865 Rewrite doc-string. Use window-list-1.
16866 (window-in-direction-2, window-in-direction, get-mru-window):
16867 New functions.
16868
168692011-06-08 Reuben Thomas <rrt@sc3d.org>
16870
16871 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16872 Doc fix (Bug#8713).
16873
168742011-06-08 Chong Yidong <cyd@stupidchicken.com>
16875
16876 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16877
168782011-06-08 Juanma Barranquero <lekktu@gmail.com>
16879
16880 * loadhist.el (unload-feature-special-hooks):
16881 Add `comint-output-filter-functions'.
16882
168832011-06-08 Ivan Kanis <gnu@kanis.fr>
16884
16885 * calendar/appt.el (appt-check): Move some initializations into the let.
16886
168872011-06-08 Martin Rudalics <rudalics@gmx.at>
16888
16889 * window.el (window-height): Defalias to window-total-height.
16890 (window-width): Defalias to window-body-width.
16891
168922011-06-07 Chong Yidong <cyd@stupidchicken.com>
16893
16894 * image-mode.el (image-toggle-animation): New command.
16895 (image-mode-map): Bind it to RET.
16896 (image-mode): Update message.
16897 (image-toggle-display-image): Avoid a spurious cache flush.
16898 (image-transform-rotation): Doc fix.
16899 (image-transform-properties): Return quickly in the normal case.
16900 (image-animate-loop): Rename from image-animate-max-time.
16901
16902 * image.el (image-animate-max-time): Move to image-mode.el.
16903 (create-animated-image): Remove unnecessary function.
16904 (image-animate): Rename from image-animate-start. New arg.
16905 (image-animate-stop): Remove; just use image-animate-timer.
16906 (image-animate-timer): Use car-safe.
16907 (image-animate-timeout): Rename argument.
16908
169092011-06-07 Martin Rudalics <rudalics@gmx.at>
16910
16911 * window.el (get-lru-window, get-largest-window): Move here from
16912 window.c. Rename first argument to ALL-FRAMES.
16913 Rephrase doc-strings.
16914 (get-buffer-window-list): Rewrite using window-list-1.
16915 Rephrase doc-string.
16916 (window-safe-min-height, window-safe-min-width): New constants.
16917 (window-size-ignore, window-min-size, window-min-size-1)
16918 (window-sizable, window-sizable-p, window-size-fixed-1)
16919 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16920 (window-max-delta-1, window-max-delta, window-resizable)
16921 (window-resizable-p, window-total-height, window-total-width)
16922 (window-body-width): New functions.
16923 (window-full-height-p, window-full-width-p): Rewrite using
16924 window-total-size.
16925 (window-body-height): Rewrite using window-body-size.
16926
169272011-06-06 Martin Rudalics <rudalics@gmx.at>
16928
16929 * window.el (window-right, window-left, window-child)
16930 (window-child-count, window-last-child, window-any-p)
16931 (normalize-live-buffer, normalize-live-frame)
16932 (normalize-any-window, normalize-live-window)
16933 (window-iso-combination-p, window-iso-combined-p)
16934 (window-iso-combinations)
16935 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16936 (windows-with-parameter, window-with-parameter)
16937 (window-atom-root, make-window-atom, window-atom-check-1)
16938 (window-atom-check, window-side-check, window-check):
16939 New functions.
16940 (ignore-window-parameters, window-sides, window-sides-vertical)
16941 (window-sides-slots): New variables.
16942 (window-size-fixed): Move down in code. Minor doc-string fix.
16943
169442011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16945
16946 * comint.el (comint-dynamic-complete-as-filename)
16947 (comint-dynamic-complete-filename): Correctly call
16948 completion-in-region.
16949
169502011-06-05 Deniz Dogan <deniz@dogan.se>
16951
16952 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16953 in last change.
16954
169552011-06-05 Deniz Dogan <deniz@dogan.se>
16956
16957 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16958 (rcirc): Use it to prompt for encryption.
16959
169602011-06-05 Roland Winkler <winkler@gnu.org>
16961
16962 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16963 (bibtex-search-entries): New command bound to C-c C-a.
16964 (bibtex-display-entries): New function.
16965
169662011-06-05 Roland Winkler <winkler@gnu.org>
16967
16968 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16969 (bibtex-insert-kill): After yanking insert newline if necessary.
16970 (bibtex-initialize): Call bibtex-string-files-init only once.
16971 (bibtex-mode): Do not call easy-menu-add.
16972 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16973 (bibtex-yank): Set arg properly if nil.
16974
169752011-06-05 Roland Winkler <winkler@gnu.org>
16976
16977 * textmodes/bibtex.el (bibtex-search-entry-globally):
16978 New variable.
16979 (bibtex-search-entry): Use it.
16980
169812011-06-05 Roland Winkler <winkler@gnu.org>
16982
16983 * textmodes/bibtex.el (bibtex-entry-format): New option
16984 sort-fields.
16985 (bibtex-format-entry, bibtex-reformat): Honor this option.
16986 (bibtex-parse-entry): Return fields in proper order.
16987
169882011-06-05 Juanma Barranquero <lekktu@gmail.com>
16989
16990 * doc-view.el (doc-view-remove-if): Move computation of result out
16991 of `dolist' to silence misleading lexical-binding warning.
16992
169932011-06-04 Chong Yidong <cyd@stupidchicken.com>
16994
16995 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16996 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16997
169982011-06-04 Michael Albinus <michael.albinus@gmx.de>
16999
17000 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17001 "SunOS 5.10".
17002
170032011-06-04 Michael Albinus <michael.albinus@gmx.de>
17004
17005 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17006 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17007 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17008 (tramp-parse-putty):
17009 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17010 (tramp-completion-function-alist-ssh)
17011 (tramp-completion-function-alist-telnet)
17012 (tramp-completion-function-alist-su)
17013 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17014 cookie.
17015
17016 * net/tramp-ftp.el:
17017 * net/tramp-sh.el:
17018 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17019 load "tramp.el" `tramp-set-completion-function'.
17020
170212011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17022
17023 * shell.el: Require and use pcomplete.
17024 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17025 (shell-completion-vars): Set pcomplete-default-completion-function.
17026
170272011-06-04 Deniz Dogan <deniz@dogan.se>
17028
17029 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17030 `memq' (Bug#8799).
17031
170322011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17033
17034 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17035
170362011-06-02 Juanma Barranquero <lekktu@gmail.com>
17037
17038 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17039 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17040 * vc/log-view.el (log-view-beginning-of-defun):
17041 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17042 (smerge-refine-forward, smerge-refine-chopup-region):
17043 Silence warning for unused `dotimes' counter variables.
17044
170452011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17046
17047 * net/tramp.el (tramp-with-progress-reporter): Rename from
17048 with-progress-reporter. Use `declare'.
17049 * net/tramp-smb.el:
17050 * net/tramp-sh.el:
17051 * net/tramp-gvfs.el: Update all uses.
17052
170532011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17054
17055 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17056 buffer isn't killed before making it current.
17057
170582011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17059
17060 Silence various byte-compiler warnings.
17061 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17062 `access-type' and new obsolescence format.
17063 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17064 new format.
17065 (byte-compile-check-variable): New `access-type' argument.
17066 Only warn if the access-type is obsolete.
17067 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17068 (byte-compile-variable-set): Adjust callers.
17069 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17070 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17071 setting it as obsolete.
17072 * simple.el (minibuffer-completing-symbol):
17073 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17074 access as obsolete.
17075 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17076 obsolete yet.
17077 * international/quail.el (quail-mouse-choose-completion): Remove unused
17078 code referring to obsolete var.
17079 (quail-choose-completion-string): Remove.
17080 * server.el (server-clients-with, server-kill-buffer-query-function)
17081 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17082 * proced.el (proced-send-signal):
17083 * emacs-lisp/lisp.el (lisp-complete-symbol):
17084 Replace completion-annotate-function with completion-extra-properties.
17085
170862011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * simple.el (goto-line): Use read-number.
17089 (overriding-map-is-bound): Remove.
17090 (saved-overriding-map): Change default.
17091 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17092 Take the map as argument.
17093 (universal-argument, negative-argument, digit-argument): Use it.
17094 (restore-overriding-map): Adjust.
17095 (do-auto-fill): Use fill-forward-paragraph.
17096 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17097
17098 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17099 (minibuffer-inactive-mode): New major mode.
17100 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17101 the *Messages* buffer" hack.
17102 (mouse-popup-menubar): Don't burp if the event is a normal key.
17103
17104 Miscellaneous tweaks.
17105 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17106 lexical scoping as in subr.el's dolist and dotimes.
17107 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17108 Silence compiler warning.
17109 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17110 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17111 * international/ccl.el (ccl-compile): Trivial simplification.
17112 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17113 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17114 `printflag' argument.
17115 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17116 Purecopy the whole obsolescence data.
17117
171182011-06-01 Leo Liu <sdl.web@gmail.com>
17119
17120 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17121 improve doc-string as suggested by Marco Pessotto
17122 <melmothx@gmail.com>.
17123 (rcirc-print): Fix last change.
17124
171252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17126
17127 * minibuffer.el (complete-with-action): Return nil for the metadata and
17128 boundaries of non-functional tables.
17129 (completion-table-dynamic): Return nil for the metadata.
17130 (completion-table-with-terminator): Add default case, using
17131 complete-with-action.
17132 (completion--metadata): New function.
17133 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17134 to try and avoid pathological performance problems.
17135 (completion--embedded-envvar-table): Return `category' metadata.
17136
171372011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17138
17139 * subr.el (process-alive-p): New tiny convenience function.
17140
171412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17142
17143 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17144 content but also its previous major mode.
17145
171462011-05-31 Helmut Eller <eller.helmut@gmail.com>
17147
17148 * emacs-lisp/debug.el (debug): Restore the previous content of the
17149 *Backtrace* buffer when we exit with C-M-c.
17150
171512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * minibuffer.el: Add metadata method to completion tables.
17154 (completion-category-overrides): New defcustom.
17155 (completion-metadata, completion--field-metadata)
17156 (completion-metadata-get, completion--styles)
17157 (completion--cycle-threshold): New functions.
17158 (completion-try-completion, completion-all-completions):
17159 Add `metadata' argument to choose completion-styles.
17160 (completion--do-completion): Use metadata to choose cycling.
17161 (completion-all-sorted-completions): Use metadata for sorting.
17162 Remove :completion-cycle-penalty which is not needed any more.
17163 (completion--try-word-completion): Add `metadata' argument.
17164 (minibuffer-completion-help): Check metadata for annotation function
17165 and sorting.
17166 (completion-file-name-table): Return `category' metadata.
17167 (minibuffer-completing-file-name): Make obsolete.
17168 * simple.el (minibuffer-completing-symbol): Make obsolete.
17169 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17170 completion-try-completion.
17171
171722011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17173
17174 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17175
171762011-05-30 Leo Liu <sdl.web@gmail.com>
17177
17178 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17179 (rcirc-print): Decode all incoming messages (bug#8744).
17180 (rcirc-decode-coding-system): Allow value nil for automatic coding
17181 system detection.
17182
171832011-06-01 Glenn Morris <rgm@gnu.org>
17184
17185 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17186
171872011-05-29 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * image.el (image-animate-max-time): Allow nil and t values.
17190 Default to nil.
17191 (create-animated-image): Doc fix.
17192 (image-animate-start): Remove second arg; just use
17193 image-animate-max-time.
17194 (image-animate-timeout): Doc fix. Args changed.
17195
17196 * image-mode.el (image-toggle-display-image): Ensure that the
17197 image spec passed to the animate timer is the same object as in
17198 the buffer's display property (Bug#6981).
17199 (image-transform-properties): Doc fix.
17200
17201 * image.el (image-animate-max-time): Default to nil.
17202
172032011-05-29 Martin Rudalics <rudalics@gmx.at>
17204
17205 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17206 entire buffer list (Bug#8184).
17207
172082011-05-29 Chong Yidong <cyd@stupidchicken.com>
17209
17210 * image.el (imagemagick-types-inhibit)
17211 (imagemagick-register-types): Doc fix.
17212
172132011-05-29 Deniz Dogan <deniz@dogan.se>
17214
17215 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17216 default.
17217
172182011-05-29 Chong Yidong <cyd@stupidchicken.com>
17219
17220 * select.el: Don't perform clipboard-manager saving in hooks;
17221 leave the hooks empty.
17222
172232011-05-28 Leo Liu <sdl.web@gmail.com>
17224
17225 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17226 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17227 (occur-edit-mode): New major mode (Bug#8463).
17228 (occur-after-change-function): New function.
17229 (occur-engine): Give Occur tags a read-only property.
17230
172312011-05-28 Kevin Ryde <user42@zip.com.au>
17232
17233 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17234
172352011-05-28 Chong Yidong <cyd@stupidchicken.com>
17236
17237 * bindings.el (help-echo): Make the initial non-indicator dash
17238 empty on graphical terminals (Bug#7295).
17239
17240 * files.el (auto-mode-alist): Move config rule after the
17241 in-stripping one (Bug#8547).
17242
17243 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17244
17245 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17246 setting (Bug#8740).
17247
172482011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17249
17250 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17251 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17252 (Bug#8539).
17253
172542011-05-28 Chong Yidong <cyd@stupidchicken.com>
17255
17256 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17257
172582011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17259
17260 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17261 (hs-hide-block-at-point, hs-find-block-beginning)
17262 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17263 (Bug#8279).
17264
172652011-05-28 Glenn Morris <rgm@gnu.org>
17266
17267 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17268
172692011-05-28 Chong Yidong <cyd@stupidchicken.com>
17270
17271 * help-fns.el (describe-function-1): If the function is a derived
17272 major mode, print the parent mode.
17273
17274 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17275 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17276
172772011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17278
17279 * minibuffer.el (completion--capf-wrapper): Check applicability before
17280 returning non-nil for non-exclusive completion data.
17281 * progmodes/etags.el (tags-completion-at-point-function):
17282 * info-look.el (info-lookup-completions-at-point): Mark as
17283 non-exclusive.
17284 (info-complete): Adjust accordingly.
17285
17286 * info-look.el: Convert to lexical-binding and completion-at-point.
17287 (info-lookup-completions-at-point): New function.
17288 (info-complete): Use it and completion-in-region.
17289
172902011-05-28 Drew Adams <drew.adams@oracle.com>
17291
17292 * isearch.el: Let M-e start with point at the first mismatched char.
17293 (isearch-fail-pos): New function.
17294 (isearch-edit-string): Use it.
17295
172962011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17297
17298 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17299
173002011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17301
17302 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17303 traversal functions for avl-trees.
17304 (avl-tree--stack): New struct.
17305 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17306 (avl-tree-enter): Add optional `updatefun' arg.
17307 (avl-tree--do-enter): Add optional `updatefun' arg.
17308 Change return value.
17309 (avl-tree-delete): Add optional `test' and `nilflag' args.
17310 (avl-tree--do-delete): Add `test' and `nilflag' args.
17311 Change return value.
17312 (avl-tree-member): Add optional `nilflag'
17313 (avl-tree-member-p): New function.
17314 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17315 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17316 (avl-tree-stack-empty-p): New functions.
17317
17318 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17319 avl-tree--del-balance1 and make it work both ways.
17320 (avl-tree--del-balance2): Remove.
17321 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17322 make it work both ways.
17323 (avl-tree--enter-balance2): Remove.
17324 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17325 New macros.
17326 (avl-tree--mapc, avl-tree-map): Add direction argument.
17327
173282011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17329
17330 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17331
173322011-05-27 Chong Yidong <cyd@stupidchicken.com>
17333
17334 * select.el: Support clipboard managers with built-in function
17335 x-clipboard-manager-save, via delete-frame-functions and
17336 kill-emacs-hook.
17337 (xselect-convert-to-targets): Add MULTIPLE target to list.
17338 (xselect-convert-to-save-targets): New function.
17339
173402011-05-27 Kenichi Handa <handa@m17n.org>
17341
17342 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17343 let-binding rfc2047-encode-encoded-words to nil.
17344
173452011-05-27 Glenn Morris <rgm@gnu.org>
17346
17347 * mail/emacsbug.el: Don't require url-util.
17348
17349 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17350
17351 * files.el (set-auto-mode):
17352 Also respect mode: entries at the end of the file. (Bug#8586)
17353
173542011-05-26 Glenn Morris <rgm@gnu.org>
17355
17356 * files.el (hack-local-variables-prop-line, hack-local-variables):
17357 Downcase mode names, as seems to be traditional.
17358 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17359
17360 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17361 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17362
173632011-05-25 Julien Danjou <julien@danjou.info>
17364
17365 * textmodes/rst.el (rst-define-level-faces): Do not define face
17366 symbol if it is already defined.
17367
173682011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17369
17370 * play/5x5.el (5x5-new-game, 5x5-randomize):
17371 Reset 5x5-solver-output to nil when a new grid is cast.
17372 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17373 these debugging traces, as defmacro breaks the compiled code.
17374
173752011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17376
17377 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17378
173792011-05-24 Leo Liu <sdl.web@gmail.com>
17380
17381 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17382 (vc-bzr-sha1): Adapt.
17383
17384 * sha1.el: Remove. Function `sha1' is now builtin.
17385
17386 * bindings.el: Provide sha1 feature.
17387
173882011-05-24 Kenichi Handa <handa@m17n.org>
17389
17390 * mail/sendmail.el: Require `rfc2047'.
17391 (mail-insert-from-field): Do not perform RFC2047 encoding.
17392 (mail-encode-header): New function.
17393 (sendmail-send-it): Set buffer-file-coding-system of the work
17394 buffer to the return value of select-message-coding-system.
17395 Call mail-encode-header.
17396
17397 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17398
173992011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17400
17401 * mail/supercite.el (sc-default-cite-frame):
17402 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17403
174042011-05-24 Glenn Morris <rgm@gnu.org>
17405
17406 * progmodes/python.el (brm-menu): Declare.
17407
17408 * emulation/viper.el (viper-set-hooks): Declare.
17409
17410 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17411 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17412 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17413 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17414 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17415 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17416
174172011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17418
17419 Add an :exit-function for completion-at-point.
17420
17421 * minibuffer.el (completion--done): New fun.
17422 (completion--do-completion): Use it. New arg `expect-exact'.
17423 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17424 since completion--do-completion does it for us now.
17425 (minibuffer-force-complete): Use completion--done and
17426 completion--replace. Handle sole-completion case with more care.
17427 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17428 (completion-extra-properties): New var.
17429 (completion-annotate-function): Make obsolete.
17430 (minibuffer-completion-help): Adjust accordingly.
17431 Use completion-list-insert-choice-function.
17432 (completion-at-point, completion-help-at-point):
17433 Bind completion-extra-properties.
17434 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17435 * simple.el (completion-list-insert-choice-function): New var.
17436 (completion-setup-function): Preserve it.
17437 (choose-completion): Pay attention to it, shuffle the code a bit.
17438 (choose-completion-string): New arg `insert-function'.
17439
17440 * textmodes/bibtex.el: Convert to lexical binding.
17441 (bibtex-mode-map): Use completion-at-point.
17442 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17443 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17444 (bibtex-complete): Define as obsolete alias.
17445 (bibtex-complete-internal): Remove.
17446 (bibtex-format-entry): Remove unused sub-group in regexp.
17447 * shell.el (shell--command-completion-data)
17448 (shell-environment-variable-completion):
17449 * pcomplete.el (pcomplete-completions-at-point):
17450 * comint.el (comint--complete-file-name-data): Use :exit-function
17451 instead of completion-table-with-terminator so it also works for
17452 choose-completion.
17453
174542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17455
17456 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17457
17458 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17459 (bug#8710).
17460
17461 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17462
174632011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17464
17465 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17466 customization variable and implement: If non-nil, auto-fill will
17467 be inhibited while on topic's header line.
17468
174692011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17470
17471 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17472 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17473 always have a solution in grid size = 5 cases.
17474 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17475 (5x5-solver-output, 5x5-log-buffer): New vars.
17476 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17477 Make these variables buffer local to achieve 5x5 multi-session-ness.
17478 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17479 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17480 (5x5-solve-suggest): New funs.
17481 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17482 randomize a grid so that we ensure that there is always a solution.
17483 (5x5-make-random-grid): Allow other movement than flipping.
17484
174852011-05-23 Kevin Ryde <user42@zip.com.au>
17486
17487 * emacs-lisp/advice.el (ad-read-advised-function):
17488 Use `function-called-at-point' as the default, if it has
17489 advice and passes PREDICATE.
17490
174912011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17492
17493 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17494 byte-compile-lambda if it's actually a lambda.
17495
17496 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17497 Fix function quoting. Use backquote better.
17498
174992011-05-22 Yuanle Song <sylecn@gmail.com>
17500
17501 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17502 matching (Bug#8516).
17503
175042011-01-22 Jari Aalto <jari.aalto@cante.net>
17505
17506 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17507 different face (Bug#8178).
17508
175092011-05-22 Chong Yidong <cyd@stupidchicken.com>
17510
17511 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17512 defface (Bug#8144).
17513
175142011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17515
17516 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17517 funcall as well (bug#8712). Warn when performing those conversions.
17518 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17519
17520 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17521
175222011-05-22 Glenn Morris <rgm@gnu.org>
17523
17524 * files.el (hack-local-variables-prop-line): Small simplifications.
17525 (hack-local-variables, hack-local-variables-prop-line):
17526 If MODE-ONLY, return the mode, rather than just `t'.
17527
175282011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17529
17530 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17531
175322011-05-21 Glenn Morris <rgm@gnu.org>
17533
17534 * files.el (hack-local-variables-prop-line, hack-local-variables):
17535 If only interested in the mode, don't bother doing the other stuff.
17536
17537 * image-mode.el (image-after-revert-hook):
17538 Redraw all frames on which the image is visible. (Bug#8567)
17539
17540 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17541
17542 * wid-edit.el (widget-checklist-match-inline):
17543 Fix 2011-04-19 change. (Bug#8649)
17544
175452011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17546
17547 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17548 Also allow singlespace after single-letter capitals followed by a dot.
17549
17550 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17551 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17552
175532011-05-20 Nix <nix@esperi.org.uk>
17554
17555 * files.el (basic-save-buffer-2):
17556 Fix handling of break-hardlink-on-save with non-existent files.
17557
175582011-05-19 Deniz Dogan <deniz@dogan.se>
17559
17560 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17561 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17562
175632011-05-19 Glenn Morris <rgm@gnu.org>
17564
17565 * progmodes/f90.el (f90-type-def-re):
17566 Handle "type, bind(c)". (Bug#8691)
17567
17568 * emacs-lisp/autoload.el (batch-update-autoloads):
17569 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17570
175712011-05-18 Michael Albinus <michael.albinus@gmx.de>
17572
17573 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17574 property for the correct connection in case of multihops.
17575
175762011-05-18 Glenn Morris <rgm@gnu.org>
17577
17578 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17579 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17580
17581 Rationalize calendar handling of day and month abbrev-arrays.
17582 * calendar/calendar.el (calendar-customized-p): New function.
17583 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17584 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17585 Add :set function.
17586 (calendar-abbrev-length, calendar-day-abbrev-array)
17587 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17588 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17589 Elements may no longer be nil.
17590 (calendar-day-name, calendar-month-name):
17591 Update for changed nature of abbrev arrays.
17592 * calendar/diary-lib.el (diary-name-pattern):
17593 Update for changed nature of abbrev arrays.
17594 (diary-mark-entries-1): Update calendar-make-alist calls.
17595 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17596 * calendar/cal-html.el (cal-html-day-abbrev-array):
17597 Simply inherit from calendar-day-abbrev-array.
17598
175992011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17600
17601 * progmodes/grep.el (grep-mode): Disable default
17602 compilation-directory-matcher setting (bug#8684).
17603
176042011-05-17 Michael Albinus <michael.albinus@gmx.de>
17605
17606 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17607 instead of "head" and "tail". There were problems with SunOS 5.9,
17608 and it performs better.
17609
176102011-05-17 Glenn Morris <rgm@gnu.org>
17611
17612 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17613
17614 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17615 Replace obsolete function.
17616
17617 * shell.el (pcomplete-parse-arguments-function): Declare.
17618
17619 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17620 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17621 (appt-check): Doc fixes.
17622 (appt-disp-window-function, appt-delete-window-function):
17623 Remove needless special case in custom :type.
17624 (appt-display-count): Default to 0, not nil.
17625 (appt-check): Reset appt-display-count to 0, not nil.
17626
176272011-05-17 Juanma Barranquero <lekktu@gmail.com>
17628
17629 * progmodes/python.el (python-font-lock-keywords):
17630 Add the Python 3.X keyword "nonlocal" (bug#8639).
17631
176322011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17633
17634 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17635
176362011-05-16 Kevin Ryde <user42@zip.com.au>
17637
17638 * info-look.el (makefile-automake-mode): New setups, looking in
17639 automake manual, then makefile-mode.
17640 (makefile-mode): Remove automake manual, have it just in
17641 makefile-automake-mode since there's various things different or
17642 not relevant to plain make.
17643 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17644 believe a hypothetical automake-mode would go to makefile-mode,
17645 not the other way around.
17646
176472011-05-15 Chong Yidong <cyd@stupidchicken.com>
17648
17649 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17650 hunk-end tags (Bug#8672).
17651
17652 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17653 vc-annotate-show-diff-revision-at-line (Bug#8671).
17654
176552011-05-14 Glenn Morris <rgm@gnu.org>
17656
17657 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17658 in the middle of an existing one with multiple authors. (Bug#8645)
17659 (change-log-font-lock-keywords): Also handle multiple author lines
17660 with leading tabs. (Bug#8644)
17661
17662 * calendar/appt.el (appt-check): Rename some local variables.
17663 Some simplification/reordering.
17664
17665 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17666 (feedmail-sendmail-f-doesnt-sell-me-out)
17667 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17668 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17669 (feedmail-queue-runner-message-sender): Set :version.
17670 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17671 (bbdb-dwim-net-address, vm-mail): Declare.
17672 (feedmail-binmail-gnulinuxish-template):
17673 Rename from feedmail-binmail-linuxish-template.
17674 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17675 Use insert-buffer-substring.
17676
176772011-05-14 Bill Carpenter <bill@carpenter.org>
17678
17679 * mail/feedmail.el (feedmail-patch-level): Increase.
17680 (feedmail-debug): New custom group.
17681 (feedmail-confirm-outgoing-timeout)
17682 (feedmail-sendmail-f-doesnt-sell-me-out)
17683 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17684 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17685 (feedmail-sender-line, feedmail-from-line)
17686 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17687 (feedmail-spray-this-address)
17688 (feedmail-spray-address-fiddle-plex-list)
17689 (feedmail-queue-use-send-time-for-date)
17690 (feedmail-queue-use-send-time-for-message-id)
17691 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17692 (feedmail-buffer-eating-function):
17693 Doc fixes.
17694 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17695 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17696 (feedmail-message-action-scroll-down): New functions.
17697 (feedmail-queue-directory, feedmail-queue-draft-directory):
17698 Use expand-file-name.
17699 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17700 Remove C-v help entry.
17701 (feedmail-queue-buffer-file-name): New variable.
17702 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17703 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17704 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17705 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17706 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17707 (feedmail-message-action-toggle-spray)
17708 (feedmail-run-the-queue-no-prompts)
17709 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17710 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17711 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17712 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17713 (feedmail-envelope-deducer, feedmail-fiddle-from)
17714 (feedmail-fiddle-sender, feedmail-default-date-generator)
17715 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17716 (feedmail-fiddle-spray-address)
17717 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17718 (feedmail-fiddle-list-of-fiddle-plexes)
17719 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17720 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17721 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17722 Change default. Doc fix.
17723 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17724 (feedmail-binmail-linuxish-template): New constant.
17725 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17726 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17727 (feedmail-send-it): Add debug call.
17728 Use feedmail-queue-buffer-file-name, and
17729 feedmail-send-it-immediately-wrapper.
17730 (feedmail-message-action-send): Add debug call.
17731 Use feedmail-send-it-immediately-wrapper.
17732 (feedmail-queue-express-to-queue): Add debug call.
17733 Run feedmail-queue-express-hook.
17734 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17735 (feedmail-message-action-help-blat):
17736 Rename from feedmail-queue-send-edit-prompt-help-first.
17737 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17738 Check line-endings. Handle errors better.
17739 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17740 Doc fix. Add debug call.
17741 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17742 Use feedmail-queue-send-edit-prompt-inner.
17743 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17744 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17745 from feedmail-queue-send-edit-prompt.
17746 (feedmail-queue-send-edit-prompt-help)
17747 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17748 (feedmail-tidy-up-slug): Add debug call.
17749 Respect feedmail-queue-slug-suspect-regexp.
17750 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17751 (feedmail-dump-message-to-queue): Add debug call.
17752 Expand queue-directory.
17753 (feedmail-dump-message-to-queue): Change message slightly.
17754 Use feedmail-say-chatter.
17755 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17756 (feedmail-send-it-immediately-wrapper): New function.
17757 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17758 Insert empty string rather than newline. Handle full-frame case.
17759 Use catch/throw. Use feedmail-say-chatter.
17760 (feedmail-fiddle-from): Try mail-host-address.
17761 (feedmail-default-message-id-generator): Doc fix.
17762 Bind system-time-locale. Handle missing end.
17763 (feedmail-fiddle-x-mailer): Add debug call.
17764 Handle feedmail-x-mailer-line being nil.
17765 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17766 Add debug call. Use buffer-substring-no-properties.
17767 (feedmail-say-debug, feedmail-say-chatter): New functions.
17768 (feedmail-find-eoh): Give an explicit error.
17769
177702011-05-13 Ulf Jasper <ulf.jasper@web.de>
17771
17772 * net/newst-treeview.el (newsticker-treeview-face): Change default
17773 family from helvetica to sans.
17774 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17775 etc/images/newsticker.
17776
17777 * net/newst-reader.el (newsticker-feed-face): Change default
17778 family from helvetica to sans.
17779
17780 * net/newst-plainview.el (newsticker-new-item-face)
17781 (newsticker-old-item-face, newsticker-immortal-item-face)
17782 (newsticker-obsolete-item-face, newsticker-date-face)
17783 (newsticker-statistics-face): Change default family from
17784 helvetica to sans.
17785 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17786 etc/images/newsticker.
17787
17788 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17789 (newsticker--process-auto-mark-filter-match): Tell user about
17790 auto-marking.
17791
177922011-05-13 Didier Verna <didier@xemacs.org>
17793
17794 Common Lisp indentation improvements on defmethod and lambda-lists.
17795 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17796 TODO entries.
17797 (lisp-lambda-list-keyword-parameter-indentation)
17798 (lisp-lambda-list-keyword-parameter-alignment)
17799 (lisp-lambda-list-keyword-alignment): New customizable user options.
17800 (lisp-indent-defun-method): Improve docstring.
17801 (extended-loop-p): Fix comment.
17802 (lisp-indent-lambda-list-keywords-regexp): New variable.
17803 (lisp-indent-lambda-list): New function.
17804 (lisp-indent-259): Use it.
17805 (lisp-indent-defmethod): Support for more than one
17806 method qualifier and properly indent methods lambda-lists.
17807 (defgeneric): Provide a missing common-lisp-indent-function property.
17808
178092011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17810
17811 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17812 bounds for the empty string (bug#8667).
17813
178142011-05-13 Glenn Morris <rgm@gnu.org>
17815
17816 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17817
17818 * mail/sendmail.el (sendmail-program): Try executable-find first.
17819 (sendmail-send-it): `sendmail-program' cannot be unbound.
17820
17821 * calendar/appt.el (appt-make-list): Simplify.
17822 (appt-time-msg-list): Doc fix.
17823 (appt-check): Change mode-line message at the time of the appointment.
17824
178252011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17826
17827 * progmodes/ld-script.el (ld-script-keywords)
17828 (ld-script-builtins): Update keywords list.
17829
178302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17831
17832 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17833
17834 * shell.el (shell-completion-vars): New function.
17835 (shell-mode):
17836 * simple.el (read-shell-command): Use it.
17837 (blink-matching-open): No need for " [...]" in minibuffer-message.
17838
178392011-05-12 Glenn Morris <rgm@gnu.org>
17840
17841 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17842 (appt-check): Simplify.
17843
178442011-05-12 Eli Zaretskii <eliz@gnu.org>
17845
17846 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17847 literal "/dev/null".
17848
178492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17850
17851 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17852 Fix typo.
17853
178542011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17855
17856 * progmodes/which-func.el (which-function):
17857 Use add-log-current-defun instead of add-log-current-defun-function,
17858 which might not be defined (Bug#8260).
17859
178602011-05-12 Glenn Morris <rgm@gnu.org>
17861
17862 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17863 Let byte-compile-initial-macro-environment always take precedence.
17864
178652011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17866
17867 * net/rcirc.el: Add support for SSL/TLS connections.
17868 (rcirc-server-alist): New field `encryption'.
17869 (rcirc): Check `encryption' settings.
17870 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17871 Merge make-local-variable into `set'.
17872 (rcirc--connection-open-p): New function.
17873 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17874 the process is not a network process (e.g. running gnutls-cli).
17875 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17876 Make rcirc-(en|de)code-coding-system local here.
17877 (rcirc-mode): Merge make-local-variable into `set'.
17878 (rcirc-parent-buffer): Make permanent buffer-local.
17879 (rcirc-multiline-minor-mode): Don't do it here.
17880 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17881 there's no server buffer.
17882
178832011-05-11 Glenn Morris <rgm@gnu.org>
17884
17885 * newcomment.el (comment-kill): Prefix "unused" local.
17886
17887 * term/w32console.el (get-screen-color): Declare.
17888
17889 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17890 Handle symbol elements of byte-compile-initial-macro-environment.
17891
178922011-05-10 Leo Liu <sdl.web@gmail.com>
17893
17894 * bookmark.el (bookmark-bmenu-mode-map):
17895 Bind bookmark-bmenu-search to `/'.
17896
17897 * mail/footnote.el: Convert to utf-8 encoding.
17898 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17899 (Footnote-unicode): New function.
17900 (footnote-style-alist): Add unicode style to the list.
17901 (footnote-style): Doc fix.
17902
179032011-05-10 Jim Meyering <meyering@redhat.com>
17904
17905 Fix doubled-word typos.
17906 * international/quail.el (quail-insert-kbd-layout): and and -> and
17907 * kermit.el: and and -> and
17908 * net/ldap.el (ldap-search-internal): to to -> to
17909 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17910 * progmodes/js.el (js-mode): and and -> and
17911 * textmodes/artist.el (artist-move-to-xy): at at -> at
17912 (artist-draw-region-trim-line-endings): if if -> if
17913 And Safetyc -> Safety.
17914 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17915
179162011-05-10 Glenn Morris <rgm@gnu.org>
17917 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * files.el (hack-one-local-variable-eval-safep):
17920 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17921
179222011-05-10 Glenn Morris <rgm@gnu.org>
17923
17924 * calendar/diary-lib.el (diary-list-entries-hook)
17925 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17926 (diary-nongregorian-marking-hook, diary-list-entries)
17927 (diary-include-other-diary-files, diary-mark-entries)
17928 (diary-mark-included-diary-files): Doc fixes.
17929
179302011-05-09 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * misc.el: Require tabulated-list.el during compilation.
17933
179342011-05-09 Chong Yidong <cyd@stupidchicken.com>
17935
17936 * progmodes/compile.el (compilation-start):
17937 Run compilation-filter-hook for the async case too.
17938 (compilation-filter-hook): Doc fix.
17939
179402011-05-09 Deniz Dogan <deniz@dogan.se>
17941
17942 * wdired.el: Remove outdated installation comment. Fix usage
17943 comment.
17944
179452011-05-09 Juanma Barranquero <lekktu@gmail.com>
17946
17947 * misc.el: Implement new command `list-dynamic-libraries'.
17948 (list-dynamic-libraries--loaded-only-p): New variable.
17949 (list-dynamic-libraries--refresh): New function.
17950 (list-dynamic-libraries): New command.
17951
179522011-05-09 Chong Yidong <cyd@stupidchicken.com>
17953
17954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17955 Fix the ant regexp to handle end-line and end-column info from jikes.
17956 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17957 higher priority to avoid clobbering by gnu.
17958
179592011-05-08 Chong Yidong <cyd@stupidchicken.com>
17960
17961 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17962 if the face has existing theme settings (Bug#8454).
17963
179642011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17965
17966 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17967 Only match variables declared via `my' or `our' (Bug#8261).
17968
17969 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17970 special file names `.' and `..' (Bug#8259).
17971
179722011-05-08 Chong Yidong <cyd@stupidchicken.com>
17973
17974 * progmodes/grep.el (grep-mode-font-lock-keywords):
17975 Remove buffer-changing entries.
17976 (grep-filter): New function.
17977 (grep-mode): Add it to compilation-filter-hook.
17978
17979 * progmodes/compile.el (compilation-filter-hook)
17980 (compilation-filter-start): New defvars.
17981 (compilation-filter): Call compilation-filter-hook prior to
17982 updating the process mark.
17983
179842011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
17985
17986 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17987
179882011-05-07 Eli Zaretskii <eliz@gnu.org>
17989
17990 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17991 mailclient-send-it even if window-system is nil. (Bug#8595)
17992
17993 * term/w32console.el (terminal-init-w32console):
17994 Call get-screen-color and use its output to set the frame
17995 background-mode. (Bug#8597)
17996
179972011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17998
17999 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18000 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18001 New functions.
18002 (defgeneric, eieio--defmethod): Use them.
18003 (eieio-defgeneric): Remove.
18004 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18005
180062011-05-07 Glenn Morris <rgm@gnu.org>
18007
18008 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18009 Use let rather than let*.
18010 (timeclock-find-discrep): Remove unused local.
18011
18012 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18013
18014 * calendar/appt.el (appt-time-msg-list): Doc fix.
18015
180162011-05-06 Noah Friedman <friedman@splode.com>
18017
18018 * apropos.el (apropos-print-doc): Only use
18019 emacs-lisp-docstring-fill-column when it is bound to an integer,
18020 per that variable's documentation.
18021
180222011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18023
18024 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18025 and warnings are not silently discarded (e.g. use -d instead of -P).
18026
180272011-05-06 Glenn Morris <rgm@gnu.org>
18028
18029 * calendar/appt.el (appt-message-warning-time): Doc fix.
18030 (appt-warning-time-regexp): New option.
18031 (appt-make-list): Respect appt-message-warning-time.
18032
18033 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18034 New options.
18035 (diary-add-to-list): Strip comments from the displayed string.
18036 (diary-mode): Set comment-start and comment-end.
18037
18038 * vc/diff-mode.el (smerge-refine-subst): Declare.
18039 (diff-refine-hunk): Don't require smerge-mode when compiling.
18040
180412011-05-06 Juanma Barranquero <lekktu@gmail.com>
18042
18043 * simple.el (list-processes): Return nil as the docstring says.
18044
180452011-05-05 Michael Albinus <michael.albinus@gmx.de>
18046
18047 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18048 to "".
18049 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18050 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18051 determining of binary transfer. (Bug#7383)
18052
180532011-05-05 Michael Albinus <michael.albinus@gmx.de>
18054
18055 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18056 Fix port computation bug. (Bug#8618)
18057
180582011-05-05 Glenn Morris <rgm@gnu.org>
18059
18060 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18061
18062 * simple.el (shell-dynamic-complete-functions)
18063 (comint-dynamic-complete-functions): Declare.
18064
18065 * net/network-stream.el (gnutls-negotiate):
18066 * simple.el (tabulated-list-print): Fix declarations.
18067
18068 * progmodes/gud.el (syntax-symbol, syntax-point):
18069 Remove unnecessary and incorrect declarations.
18070
18071 * emacs-lisp/check-declare.el (check-declare-scan):
18072 Handle byte-compile-initial-macro-environment in bytecomp.el
18073
180742011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18075
18076 Fix earlier half-done eieio-defmethod change (bug#8338).
18077 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18078 Streamline and change calling convention.
18079 (defmethod): Adjust accordingly and simplify.
18080 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18081 new eieio--defmethod.
18082 (slot-boundp): Minor CSE simplification.
18083
180842011-05-05 Milan Zamazal <pdm@zamazal.org>
18085
18086 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18087 (glasses-make-readable): Use glasses-separate-capital-groups.
18088
180892011-05-05 Juanma Barranquero <lekktu@gmail.com>
18090
18091 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18092 (warning-series): Doc fix.
18093 (display-warning): Don't try to create the buffer if we just found it.
18094
180952011-05-04 Chong Yidong <cyd@stupidchicken.com>
18096
18097 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18098 (autoload-find-generated-file): New function.
18099 (generate-file-autoloads): Bind generated-autoload-file to
18100 buffer-file-name.
18101 (update-file-autoloads, update-directory-autoloads):
18102 Use autoload-find-generated-file. If called interactively, prompt for
18103 output file (Bug#7989).
18104 (batch-update-autoloads): Doc fix.
18105
181062011-05-04 Juanma Barranquero <lekktu@gmail.com>
18107
18108 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18109
181102011-05-04 Glenn Morris <rgm@gnu.org>
18111
18112 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18113 function, so it follows changes in calendar-date-style.
18114 (diary-fancy-date-matcher): New function.
18115 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18116 (diary-fancy-font-lock-fontify-region-function):
18117 Use diary-fancy-date-pattern as a function.
18118
18119 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18120 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18121
181222011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18123
18124 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18125 instead of positional arguments. Allow :keylist and :crlfiles
18126 arguments.
18127 (open-gnutls-stream): Call it.
18128
18129 * net/network-stream.el (network-stream-open-starttls): Adjust to
18130 call `gnutls-negotiate' with :process and :hostname arguments.
18131
181322011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18133
18134 * minibuffer.el (completion--message): New function.
18135 (completion--do-completion, minibuffer-complete)
18136 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18137 (completion--do-completion): Don't ignore completion-auto-help when in
18138 icomplete-mode.
18139
18140 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18141 internal encoding (e.g. tibetan zero is not whitespace).
18142 (global-whitespace-mode): Prefer save-current-buffer.
18143 (whitespace-trailing-regexp): Remove useless save-match-data.
18144 (whitespace-empty-at-bob-regexp): Minor simplification.
18145
181462011-05-03 Chong Yidong <cyd@stupidchicken.com>
18147
18148 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18149
181502011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18151
18152 * textmodes/ispell.el (ispell-add-per-file-word-list):
18153 Use `concat' to create string for insertion.
18154
181552011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18156
18157 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18158 Avoid open-line which runs post-self-insert-hook.
18159 (bibtex-fill-entry): Remove unused `end' var.
18160
181612011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18162
18163 * textmodes/ispell.el (ispell-add-per-file-word-list):
18164 Protect against `nil' value of `comment-start' (Bug#8579).
18165
181662011-05-03 Leo Liu <sdl.web@gmail.com>
18167
18168 * isearch.el (isearch-yank-pop): New command.
18169 (isearch-mode-map): Bind it to `M-y'.
18170 (isearch-forward): Mention it.
18171
181722011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18173
18174 * simple.el (minibuffer-complete-shell-command): Remove.
18175 (minibuffer-local-shell-command-map): Use completion-at-point.
18176 (read-shell-command): Setup completion vars here instead.
18177 (read-expression-map): Bind TAB to symbol completion.
18178
18179 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18180 error directly rather via storing it into `results'.
18181
181822011-05-02 Leo Liu <sdl.web@gmail.com>
18183
18184 * vc/diff.el: Fix description.
18185
181862011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18187
18188 * server.el (server-eval-at): New function.
18189
181902011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18191
18192 * net/network-stream.el (open-network-stream): Take a :nowait
18193 parameter and pass it on to `make-network-process'.
18194 (network-stream-open-plain): Ditto.
18195
181962011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18197
18198 * faces.el (face-spec-set-match-display): Don't match toolkit
18199 options on terminal frames.
18200
182012011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18202
18203 * progmodes/pascal.el: Use lexical binding.
18204 (pascal-mode-map): Remove author preferences.
18205
18206 * pcomplete.el (pcomplete-std-complete): Don't abuse
18207 completion-at-point.
18208
182092011-04-28 Juanma Barranquero <lekktu@gmail.com>
18210
18211 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18212 removing code that has been dead since 1991 or so.
18213
18214 * startup.el (command-line): When warning about "_emacs", use a
18215 delayed warning to allow the user to filter it out.
18216
182172011-04-28 Deniz Dogan <deniz@dogan.se>
18218
18219 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18220 user has not joined.
18221
182222011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18223
18224 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18225 aren't any completions at point.
18226
182272011-04-28 Juanma Barranquero <lekktu@gmail.com>
18228
18229 * subr.el (display-delayed-warnings): New function.
18230 (delayed-warnings-hook): New variable.
18231
182322011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18233
18234 * minibuffer.el (completion-at-point, completion-help-at-point):
18235 Don't presume that a given completion-at-point-function will always
18236 use the same calling convention.
18237
18238 * pcomplete.el (pcomplete-completions-at-point):
18239 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18240 pcomplete-seen is non-nil.
18241 (pcomplete-comint-setup): Also recognize the new comint/shell
18242 completion functions.
18243 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18244 pcomplete-seen is non-nil.
18245
182462011-04-27 Niels Giesen <niels.giesen@gmail.com>
18247
18248 * calendar/icalendar.el (diary-lib): Add require statement.
18249 (icalendar--create-uid): Read out a uid from a text-property on
18250 the first character in the entry. This allows for code to add its
18251 own uid to the entry.
18252 (icalendar--convert-float-to-ical): Add export of
18253 `diary-float'-entries save for those with the optional DAY
18254 argument.
18255
182562011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18257
18258 * subr.el (shell-quote-argument): Use alternate escaping strategy
18259 when we spot a variable reference in a string.
18260
182612011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18262
18263 * cus-start.el (all): Define customization for debug-on-event.
18264
182652011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18266
18267 * subr.el (shell-quote-argument): Escape correctly under Windows.
18268
182692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18272
182732011-04-25 Michael Albinus <michael.albinus@gmx.de>
18274
18275 * net/tramp.el (tramp-process-actions): Add POS argument.
18276 Delete region between POS and (pos).
18277
18278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18279 Use `nil' position in `tramp-process-actions' call.
18280 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18281
18282 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18283 position in `tramp-process-actions' call.
18284
18285 * net/trampver.el: Update release number.
18286
182872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18288
18289 * custom.el (defcustom): Obey lexical-binding.
18290
18291 Fix octave-inf completion problems reported by Alexander Klimov.
18292 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18293 Inherit from octave-mode-syntax-table.
18294 (inferior-octave-mode): Set info-lookup-mode.
18295 (inferior-octave-completion-at-point): New function.
18296 (inferior-octave-complete): Use it and completion-in-region.
18297 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18298 comint-filename-completion.
18299 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18300 symbol elements which shouldn't be word elements.
18301 (octave-font-lock-keywords, octave-beginning-of-defun)
18302 (octave-function-header-regexp): Adjust regexps accordingly.
18303 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18304
183052011-04-25 Juanma Barranquero <lekktu@gmail.com>
18306
18307 * net/gnutls.el (gnutls-errorp): Declare before first use.
18308
183092011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18310
18311 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18312 verify-error, and verify-hostname-error parameters. Check whether
18313 default trustfile exists before going to use it. Add missing
18314 argument to gnutls-message-maybe call. Return value.
18315 Reported by Claudio Bley <claudio.bley@gmail.com>.
18316 (open-gnutls-stream): Add usage example.
18317
18318 * net/network-stream.el (network-stream-open-starttls): Give host
18319 parameter to `gnutls-negotiate'.
18320 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18321 * subr.el (shell-quote-argument): Escape correctly under Windows.
18322
183232011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18324
18325 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18326 Use correct match group (bug#8438).
18327
183282011-04-24 Chong Yidong <cyd@stupidchicken.com>
18329
18330 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18331 (package-menu--generate): New arg specifying packages to show.
18332 (package-menu-refresh, package-menu-execute, list-packages):
18333 Callers changed.
18334 (package-show-package-list): New function, replacing deleted
18335 package--list-packages (renamed because it is non-internal).
18336
18337 * finder.el (finder-list-matches): Use package-show-package-list
18338 instead of deleted package--list-packages.
18339
18340 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18341 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18342 (vc-annotate-mode-map): Bind it to RET.
18343
183442011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18345
18346 * progmodes/etags.el (next-file): Don't use set-buffer to change
18347 buffers (Bug#8478).
18348
183492011-04-24 Chong Yidong <cyd@stupidchicken.com>
18350
18351 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18352
18353 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18354 (apropos-accumulator): Doc fix.
18355 (apropos-function, apropos-macro, apropos-command)
18356 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18357 (apropos-plist): Add face property.
18358 (apropos-symbols-internal): Fix indentation.
18359 (apropos-print): Simplify help, and recognize apropos-multi-type.
18360 (apropos-print-doc): Use button-type-get to extract the button's
18361 face property. Fill docstring (Bug#8352).
18362
183632011-04-23 Juanma Barranquero <lekktu@gmail.com>
18364
18365 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18366
18367 * play/mpuz.el (mpuz-silent): Doc fix.
18368 (mpuz-mode-map): Use mapc.
18369 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18370 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18371 Fix typos in docstrings.
18372
18373 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18374 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18375
18376 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18377
183782011-04-23 Chong Yidong <cyd@stupidchicken.com>
18379
18380 * minibuffer.el (completion--do-completion): Avoid the "Next char
18381 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18382
18383 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18384 mouse-2 into unread-command-events, it is interpreted correctly.
18385
18386 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18387 (image-toggle-display): Doc fix.
18388
183892011-04-23 Stephen Berman <stephen.berman@gmx.net>
18390
18391 * textmodes/page.el (what-page): Use line-number-at-pos to
18392 calculate line number (Bug#6825).
18393
183942011-04-22 Juanma Barranquero <lekktu@gmail.com>
18395
18396 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18397 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18398 Pass argument NO-DEFAULT to `find-tag-interactive'.
18399
184002011-04-22 Juanma Barranquero <lekktu@gmail.com>
18401
18402 Lexical-binding cleanup.
18403
18404 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18405 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18406 * progmodes/ada-prj.el (ada-prj-initialize-values)
18407 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18408 (ada-prj-show-value):
18409 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18410 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18411 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18412 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18413 * progmodes/bug-reference.el (bug-reference-push-button):
18414 * progmodes/fortran.el (fortran-line-length):
18415 * progmodes/glasses.el (glasses-change):
18416 * progmodes/octave-mod.el (octave-fill-paragraph):
18417 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18418 (python-pdbtrack-grub-for-buffer, python-sentinel):
18419 * progmodes/sql.el (sql-save-connection):
18420 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18421 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18422 Mark unused parameters.
18423
18424 * progmodes/compile.el (compilation--flush-directory-cache)
18425 (compilation--flush-parse, compile-internal): Mark unused parameters.
18426 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18427 (compilation-next-error-function): Remove unused variable `timestamp'.
18428
18429 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18430 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18431
18432 * progmodes/dcl-mode.el (dcl-end-of-command):
18433 Remove unused variable `start'.
18434 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18435 (dcl-option-value-basic, dcl-option-value-offset)
18436 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18437 Mark unused parameters.
18438 (dcl-save-local-variable): Remove unused variable `val'.
18439 (mode): Declare.
18440
18441 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18442 Mark unused parameters.
18443 (delphi-ignore-changes): Move before first use.
18444 (delphi-charset-token-at): Remove unused variable `start'.
18445 (delphi-else-start): Remove unused variable `if-count'.
18446 (delphi-comment-block-start, delphi-comment-block-end):
18447 Remove unused variable `kind'.
18448 (delphi-indent-line): Remove unused variable `new-point'.
18449
18450 * progmodes/ebrowse.el (ebrowse-files-list)
18451 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18452 Mark unused parameters. Don't quote `lambda'.
18453 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18454 Don't quote `lambda'.
18455 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18456 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18457 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18458 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18459 Use `ignore-errors'.
18460 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18461 (ebrowse-view/find-file-and-search-pattern)
18462 (ebrowse-view/find-member-declaration/definition):
18463 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18464 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18465 Rename parameter PREFIX-ARG to PREFIX.
18466 (ebrowse-tags-read-name): Remove unused variables `start' and
18467 `member-info'.
18468 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18469 to `tags-file'.
18470
18471 * progmodes/etags.el (local-find-tag-hook): Declare.
18472 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18473 Mark unused parameters.
18474
18475 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18476 (executable-interpret): Mark unused parameter.
18477
18478 * progmodes/flymake.el (flymake-process-sentinel)
18479 (flymake-after-change-function)
18480 (flymake-create-temp-with-folder-structure)
18481 (flymake-get-include-dirs-dot): Mark unused parameters.
18482 (flymake-safe-delete-directory): Remove unused variable `err'.
18483
18484 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18485 (speedbar-timer-fn, speedbar-line-text)
18486 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18487 (speedbar-center-buffer-smartly): Declare functions.
18488 (gdb-find-watch-expression): Remove unused variable `array'.
18489 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18490 (gdb-starting): Mark unused parameters.
18491 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18492 (gdb-table-string): Remove unused variable `res'.
18493 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18494 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18495 (gdb-display-buffer): Remove unused variable `cur-size'.
18496
18497 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18498 allow lexical-binding compilation.
18499 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18500 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18501 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18502 Mark unused parameters.
18503 (gud-gdb-marker-filter): Remove unused variable `match'.
18504 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18505 lambda expressions and funcall them, instead of using `fset'.
18506
18507 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18508 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18509
18510 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18511 variable `header-beg'; use `let'.
18512
18513 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18514 `restart', `last-sexp' and `at-do'.
18515
18516 * progmodes/js.el (js--debug): Mark unused parameter.
18517 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18518 (js--splice-into-items): Remove unused variable `item'.
18519 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18520
18521 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18522 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18523 (makefile-complete): Remove unused variable `try'.
18524 (makefile-fill-paragraph, makefile-match-function-end):
18525 Mark unused parameters.
18526
18527 * progmodes/octave-inf.el (inferior-octave-complete):
18528 Remove unused variable `proc'.
18529 (inferior-octave-output-digest): Mark unused parameter.
18530
18531 * progmodes/perl-mode.el (perl-calculate-indent):
18532 Remove unused variable `err'.
18533
18534 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18535 (prolog-indent-line): Mark unused parameters.
18536 (prolog-indent-line): Remove unused variable `beg'.
18537
18538 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18539 (reporter-dont-compact-list): Declare.
18540
18541 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18542 Remove unused variable `char'.
18543 (sh-debug): Mark unused parameter.
18544 (sh-get-indent-info): Remove unused variable `start'.
18545 (sh-calculate-indent): Remove unused variable `var'.
18546
18547 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18548 (simula-electric-keyword): Remove unused variable `null'.
18549 (simula-search-backward, simula-search-forward): Remove unused
18550 variables `begin' and `end'.
18551
18552 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18553 Remove unused variable `pos'.
18554 (vera-electric-tab, vera-comment-uncomment-region):
18555 Mark unused parameters.
18556 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18557
185582011-04-22 Chong Yidong <cyd@stupidchicken.com>
18559
18560 * emacs-lisp/package.el (package--builtins, package-alist)
18561 (package-load-descriptor, package-built-in-p, package-activate)
18562 (define-package, package-installed-p)
18563 (package-compute-transaction, package-buffer-info)
18564 (package--push): Doc fix. Distinguish more clearly between
18565 version strings and version lists.
18566
185672011-04-21 Juanma Barranquero <lekktu@gmail.com>
18568
18569 Lexical-binding cleanup.
18570
18571 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18572 (5x5-make-mutate-best):
18573 * play/fortune.el (fortune-in-buffer):
18574 * play/gomoku.el (gomoku-init-display):
18575 * play/solitaire.el (solitaire, solitaire-do-check):
18576 * play/tetris.el (tetris-default-update-speed-function):
18577 Mark unused parameters.
18578
18579 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18580 (bubbles--shift): Remove unused variable `char-org'.
18581 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18582 (bubbles--show-images): Remove unused variable `char'.
18583
18584 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18585 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18586 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18587 (decipher-analyze-buffer): Use ?\s.
18588 (decipher-make-checkpoint): Remove unused variable `mapping'.
18589
18590 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18591
18592 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18593 Remove unused variable `result'; use `let'.
18594
18595 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18596 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18597 (gametree-children-shown-p, gametree-compute-reduced-score):
18598 Use `ignore-errors'.
18599
18600 * play/handwrite.el (ps-lpr-switches): Declare.
18601 (handwrite): Remove unused variables `pmin' and `lastp'.
18602
18603 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18604
18605 * play/landmark.el (landmark-init-display)
18606 (landmark-update-naught-weights): Mark unused parameters.
18607 (landmark-y): Remove unused variable `noise'. Simplify.
18608 (landmark-human-plays): Remove unused variable `score'.
18609
18610 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18611 (mpuz-try-proposal): Remove unused variable `game'.
18612
18613 * play/zone.el (life-patterns): Declare.
18614
186152011-04-20 Juanma Barranquero <lekktu@gmail.com>
18616
18617 * vc/vc.el (ediff-vc-internal): Declare function.
18618
186192011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18620
18621 * shell.el: Use lexical-binding and std completion UI.
18622 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18623 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18624 comint-preoutput-filter-functions rather than on
18625 comint-output-filter-functions.
18626 (shell-command-completion, shell--command-completion-data)
18627 (shell-filename-completion, shell-environment-variable-completion)
18628 (shell-c-a-p-replace-by-expanded-directory): New functions.
18629 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18630 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18631 (shell-dynamic-complete-environment-variable): Use them.
18632 (shell-dynamic-complete-as-environment-variable)
18633 (shell-dynamic-complete-as-command): Remove.
18634 (shell-match-partial-variable): Match past point.
18635 * comint.el: Clean up use of completion-at-point-functions.
18636 (comint-completion-at-point): New function.
18637 (comint-mode): Use it completion-at-point-functions.
18638 (comint-dynamic-complete): Make it obsolete.
18639 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18640 (comint-c-a-p-replace-by-expanded-history): New function.
18641 (comint-dynamic-complete-functions)
18642 (comint-replace-by-expanded-history): Use it.
18643 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18644 termination strings. Try harder to avoid second try-completion.
18645 (completion-in-region-mode-map): Disable bindings that don't work yet.
18646
18647 * comint.el: Use lexical-binding. Require CL.
18648 (comint-dynamic-complete-functions): Use comint-filename-completion.
18649 (comint-completion-addsuffix): Tweak custom type.
18650 (comint-filename-completion, comint--common-suffix)
18651 (comint--common-quoted-suffix, comint--table-subvert)
18652 (comint--complete-file-name-data): New functions.
18653 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18654 (comint-dynamic-list-filename-completions): Use them.
18655 (comint-dynamic-simple-complete): Make obsolete.
18656
18657 * minibuffer.el (completion-in-region-mode):
18658 Keep completion-in-region-mode--predicate global.
18659 (completion-in-region--postch):
18660 Assume completion-in-region-mode--predicate is not null.
18661
18662 * progmodes/flymake.el (flymake-start-syntax-check-process):
18663 Obey `dir'. Simplify.
18664
18665 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18666 we're in VC after all.
18667
186682011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18669
18670 * vc/vc.el (vc-diff-build-argument-list-internal)
18671 (vc-version-ediff, vc-ediff): New commands.
18672 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18673
186742011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18675
18676 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18677 add sanity check.
18678
18679 * obsolete/erc-hecomplete.el: Make obsolete.
18680 * obsolete/: Standardize obsolescence info in the header.
18681
186822011-04-20 Glenn Morris <rgm@gnu.org>
18683
18684 * calendar/solar.el (solar-horizontal-coordinates):
18685 Use the longitude argument rather than `calendar-longitude'.
18686 (solar-date-next-longitude): Remove unused locals.
18687
186882011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18689
18690 * whitespace.el: New version 13.2.1.
18691
186922011-04-20 felix <EmacsWiki> (tiny change)
18693
18694 * whitespace.el (global-whitespace-mode): Keep highlight when
18695 switching between major modes on a file.
18696
186972011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18700 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18701 multi-line comments as well.
18702
187032011-04-19 Juanma Barranquero <lekktu@gmail.com>
18704
18705 Lexical-binding cleanup.
18706
18707 * arc-mode.el (archive-mode-revert):
18708 * cmuscheme.el (scheme-interactively-start-process):
18709 * custom.el (custom-initialize-delay):
18710 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18711 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18712 * emacs-lock.el (emacs-lock-clear-sentinel):
18713 * ezimage.el (defezimage):
18714 * follow.el (follow-avoid-tail-recenter):
18715 * fringe.el (set-fringe-mode-1):
18716 * generic-x.el (bat-generic-mode-compile):
18717 * help-mode.el (help-info-variable, help-do-xref)
18718 (help-mode-revert-buffer):
18719 * help.el (view-emacs-todo):
18720 * iswitchb.el (iswitchb-completion-help):
18721 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18722 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18723 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18724 * locate.el (locate-update):
18725 * longlines.el (longlines-encode-region)
18726 (longlines-after-change-function):
18727 * outline.el (outline-isearch-open-invisible):
18728 * ps-def.el (declare-function, charset-dimension, char-width)
18729 (encode-char):
18730 * ps-mule.el (ps-mule-plot-string):
18731 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18732 (recentf-edit-list-select, recentf-edit-list-validate)
18733 (recentf-open-files-action):
18734 * rect.el (delete-whitespace-rectangle-line)
18735 (rectangle-number-line-callback):
18736 * register.el (window-configuration-to-register)
18737 (frame-configuration-to-register):
18738 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18739 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18740 (xselect-convert-to-targets, xselect-convert-to-delete)
18741 (xselect-convert-to-filename, xselect-convert-to-charpos)
18742 (xselect-convert-to-lineno, xselect-convert-to-colno)
18743 (xselect-convert-to-os, xselect-convert-to-host)
18744 (xselect-convert-to-user, xselect-convert-to-class)
18745 (xselect-convert-to-name, xselect-convert-to-integer)
18746 (xselect-convert-to-atom, xselect-convert-to-identity):
18747 * subr.el (declare, ignore, process-kill-without-query)
18748 (text-clone-maintain):
18749 * terminal.el (te-get-char, te-tic-sentinel):
18750 * tool-bar.el (tool-bar-make-keymap):
18751 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18752 * type-break.el (type-break-mode, type-break-noninteractive-query):
18753 * view.el (View-back-to-mark):
18754 * wid-browse.el (widget-browse-action, widget-browse-widget)
18755 (widget-browse-widgets, widget-browse-sexp):
18756 * widget.el (define-widget-keywords):
18757 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18758 Mark unused parameters.
18759
18760 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18761 (align-areas): Remove unused variable `look'.
18762 (align-region): Remove unused variables `real-end' and `pos-list'.
18763
18764 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18765
18766 * bindings.el (mode-line-modified, mode-line-remote):
18767 Mark unused parameters.
18768 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18769
18770 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18771 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18772
18773 * comint.el (comint-history-isearch-pop-state)
18774 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18775 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18776 (comint-substitute-in-file-name): Doc fix.
18777
18778 * completion.el (cmpl-statistics-block): Mark unused parameter.
18779 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18780 (save-completions-to-file, load-completions-from-file):
18781 Remove unused local variable `e'.
18782
18783 * composite.el (compose-chars): Remove unused variable `len'.
18784 (lgstring-insert-glyph): Remove unused variable `g'.
18785 (compose-glyph-string): Remove unused variables `ascent',
18786 `descent', `lbearing' and `rbearing'.
18787 (compose-glyph-string-relative): Remove unused variables
18788 `lbearing', `rbearing' and `wadjust'.
18789 (compose-gstring-for-graphic): Remove unused variables `header',
18790 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18791 (compose-gstring-for-terminal): Remove unused variables `header'
18792 and `nchars'. Use `let', not `let*'.
18793
18794 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18795 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18796 (Custom-buffer-done, custom-buffer-create-internal)
18797 (custom-browse-visibility-action, custom-browse-group-tag-action)
18798 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18799 (widget-magic-mouse-down-action, custom-toggle-parent)
18800 (custom-add-parent-links, custom-toggle-hide-variable)
18801 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18802 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18803 (custom-face-menu-create, custom-variable-menu-create, get)
18804 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18805 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18806 (customize-apropos): Remove unused variable `tests'.
18807 (custom-group-value-create): Remove unused variable `hidden-p'.
18808 (sort-fold-case): Declare.
18809
18810 * cus-theme.el (custom-reset-standard-faces-list)
18811 (custom-reset-standard-variables-list): Declare.
18812 (customize-create-theme, custom-theme-revert, custom-theme-write)
18813 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18814 Mark unused parameters.
18815
18816 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18817
18818 * delim-col.el (delimit-columns-max): Move defvar before first use.
18819
18820 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18821 (describe-char): Don't quote `lambda'. Mark unused parameter.
18822
18823 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18824 (auto-insert): Declare.
18825 (desktop-restore-file-buffer): Rename desktop-* parameters;
18826 mark unused ones.
18827 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18828 (desktop-buffer): Rename desktop-* parameters.
18829
18830 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18831 (dframe-reposition-frame-xemacs, dframe-help-echo)
18832 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18833 Mark unused parameters.
18834
18835 * dired-aux.el (backup-extract-version-start, overwrite-query)
18836 (overwrite-backup-query, rename-regexp-query)
18837 (rename-non-directory-query): Declare.
18838 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18839 (dired-add-entry): Remove unused variable `orig-file-name'.
18840 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18841 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18842 `dired-copy-preserve-time' directly.
18843 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18844 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18845
18846 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18847 (dired-virtual-revert, dired-make-relative-symlink):
18848 Mark unused parameters.
18849 (manual-program): Declare.
18850 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18851 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18852 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18853
18854 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18855
18856 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18857
18858 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18859 Declare.
18860
18861 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18862
18863 * electric.el (Electric-command-loop): Rename parameter
18864 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18865
18866 * expand.el (expand-in-literal): Remove unused variable `here'.
18867
18868 * facemenu.el (facemenu-add-new-color):
18869 Remove unused variable `docstring'.
18870
18871 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18872 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18873 (face-attr-construct): Mark unused parameter. Doc fix.
18874 (read-color): Remove unused variable `hex-string'.
18875
18876 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18877 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18878 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18879 (display-buffer-other-frame): Remove unused variable `old-window'.
18880 (kill-buffer-hook): Declare.
18881 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18882 Mark unused parameters.
18883 (after-find-file): Pass 1 to `auto-save-mode', not t.
18884
18885 * files-x.el (auto-insert): Declare.
18886 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18887
18888 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18889 variable `buf'. Mark unused parameter.
18890 (find-lisp-insert-directory): Mark unused parameter.
18891
18892 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18893 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18894 (format-common-tail): Remove, unused.
18895 (format-deannotate-region): Remove unused variable `loc'.
18896 (format-annotate-region): Remove unused variable `p'.
18897 (format-annotate-single-property-change): Remove unused variables
18898 `default' and `tail'.
18899
18900 * forms.el (read-file-filter): Declare.
18901 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18902
18903 * frame.el (frame-creation-function-alist): Mark unused parameter.
18904 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18905
18906 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18907 Remove unused parameters.
18908 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18909 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18910
18911 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18912 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18913 (hfy-prepare-tag-map): Mark unused parameters.
18914 (htmlfontify-buffer): Use `called-interactively-p'.
18915
18916 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18917 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18918 (ibuffer-do-occur): Mark unused parameters.
18919 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18920 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18921
18922 * ibuffer.el: Don't quote `lambda'.
18923 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18924 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18925 Mark unused parameters.
18926
18927 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18928 (ido-completing-read): Mark unused parameters.
18929 (ido-copy-current-word): Mark unused parameters;
18930 remove unused variable `name'.
18931 (ido-sort-merged-list): Remove unused parameter `dirs'.
18932
18933 * ielm.el (ielm-input-sender): Mark unused parameter.
18934 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18935 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18936 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18937 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18938 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18939
18940 * image-dired.el (image-dired-display-thumbs): Remove unused
18941 variables `curr-file' and `count'.
18942 (image-dired-remove-tag): Remove unused variable `start'.
18943 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18944 variable `curr-file'
18945 (image-dired-rotate-original): Remove unused variable `temp-file'.
18946 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18947 Remove unused variable `file'.
18948 (image-dired-gallery-generate): Remove unused variable `curr'.
18949 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18950
18951 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18952
18953 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18954
18955 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18956
18957 * isearch.el (minibuffer-history-symbol): Declare.
18958 (isearch-edit-string): Remove unused variable `err'.
18959 (isearch-message-prefix, isearch-message-suffix):
18960 Mark unused parameters.
18961
18962 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18963
18964 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18965
18966 * makesum.el (double-column): Remove unused variable `cnt'.
18967
18968 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18969 (ido-ignore-item-temp-list): Declare.
18970
18971 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18972 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18973 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18974 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18975 `mouse-col-delta'.
18976
18977 * mouse-sel.el (mouse-extend-internal):
18978 Remove unused variable `orig-window-frame'.
18979
18980 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18981 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18982 Move declarations before first use.
18983 (pcomplete-opt): Mark unused parameters; doc fix.
18984
18985 * proced.el (proced-revert): Mark unused parameter.
18986 (proced-send-signal): Remove unused variable `err'.
18987
18988 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18989 Rename parameter PREFIX-ARG to ARG.
18990 (ps-basic-plot-string, ps-basic-plot-whitespace):
18991 Mark unused parameters.
18992
18993 * replace.el (replace-count): Define.
18994 (occur-revert-function): Mark unused parameters.
18995 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18996 (isearch-case-fold-search, isearch-string): Declare.
18997 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18998 bind `case-fold-search'. Remove unused variables `beg' and `end',
18999 and simplify.
19000 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19001 COUNT and bind `replace-count'.
19002 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19003 to COUNT.
19004
19005 * savehist.el (print-readably, print-string-length): Declare.
19006
19007 * shadowfile.el (shadow-expand-cluster-in-file-name):
19008 Remove unused variable `cluster'.
19009 (shadow-copy-file): Remove unused variable `i'.
19010 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19011 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19012 (shadow-define-literal-group, shadow-define-regexp-group)
19013 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19014
19015 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19016 (shell): Use `called-interactively-p'.
19017 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19018
19019 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19020 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19021 (delete-backward-char): Remove unused variable `ocol'.
19022 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19023 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19024 (event-apply-hyper-modifier, event-apply-shift-modifier)
19025 (event-apply-control-modifier, event-apply-meta-modifier):
19026 Mark unused parameters.
19027 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19028 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19029
19030 * speedbar.el (speedbar-ignored-directory-expressions)
19031 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19032 (speedbar-find-file, speedbar-dir-follow)
19033 (speedbar-directory-buttons-follow, speedbar-tag-find)
19034 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19035 (speedbar-buffers-line-directory, speedbar-buffer-click):
19036 Mark unused parameters.
19037 (speedbar-tag-file): Remove unused variable `mode'.
19038 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19039
19040 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19041
19042 * talk.el (talk): Remove unused variable `display'.
19043
19044 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19045 (tar-write-region-annotate): Mark unused parameter.
19046
19047 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19048 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19049 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19050 warning by another.
19051
19052 * time-stamp.el (time-stamp-string-preprocess):
19053 Remove unused variable `require-padding'.
19054
19055 * tree-widget.el (widget-glyph-enable): Declare.
19056 (tree-widget-action): Mark unused parameter.
19057
19058 * w32-fns.el (x-get-selection): Mark unused parameter.
19059 (autoload-make-program, generated-autoload-file): Declare.
19060
19061 * wdired.el (wdired-revert): Mark unused parameters.
19062 (wdired-xcase-word): Remove unused variable `err'.
19063
19064 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19065 (whitespace-help-scroll): Remove unused variable `data-help'.
19066
19067 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19068 (widget-image-insert, widget-after-change, default)
19069 (widget-default-format-handler, widget-default-notify)
19070 (widget-default-prompt-value, widget-info-link-action)
19071 (widget-url-link-action, widget-function-link-action)
19072 (widget-variable-link-action, widget-file-link-action)
19073 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19074 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19075 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19076 (widget-insert-button-action, widget-delete-button-action, visibility)
19077 (widget-documentation-link-action, widget-documentation-string-action)
19078 (widget-const-prompt-value, widget-regexp-match, symbol)
19079 (widget-coding-system-prompt-value)
19080 (widget-key-sequence-value-to-external, sexp)
19081 (widget-sexp-value-to-internal, character, vector, cons)
19082 (widget-choice-prompt-value, widget-boolean-prompt-value)
19083 (widget-color--choose-action): Mark unused parameters.
19084 (widget-item-match-inline, widget-choice-match-inline)
19085 (widget-checklist-match, widget-checklist-match-inline)
19086 (widget-group-match): Rename parameter VALUES to VALS.
19087 (widget-field-value-set): Remove unused variable `size'.
19088 (widget-color-action): Remove unused variables `value' and `start'.
19089
19090 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19091 variable `dir'. Doc fix.
19092 (windmove-find-other-window): Don't pass it.
19093
19094 * window.el (count-windows): Mark unused parameter.
19095 (bw-adjust-window): Remove unused variable `err'.
19096
19097 * woman.el (woman-file-name): Remove unused variable `default'.
19098 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19099 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19100 (global-font-lock-mode): Declare.
19101 (woman-decode-region): Mark unused parameter.
19102 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19103
19104 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19105 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19106 (x-dnd-handle-moz-url): Remove unused variable `title'.
19107 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19108
19109 * xml.el (xml-parse-tag, xml-parse-attlist):
19110 Remove unused variable `pos'.
19111
191122011-04-19 Glenn Morris <rgm@gnu.org>
19113
19114 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19115 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19116 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19117 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19118 * calendar/cal-html.el (cal-html-insert-minical):
19119 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19120 (calendar-mark-date-pattern):
19121 Prefix "unused" locals.
19122
19123 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19124 optional argument `style'.
19125
19126 * calendar/appt.el (appt-make-list):
19127 * calendar/cal-china.el (calendar-chinese-date-string):
19128 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19129 (diary-hebrew-yahrzeit):
19130 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19131 * calendar/calendar.el (calendar-generate-window):
19132 * calendar/time-date.el (time-to-days):
19133 Remove unused local variables.
19134
191352011-04-18 Chong Yidong <cyd@stupidchicken.com>
19136
19137 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19138 glyphless-char-display table.
19139 (tabulated-list-glyphless-char-display): New var.
19140
191412011-04-18 Sam Steingold <sds@gnu.org>
19142
19143 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19144 to acknowledgments.
19145
191462011-04-17 Glenn Morris <rgm@gnu.org>
19147
19148 * calendar/diary-lib.el (diary-sexp-entry):
19149 * calendar/holidays.el (holiday-sexp):
19150 Set debug-on-error rather than the removed stack-trace-on-error.
19151
191522011-04-16 Glenn Morris <rgm@gnu.org>
19153
19154 * progmodes/f90.el: Use lexical-binding.
19155 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19156
191572011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19158
19159 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19160 (mail-mode): Setup mailalias completion here instead.
19161 * mail/mailalias.el: Use lexical-binding.
19162 (pattern, mailalias-done): Declare dynamic.
19163 (mail-completion-at-point-function): New function, from mail-complete.
19164 (mail-complete): Use it.
19165 (mail-completion-expand): New function.
19166 (mail-get-names): Use it.
19167 (mail-directory, mail-directory-process, mail-directory-stream):
19168 Don't use `pattern' for lexically bound arg.
19169
19170 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19171
19172 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19173 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19174 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19175
19176 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19177 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19178 (byte-interactive-p): Define them again, for use when inlining
19179 old code.
19180
191812011-04-15 Juanma Barranquero <lekktu@gmail.com>
19182
19183 * loadup.el: Use `string-to-number', not `string-to-int'.
19184
191852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19186
19187 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19188 gud-gdb-complete-command.
19189 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19190 (gud-gdb-completion-at-point): New function.
19191 (gud-gdb-completions): Remove.
19192
191932011-04-14 Michael Albinus <michael.albinus@gmx.de>
19194
19195 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19196 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19197 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19198 whether `executable-find' is bound.
19199
19200 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19201
192022011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * minibuffer.el (completion-in-region-mode-predicate)
19205 (completion-in-region-mode--predicate): New vars.
19206 (completion-in-region, completion-in-region--postch)
19207 (completion-in-region-mode): Use them.
19208 (completion--capf-wrapper): Also return the hook function.
19209 (completion-at-point, completion-help-at-point):
19210 Adjust and provide a predicate.
19211
19212 Preserve arg names for advice of subr and lexical functions (bug#8457).
19213 * help-fns.el (help-function-arglist): Consolidate the subr and
19214 new-byte-code cases. Add argument `preserve-names' to extract names
19215 from the docstring when needed.
19216 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19217 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19218 (ad-arglist): Use help-function-arglist's new arg.
19219 (ad-definition-type): Use cond.
19220
192212011-04-13 Juanma Barranquero <lekktu@gmail.com>
19222
19223 * autorevert.el (auto-revert-handler):
19224 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19225 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19226 Don't quote lambda.
19227
19228 * image-mode.el (image-transform-set-scale):
19229 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19230
192312011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19232
19233 * net/network-stream.el (network-stream-open-starttls): Only do
19234 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19235 Upgrades via gnutls-cli are too slow to be done opportunistically.
19236
192372011-04-12 Juanma Barranquero <lekktu@gmail.com>
19238
19239 * dframe.el (dframe-current-frame): Remove spurious quote.
19240
192412011-04-12 Glenn Morris <rgm@gnu.org>
19242
19243 * calendar/cal-tex.el (cal-tex-end-document):
19244 Try to automatically use latin1 input if needed.
19245
19246 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19247 Don't try to cons a mark onto an empty element.
19248
192492011-04-11 Leo Liu <sdl.web@gmail.com>
19250
19251 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19252 buffers.
19253 (ido-kill-buffer-at-head): Support killing virtual buffers.
19254
192552011-04-10 Chong Yidong <cyd@stupidchicken.com>
19256
19257 * minibuffer.el (completion-show-inline-help): New var.
19258 (completion--do-completion, minibuffer-complete)
19259 (minibuffer-force-complete, minibuffer-complete-word):
19260 Inhibit minibuffer messages if completion-show-inline-help is nil.
19261
19262 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19263 to avoid interference from inline help (Bug#5849).
19264
192652011-04-10 Leo Liu <sdl.web@gmail.com>
19266
19267 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19268 Fix typo.
19269
192702011-04-09 Chong Yidong <cyd@stupidchicken.com>
19271
19272 * image-mode.el (image-toggle-display-image): Signal an error if
19273 not in Image mode.
19274 (image-transform-mode, image-transform-resize)
19275 (image-transform-set-rotation): Doc fix.
19276 (image-transform-set-resize): Delete.
19277 (image-transform-set-scale, image-transform-fit-to-height)
19278 (image-transform-fit-to-width): Handle image-toggle-display-image
19279 and image-transform-resize directly.
19280
192812011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19282
19283 * doc-view.el (doc-view-fit-width-to-window)
19284 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19285 New functions for fitting the shown image to the Emacs window size.
19286 (doc-view-mode-map): Add bindings for the new functions.
19287
192882011-04-08 Juanma Barranquero <lekktu@gmail.com>
19289
19290 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19291 Fix typo in docstring.
19292
192932011-04-08 Eli Zaretskii <eliz@gnu.org>
19294
19295 * files.el (file-size-human-readable): Produce one digit after
19296 decimal, like "ls -lh" does.
19297
19298 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19299 the file size representation.
19300
19301 * simple.el (list-processes): If async subprocesses are not
19302 available, error out with a clear error message.
19303
193042011-04-08 Chong Yidong <cyd@stupidchicken.com>
19305
19306 * help.el (help-form-show): New function, to be called from C.
19307 Put help-form output in a buffer named differently than *Help*.
19308
193092011-04-08 Eli Zaretskii <eliz@gnu.org>
19310
19311 * files.el (file-size-human-readable): New function.
19312
19313 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19314 computing the representation inline. Don't require `cl'.
19315
193162011-04-08 Glenn Morris <rgm@gnu.org>
19317
19318 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19319
19320 * net/browse-url.el (browse-url-firefox):
19321 Test system-type, not system-configuration.
19322
19323 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19324 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19325 Use log-edit-empty-buffer-p. (Bug#7598)
19326
19327 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19328 (rlogin-mode-map): Initialize in the defvar.
19329 (rlogin): Use ignore-errors.
19330
19331 * replace.el (occur-mode-map): Some fixes for menu items.
19332
193332011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19334
19335 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19336
193372011-04-06 Chong Yidong <cyd@stupidchicken.com>
19338
19339 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19340 issuing unused warnings.
19341
19342 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19343 macro directly.
19344
19345 * simple.el: Lisp reimplement of list-processes. Based on an
19346 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19347 (process-menu-mode): New major mode.
19348 (list-processes--refresh, list-processes):
19349 (process-menu-visit-buffer): New functions.
19350
19351 * files.el (save-buffers-kill-emacs): Don't assume any return
19352 value of list-processes, which is undocumented anyway.
19353
193542011-04-06 Chong Yidong <cyd@stupidchicken.com>
19355
19356 * emacs-lisp/tabulated-list.el: New file.
19357
19358 * emacs-lisp/package.el: Use Tabulated List mode.
19359 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19360 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19361 table format using Tabulated List mode variables.
19362 (package--push): New macro, replacing package-list-maybe-add.
19363 (package-menu--generate): Use package--push. Renamed from
19364 package--generate-package-list.
19365 (package-menu-refresh, list-packages): Use it.
19366 (package-menu--print-info): Rename from package-print-package.
19367 Return insertion data instead of inserting it directly.
19368 (package-menu-describe-package, package-menu-execute):
19369 Use tabulated-list-get-id.
19370 (package-menu-mark-delete, package-menu-mark-install)
19371 (package-menu-mark-unmark, package-menu-backup-unmark)
19372 (package-menu-mark-obsolete-for-deletion):
19373 Use tabulated-list-put-tag.
19374 (package--list-packages, package-menu-revert)
19375 (package-menu-get-package, package-menu-get-version)
19376 (package-menu-sort-by-column): Functions deleted.
19377 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19378 (package-menu--status-predicate, package-menu--version-predicate)
19379 (package-menu--name-predicate)
19380 (package-menu--description-predicate): Handle arguments in the
19381 Tabulated List format.
19382 (package-list-packages-no-fetch): Call list-packages.
19383
193842011-04-06 Juanma Barranquero <lekktu@gmail.com>
19385
19386 * files.el (after-find-file-from-revert-buffer): Remove variable.
19387 (after-find-file): Don't bind it.
19388 (revert-buffer-in-progress-p): New variable.
19389 (revert-buffer): Bind it.
19390 Pass nil for `after-find-file-from-revert-buffer'.
19391
19392 * saveplace.el (save-place-find-file-hook): Use new variable
19393 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19394
193952011-04-06 Glenn Morris <rgm@gnu.org>
19396
19397 * Makefile.in (AUTOGEN_VCS): New variable.
19398 (autoloads): Use $AUTOGEN_VCS.
19399
19400 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19401 * calendar/calendar.el (calendar-mode-map):
19402 Check for toolkit scroll bars. (Bug#8305)
19403
194042011-04-05 Chong Yidong <cyd@stupidchicken.com>
19405
19406 * minibuffer.el (completion-in-region--postch)
19407 (completion-in-region-mode): Remove unnecessary messages.
19408
194092011-04-05 Juanma Barranquero <lekktu@gmail.com>
19410
19411 * font-lock.el (font-lock-refresh-defaults):
19412 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19413 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19414
19415 * info.el (Info-directory-list, Info-read-node-name-2)
19416 (Info-split-parameter-string): Doc fixes.
19417 (Info-virtual-nodes): Reflow docstring.
19418 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19419 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19420 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19421 Fix typos in docstrings.
19422 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19423 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19424 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19425 (Info-restore-desktop-buffer): Mark unused parameters.
19426 (Info-directory-find-file, Info-directory-find-node)
19427 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19428 (Info-virtual-index-find-node, Info-apropos-find-file)
19429 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19430 Mark unused parameters; fix typos in docstrings.
19431 (Info-virtual-index): Remove unused local variable `nodename'.
19432
194332011-04-05 Deniz Dogan <deniz@dogan.se>
19434
19435 * net/rcirc.el: Update my e-mail address.
19436 (rcirc-mode-map): Remove M-o binding.
19437
194382011-04-05 Chong Yidong <cyd@stupidchicken.com>
19439
19440 * startup.el (command-line): Save the cursor's theme-face
19441 directly, instead of using face-override-spec.
19442
19443 * custom.el (load-theme): Minor optimization in assigning faces.
19444
194452011-04-04 Juanma Barranquero <lekktu@gmail.com>
19446
19447 * help-fns.el (describe-variable): Complete all variables having
19448 documentation, including keywords.
19449 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19450
194512011-04-04 Juanma Barranquero <lekktu@gmail.com>
19452
19453 Convert to lexical-binding.
19454
19455 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19456 (bs--get-marked-string, bs--get-modified-string)
19457 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19458 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19459 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19460
19461 * ehelp.el (electric-help-execute-extended)
19462 (electric-help-ctrl-x-prefix):
19463 * hexl.el (hexl-revert-buffer-function):
19464 * linum.el (linum-after-change, linum-after-scroll):
19465 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19466
19467 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19468
194692011-04-04 Daiki Ueno <ueno@unixuser.org>
19470
19471 * epa-dired.el:
19472 * epa-mail.el:
19473 * epa-hook.el:
19474 * epa-file.el:
19475 * epa.el:
19476 * epg.el: Use lexical binding.
19477
194782011-04-03 Chong Yidong <cyd@stupidchicken.com>
19479
19480 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19481
19482 * textmodes/flyspell.el (flyspell-word): Recognize default
19483 dictionary case for flyspell-mark-duplications-exceptions.
19484 Use regexp matching for languages.
19485 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19486 default dictionary (Bug#7926).
19487
194882011-04-02 Chong Yidong <cyd@stupidchicken.com>
19489
19490 * emacs-lisp/package.el (package--with-work-buffer):
19491 Recognize https URLs.
19492
19493 * net/network-stream.el: Move from gnus/proto-stream.el.
19494 Change prefix to network-stream throughout.
19495 (open-protocol-stream): Merge into open-network-stream, leaving
19496 open-protocol-stream as an alias. Handle nil BUFFER args.
19497
19498 * subr.el (open-network-stream): Move to net/network-stream.el.
19499
195002011-04-02 Glenn Morris <rgm@gnu.org>
19501
19502 * find-dired.el (find-exec-terminator): New option.
19503 (find-ls-option): Test for -ls support.
19504 (find-ls-subdir-switches): Test for -b in find-ls-option.
19505 (find-dired, find-grep-dired): Doc fixes.
19506 (find-dired): Use find-exec-terminator.
19507
19508 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19509 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19510 (find-name-arg): Remove purecopy.
19511
19512 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19513 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19514 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19515 accordingly. Don't add the null-device if not needed.
19516
19517 * files.el (save-some-buffers): Doc fix.
19518
195192011-04-02 Eli Zaretskii <eliz@gnu.org>
19520
19521 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19522
195232011-04-01 Juanma Barranquero <lekktu@gmail.com>
19524
19525 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19526 Use `dolist' rather than `mapcar'.
19527
195282011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19529
19530 Add lexical binding.
19531
19532 * subr.el (apply-partially): Use new closures rather than CL.
19533 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19534 (dolist, dotimes): Use slightly different expansion for lexical code.
19535 (functionp): Move to C.
19536 (letrec): New macro.
19537 (with-wrapper-hook): Use it and apply-partially instead of CL.
19538 (eval-after-load): Preserve lexical-binding.
19539 (save-window-excursion, with-output-to-temp-buffer): Turn them
19540 into macros.
19541
19542 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19543
19544 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19545 than the arglist.
19546 (help-add-fundoc-usage): Don't add `Not documented'.
19547 (help-function-arglist): Handle closures, subroutines, and new
19548 byte-code-functions.
19549 (help-make-usage): Remove leading underscores.
19550 (describe-function-1): Handle closures.
19551 (describe-variable): Use special-variable-p for completion.
19552
19553 * files.el (lexical-binding): Declare safe.
19554
19555 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19556 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19557 (pcase): Add `let' pattern.
19558 Change memoization so it actually works.
19559 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19560 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19561 <let>: New case.
19562
19563 * emacs-lisp/macroexp.el: Use lexical binding.
19564 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19565 Don't convert ' to #' without checking that it's indeed quoting
19566 a lambda.
19567
19568 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19569 Use eval-sexp-add-defvars.
19570 (eval-sexp-add-defvars): New fun.
19571
19572 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19573
19574 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19575 Don't autoload.
19576 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19577 than the internal `byte-compile-lambda'.
19578 (defmethod): Don't hide code under quotes.
19579 (eieio-defmethod): New `code' argument.
19580
19581 * emacs-lisp/eieio-comp.el: Remove.
19582
19583 * emacs-lisp/edebug.el (edebug-eval-defun)
19584 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19585 (edebug-toggle): Avoid `eval'.
19586
19587 * emacs-lisp/disass.el (disassemble-internal): Handle new
19588 `closure' objects.
19589 (disassemble-1): Handle new byte codes.
19590
19591 * emacs-lisp/cl.el (pushnew): Silence warning.
19592
19593 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19594 (cl-byte-compile-throw): Remove.
19595 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19596
19597 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19598 closures.
19599
19600 * emacs-lisp/cconv.el: New file.
19601
19602 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19603 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19604 (byte-compile-initial-macro-environment):
19605 Handle declare-function here.
19606 (byte-compile--lexical-environment): New var.
19607 (byte-stack-ref, byte-stack-set, byte-discardN)
19608 (byte-discardN-preserve-tos): New lap codes.
19609 (byte-interactive-p): Don't use any more.
19610 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19611 New macros.
19612 (byte-compile-lapcode): Use them and handle new lap codes.
19613 (byte-compile-obsolete): Remove.
19614 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19615 (byte-compile-arglist-warn): Check late def of inlinable funs.
19616 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19617 since they should have been expanded by now.
19618 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19619 (byte-compile-from-buffer): Remove unused second arg.
19620 (byte-compile-preprocess): New function.
19621 (byte-compile-toplevel-file-form): New function to distinguish
19622 file-form calls from outside from file-form calls from hunk-handlers.
19623 (byte-compile-file-form): Simplify.
19624 (byte-compile-file-form-defsubst): Remove.
19625 (byte-compile-file-form-defmumble): Simplify now that
19626 byte-compile-lambda always returns a byte-code-function.
19627 (byte-compile): Preprocess.
19628 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19629 Remove, not used any more.
19630 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19631 (byte-compile-make-args-desc): New funs.
19632 (byte-compile-lambda): Handle lexical functions. Always return
19633 a byte-code-function.
19634 (byte-compile-reserved-constants): New var, to make up room for
19635 closed-over variables.
19636 (byte-compile-constants-vector): Obey it.
19637 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19638 (byte-compile-macroexpand-declare-function): New function.
19639 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19640 byte-code-functions.
19641 (byte-compile-form): Check obsolescence here.
19642 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19643 (byte-compile-variable-ref): Remove.
19644 (byte-compile-dynamic-variable-op): New fun.
19645 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19646 (byte-compile-variable-set): New funs.
19647 (byte-compile-discard): Add 2 args.
19648 (byte-compile-stack-ref, byte-compile-stack-set)
19649 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19650 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19651 macroexpand-all instead.
19652 (byte-compile-quote-form): Remove.
19653 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19654 (byte-compile-bind, byte-compile-unbind): New funs.
19655 (byte-compile-let): Handle let* and lexical binding.
19656 (byte-compile-let*): Remove.
19657 (byte-compile-catch, byte-compile-unwind-protect)
19658 (byte-compile-track-mouse, byte-compile-condition-case):
19659 Handle a new :fun-body form, used for lexical scoping.
19660 (byte-compile-save-window-excursion)
19661 (byte-compile-with-output-to-temp-buffer): Remove.
19662 (byte-compile-defun): Simplify.
19663 (byte-compile-stack-adjustment): New fun.
19664 (byte-compile-out): Use it.
19665 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19666
19667 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19668 handler any more.
19669
19670 * emacs-lisp/byte-opt.el: Use lexical binding.
19671 (byte-inline-lapcode): Remove (to bytecomp).
19672 (byte-compile-inline-expand): Pay attention to inlining to/from
19673 lexically bound code.
19674 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19675 any more.
19676 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19677 any more and don't call compiler-macros.
19678 (byte-compile-splice-in-already-compiled-code): Remove.
19679 (byte-code): Don't inline any more.
19680 (disassemble-offset): Receive `bytes' as argument rather than via
19681 dynamic scoping.
19682 (byte-compile-tag-number): Declare before first use.
19683 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19684 `return' even if make-spliceable.
19685 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19686 obsolete interactive-p.
19687 (byte-optimize-lapcode): Optimize new lap-codes.
19688 Don't trip up on new form of `byte-constant' lap code.
19689
19690 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19691
19692 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19693
19694 * custom.el (custom-initialize-default, custom-declare-variable):
19695 Use `defvar'.
19696
19697 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19698 New variables.
19699 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19700 (COMPILE_FIRST): Add macroexp and cconv.
19701 * makefile.w32-in: Mirror changes in Makefile.in.
19702
19703 * vc/cvs-status.el:
19704 * vc/diff-mode.el:
19705 * vc/log-edit.el:
19706 * vc/log-view.el:
19707 * vc/smerge-mode.el:
19708 * textmodes/bibtex-style.el:
19709 * textmodes/css-mode.el:
19710 * startup.el:
19711 * uniquify.el:
19712 * minibuffer.el:
19713 * newcomment.el:
19714 * reveal.el:
19715 * server.el:
19716 * mpc.el:
19717 * emacs-lisp/smie.el:
19718 * doc-view.el:
19719 * dired.el:
19720 * abbrev.el: Use lexical binding.
19721
197222011-04-01 Eli Zaretskii <eliz@gnu.org>
19723
19724 * info.el (info-display-manual): New function.
19725
197262011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19729
197302011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19731
19732 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19733 an entry for that server in rcirc-authinfo. (Bug#8385)
19734
197352011-03-31 Glenn Morris <rgm@gnu.org>
19736
19737 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19738
19739 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19740
197412011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19742
19743 * progmodes/python.el (python-default-interpreter)
19744 (python-python-command-args, python-jython-command-args)
19745 (python-which-shell, python-which-args, python-which-bufname)
19746 (python-file-queue, python-comint-output-filter-function)
19747 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19748 variables and functions.
19749
197502011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19751
19752 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19753 (completion-in-region-mode): New minor mode.
19754 (completion-in-region): Use it.
19755 (completion-in-region--data, completion-in-region-mode-map): New vars.
19756 (completion-in-region--postch): New function.
19757 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19758 New vars.
19759 (completion--capf-wrapper): New function.
19760 (completion-at-point): Use it to track well-behavedness of
19761 hook functions.
19762 (completion-help-at-point): New command.
19763
197642011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19765
19766 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19767 syntax class to search for whitespace on a single line
19768 (Message-ID: <4D938140.4030905@redhat.com>).
19769
197702011-03-30 Leo Liu <sdl.web@gmail.com>
19771
19772 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19773 New commands.
19774 (edit-abbrevs-map): Bind them here.
19775 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19776
197772011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19778
19779 * allout.el (allout-hide-by-annotation, allout-flag-region):
19780 Reduce possibility of overlay leakage by making them volatile.
19781
19782 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19783 hash is not shared between buffers. Mode initialization is
19784 responsible for giving it a useful starting value.
19785 (allout-item-span): Reduce possibility of overlay leakage by
19786 making them volatile.
19787 (allout-widgets-count-buttons-in-region): Add diagnostic function
19788 for tracking down button overlay leaks.
19789
197902011-03-29 Leo Liu <sdl.web@gmail.com>
19791
19792 * ido.el (ido-read-internal): Use the default history var
19793 minibuffer-history if no HISTORY is specified.
19794
197952011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19796
19797 * net/imap.el (imap-shell-open, imap-process-connection-type):
19798 Use imap-process-connection-type for 'shell' streams as well as
19799 Kerberos, SSL, other subprocesses.
19800
198012011-03-28 Leo Liu <sdl.web@gmail.com>
19802
19803 * abbrev.el (abbrev-table-empty-p): New function.
19804 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19805 nonempty ones. (Bug#5937)
19806
198072011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19808
19809 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19810
198112011-03-27 Leo Liu <sdl.web@gmail.com>
19812
19813 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19814 for foreground and background colors.
19815 (ansi-color-make-color-map): Adapt.
19816
198172011-03-25 Leo Liu <sdl.web@gmail.com>
19818
19819 * midnight.el (midnight-time-float): Remove. Note it calculates
19820 the microsecond component incorrectly and seconds-to-time does the
19821 same job.
19822 Remove redundant (require 'timer).
19823
19824 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19825 (ido-completions): Remove unused arguments. (Bug#8329)
19826
198272011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19828
19829 * minibuffer.el (completion--flush-all-sorted-completions):
19830 Remove itself from hook.
19831 (completion-at-point): Let the functions perform the completion
19832 immediately and return nil or t.
19833 * comint.el (comint-dynamic-complete-functions): Now identical to
19834 completion-at-point-functions.
19835 (comint-dynamic-list-input-ring): Remove unused var `index'.
19836 (comint--match-partial-filename, comint--unquote&expand-filename):
19837 New funs, split from comint-match-partial-filename.
19838 (comint-dynamic-complete): Use completion-at-point.
19839 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19840
198412011-03-24 Drew Adams <drew.adams@oracle.com>
19842
19843 * thingatpt.el: Support `defun'.
19844
198452011-03-23 Leo Liu <sdl.web@gmail.com>
19846
19847 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19848
19849 * help-mode.el (help-mode-finish): Tweak regexp.
19850
198512011-03-23 Glenn Morris <rgm@gnu.org>
19852
19853 * eshell/esh-opt.el (eshell-eval-using-options):
19854 Do not bind unused local variable `eshell-option-stub'.
19855
19856 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19857
198582011-03-22 Juanma Barranquero <lekktu@gmail.com>
19859
19860 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19861 keymap variable in `with-no-warnings' to avoid a warning when the
19862 keymap has been already `defconst'ed.
19863
198642011-03-22 Leo Liu <sdl.web@gmail.com>
19865
19866 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19867 encode all chars in abbrevs; otherwise use emacs-mule or
19868 utf-8-emacs. (Bug#8308)
19869
198702011-03-22 Juanma Barranquero <lekktu@gmail.com>
19871
19872 * simple.el (backward-delete-char-untabify):
19873 Avoid warning about using `delete-backward-char'.
19874
19875 * image.el (image-type-file-name-regexps): Make it variable.
19876 `imagemagick-register-types' modifies it, and the user may want
19877 to add new extensions for known image types.
19878 (imagemagick-register-types): Throw error if not using ImageMagick.
19879
198802011-03-22 Leo Liu <sdl.web@gmail.com>
19881
19882 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19883 located before rcirc-prompt-end-marker.
19884 (rcirc-complete): Error if point is not after rcirc prompt.
19885 Handle the case when table is nil.
19886 (rcirc-user-authenticated): Define to fix compiler warning.
19887
198882011-03-22 Chong Yidong <cyd@stupidchicken.com>
19889
19890 * custom.el (custom--inhibit-theme-enable): Make it affect only
19891 custom-theme-set-variables and custom-theme-set-faces.
19892 (provide-theme): Ignore custom--inhibit-theme-enable.
19893 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19894 (custom-enabling-themes): Delete variable.
19895 (enable-theme): Accept only loaded themes as arguments.
19896 Ignore the special custom-enabled-themes variable.
19897 (custom-enabled-themes): Forbid themes from setting this.
19898 Eliminate use of custom-enabling-themes.
19899 (custom-push-theme): Quote "changed" custom var entry.
19900
199012011-03-21 Leo Liu <sdl.web@gmail.com>
19902
19903 * ido.el (ido-read-internal): Add ido-selected to history instead
19904 of user input.
19905
199062011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19907
19908 * subr.el (deferred-action-list, deferred-action-function):
19909 Mark obsolete.
19910
199112011-03-21 Leo Liu <sdl.web@gmail.com>
19912
19913 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19914 change on 2011-02-13 (bug#8309).
19915
19916 * minibuffer.el (read-file-name-function): Change default value.
19917 (read-file-name--defaults): Rename from read-file-name-defaults.
19918 (read-file-name-default): Rename from read-file-name.
19919 (read-file-name): Call read-file-name-function.
19920
199212011-03-21 Glenn Morris <rgm@gnu.org>
19922
19923 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19924 Doc fixes.
19925
199262011-03-21 Chong Yidong <cyd@stupidchicken.com>
19927
19928 * cus-theme.el: Add missing provide statement.
19929 (customize-create-theme): Extract theme value correctly.
19930 (custom-theme-visit-theme): Autoload.
19931 (customize-create-theme): Prompt before inserting default faces.
19932
199332011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19934
19935 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19936 units and musical notes.
19937
199382011-03-20 Leo Liu <sdl.web@gmail.com>
19939
19940 * ido.el (ido-read-internal): Use completing-read-default.
19941 (ido-completing-read): Fix compatibility with completing-read.
19942
199432011-03-20 Christian Ohler <ohler@gnu.org>
19944
19945 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19946 (ert-delete-all-tests): Use `called-interactively-p' rather than
19947 `interactive-p'.
19948 (ert--make-xrefs-region): Respect END.
19949
199502011-03-19 Chong Yidong <cyd@stupidchicken.com>
19951
19952 * dired-aux.el (dired-create-directory): Signal an error if the
19953 directory already exists (Bug#8246).
19954
19955 * facemenu.el (list-colors-display): Call list-faces-display
19956 inside with-help-window.
19957 (list-colors-print): Use display property to align the final
19958 column, instead of checking window-width.
19959
199602011-03-19 Eli Zaretskii <eliz@gnu.org>
19961
19962 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19963 windows-nt systems.
19964 (emerge-protect-metachars): Quote correctly for ms-dos and
19965 windows-nt systems.
19966
199672011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19968
19969 * info.el (info-initialize): Replace all uses of `:' with
19970 path-separator for compatibility with non-Unix systems.
19971 Cache quoting of path-separator. (Bug#8258)
19972
199732011-03-19 Juanma Barranquero <lekktu@gmail.com>
19974
19975 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19976 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19977 (mouse-avoidance-mode): Fix typos in docstrings.
19978
199792011-03-19 Chong Yidong <cyd@stupidchicken.com>
19980
19981 * startup.el (package-subdirectory-regexp): Move from package.el.
19982 Omit \\` and \\', and let callers add them.
19983
19984 * emacs-lisp/package.el (package-strip-version)
19985 (package-load-all-descriptors): Add \\` and \\' to
19986 package-subdirectory-regexp before using it.
19987 (package-untar-buffer): New arg DIR; ensure that file untars only
19988 into this expected directory. Remove superfluous delete-region.
19989 (package-unpack): Caller changed.
19990 (package-tar-file-info): Use package-subdirectory-regexp.
19991
199922011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
19993
19994 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19995 diff-mode-shared-map (bug#8284).
19996 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19997
199982011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19999
20000 * calendar/time-date.el (format-seconds): Use assoc instead of
20001 assoc-string, since assoc-string doesn't exist in XEmacs.
20002
200032011-03-17 Juanma Barranquero <lekktu@gmail.com>
20004
20005 * custom.el (custom-known-themes): Reflow docstring.
20006 (custom-theme-load-path): Fix typo in docstring.
20007 (load-theme): Fix typo in error message.
20008 (custom-available-themes, custom-variable-theme-value):
20009 Use `let', not `let*'.
20010
200112011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20012
20013 * calc/README: Mention inclusion of musical notes.
20014
20015 * calc/calc-units.el (calc-lu-quant): Rename from
20016 `calc-logunits-quantity'.
20017 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20018 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20019 (calc-db): Rename from `calc-dblevel'.
20020 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20021 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20022 (calc-np): Rename from `calc-nplevel'.
20023 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20024 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20025 (calc-lu-plus): Rename from `calc-logunits-add'.
20026 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20027 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20028 (calc-lu-minus): Rename from `calc-logunits-sub'.
20029 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20030 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20031 (calc-lu-times): Rename from `calc-logunits-mul'.
20032 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20033 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20034 (calc-lu-divide): Rename from `calc-logunits-div'.
20035 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20036 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20037
20038 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20039 functions being autoloaded.
20040
20041 * calc/calc.el (calc-lu-power-reference): Rename from
20042 `calc-logunits-power-reference'.
20043 (calc-lu-field-reference): Rename from
20044 `calc-logunits-field-reference'.
20045
20046 * calc/calc-help.el (calc-l-prefix-help):
20047 Mention musical note functions.
20048
200492011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20050
20051 * minibuffer.el (completion-all-sorted-completions):
20052 Use :completion-cycle-penalty text property if present.
20053
200542011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20055
20056 * allout.el (allout-yank-processing): Adjust for new rebulleting
20057 regime so bullet being yanked is used without prompting the user
20058 for a choice.
20059
200602011-03-16 Juanma Barranquero <lekktu@gmail.com>
20061
20062 * startup.el (command-line): Warn the user that _emacs is deprecated.
20063
200642011-03-16 Juanma Barranquero <lekktu@gmail.com>
20065
20066 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20067 (delphi-verbose, delphi-comment-face, delphi-string-face)
20068 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20069 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20070 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20071 (delphi-new-comment-line, delphi-font-lock-defaults)
20072 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20073 Fix typos in docstrings.
20074
200752011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20076
20077 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20078 Invert the roles of character and string values for INSTEAD, so a
20079 string is used for the more common case of a defaulting prompt.
20080
200812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * progmodes/ruby-mode.el (ruby-backward-sexp):
20084 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20085 * play/gamegrid.el (gamegrid-make-face):
20086 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20087 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20088 * notifications.el (notifications-notify):
20089 * net/xesam.el (xesam-search-engines):
20090 * net/quickurl.el (quickurl-list-insert):
20091 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20092
200932011-03-15 Chong Yidong <cyd@stupidchicken.com>
20094
20095 * startup.el (command-line): Update package subdirectory regexp.
20096
200972011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20098
20099 * allout.el (allout-abbreviate-flattened-numbering)
20100 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20101
20102 * subr.el (read-char-choice): Only show the cursor after the prompt,
20103 not after the answer.
20104
201052011-03-15 Kevin Ryde <user42@zip.com.au>
20106
20107 * help-fns.el (variable-at-point): Skip leading quotes, if any
20108 (bug#8253).
20109
201102011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20111
20112 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20113 warning message.
20114
201152011-03-14 Michael Albinus <michael.albinus@gmx.de>
20116
20117 * shell.el (shell): When called interactively, offer to change the
20118 shell file name on remote hosts.
20119
201202011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20121
20122 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20123 integration for LDAP parameters. The host, base, user or binddn,
20124 and secret tokens can be specified in a netrc file, for instance.
20125 This is optional because an `auth-source' parameter must be
20126 specified in the search attributes.
20127
201282011-03-13 Juanma Barranquero <lekktu@gmail.com>
20129
20130 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20131
201322011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20133
20134 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20135 into declaration. Remove redundant and harmful binding.
20136
201372011-03-12 Eli Zaretskii <eliz@gnu.org>
20138
20139 * files.el (file-ownership-preserved-p): Pass `integer' as an
20140 explicit 2nd argument to `file-attributes'. If the file's owner
20141 is the Administrators group on Windows, and the current user is
20142 Administrator, consider that a match.
20143
20144 * server.el (server-ensure-safe-dir): Consider server directory
20145 safe on MS-Windows if its owner is the Administrators group while
20146 the current Emacs user is Administrator. Use `=' to compare
20147 numerical UIDs, since they could be integers or floats.
20148
201492011-03-12 Juanma Barranquero <lekktu@gmail.com>
20150
20151 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20152
201532011-03-12 Michael Albinus <michael.albinus@gmx.de>
20154
20155 Sync with Tramp 2.2.1.
20156
20157 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20158
20159 * net/trampver.el: Update release number.
20160
201612011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20162
20163 * progmodes/compile.el (compilation--previous-directory): Fix up
20164 various nil/dead-marker mismatches (bug#8014).
20165 (compilation-directory-properties, compilation-error-properties):
20166 Don't call it at a position past the one we're about to change.
20167
20168 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20169 Disable obsolescence warnings in the file that declares it.
20170
201712011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20172
20173 * allout-widgets.el (allout-widgets-tally):
20174 Initialize allout-widgets-tally as a hash table rather than nil to
20175 prevent mode-line redisplay warnings. Also, clarify the module
20176 description and fix a comment typo.
20177
201782011-03-11 Juanma Barranquero <lekktu@gmail.com>
20179
20180 * help-fns.el (describe-variable): Don't complete keywords.
20181 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20182
201832011-03-10 Chong Yidong <cyd@stupidchicken.com>
20184
20185 * emacs-lisp/package.el (package-version-join): Impose a standard
20186 string representation for pre/alpha/beta version lists.
20187 (package-unpack-single): Standardize the directory name by passing
20188 it through package-version-join.
20189 (package-strip-rcs-id): Accept any version string that does not
20190 signal an error in version-to-list.
20191
201922011-03-10 Michael Albinus <michael.albinus@gmx.de>
20193
20194 * simple.el (delete-trailing-whitespace): Return nil for the
20195 benefit of `write-file-functions'.
20196
201972011-03-10 Glenn Morris <rgm@gnu.org>
20198
20199 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20200
20201 * vc/vc-git.el (vc-git-program): New option.
20202 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20203 (vc-git--call): Use it.
20204
20205 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20206
20207 * cus-edit.el (Custom-newline): If no button at point, look
20208 for a subgroup button at start-of-line. (Bug#2298)
20209
20210 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20211
202122011-03-10 Julien Danjou <julien@danjou.info>
20213
20214 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20215 `cursor-type' is nil.
20216
202172011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20218
20219 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20220
202212011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20222
20223 * allout.el: Change so yank of distinctive-bullet items
20224 preserves the existing header prefix, rebulleting it if necessary,
20225 rather than replacing it. This is necessary for proper operation
20226 of cooperative addons like allout-widgets.
20227 (allout-make-topic-prefix, allout-rebullet-heading):
20228 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20229 value as alternate bullet to be used, instead of prompting the user
20230 for a bullet character.
20231
202322011-03-09 Michael Albinus <michael.albinus@gmx.de>
20233
20234 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20235 Do not use `tramp-file-name-port', because this returns also
20236 `tramp-default-port'.
20237
202382011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20239
20240 * net/rcirc.el (rcirc-handler-001): Remove useless
20241 with-rcirc-process-buffer.
20242 (rcirc-check-auth-status): Swap arguments to string-match.
20243
202442011-03-09 Glenn Morris <rgm@gnu.org>
20245
20246 * shell.el (shell-mode):
20247 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20248
20249 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20250 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20251
202522011-03-08 Chong Yidong <cyd@stupidchicken.com>
20253
20254 * emacs-lisp/package.el (package-refresh-contents)
20255 (package-menu-execute): Use condition-case-no-debug.
20256
202572011-03-08 Michael Albinus <michael.albinus@gmx.de>
20258
20259 * simple.el (shell-command-to-string): Use `process-file'.
20260
20261 * emacs-lisp/package.el (package-tar-file-info): Handle also
20262 remote files.
20263
20264 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20265 Use `equal' for upload base check.
20266
202672011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20268
20269 * textmodes/texinfo.el (texinfo-environments):
20270 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20271
202722011-03-08 Glenn Morris <rgm@gnu.org>
20273
20274 * cus-start.el (cursor-in-non-selected-windows):
20275 Fix :set quoting oddness. (Bug#8192)
20276
20277 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20278 in some setf expressions. (Bug#2159)
20279
202802011-03-08 Chong Yidong <cyd@stupidchicken.com>
20281
20282 * custom.el (custom-available-themes): Return themes in
20283 alphabetical order.
20284
20285See ChangeLog.15 for earlier changes.
20286
20287;; Local Variables:
20288;; coding: utf-8
20289;; End:
20290
20291 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20292
20293 This file is part of GNU Emacs.
20294
20295 GNU Emacs is free software: you can redistribute it and/or modify
20296 it under the terms of the GNU General Public License as published by
20297 the Free Software Foundation, either version 3 of the License, or
20298 (at your option) any later version.
20299
20300 GNU Emacs is distributed in the hope that it will be useful,
20301 but WITHOUT ANY WARRANTY; without even the implied warranty of
20302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20303 GNU General Public License for more details.
20304
20305 You should have received a copy of the GNU General Public License
20306 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.