1 2013-02-25 Stephen Berman <stephen.berman@gmx.net>
3 * calendar/todos.el (todos-key-bindings): Add binding for `todos-show'.
4 (todos-show): Prompt for which todo file to visit when invoked
7 2013-02-19 Stephen Berman <stephen.berman@gmx.net>
9 * calendar/todos.el: Item insertion and done/undo fixes.
10 (todos-insert-item): Maybe set the insertion file to
11 todos-global-current-todos-file. When inserting into a file that
12 was not being visited on invoking this command, ensure chosen
13 category is properly selected. Make item inserted "here" the
14 first todo item if the command was invoked with point in done
15 items section or outside of the current category.
16 (todos-item-done): When done items are shown, put cursor on first
18 (todos-item-undo): Put cursor on undone item.
20 2013-02-16 Stephen Berman <stephen.berman@gmx.net>
22 * calendar/todos.el: Improve handling of overlays.
23 (todos-get-overlay): New function.
24 (todos-prefix-overlay): Remove, since subsumed by
25 todos-get-overlay, and replace by the latter in callers.
26 (todos-reset-prefix): Apply only to buffer visiting Todos files.
27 Simplify implementation and use `todos' overlay property.
28 (todos-reset-done-separator): Use todos-get-overlay and `todos'
29 overlay property. Fix logic.
30 (todos-category-select): Use todos-get-overlay and `todos' overlay
32 (todos-remove-item): Use todos-get-overlay. Correct obsolete code.
33 (todos-prefix-overlays): Use todos-top-priority face also for
34 non-numerical prefix of top priority items. Add `todos' overlay
36 (todos-hide-show-date-time): Simplify, using todos-get-overlay and
37 `todos' overlay property.
39 2013-02-14 Stephen Berman <stephen.berman@gmx.net>
41 * calendar/todos.el (todos-edit-multiline, todos-edit-quit):
42 Revert buffer renaming.
44 2013-02-11 Stephen Berman <stephen.berman@gmx.net>
46 * calendar/todos.el (todos-edit-quit): On quitting file editing,
47 rename buffer back to current Todos file. After selecting
48 category, put point at top instead of recentering.
50 2013-02-08 Stephen Berman <stephen.berman@gmx.net>
52 * calendar/todos.el (todos-edit-multiline-item): Revert to using
53 indirect buffer, which makes it easier to return to Todos mode.
54 (todos-edit-quit): Don't delete and reinsert items that don't need
55 indenting. Revert to just killing buffer on quitting single item
56 editing. On quitting file editing, select nearest category.
58 2013-02-07 Stephen Berman <stephen.berman@gmx.net>
60 * calendar/todos.el: Bug fixes and improvements to item editing
62 (todos-check-format): Compare current value of todos-categories
63 with actual categories sexp.
64 (todos-repair-categories-sexp): Add warning to doc string about
65 category order getting restored to list element order.
66 (todos-mode-external-set): When todos-categories is nil, as in
67 Todos Edit mode, set it by reading actual categories sexp.
68 (todos-edit-mode): Make buffer writeable.
69 (todos-done-item-section-p): New function.
70 (todos-insert-item): Use it as part of preventing insertion here
71 in done items section. Move check for display of done items only
72 to just before setting new item's priority, and if cancelled after
73 toggling to todo items, restore display of done items.
74 (todos-edit-multiline-item): Don't base on todos-edit-multiline
75 but just narrow and change mode.
76 (todos-edit-multiline): Don't make indirect buffer but just widen
77 and change mode; also remove overlays.
78 (todos-edit-quit): Restore Todos mode and category display; when
79 quitting multiline item editing, ensure items above edited item
80 are visible in window if possible.
81 (todos-done-item-add-edit-or-delete-comment): If user moved point
82 during editing, make sure it moves back to edited item before
85 2013-02-05 Stephen Berman <stephen.berman@gmx.net>
87 * calendar/todos.el (todos-reset-done-separator-string):
88 Complete the implementation.
89 (todos-hide-show-done-items): If start of done items sections is
90 below the bottom of the window, make it visible.
91 (todos-insert-item): Allow inserting item here to work outside of
92 the current category, but then at top of category. After checking
93 whether only done items are shown, restore point to ensure
94 inserting item here works correctly.
95 (todos-set-item-priority): Delete leftover right paren at end.
97 2013-02-04 Stephen Berman <stephen.berman@gmx.net>
99 * calendar/todos.el: Bug fixes involving or displaying done items.
100 (todos-done-separator): Make length of long separator one less
101 than window-width, in order to avoid following empty line.
102 (todos-forward-item, todos-backward-item): Make empty line below
103 last todo item accessible only by invoking without a numerical
104 prefix argument and make the latter invocations move only to items.
105 (todos-insert-item): Set todos-current-todos-file after selecting
106 buffer, in order not to set global value. If only done items are
107 shown when this command is invoked, toggle to show todo items to
108 avoid insertion into done items section. When done items are
109 shown, protect from cancelling before setting item priority: this
110 also needs recentering to display all items.
111 (todos-set-item-priority): Only call on (not done) todo items.
112 Check that done items are visible not because file is widened.
113 Use only `any' argument of called-interactively-p. Make sure that
114 giving an undone item lowest priority restores it to the todo
116 (todos-item-done): If done items are visible on invoking this
117 command, keep them visible afterwards. Stop looking for marked
118 items on reaching the empty line below the last todo item.
120 2013-02-02 Stephen Berman <stephen.berman@gmx.net>
122 * calendar/todos.el: Several small fixes and improvements.
123 (todos-done-separator-string): Change default value.
124 (todos-update-categories-sexp): Remove unnecessary and misquided
125 setq of todos-default-todos-file. Use delete-region instead of
126 kill-region to avoid polluting kill-ring.
127 (todos-unload-hook): Remove (was not used).
128 (todos-edit-multiline): Don't generate new edit buffer name on
129 each invocation---that can cause confusion due to indirect buffer.
130 (todos-edit-quit): Ensure lines in edit buffer that follow hard
131 newlines are indented in the file to conform to diary format.
132 (todos-set-item-priority): If done items in category are visible,
135 2013-01-30 Stephen Berman <stephen.berman@gmx.net>
137 * calendar/todos.el: Fix done separator overlay bug. Remove most
139 (todos-reset-and-enable-done-separator): Remove commented out
140 workaround for done separator overlay bug; fix doc string.
141 (todos-reset-done-separator): Delete old overlay after adding new
142 overlay to fix done separator overlay bug; improve implementation.
143 (todos-prefix-overlays): Improve first line of doc string.
145 2013-01-29 Stephen Berman <stephen.berman@gmx.net>
147 * calendar/todos.el: Improve item marking and handling of marked items.
148 (todos-prefix): Add validator to ensure value differs from that of
150 (todos-item-mark): New defcustom.
151 (todos-prefix-overlay): New function.
152 (todos-marked-item-p): Use it. Adapt implementation to new
153 handling of marked items.
154 (todos-insert-with-overlays): When inserting pushes down a marked
155 item, move its prefix overlay.
156 (todos-prefix-overlays): Add overlay even when prefix is empty string,
157 otherwise item marking fails. Improve handling of marked items.
158 (todos-mark-unmark-item): Adapt to new handling of marked items
159 and simplify by removing marking of all items in category.
160 (todos-mark-category): Adapt to new handling of marked items and
161 don't use todos-mark-unmark-item.
162 (todos-unmark-category): Adapt to new handling of marked items.
163 (todos-delete-item): Remove obsolete handling of marked items and
164 useless restoration of point.
165 (todos-set-item-priority): Use new handling of marked items.
166 (todos-move-item, todos-item-done, todos-item-undo)
167 (todos-archive-done-item): Remove obsolete handling of marked items.
169 2013-01-25 Stephen Berman <stephen.berman@gmx.net>
171 * calendar/todos.el: Improve definitions and use of some faces.
172 (todos-top-priority): Use current definition of font-lock-constant-face.
173 (todos-diary-expired): Make default value contrast more with
174 default value of todos-date face.
175 (todos-nondiary, todos-category-string): New faces.
176 (todos-nondiary-face, todos-category-string-face): Corresponding
178 (todos-done, todos-comment): Switch default values to go better
179 with default value of todos-date face.
180 (todos-done-sep): Change default value.
181 (todos-category-string-matcher-1)
182 (todos-category-string-matcher-2): Improve doc string.
183 (todos-font-lock-keywords): Use todos-nondiary-face and
184 todos-category-string-face.
185 (todos-done-separator): Propertize string with todos-done-sep face.
186 (todos-filtered-items-mode): Fix typo.
188 2013-01-23 Stephen Berman <stephen.berman@gmx.net>
190 * calendar/todos.el: Improve handling of saved top priorities items.
191 (todos-find-item): Find done items and items whose priority has
192 changed or whose text was truncated or augmented; add doc string.
193 (todos-check-top-priorities): Highlight each item that is not up
195 (todos-jump-to-item): Jump to items whose priority has changed or
196 whose text was truncated or augmented.
198 2013-01-22 Stephen Berman <stephen.berman@gmx.net>
200 * calendar/todos.el: Revise handling of initial display and extend
201 to top priorities file.
202 (todos-display-categories-first): Remove, replacing by this:
203 (todos-show-first): New defcustom.
204 (todos-first-visit): Remove, replacing by this:
205 (todos-visited): New variable.
206 (todos-absolute-file-name): Extend possible values of optional
207 argument to take top priorities files into account.
208 (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
209 (todos-mode-external-set): Call find-file-noselect instead of
210 find-buffer-visiting, since the latter may fail.
211 (todos-show): Revise handling of initial display using
212 todos-show-first and todos-visited and extend to top priorities
214 (todos-quit): Adapt to new handling of initial display.
216 2013-01-14 Stephen Berman <stephen.berman@gmx.net>
218 * calendar/todos.el: Implement saving top priority items buffers,
219 improve implementation of item filtering commands and
220 infrastucture, and fix two bugs.
221 (todos-prefix-overlays): Use todos-top-priority face only in Todos
223 (todos-multiple-filter-files): Get file-truename of Todos file.
224 (todos-filter-items): Pass a list of files from the caller instead
225 of building it here, and move handling of cancelled file selection
226 dialog to callers. Correct omission of file-wide default number
228 (todos-filtered-buffer-name): Treat file-list argument only as a list.
229 (todos-find-item, todos-check-top-priorities)
230 (todos-top-priorities-filename)
231 (todos-save-top-priorities-buffer): New functions.
232 (todos-save): Use todos-save-top-priorities-buffer.
233 (todos-jump-to-item): Refactor and use todos-find-item.
234 (todos-top-priorities): Simplify semantics of prefix argument.
235 Check if top priorities file exists and if so, visit it, reporting
236 whether it is up to date. Add optional argument and use it to
237 handle multiple files.
238 (todos-diary-items, todos-regexp-items): Add optional argument and
239 use it to handle multiple files.
240 (todos-top-priorities-multifile, todos-diary-items-multifile)
241 (todos-regexp-items-multifile): Refactor, using corresponding
242 non-multifile command.
243 (auto-mode-alist): Add pattern for top priorities files to visit
244 these in Todos Filtered Items mode.
246 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
248 * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
249 (todos-adjusted-category-label-length): New function.
250 (todos-padded-string): Use it.
252 2013-01-08 Stephen Berman <stephen.berman@gmx.net>
254 * calendar/todos.el (todos-move-item): Allow moving done items to
255 done section of another category.
257 2013-01-06 Stephen Berman <stephen.berman@gmx.net>
259 * calendar/todos.el: Display numerical priority string of top
260 priority items in category in a distinctive face.
261 (todos-prefix-string): Make doc string more precise.
262 (todos-top-priority): New defface.
263 (todos-done, todos-done-sep): Use more compact face definition
264 \(taken from font-lock.el).
265 (todos-comment): Give a complete face definition, instead of
266 inheriting from todos-done.
267 (todos-font-lock-keywords): Use todos-comment-face for
268 todos-comment-string-matcher.
269 (todos-prefix-overlays): Use todos-top-priority as the face
270 property of top priority items; don't condition reapplying item
271 prefix overlay on whether the string changed, since that prevents
272 updating display after changing number of top priorities.
273 (todos-set-top-priorities): Call todos-prefix-overlays to update
276 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
278 * calendar/todos.el (todos-reset-global-current-todos-file)
279 (todos-display-categories-1): Use absolute name of
280 todos-default-todos-file.
282 2013-01-04 Stephen Berman <Stephen.Berman@rub.de>
284 * calendar/todos.el (todos-insert-item): Fix copy and paste error
285 from previous change.
287 2013-01-03 Stephen Berman <stephen.berman@gmx.net>
289 * calendar/todos.el: Implement extended category completions.
290 (todos-default-todos-file): Change default value to correct custom
292 (todos-category-completions-files): New defcustom.
293 (todos-reevaluate-category-completions-files-defcustom)
294 (todos-absolute-file-name, todos-category-completions): New defuns.
295 (todos-reevaluate-filelist-defcustoms):
296 Add todos-category-completions-files and
297 todos-reevaluate-category-completions-files-defcustom.
298 (todos-allcats-file, todos-all-categories-alist)
299 (todos-jump-to-category-other-file, todos-jump-to-any-category)
300 (todos-move-item-to-file): Remove (todos-all-categories-alist both
301 as defvar and as defun).
302 (todos-read-category): Rewrite using extended category completions
303 and better handling of completion against existing or non-existing
305 (todos-validate-name): Correct doc string; use local instead of
306 dynamic variables in function body.
307 (todos-insert-category-line): Adjust use of todos-jump-to-category
308 to new argument list.
309 (todos-key-bindings, todos-menu): Delete entries for removed
311 (todos-show): Get absolute name of todos-default-todos-file;
312 add `nowarn' argument to find-file-noselect; adjust use of
313 todos-add-category to new argument list.
314 (todos-jump-to-category): Rewrite using extended category
315 completions; reverse argument list, adapting FILE argument to new
316 completion mechanism; add autoload cookie; call todos-show if
317 there are no Todos files.
318 (todos-add-category): Rewrite using extended category completions;
319 add FILE argument to accommodate new completion mechanism.
320 (todos-merge-category): Adapt to extended category completions,
321 adding prefix argument.
322 (todos-insert-item): Adapt to extended category completions; use
323 todos-read-category instead of todos-jump-to-category in prefix
324 argument calls; call todos-show if there are no Todos files; if
325 item is inserted at end of category, recenter to ensure the items
326 above it are displayed in the window.
327 (todos-move-item): Adapt to extended category completions, making
328 argument prefix argument; allow moving within category (for the
329 sake of code simplification); add `nowarn' argument to
331 (todos-archive-done-item): Prevent error when attempting to
332 archive not-done todo item; adjust use of todos-add-category to
335 2012-12-15 Stephen Berman <stephen.berman@gmx.net>
337 * calendar/todos.el (todos-archive-done-item): Fix archiving of
338 all done items in a category and resulting display of todo file.
340 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
342 * calendar/todos.el (todos-priorities-rules): Fix customization
343 type to prevent mismatch error.
344 (todos-set-top-priorities): Fix rule construction; fix input check;
347 2012-12-14 Stephen Berman <stephen.berman@gmx.net>
349 * calendar/todos.el (todos-insert-item): If user exits Calendar
350 before choosing a date, cancel item insertion.
351 (todos-set-date-from-calendar): If user exits Calendar before
352 choosing a date, clean up properly.
354 2012-12-12 Stephen Berman <stephen.berman@gmx.net>
356 * calendar/todos.el: Extend and improve handling of item editing,
357 especially of date/time header.
358 (todos-month-name-array, todos-month-abbrev-array): New defconsts.
359 (todos-date-pattern): Use explicitly numbered groups.
360 (todos-read-date): Optionally read and return just one of the date
361 string components year, month or monthname, day.
362 (todos-key-bindings): Add bindings for new item header editing
364 (todos-edit-item): Exclude date/time header from minibuffer by
365 default; include it by passing a prefix argument.
366 (todos-edit-item-header-1): New function containing the guts of
367 the commands for editing item date/time headers.
368 (todos-edit-item-header): Use it. Condition editing of time
369 string on value of `todos-always-add-time-string'.
370 (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
371 (todos-edit-item-date-to-today): Rename from
372 todos-edit-item-date-is-today and use todos-edit-item-header-1.
373 (todos-edit-item-date): Remove.
374 (todos-edit-item-date-day-name, todos-edit-item-date-year)
375 (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
377 2012-12-02 Stephen Berman <stephen.berman@gmx.net>
379 * calendar/todos.el (todos-show): Fix a comment.
380 (todos-add-category): Prompt for a new category if passed category
381 is the empty string, not nil.
383 2012-11-26 Stephen Berman <stephen.berman@gmx.net>
385 * calendar/todos.el (todos-make-categories-list)
386 (todos-convert-legacy-files, todos-jump-to-item)
387 (todos-move-category, todos-merge-category)
388 (todos-archive-done-item, todos-unarchive-items): Include end of
389 line in regex searches for beginning of category, in order not to
390 get a category whose name contains the searched for category name.
392 2012-11-15 Stephen Berman <stephen.berman@gmx.net>
394 * calendar/todos.el (todos-forward-category): Fix typo.
396 2012-10-30 Stephen Berman <stephen.berman@gmx.net>
398 * calendar/todos.el (todos-define-insertion-command):
399 Let generated insertion commands accept a prefix argument.
401 2012-10-08 Stephen Berman <Stephen.Berman@rub.de>
403 * calendar/todos.el (todos-move-item): If user quits before
404 completing movement, restore display of initial category; if item
405 is moved to end of target category, make sure the items above it
406 are displayed in the window.
408 2012-10-08 Stephen Berman <stephen.berman@gmx.net>
410 * calendar/todos.el: Fixes to todos-move-item and some of its
412 (todos-move-item): When there are marked items, point need not be
413 on an item; remove obsolete use of todos-add-category, since this
414 is now already done in todos-read-category; fix typo.
415 (todos-diary-item-p): Exclude empty lines.
416 (todos-read-category): Restore point and narrowing after adding
417 new category, to avoid moving to beginning of file when moving
418 marked items to a new category.
419 (todos-set-item-priority): Prompt for priority only when the
420 category has at least one todo item; only use non-nil priority to
421 calculate insertion location.
422 (todos-read-category): Don't reset todos-categories when a new
423 category is added due to todos-move-item or todos-jump-to-item.
425 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
427 Changes from 2012-07-14 (revision 110020).
428 * calendar/todos.el (todos-copy-item): New command.
429 (todos-insertion-map): Add key binding for it.
431 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
433 Changes from 2012-07-13 (revision 110019).
434 * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
435 (todos-item-undo): Use it.
436 (todos-allcats-file, todos-all-categories-alist): New variables.
437 (todos-all-categories-alist): New function.
438 (todos-jump-to-any-category): New command.
439 (todos-move-item): Remove mark overlays from buffer items were
440 moved from; update todos-categories-with-marks,
442 2012-09-24 Stephen Berman <stephen.berman@gmx.net>
444 Changes from 2012-06-27 (revision 110018).
445 * calendar/todos.el: Further code rearrangement; further new and
447 (todos-reevaluate-filelist-defcustoms): Rename from
448 todos-reevaluate-defcustoms and adjust callers.
449 (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
450 (todos-date-string-start, todos-done-string-start)
451 (todos-item-start): Change from defvar to defconst.
452 (todos-set-top-priorities): Use read-number and simplify.
453 (todos-insert-item): Check whether date-type argument is a string.
454 (todos-set-date-from-calendar): Check whether
455 todos-date-from-calendar is a string; simplify cond clause.
456 (todos-archive-done-item, todos-unarchive-items):
457 Use buffer-substring-no-properties.
459 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
461 Changes from 2012-06-25 (revision 110017).
462 * calendar/todos.el (todos-item-undo): Fix restoration on
463 cancelling; use buffer-substring-no-properties; comment out code
464 removing mark overlay; fix insertion of undone items; display any
465 remaining done items.
467 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
469 Changes from 2012-06-24 (revision 110016).
470 * calendar/todos.el: Further significant code rearrangement;
471 further comment revision.
472 (todos-mode-display): New defgroup.
473 (todos-prefix, todos-number-priorities)
474 (todos-done-separator-string, todos-done-string)
475 (todos-comment-string, todos-show-with-done)
476 (todos-mode-line-function, todos-skip-archived-categories)
477 (todos-highlight-item, todos-wrap-lines)
478 (todos-line-wrapping-function): Use it.
479 (todos-item-insertion): New defgroup.
480 (todos-include-in-diary, todos-diary-nonmarking)
481 (todos-nondiary-marker, todos-always-add-time-string)
482 (todos-use-only-highlighted-region): Use it.
483 (todos-forward-button, todos-backward-button): New commands.
484 (todos-categories-mode-map): Use them, replacing forward-button
486 (todos-merge-category): Fix and improve implementation; handle
488 (todos-insert-item, todos-set-date-from-calendar): Handle setting
489 date by calling todos-insert-item-from-calendar.
490 (todos-delete-item): Fix overlay handling.
491 (todos-move-item): Highlight item to be moved.
492 (todos-item-undo): Handle marked items.
493 (todos-insert-item-from-calendar): Rewrite using
494 todos-date-from-calendar.
496 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
498 Changes from 2012-06-21 (revision 110015).
499 * calendar/todos.el: Further comment revision.
500 (todos-sorted-column): Change default value, also taking tty into
502 (todos-reset-done-separator): Fix faulty variable binding.
503 (todos-reset-and-enable-done-separator): Save match data; comment
504 out code that causes problems for Edebug.
505 (todos-item-start): Handle empty line between todo and done items
506 when done items are hidden.
507 (todos-read-date): Use a leap year for `*' to allow
508 calendar-last-day-of-month to return Feb. 29.
509 (todos-archive-mode, todos-edit-mode, todos-categories-mode)
510 (todos-filtered-items-mode): Delete faulty parentheses.
511 (todos-quit): Save Todos and archive files unconditionally.
512 (todos-forward-item): Accept only positive prefix argument.
513 (todos-backward-item): Accept only positive prefix argument; don't
514 move point to beginning of buffer if it is on the first item.
515 (todos-hide-show-date-time): Remove obsolete interactive spec.
516 (todos-move-category): Improve prompt string; ensure file moved to
517 is different from file moved from.
518 (todos-merge-categories): Remove.
519 (todos-set-category-priority): New command.
520 (todos-raise-category-priority, todos-lower-category-priority):
521 Use it to define these commands.
522 (todos-set-item-priority): Rewrite and generalize.
523 (todos-raise-item-priority, todos-lower-item-priority): Use it to
524 define these commands.
526 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
528 Changes from 2012-06-15 (revision 110014).
529 * calendar/todos.el (todos-reset-done-separator)
530 (todos-reset-and-enable-done-separator): New functions.
531 (todos-reset-done-separator-string): Rewrite using
532 todos-reset-done-separator for string longer than 1 character.
533 (todos-mode): Add todos-reset-and-enable-done-separator to
534 window-configuration-change-hook, replacing previous anonymous
536 (todos-unload-hook): And remove it.
538 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
540 Changes from 2012-06-14 (revision 110013).
541 * calendar/todos.el (todos-done-separator-string): New defcustom.
542 (todos-done-separator): New variable replacing defcustom of the
544 (todos-reset-done-separator-string, todos-done-separator):
546 (todos-mode): Make function added to
547 window-configuration-change-hook do a better job of updating the
548 done items separator string overlay.
549 (todos-unload-hook): Remove it here.
550 (todos-item-undo): Fix search for item's end.
552 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
554 Changes from 2012-06-03 (revision 110012).
555 * calendar/todos.el: Further comment revision.
556 (todos-sorted-column): Change default value.
557 (todos-item-start): Handle empty category (needed in
559 (todos-read-date): Don't use calendar-read; make code cleaner.
560 (todos-multiple-filter-files): Rename this variable from
561 todos-multiple-files and adjust users.
562 (todos-multiple-filter-files-widget): Rename from
563 todos-multiple-files-widget and adjust users.
564 (todos-multiple-filter-files): Rename this function from
565 todos-multiple-files and adjust callers.
566 (todos-filter-items): Remove unused code.
567 (todos-insert-category-line): Add space so highlighting of last
568 column is consistent with the others; adjust display of column
570 (todos-menu): Remove obsolete entry.
571 (todos-categories-mode-map): Add new bindings.
572 (todos-display-categories-alphabetically-or-by-priority): New command.
573 (todos-display-categories-sorted-by-todo)
574 (todos-display-categories-sorted-by-diary)
575 (todos-display-categories-sorted-by-done)
576 (todos-display-categories-sorted-by-archived): Restore and fix
579 2012-09-23 Stephen Berman <stephen.berman@gmx.net>
581 Changes from 2012-06-02 (revision 110011).
582 * calendar/todos.el: Significant code rearrangement; further
584 (todos-filtered-items-buffer): Rename from todos-filter-buffer and
586 (todos-filtered-buffer-name): Rename from
587 todos-special-buffer-name and adjust users.
588 (todos-filtered-items-mode-map): Rename from
589 todos-filter-items-mode-map and adjust users.
590 (todos-mode-external-set): Use todos-categories instead of
591 todos-set-categories (and add comment to check if this DTRT).
592 (todos-filtered-items-mode): Rename from todos-filter-items-mode
594 (todos-add-category): Don't call todos-validate-name, since
595 todos-read-category does.
596 (todos-edit-quit): Use todos-repair-categories-sexp.
597 (todos-done-item-add-edit-or-delete-comment): Rename from
598 todos-done-item-add-or-edit-comment and adjust users; add optional
599 argument to prompt to delete comment.
600 (todos-item-undo): Delete done item comment on undoing if user
603 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
605 Changes from 2012-06-02 (revision 110010).
606 * calendar/todos.el: Further code rearrangement and comment
608 (todos-item-start): Handle empty line between todo and done items
609 when done items are displayed.
610 (todos-key-bindings): Comment out bindings meant only for
612 (todos-archive-mode-map): Fix typo.
613 (todos-archive-mode): Derive from special-mode instead of
614 todos-mode to prevent its key bindings from being available here.
615 (todos-archive-done-item): Remove obsolete code; fix item count
617 (todos-unarchive-items): Simplify; fix unarchiving of all items in
618 category; fix item count updating; fix typo.
620 2012-09-22 Stephen Berman <stephen.berman@gmx.net>
622 Changes from 2012-06-01 (revision 110009).
623 * calendar/todos.el: Further code rearrangement and comment
625 (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
626 (todos-file-buffers): New variable.
627 (todos-reset-global-current-todos-file): Use it to simplify
628 implementation of this function.
629 (todos-filtered): New defgroup.
630 (todos-filter-buffer, todos-top-priorities-buffer)
631 (todos-diary-items-buffer, todos-regexp-items-buffer)
632 (todos-priorities-rules, todos-show-priorities)
633 (todos-filter-files, todos-filter-done-items): Use it.
634 (todos-skip-archived-categories): Rename from
635 todos-ignore-archived-categories and adjust users.
636 (todos-display-as-todos-file): Rename from todos-after-find-file
638 (todos-reset-highlight-item, todos-mode-external-set)
639 (todos-jump-to-category, todos-jump-to-item)
640 (todos-raise-category-priority, todos-insert-item)
641 (todos-move-item): Use find-file-visiting.
642 (todos-make-categories-list): Use file-truename.
643 (todos-display-categories-1): Adjust title text for archive files;
644 use done label for item counts in archive files.
645 (todos-modes-set-3): Add todos-display-as-todos-file to
647 (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
648 todos-update-buffer-list post-command-hook.
649 (todos-unload-hook): And remove them.
650 (todos-show): Only when interactively invoked from an archive,
651 switch to corresponding Todos file.
652 (todos-archive-done-item): Remove obsolete code; fix handling of
653 marked items; fix search for existing category; check whether
654 archive exists and write to file if not; improve display handling.
656 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
658 Changes from 2012-05-29 (revision 110008).
659 * calendar/todos.el: Further comment revision.
660 (todos-item-end): Replace use of command todos-forward-item by
661 regexp searches using internal variables.
662 (todos-raise-category-priority): Improve and comment.
663 (todos-insert-item): Fix insertion of empty time string.
665 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
667 Changes from 2012-05-29 (revision 110007).
668 * calendar/todos.el (todos-ignore-archived-categories):
669 Revert last change; remove :initialize and :set functions; change
670 use and change users accordingly.
671 (todos-reset-categories, todos-categories-full)
672 (todos-truncate-categories-list): Remove.
673 (todos-set-categories, todos-update-categories-sexp):
674 Use todos-categories instead of todos-categories-full; remove use
675 of todos-ignore-archived-categories and
676 todos-truncate-categories-list.
677 (todos-check-format, todos-repair-categories-sexp):
678 Use todos-categories instead of todos-categories-full.
679 (todos-read-category): Improve last change.
680 (todos-validate-name): Use completing-read.
681 (todos-categories-category-number): Rename from
682 todos-category-number and adjust users.
683 (todos-update-categories-display, todos-mode-external-set)
684 (todos-delete-category, todos-move-category, todos-merge-category)
685 (todos-unarchive-items): Remove use of todos-categories-full and
686 todos-ignore-archived-categories.
687 (todos-modes-set-3, todos-add-category): Remove use of
688 todos-categories-full.
689 (todos-edit-mode): Fix typo.
690 (todos-forward-category): Use todos-ignore-archived-categories.
692 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
694 Changes from 2012-05-28 (revision 110006).
695 * calendar/todos.el: Doubts about todos-ignore-archived-categories.
696 (todos-ignore-archived-categories): Change default value.
698 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
700 Changes from 2012-05-27 (revision 110005).
701 * calendar/todos.el: Further comment revision.
702 (todos-reset-global-current-todos-file):
703 Try to make this not slow down kill-buffer.
704 (todos-update-categories-sexp): Handle the case where there is no
705 categories sexp yet, i.e. after inserting the first item in the
706 file, so todos-display-categories works.
707 (todos-read-file-name): Improve implementation.
708 (todos-validate-name): Use variable todos-files.
709 (todos-category-number): New variable.
710 (todos-insert-category-line, todos-update-categories-display)
711 (todos-raise-category-priority): Use it.
712 (todos-add-file): Remove unused remnant code.
714 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
716 Changes from 2012-05-25 (revision 110004).
717 * calendar/todos.el: Further comment revision.
718 (todos-set-item-top-priority): New command.
719 (todos-reset-global-current-todos-file):
720 Use todos-files-function instead of todos-files.
721 (todos-read-category): Add optional argument to test whether
722 caller adds new category; if so, don't prompt for new category and
723 don't restore original todos-categories list.
724 (todos-categories-mode-map): Update to renamed commands.
725 (todos-filter-items-mode-map): Add binding for new command.
726 (todos-mode): Fix typo.
727 (todos-show): If called from archive file, show corresponding
728 category in Todos file, if it exists.
729 (todos-jump-to-category): Remove code to add new category, since
730 todos-read-category can do that.
731 (todos-add-file): Remove obsolete code; visit new file in selected
733 (todos-add-category): Simplify.
734 (todos-rename-category): Use force-mode-line-update instead of
735 setting mode-line-buffer-identification.
736 (todos-delete-category): Improve logic of prompts; use
737 todos-categories-full and check todos-ignore-archived-categories.
738 (todos-raise-category-priority, todos-lower-category-priority):
739 Rename from todos-{raise,lower}-category and adjust callers.
740 (todos-move-category, todos-merge-category):
741 Set todos-categories-full; on setting todos-categories check
742 todos-ignore-archived-categories.
743 (todos-insert-item): Let-bind use-empty-active-region and use
744 use-region-p instead of transient-mark-mode.
745 (todos-raise-item-priority): Improve implementation.
746 (todos-archive-done-item): Rename from
747 todos-archive-done-item-or-items and adjust callers; confine to
749 (todos-unarchive-items): On setting todos-categories check
750 todos-ignore-archived-categories.
752 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
754 Changes from 2012-05-23 (revision 110003).
755 * calendar/todos.el (todos-key-bindings): Remove binding of
757 (todos-menu): Remove entry of deleted command.
758 (todos-show-archive): Fix last change.
759 (todos-done-item-add-or-edit-comment): Rename from
760 todos-comment-done-item and adjust callers; prompt to edit an
763 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
765 Changes from 2012-05-22 (revision 110002).
766 * calendar/todos.el (todos-set-show-current-file): Rename from
767 todos-toggle-show-current-file and adjust callers.
768 (todos-number-priorities): Rename from todos-number-prefix and
770 (todos-update-count): Rename from todos-set-count and adjust
772 (todos-hide-show-item-numbering): Rename from
773 todos-toggle-item-numbering and adjust callers.
774 (todos-hide-show-done-items): Rename from
775 todos-toggle-view-done-items and adjust callers.
776 (todos-show-done-only): Rename from todos-toggle-show-done-only.
777 (todos-view-archived-items): Comment out.
778 (todos-show-archive): Prompt to choose another archive file if
779 current Todos file lacks an archive; prompt to visit archive
780 anyway when current category has no archived items.
782 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
784 Changes from 2012-05-21 (revision 110001).
785 * calendar/todos.el: Further comment revision and code
787 (todos-item-end): Revert last change.
788 (todos-key-bindings, todos-menu, todos-archive-mode-map)
789 (todos-filter-items-mode-map): Use renamed commands.
790 (todos-hide-show-date-time): Rename from
791 todos-toggle-display-date-time.
792 (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
794 (todos-backward-item): Exempt special handling only from
795 todos-regexp-items-buffer instead of todos-filter-items-mode.
796 (todos-raise-item-priority): Don't allow item reprioritizing in
797 Todos filter items mode except for top priority items.
799 2012-09-21 Stephen Berman <stephen.berman@gmx.net>
801 Changes from 2012-05-19 (revision 110000).
802 * calendar/todos.el: Add and revise further doc strings and
804 (todos-filter-function, todos-custom-items)
805 (todos-custom-items-multifile): Remove.
806 (todos-filter-done-items): New defcustom.
807 (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
808 (todos-filter-items): Check return value of caller first; tag
809 archived items for todos-jump-to-item; delete categories sexp
810 before processing filter; check todos-filter-done-items for
811 whether to leave done items; remove custom filter; fix regexp for
812 file and category tags; don't invoke buffer fontification.
813 (powerset-recursive): Fix typo.
814 (todos-key-bindings): Remove unused bindings.
815 (todos-top-priorities-multifile, todos-diary-items-multifile)
816 (todos-regexp-items-multifile): Use variable todos-multiple-files.
817 (todos-jump-to-item): Fix regexp; handle archive tags; take
818 todos-filter-done-items into account.
819 (todos-insert-item-from-calendar): Relocate to end of file
820 together with key-binding as addition to calendar.el.
822 2012-09-20 Stephen Berman <stephen.berman@gmx.net>
824 Changes from 2012-05-17 (revision 109999).
825 * calendar/todos.el: Add and revise further doc strings and
826 comments; major code rearrangement.
827 (todos-merged-files, todos-prompt-merged-files)
828 (todos-print-priorities, todos-tmp-buffer-name)
829 (todos-top-priorities-widgets, todos-update-merged-files)
830 (todos-merged-top-priorities, todos-merged-diary-items)
831 (todos-merged-regexp-items, todos-merged-custom-items)
832 (todos-raw-mode, todos-change-default-file)
833 (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
834 (todos-toggle-diary-nonmarking, todos-validate-category-name):
836 (todos-category-string-matcher): Comment out.
837 (todos-categories): New defgroup.
838 (todos-initial-file, todos-filter-buffer)
839 (todos-top-priorities-buffer, todos-categories-category-label)
840 (todos-diary-items-buffer, todos-regexp-items-buffer)
841 (todos-custom-items-buffer, todos-filter-files)
842 (todos-highlight-item, todos-todo-mode-date-time-regexp):
844 (todos-diary-expired): New face.
845 (todos-print-buffer, todos-multiple-files)
846 (todos-multiple-files-widget, todos-key-bindings): New variables.
847 (todos-short-file-name, todos-reevaluate-default-file-defcustom)
848 (todos-special-buffer-name)
849 (todos-reevaluate-filter-files-defcustom)
850 (todos-reset-highlight-item, todos-reevaluate-defcustoms)
851 (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
852 (todos-diary-expired-matcher, todos-category-string-matcher-1)
853 (todos-category-string-matcher-2, todos-repair-categories-sexp)
854 (todos-validate-name, todos-multiple-files)
855 (todos-display-categories-1, todos-update-categories-display)
856 (todos-modes-set-3, todos-mode-external-set): New functions.
857 (todos-set-top-priorities-in-file)
858 (todos-set-top-priorities-in-category)
859 (todos-top-priorities-multifile, todos-diary-items-multifile)
860 (todos-regexp-items-multifile, todos-custom-items-multifile)
861 (todos-convert-legacy-files, todos-jump-to-item)
862 (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
863 (todos-edit-item-diary-inclusion)
864 (todos-edit-category-diary-inclusion)
865 (todos-edit-item-diary-nonmarking)
866 (todos-edit-category-diary-nonmarking): New commands.
867 (todos, todos-faces): Update :version.
868 (todos-done-separator, todos-completion-ignore-case):
869 Change default value.
870 (todos-done-separator): Change :set function.
871 (todos-indent-to-here): Add :validate function to :type.
872 (todos-prefix-string, todos-mark, todos-button)
873 (todos-sorted-column, todos-archived-only, todos-search)
874 (todos-done, todos-done-sep): Provide full face definitions
875 instead of inheriting.
876 (todos-edit-buffer, todos-categories-buffer): Change from
878 (todos-category-beg, todos-category-done): Change from defvar to
880 (todos-files): Check if todos-files-directory exists.
881 (todos-default-todos-file, todos-mode-line-control, todos-print):
882 Use todos-short-file-name.
883 (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
884 todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
885 todos-category-string-matcher-2, todos-diary-expired-matcher.
886 (todos-category-select): Use todos-done-string-start, and
887 condition search on todos-show-with-done; don't make display
888 overlay for done items separator string if there already is one;
889 use todos-highlight-item, require hl-line and activate
890 hl-line-mode here in order to avoid a hang if done in todos-mode
892 (todos-update-categories-sexp): Use todos-categories-full if set,
893 otherwise todos-categories.
894 (todos-make-categories-list): Don't test for archive file when
895 processing a legacy todo-mode file.
896 (todos-check-format): Add check for todos-categories sexp.
897 (todos-diary-item-p): Use todos-nondiary-start instead of
899 (todos-marked-item-p): Rename from todos-item-marked-p.
900 (todos-read-file-name): Don't accept empty name; validate.
901 (todos-read-category): Validate new name before prompting whether
902 to add new category; force quit if user answers no.
903 (todos-filter-items): Improve implementation.
904 (todos-set-top-priorities): Rewrite as a noninteractive function
905 using minibuffer input instead of widgets.
906 (todos-insert-sort-button): Call todos-display-sorted with
907 argument nil to display categories in numerical order, instead of
908 calling todos-display-categories.
909 (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
910 Common Lisp powerset function at
911 http://rosettacode.org/wiki/Power_set#Common_Lisp.
912 (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
913 powerset function at http://rosettacode.org/wiki/Power_set#C.
914 (todos-powerset): Defalias to powerset-bitwise.
915 (todos-mode-map): Generate from todos-key-bindings instead of
916 listing each key definition.
917 (todos-categories-mode-map): Add two bindings.
918 (todos-filter-items-mode-map): Add some bindings, remove others.
919 (todos-mode): Derive from special-mode; use todos-modes-set-3; add
920 function setting todos-done-separator to
921 window-configuration-change-hook.
922 (todos-unload-hook): Remove function setting todos-done-separator
923 from window-configuration-change-hook.
924 (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
925 (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
926 (todos-categories-mode): Derive from special-mode; use
927 todos-mode-external-set.
928 (todos-filter-items-mode): Derive from special-mode.
929 (todos-quit): Save archive file if it hasn't yet been saved.
930 (todos-display-categories): Delegate all functionality to
931 todos-display-categories-1 and todos-update-categories-display.
932 (todos-toggle-view-done-items): Improve implementation.
933 (todos-highlight-item): Require hl-line.
934 (todos-toggle-display-date-time): Remove argument and make it
935 apply only to whole file.
936 (todos-top-priorities, todos-diary-items, todos-regexp-items)
937 (todos-custom-items): Use todos-special-buffer-name.
938 (todos-add-file): Use todos-short-file-name and
939 todos-reevaluate-defcustoms; remove validation, since it's now
940 done in todos-read-file-name.
941 (todos-add-category): Also update todos-categories-full if non-nil.
942 (todos-delete-category): Delete file after confirmation if only
944 (todos-move-category): Use todos-short-file-name and
945 todos-reevaluate-defcustoms.
946 (todos-insert-item): Fix getting date from the calendar and
947 insertion of time string.
948 (todos-set-date-from-calendar): Enter calendar buffer, suppressing
949 display of diary entries.
950 (todos-edit-multiline): Add optional argument to restrict editing
951 buffer to current item, otherwise make entire buffer (i.e. whole
953 (todos-edit-quit): When whole file is editable, check file format
954 validity before killing buffer, and if valid, recalculate
955 categories sexp to be safe.
956 (todos-edit-item-header): Allow choosing date from calendar.
957 (todos-item-done): Handle marked items.
959 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
961 Changes from 2011-12-03 (revision 109998).
962 * calendar/todos.el (todos-item-start): Restore commented out code
963 to prevent wrongly moving point in widened buffer.
965 2012-09-19 Stephen Berman <stephen.berman@gmx.net>
967 Changes from 2011-12-02 (revision 109997).
968 * calendar/todos.el: Remove old commentary from todo-mode.el; add
969 and revise further doc strings and comments; require cl.el at
970 compile time for remove-duplicates; use function powerset from
971 http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
972 code rearrangement. Add adapted version of diary-goto-entry as comment.
973 (todos-file-top, todos-archived-categories-buffer)
974 (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
975 (todos-save-top-priorities, todos-reset-separator)
976 (todos-switch-todos-file, todos-item-string-start, todos-counts)
977 (todos-string-count-lines, todos-string-multiline-p)
978 (todos-display-categories-alphabetically): Remove.
979 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
980 (todos-insert-item-ask-date-time-for-diary)
981 (todos-insert-item-ask-date-time-for-diary-here)
982 (todos-insert-item-ask-date-time-here)
983 (todos-insert-item-ask-date-maybe-notime)
984 (todos-insert-item-ask-date-maybe-notime-for-diary)
985 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
986 (todos-insert-item-ask-date-maybe-notime-here)
987 (todos-insert-item-ask-date-for-diary)
988 (todos-insert-item-ask-date-for-diary-here)
989 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
990 (todos-insert-item-ask-dayname-time)
991 (todos-insert-item-ask-dayname-time-for-diary)
992 (todos-insert-item-ask-dayname-time-for-diary-here)
993 (todos-insert-item-ask-dayname-time-here)
994 (todos-insert-item-ask-dayname-maybe-notime)
995 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
996 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
997 (todos-insert-item-ask-dayname-maybe-notime-here)
998 (todos-insert-item-ask-dayname-for-diary)
999 (todos-insert-item-ask-dayname-for-diary-here)
1000 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1001 (todos-insert-item-ask-time-for-diary)
1002 (todos-insert-item-ask-time-for-diary-here)
1003 (todos-insert-item-ask-time-here)
1004 (todos-insert-item-maybe-notime)
1005 (todos-insert-item-maybe-notime-for-diary)
1006 (todos-insert-item-maybe-notime-for-diary-here)
1007 (todos-insert-item-maybe-notime-here)
1008 (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
1009 (todos-insert-item-here): Remove; all of these are now generated
1010 on loading (some with the same name, most with other names.)
1011 (todos-item-counts, todos-display-categories-alphabetically)
1012 (todos-display-categories-sorted-by-todo)
1013 (todos-display-categories-sorted-by-diary)
1014 (todos-display-categories-sorted-by-done)
1015 (todos-display-categories-sorted-by-archived): Comment out.
1016 (todos-comment-string, todos-mode-line-function)
1017 (todos-filter-function, todos-priorities-rules)
1018 (todos-visit-files-commands, todos-categories-totals-label)
1019 (todos-use-only-highlighted-region, todos-diary-nonmarking):
1021 (todos-mark, todos-comment): New faces.
1022 (todos-comment-face): Corresponding new variable.
1023 (todos-categories-full, todos-global-current-todos-file)
1024 (todos-first-visit, todos-insertion-commands-args-genlist)
1025 (todos-insertion-commands-args, todos-insertion-commands-names)
1026 (todos-insertion-commands, todos-insertion-commands-arg-key-list)
1027 (todos-top-priorities-widgets, todos-date-from-calendar)
1028 (todos-item-mark, todos-categories-with-marks): New variables.
1029 (todos-mode-line-control, todos-reset-global-current-todos-file)
1030 (todos-gen-arglists, todos-insertion-command-name)
1031 (todos-insertion-key-bindings, todos-unload-hook)
1032 (todos-filter-items, todos-set-date-from-calendar)
1033 (todos-comment-string-matcher, todos-after-find-file)
1034 (todos-reset-nondiary-marker, todos-reset-done-string)
1035 (todos-reset-comment-string, todos-show-current-file)
1036 (todos-item-marked-p, todos-total-item-counts): New functions.
1037 (todos-define-insertion-command): New macro.
1038 (todos-toggle-mark-item, todos-mark-category)
1039 (todos-unmark-category, todos-set-top-priorities)
1040 (todos-merged-diary-items, todos-regexp-items)
1041 (todos-merged-regexp-items, todos-custom-items)
1042 (todos-merged-custom-items, todos-comment-done-item)
1043 (todos-archive-category-done-items, todos-unarchive-items)
1044 (todos-print-to-file): New commands.
1045 (todos-done-separator): Change :set function.
1046 (todos-done-string): Uncomment :initialize and :set functions.
1047 (todos-files): Use file-truename.
1048 (todos-show-current-file): Rename from
1049 todos-auto-switch-todos-file and change :set function accordingly.
1050 (todos-font-lock-keywords): Use todos-comment-string-matcher;
1051 change names of other matcher functions to new *-matcher.
1052 (todos-category-number): Change initial value.
1053 (todos-insertion-map): Use todos-insertion-key-bindings to
1054 generate key definitions.
1055 (todos-mode-map): Don't suppress digit keys, so they can supply
1056 prefix arguments; add new and change some existing bindings.
1057 (todos-archive-mode-map): Change a key binding.
1058 (todos-categories-mode-map): Comment out a key binding.
1059 (todos-filter-items-mode-map): Rename from
1060 todos-top-priorities-mode-map.
1061 (todos-mode): Make todos-current-todos-file,
1062 todos-categories-full, todos-categories, todos-first-visit,
1063 todos-category-number, todos-show-done-only,
1064 todos-categories-with-marks local variables and set them; add
1065 todos-show-current-file to pre-command-hook, todos-after-find-file
1066 to post-command-hook and todos-reset-global-current-todos-file to
1068 (todos-archive-mode): Make todos-current-todos-file,
1069 todos-categories and todos-category-number local variables and set
1070 them; add todos-after-find-file to post-command-hook.
1071 (todos-raw-mode): New derived major mode.
1072 (todos-categories-mode): Don't set font-lock-defaults and
1073 buffer-read-only; make todos-current-todos-file and
1074 todos-categories local variables and set them.
1075 (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
1076 (todos-quit): Don't reset todos-categories on quitting
1077 todos-categories-mode; handle quitting todos-filter-items-mode.
1078 (todos-show): Simplify; when visiting an archive file switch to
1079 corresponding Todos file; use todos-first-visit.
1080 (todos-view-archived-items): Simplify; call todos-category-number.
1081 (todos-show-archive): Rename from todos-switch-to-archive and
1082 adjust callers; simplify.
1083 (todos-toggle-display-date-time): Add optional argument to toggle
1084 display in entire file.
1085 (todos-top-priorities): Use todos-filter-items, which now contains
1086 the previous core of this command.
1087 (todos-merged-top-priorities, todos-diary-items):
1088 Use todos-filter-items.
1089 (todos-forward-category): Add optional argument to go to the
1091 (todos-backward-category): Use todos-forward-category.
1092 (todos-jump-to-category): Refine implementation.
1093 (todos-forward-item, todos-backward-item): Fix movement from todo
1094 to done item and vice versa.
1095 (todos-add-file): Remove argument and simplify.
1096 (todos-rename-category): Use todos-current-todos-file and
1097 todos-mode-line-function; set todos-categories with
1098 todos-set-categories.
1099 (todos-delete-category): Ask what to do if category has archived items.
1100 (todos-raise-category): Ensure modified todos-categories is added
1101 to file's categories sexp.
1102 (todos-move-category): Improve implementation, especially handling
1103 of archived categories.
1104 (todos-merge-category): Tweak; set item counts.
1105 (todos-insert-item): Improve handling of various argument values;
1106 add new argument values to control marking of diary items and to
1107 use region for item body.
1108 (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1109 (todos-delete-item, todos-edit-item-header): Handle marked items.
1110 (todos-edit-item): Incorporate functionality of removed
1111 todos-string-multiline-p.
1112 (todos-edit-multiline): Use set-window-buffer instead of
1114 (todos-edit-quit): Don't save on quitting; use todos-show instead
1115 of todos-category-select.
1116 (todos-raise-item-priority): Add argument to lower priority;
1117 improve handling of top priority items in todos-filter-items-mode;
1119 (todos-lower-item-priority): Use todos-raise-item-priority.
1120 (todos-set-item-priority): Increment maximum number if item is new.
1121 (todos-move-item): Handle marked items; delay changing category
1122 moved from till after movement to avoid restoring if user cancels
1124 (todos-item-done): Add optional argument to insert comment; fix
1125 item counts and update sexp.
1126 (todos-item-undo): Fix item counts and update.
1127 (todos-archive-done-item-or-items): Rename from
1128 todos-archive-done-items; add optional argument to archive all
1129 items in category; handle marked items.
1130 (todos-unarchive-category): Use todos-unarchive-items.
1131 (todos-toggle-diary-inclusion): Incorporate functionality of
1132 removed todos-toggle-item-diary-inclusion; handle marked items.
1133 (todos-print): Add optional argument to print to file.
1134 (todos-done-string-start): Don't use todos-nondiary-start.
1135 (todos-date-string-matcher, todos-time-string-matcher)
1136 (todos-done-string-matcher, todos-category-string-matcher): Rename
1137 from *-match and adjust callers.
1138 (todos-wrap-and-indent): Use set instead of setq for local variables.
1139 (todos-prefix-overlays): Improve overlay handling.
1140 (todos-reset-categories): Fix and complete implementation.
1141 (todos-toggle-show-current-file): Rename from
1142 todos-toggle-switch-todos-file-noninteractively.
1143 (todos-category-select): Use todos-mode-line-function.
1144 (todos-item-start): Comment out code used by removed function.
1145 (todos-remove-item): Handle presence of both prefix/number and
1147 (todos-get-count): Simplify.
1148 (todos-set-count): Change argument list and adjust callers; simplify.
1149 (todos-set-categories): Handle new archive files; use
1150 todos-categories-full and todos-ignore-archived-categories.
1151 (todos-truncate-categories-list): Use todos-categories-full.
1152 (todos-update-categories-sexp): Use kill-region instead of
1153 kill-line; use todos-categories-full.
1154 (todos-read-file-name): Add argument to require existing file and
1155 adjust callers; use file-truename.
1156 (todos-read-category): Remove argument to require existing
1157 category and delegate it to completing-read in function body.
1158 (todos-validate-category-name): Make empty string prompt only for
1159 initial category name.
1160 (todos-read-date): Use = instead of eq for testing if month = 13,
1161 and if it is, set monthname to *.
1162 (todos-display-categories): Use todos-global-current-todos-file;
1163 use set-window-buffer instead of switch-to-buffer; add a line
1164 showing item count totals.
1165 (todos-padded-string): Use the longest of category name or label.
1166 (todos-descending-counts): Rename from
1167 todos-descending-counts-store and adjust users.
1168 (todos-insert-category-line): Adjust format; use mapconcat; kill
1169 buffer after jumping to category.
1171 2012-09-18 Stephen Berman <stephen.berman@gmx.net>
1173 Changes from 2011-05-16 (revision 109996).
1174 * calendar/todos.el Add and revise various doc strings, remove
1175 further commented out code; add further comments; further code
1177 (todos-file-do, todos-archive-file, todos-mode-hook)
1178 (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1179 (todos-view-archive, todos-search-string)
1180 (todos-jump-to-category-noninteractively, todos-initial-setup):
1182 (todos-files): Remove this defcustom.
1183 (todos-initial-category, todos-display-categories-first)
1184 (todos-auto-switch-todos-file, todos-default-todos-file)
1185 (todos-categories-category-label, todos-categories-todo-label)
1186 (todos-categories-diary-label, todos-categories-done-label)
1187 (todos-categories-archived-label)
1188 (todos-categories-number-separator, todos-categories-align)
1189 (todos-ignore-archived-categories, todos-nondiary-marker):
1191 (todos-prefix, todos-done-separator, todos-file-top)
1192 (todos-categories-buffer, todos-archived-categories-buffer)
1193 (todos-edit-buffer, todos-always-add-time-string, todos-button):
1194 Change default value.
1195 (todos-done-string): Add todos-reset-done-string as :set function,
1196 but keep this commented out.
1197 (todos-files, todos-archives, todos-insertion-map)
1198 (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1199 (todos-show-done-only, todos-date-string-start)
1200 (todos-done-string-start): New variables.
1201 (todos-files-directory, todos-files-function, todos-merged-files)
1202 (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1203 (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1204 (todos-toggle-switch-todos-file-noninteractively)
1205 (todos-switch-todos-file, todos-counts, todos-get-count)
1206 (todos-set-count, todos-set-categories)
1207 (todos-truncate-categories-list, todos-update-categories-sexp)
1208 (todos-read-file-name, todos-sort, todos-display-sorted)
1209 (todos-label-to-key, todos-insert-sort-button): New functions.
1210 (todos-display-categories-sorted-by-todo)
1211 (todos-display-categories-sorted-by-diary)
1212 (todos-display-categories-sorted-by-done)
1213 (todos-display-categories-sorted-by-archived)
1214 (todos-update-merged-files, todos-switch-to-archive)
1215 (todos-choose-archive, todos-merged-top-priorities)
1216 (todos-jump-to-category-other-file, todos-clear-matches)
1217 (todos-add-file, todos-change-default-file, todos-move-category)
1218 (todos-merge-category, todos-merge-categories)
1219 (todos-edit-item-time, todos-move-item-to-file)
1220 (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1221 (todos-toggle-diary-nonmarking): New commands.
1222 (todos-toggle-show-done-only): New command replacing todos-view-archive.
1223 (todos-faces): New defgroup; use in all face definitions.
1224 (todos-sorted-column, todos-archived-only, todos-search): New faces.
1225 (todos-font-lock-keywords): Use subexpression 1 with matcher
1226 todos-category-string-match.
1227 (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1228 (todos-categories-mode-map): Add new key bindings; change some
1230 (todos-top-priorities-mode-map): New keymap.
1231 (todos-menu): Add submenues and new entries.
1232 (auto-mode-alist): Add extension of Todos and Todos archive files.
1233 (todos-mode, todos-archive-mode): Make derived mode; use
1234 todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1235 and todos-switch-todos-file; make todos-show-done-only local
1237 (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1238 (todos-categories-mode): Make derived mode.
1239 (todos-top-priorities-mode): New derived major mode.
1240 (todos-save): Remove unused code.
1241 (todos-quit): Handle todos-categories-mode; save archive buffer.
1242 (todos-show): Add optional argument to prompt for a Todos file; if
1243 called interactively or with prefix arg or from an archive, don't
1244 make a no-op but reset todos-current-todos-file, todos-categories
1245 and todos-category-number; use todos-read-file-name,
1246 todos-display-categories-first, todos-ignore-archived-categories.
1247 (todos-display-categories): Change argument name; refactor code
1248 for inserting table labels and lines, using
1249 todos-ignore-archived-categories, todos-sort,
1250 todos-categories-number-separator, todos-insert-sort-button,
1251 todos-categories-*-labels, and todos-insert-category-line.
1252 (todos-display-categories-alphabetically): Use todos-display-sorted.
1253 (todos-toggle-view-done-items): Use todos-done-string-start and
1255 (todos-toggle-display-date-time): Use todos-done-string-start.
1256 (todos-top-priorities): Remove autoload cookie; partially rewrite:
1257 new argument list; allow combining top priorities of multiple
1258 Todos files; change display to include category (and file) name as
1259 part of item header; use todos-top-priorities-mode.
1260 (todos-diary-items): Reimplement using only todos-top-priorities.
1261 (todos-forward-category, todos-backward-category): Adjust to
1262 1-based numbering of categories; move point to top of category.
1263 (todos-jump-to-category): Rewrite, adding optional arguments to
1264 provide a category in non-interactive uses and to prompt for which
1265 Todos file to jump to.
1266 (todos-search): Reimplement; highlight each match as found, say
1267 how many matches remain and prompt whether to go to next one; at
1268 end of search prompt whether to remove highlighting.
1269 (todos-add-category): Remove autoload cookie; assign new category
1270 the highest category number; associate zero-initialized vector of
1271 item counts, instead of property list, with new category; use
1272 todos-validate-category-name and todos-update-categories-sexp.
1273 (todos-rename-category): Use todos-validate-category-name and
1274 todos-update-categories-sexp; take archive files into account.
1275 (todos-delete-category): Use todos-get-count and
1276 todos-update-categories-sexp, let-bind variable that were
1277 mistakenly global; use delete-region instead of kill-region;
1278 adjust to 1-based numbering of categories; move point to top of
1280 (todos-raise-category): Handle item count vectors; use
1281 todos-insert-category-line and todos-update-categories-sexp.
1282 (todos-insert-item): Use nil time-string argument to omit time
1283 string; use todos-nondiary-start and todos-nondiary-end and
1284 todos-update-categories-sexp; if category named to insert into
1285 does not exist, add it; take new diary items into account.
1286 (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1287 (todos-insert-item-ask-date-time-for-diary)
1288 (todos-insert-item-ask-date-time-for-diary-here)
1289 (todos-insert-item-ask-date-time-here)
1290 (todos-insert-item-ask-date-maybe-notime)
1291 (todos-insert-item-ask-date-maybe-notime-for-diary)
1292 (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1293 (todos-insert-item-ask-date-maybe-notime-here)
1294 (todos-insert-item-ask-date-for-diary)
1295 (todos-insert-item-ask-date-for-diary-here)
1296 (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1297 (todos-insert-item-ask-dayname-time)
1298 (todos-insert-item-ask-dayname-time-for-diary)
1299 (todos-insert-item-ask-dayname-time-for-diary-here)
1300 (todos-insert-item-ask-dayname-time-here)
1301 (todos-insert-item-ask-dayname-maybe-notime)
1302 (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1303 (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1304 (todos-insert-item-ask-dayname-maybe-notime-here)
1305 (todos-insert-item-ask-dayname-for-diary)
1306 (todos-insert-item-ask-dayname-for-diary-here)
1307 (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1308 (todos-insert-item-ask-time-for-diary)
1309 (todos-insert-item-ask-time-for-diary-here)
1310 (todos-insert-item-ask-time-here)
1311 (todos-insert-item-maybe-notime)
1312 (todos-insert-item-maybe-notime-for-diary)
1313 (todos-insert-item-maybe-notime-for-diary-here)
1314 (todos-insert-item-maybe-notime-here)
1315 (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1316 New insertion commands.
1317 (todos-insert-item-from-calendar): Use todos-current-todos-file.
1318 (todos-delete-item): Handle diary items;
1319 use todos-update-categories-sexp.
1320 (todos-edit-item): Check if point is with item string;
1321 use read-string instead of read-from-minibuffer;
1322 use todos-date-string-start; after editing put point at start of
1324 (todos-edit-multiline): Narrow to item before invoking
1325 todos-edit-mode; show key binding of todos-edit-quit in a message.
1326 (todos-edit-quit): Use todos-save; kill buffer.
1327 (todos-edit-item-header): Add optional argument to prompt for
1328 editing only date string or only time string;
1329 use todos-date-string-start.
1330 (todos-edit-item-date, todos-edit-item-date-is-today)
1331 (todos-raise-item-priority, todos-lower-item-priority): Rename
1332 from todos-{raise, lower}-item and make them DTRT in
1333 todos-top-priorities-mode.
1334 (todos-set-item-priority): Make interactive; use todos-get-count
1335 and todos-insert-with-overlays; interactively, just relocate the
1336 item within its category.
1337 (todos-move-item): Add optional argument to prompt for a category
1338 in another Todos file; handle diary items; fix restoration after
1339 cancelling before inserting.
1340 (todos-item-done): Handle diary items; simplify handling of
1341 insertion in done items section.
1342 (todos-item-undo): Handle diary items.
1343 (todos-archive-done-items): Adjust to new handling of archive
1344 files (in parallel with Todos files); handle diary items; use
1345 todos-done-string-start.
1346 (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1347 todos-nondiary-end and todos-item-counts.
1348 (todos-toggle-diary-inclusion): Use todos-category-done instead of
1350 (todos-print): Remove autoload cookie; rewrite to make overlays,
1351 line wrapping and wrap prefixes printable.
1352 (todos-date-pattern): Make parenthesized groups shy.
1353 (todos-date-string-match): Use todos-date-string-start; make
1354 todos-date-pattern an explicitly numbered group.
1355 (todos-time-string-match): Use todos-date-string-start.
1356 (todos-done-string-match): Use todos-done-string-start.
1357 (todos-category-string-match): Rewrite to match new category and
1358 category+filename patterns in todos-top-priorities-mode.
1359 (todos-prefix-overlays): Use todos-done-string-start and
1360 todos-category-done.
1361 (todos-reset-prefix): Handle archive files; restore point after
1363 (todos-reset-separator): Handle archive files.
1364 (todos-category-number): Make category number one more than its
1366 (todos-current-category): Adjust to 1-based numbering of categories.
1367 (todos-category-select): Simplify handling of done items and done
1368 separator string overlay.
1369 (todos-item-start): Use todos-date-string-start and
1370 todos-done-string-start.
1371 (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1372 (todos-item-string): Restore point after getting item bounds; use
1373 buffer-substring-no-properties.
1374 (todos-done-item-p): Use todos-done-string-start.
1375 (todos-make-categories-list): Add optional argument to force
1376 looping through file to get categories and their item counts,
1377 otherwise set todos-categories from sexp in first line; use
1378 vectors of item counts instead of plists; count diary items.
1379 (todos-item-counts): Use todos-counts, todos-set-counts,
1380 todos-get-counts, and todos-update-categories-sexp instead of
1381 getting and setting properties; handle diary items.
1382 (todos-read-category): Add argument to set prompt; don't offer
1384 (todos-validate-category-name): Rename from
1385 todos-check-category-name; take into account whether there are
1386 already categories or not.
1387 (todos-read-date): Accept `*' as an unspecified month, day, or year.
1388 (todos-padded-string): Accommodate new structure of
1389 todos-categories as alists; use todos-categories-align.
1390 (todos-descending-counts-store): New variable.
1391 (todos-insert-category-line): Rename from
1392 todos-insert-category-name and reimplement using labels and
1393 todos-get-counts instead of properties; use
1394 todos-ignore-archived-categories; highlight sorted column.
1396 2012-09-14 Stephen Berman <stephen.berman@gmx.net>
1398 Changes from 2010-07-09 (revision 109995).
1399 * calendar/todos.el Remove lots of commented out code; add various
1400 comments; further code rearrangement.
1401 (todos-insert-item-here-ask-date-time)
1402 (todos-insert-item-ask-date-time)
1403 (todos-insert-item-ask-dayname-time)
1404 (todos-insert-item-for-diary)
1405 (todos-insert-item-for-diary-ask-date-time)
1406 (todos-make-categories-alist, todos-categories-alist): Remove.
1407 (todos-categories-list): Comment out.
1408 (todos-make-categories-list): New function replacing
1409 todos-make-categories-alist, using category plists to get item
1410 counts and taking archive into account.
1411 (todos-current-todos-file): New variable.
1412 (todos-mode-map): Update key bindings.
1413 (todos-save): Add as comment code to make sure todos-categories
1414 sexp is current on saving.
1415 (todos-quit): Call todos-show on quitting Todos archive buffer.
1416 (todos-show): If todos-current-todos-file is not set to Todos
1417 file, set it as a new file; set todos-categories from
1418 todos-make-categories-alist.
1419 (todos-display-categories): Use a different display format for
1420 archive file; put point initially on the first button.
1421 (todos-toggle-view-done-items): Check the category's `done'
1422 property to determine if there are done items.
1423 (todos-view-archive): Set todos-current-todos-file to the archive
1424 file; jump from the Todos file to the same category in the
1425 archive, if it exists, else jump to the first category; use
1426 message instead of error.
1427 (todos-add-category): Intern a special symbol for the new category
1428 and set its property list to holds counts of the numbers of todo,
1429 done and archived items in the category; assign the new category
1430 the current highest category number.
1431 (todos-rename-category): Don't use todos-categories-alist.
1432 (todos-delete-category): Check the category's `todo' and `done'
1433 properties to determine if it is empty; ensure that the end of the
1434 last category is found; after deleting the category, empty its
1435 plist and unintern its special symbol.
1436 (todos-insert-item-here): Fix argument list of todos-insert-item.
1437 (todos-delete-item, todos-raise-item, todos-lower-item):
1438 Use message instead of error.
1439 (todos-move-item): If the category to be moved to does not exist,
1440 add it as a new category.
1441 (todos-item-done, todos-reset-separator):
1442 Use todos-category-select instead of todos-show.
1443 (todos-archive-done-items): Make buffer writeable; conditionalize
1444 search for end of category; save after adding to archive in case
1445 the file is new, so it can be found.
1446 (todos-category-select): Wrap search in if instead of or+and;
1447 don't hide done items in an archive.
1448 (todos-set-item-priority): Check the category's `todo'
1449 property to determine if there are not done todo items.
1450 (todos-jump-to-category-noninteractively): Just switch to buffer
1451 visiting todos-current-todos-file, since this can be either a
1452 Todos file or an archive.
1453 (todos-item-counts): Use category's plist instead of an alist.
1454 (todos-longest-category-name-length): Argument is now a list of
1455 category names, not an alist, so just test each element, not each
1457 (todos-padded-string): Use todos-categories instead of
1458 todos-categories-alist.
1459 (todos-insert-category-name): Use category plist to get item
1460 counts; take archived items into account.
1462 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1464 Changes from 2010-06-18 (revision 109994).
1465 * calendar/todos.el: Numerous spelling and comment fixes, doc
1466 string fixes to conform with checkdoc, further rearrangement of
1468 (todos-previous-line, todos-previous-answer)
1469 (todos-insert-item-ask-date, todos-change-date)
1470 (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1471 (todos-count-items-in-category, todos-count-all-items): Remove.
1472 (todos-update-numbered-prefix, todos-item-start-overlays)
1473 (todos-add-item-non-interactively): Comment out, also in uses.
1474 (todos-done-separator): Change default value.
1475 (todos-always-add-time-string): Rename from todos-add-time-string
1477 (todos-read-category): Rename from todos-completing-read and
1478 adjust callers; use todos-current-category.
1479 (todos-make-categories-alist): Rename from function
1480 todos-categories-alist.
1481 (todos-categories-alist): New variable.
1482 (todos-indent-to-here): New defcustom.
1483 (todos-button): New face.
1484 (todos-display-categories-alphabetically, todos-raise-category)
1485 (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1486 (todos-insert-item-here-ask-date-time)
1487 (todos-insert-item-ask-date-time)
1488 (todos-insert-item-ask-dayname-time): New commands.
1489 (todos-edit-item-header): New command replacing todos-change-date.
1490 (todos-category-number, todos-indent, todos-item-counts)
1491 (todos-check-category-name, todos-read-date, todos-read-dayname)
1492 (todos-read-time, todos-padded-string)
1493 (todos-insert-category-name): New functions.
1494 (todos-set-item-priority): New function replacing
1495 todos-add-item-non-interactively.
1496 (todos-mode-map): Remap newline to newline-and-indent.
1497 (todos-edit-mode-map): Make sparse keymap; remap newline to
1499 (todos-categories-mode-map): New keymap.
1500 (todos-mode, todos-edit-mode): Make indent-line-function local
1501 variable and set to todos-indent.
1502 (todos-categories-mode): New major mode.
1503 (todos-display-categories): List categories initially in their
1504 numerical order; add optional argument to switch to alphabetical
1506 (todos-toggle-view-done-items): Simplify implementation.
1507 (todos-toggle-display-date-time): Fix regexp search string.
1508 (todos-backward-item, todos-forward-item): Use variable
1510 (todos-add-category): Use todos-check-category-name and
1511 todos-categories-alist.
1512 (todos-rename-category): Use todos-current-category,
1513 todos-check-category-name and todos-categories-alist.
1514 (todos-delete-category): Use todos-check-category-name and
1515 todos-categories-alist and take done items into account.
1516 (todos-insert-item): Use separate arguments to handle insertion of
1517 date/dayname and time strings, add new argument to mark item for
1518 diary inclusion, use new todos-read-* functions,
1519 todos-set-item-priority and todos-item-counts.
1520 (todos-insert-item-here, todos-insert-item-for-diary)
1521 (todos-insert-item-from-calendar): Adapt to new version of
1523 (todos-delete-item, todos-item-done): Use todos-item-counts.
1524 (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1526 (todos-lower-item): Ensure only not-done items can be lowered.
1527 (todos-move-item): Use todos-current-category, todos-read-category
1528 and todos-item-counts.
1529 (todos-archive-done-items): Use todos-current-category and
1530 todos-item-counts; fix regexp search string.
1531 (todos-item-undo): Use todos-current-category,
1532 todos-set-item-priority, todos-insert-with-overlays and
1533 todos-item-counts; restore if user quits before inserting undone
1535 (todos-date-pattern): Rewrite without using
1536 todos-date-nodayname-pattern and todos-dayname-date-pattern.
1537 (todos-date-string-match): Do not make todos-date-pattern an
1539 (todos-time-string-match): Make todos-date-pattern a shy group.
1540 (todos-wrap-and-indent): Use todos-indent-to-here.
1541 (todos-reset-prefix): Revert to using todos-show instead of
1542 todos-category-select.
1543 (todos-prefix-overlays): Fix numbering of done items and updating
1545 (todos-category-select): Use todos-current-category; fix display
1546 of separator string; don't move point to top of category.
1547 (todos-jump-to-category-noninteractively): Use todos-category-number.
1548 (todos-insert-with-overlays): Use todos-item-start unconditionally.
1549 (todos-item-start): New variable.
1550 (todos-item-start): Use it to define this function.
1551 (todos-item-end): Adjust if item is last unfinished one before
1552 displayed done items.
1553 (todos-remove-item): Use todos-item-start and todos-item-end
1554 instead of todos-forward-item and todos-backward-item.
1555 (todos-longest-category-name-length): Add argument for list of
1558 2012-09-13 Stephen Berman <stephen.berman@gmx.net>
1560 Changes from 2010-05-25 (revision 109993).
1561 * calendar/todos.el: Comment out calendar require, since diary-lib
1562 requires calendar. Rearrange file to group definitions according
1563 to their use (types of commands, internal functions, etc.)
1564 (todos-file-done, todos-insert-threshold, todos-remove-separator)
1565 (todos-date-string, todos-time-string, todos-check-overlay)
1566 (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1568 (todos-current-date, todos-item-end-overlays)
1569 (todos-list-categories): Remove.
1570 (todos-item-end): Remove (the variable, not the function).
1571 (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1573 (todos-done-separator, todos-done-string, todos-show-with-done)
1574 (todos-files, todos-archive-file, todos-categories-buffer)
1575 (todos-archived-categories-buffer, todos-wrap-lines)
1576 (todos-line-wrapping-function): New defcustoms.
1577 (todos-done, todos-done-sep): New faces.
1578 (todos-done-face, todos-done-sep-face): Corresponding new variables.
1579 (todos-search-string, todos-date-nodayname-pattern)
1580 (todos-dayname-date-pattern, todos-date-pattern): New variables.
1581 (todos-done-string-match, todos-category-string-match)
1582 (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1583 (todos-current-category, todos-count-items-in-category)
1584 (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1585 (todos-longest-category-name-length): New functions.
1586 (todos-categories-list): New buffer-specific function replacing
1587 todos-list-categories.
1588 (todos-toggle-item-numbering, todos-toggle-view-done-items)
1589 (todos-search, todos-view-archive, todos-diary-items)
1590 (todos-toggle-display-date-time, todos-insert-item-no-time)
1591 (todos-insert-item-ask-date, todos-insert-item-for-diary)
1592 (todos-insert-item-from-calendar, todos-edit-quit)
1593 (todos-change-date, todos-item-done, todos-archive-done-items)
1594 (todos-item-undo): New commands.
1595 (todos-archive-mode): New major mode.
1596 (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1597 (todos-category-beg): Change value.
1598 (todos-number-prefix): Change default value.
1599 (todos-edit-buffer): Change from defvar to defcustom.
1600 (todos-font-lock-keywords): Use todos-done-string-match and
1601 todos-category-string-match.
1602 (todos-backward-item, todos-forward-item): Use todos-done-string
1603 and todos-date-pattern.
1604 (todos-display-categories): Reimplement using buttons from
1605 button.el instead of widgets.
1606 (todos-top-priorities): Use with-current-buffer; take done items
1607 into account; ensure buffers gets fontified.
1608 (todos-add-category): Ensure new category does not begin with
1610 (todos-jump-to-category): Use todos-category-select instead of
1612 (todos-rename-category): Prompt for new name in body instead of in
1614 (todos-insert-item): Don't insert in done items section of
1615 category. Add two optional arguments to control insertion: (i) to
1616 insert near point without prompting for priority; (ii) to use
1617 defaults for date and time strings, to prompt for these, or to
1618 choose date from the Calendar.
1619 (todos-insert-item-here): Reimplement using todos-insert-item.
1620 (todos-delete-item): Don't move point after deleting last item.
1621 (todos-raise-item, todos-lower-item): Take done items into account.
1622 (todos-move-item): Don't move done items; update item numbering;
1623 restore if user quits before inserting moved item.
1624 (todos-print): Prompt for confirmation to print.
1625 (todos-reset-prefix): Search backward from end of file instead of
1627 (todos-jump-to-category-noninteractively): Take Todos archive into
1629 (todos-category-select): Show or hide done items according to
1630 todos-show-with-done; if shown, coordinate separator and prefix
1632 (todos-add-item-non-interactively): Replace binary insertion
1633 algorithm with prompting for numerical priority.
1634 (todos-insert-with-overlays): Remove use of variable todos-item-end.
1635 (todos-item-start): Take done items into account; use
1637 (todos-item-end): Reimplement using todos-forward-item.
1638 (todos-remove-item): Reimplement using todos-forward-item and
1639 todos-backward-item; redo overlay handling.
1640 (todos-mode-map): Add some new key bindings and change numerous
1641 existing bindings; use "i" as prefix key for item insertion
1643 (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1644 wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1645 spec; set buffer-read-only to t and consequently let-bind this
1646 variable in all Todos commands that change buffer content.
1647 (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1648 (todos-save): Don't save top priorities buffer.
1649 (todos-show): Make a no-op if called interactively in narrowed
1650 Todos mode, since, also to work around item prefix reduplication
1651 bug with show-paren-mode enabled; use todos-categories-list.
1653 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1655 Changes from 2009-11-07 (revision 109992).
1656 * calendar/todos.el: Comment out time-stamp require; require
1657 calendar and diary-lib.
1658 (todos-prefix): Change default value and doc string to reflect new
1659 meaning; add :initialize and :set functions.
1660 (todos-time-string-format, todos-entry-prefix-function)
1661 (todos-initials, todos-entry-timestamp-initials)
1662 (todos-prefix-face, todos-category-sep, todos-category-end)
1663 (todos-cp): Comment out.
1664 (todos-prefix-string): Inherit from font-lock-comment-face.
1665 (todos-item-header, todos-item-header-face): Remove.
1666 (todos-date, todos-time): New faces.
1667 (todos-date-face, todos-time-face): Corresponding new variables.
1668 (todos-add-time-string, todos-include-in-diary)
1669 (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1671 (todos-item-end, todos-item-start-overlays)
1672 (todos-item-end-overlays): New variables.
1673 (todos-date-string-match, todos-time-string-match): New functions.
1674 (todos-font-lock-keywords): Use them.
1675 (todos-current-date, todos-date-string, todos-time-string)
1676 (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1677 (todos-reset-prefix, todos-update-numbered-prefix)
1678 (todos-check-overlay, todos-item-overlays)
1679 (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1680 (todos-highlight-item): New command.
1681 (todos-category-beg): Change value.
1682 (todos-category-select): Use todos-category-beg and todos-item-overlays.
1683 (todos-backward-item): Add optional count argument; use it and
1685 (todos-forward-item): Use todos-check-overlay, todos-item-start
1686 and variable todos-item-end.
1687 (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1688 todos-update-numbered-prefix, todos-item-overlays.
1689 (todos-add-category, todos-rename-category)
1690 (todos-list-categories): Use new category format.
1691 (todos-delete-category): Allow deleting non-empty category;
1692 use new category format.
1693 (todos-add-item-non-interactively): Comment out unnecessary
1694 save-excursion; use todos-insert-with-overlays.
1695 (todos-insert-item): Comment out unnecessary save-excursion; use
1696 new item format for date/time header and diary inclusion marking.
1697 (todos-insert-item-here): Use new item format for date/time header
1698 and diary inclusion marking; use todos-insert-with-overlays.
1699 (todos-raise-item): Make a no-op if point is on an empty line; use
1700 todos-insert-with-overlays.
1701 (todos-lower-item): Use todos-insert-with-overlays.
1702 (todos-top-priorities): Move call to todos-show inside
1703 save-excursion; add save-current-buffer after save-restriction.
1704 (todos-item-start): Use variable todos-item-end.
1705 (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1706 (todos-remove-item): Take item overlays into account.
1707 (todos-mode): Change calculation of wrap-prefix; make
1708 hl-line-range-function a local variable and set it to highlight
1710 (todos-show): Ensure point stays at top of category.
1712 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1714 Changes from 2009-07-04 (revision 109991).
1715 * calendar/todos.el (todos-window-configuration): Comment out.
1716 (todos-display-categories): Comment out use of
1717 todos-window-configuration; use switch-to-buffer instead of
1719 (todos-jump-to-category-noninteractively): Comment out use of
1720 todos-window-configuration.
1721 (todos-edit-item): Don't allow editing of date/time item header.
1722 (todos-insert-item, todos-insert-item-here): Insert date/time
1723 header in front of new item string.
1724 (todos-mode): Tweak wrap-prefix.
1726 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1728 Changes from 2009-06-26 (revision 109989).
1729 * calendar/todos.el (todos-file-do, todos-file-done):
1730 Change default location to directory "~/.emacs.d/".
1731 (todos-completion-ignore-case, todos-categories-buffer):
1733 (todos-prefix-string, todos-item-header): New faces.
1734 (todos-prefix-face, todos-item-header-face): Corresponding
1736 (todos-rename-category, todos-delete-category)
1737 (todos-display-categories, todos-move-item): New commands.
1738 (todos-mode-map): Add key bindings for new commands and for
1739 todos-add-category, which had no key binding.
1740 (todos-jump-to-category-noninteractively): New function.
1741 (todos-top-priorities): Comment out code using a previously
1743 (todos-completing-read): Allow SPC to insert a space when entering
1744 a new category name; use todos-completion-ignore-case.
1745 (todos-font-lock-keywords, todos-window-configuration):
1747 (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1748 word-wrap, and wrap-prefix local variables.
1750 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1752 Changes from 2009-02-16 (revision 109988).
1753 * calendar/todos.el (todos-list-categories): Fix typos.
1754 (todos-show): Ensure file is in todos-mode.
1756 2012-09-12 Stephen Berman <stephen.berman@gmx.net>
1758 Changes from 2009-02-12 (revision 109987).
1759 * calendar/todos.el (todos-header): Remove defvar.
1760 (todos-add-category): Comment out code that inserts and updates
1761 the file local variables first line of the file todos-file-do.
1762 (todos-list-categories): New function.
1763 (todos-show): Use it; remove use of a previously deleted variable.
1765 2012-09-11 Stephen Berman <stephen.berman@gmx.net>
1767 Changes from 2009-02-12 (revision 109986).
1768 * calendar/todos.el: New file. This is a copy of todo-mode.el
1769 from revision 94343 except for the following changes: replace all
1770 occurrences of the namespace prefix "todo-" with "todos-", delete
1771 the defvar todo-cats (the old name of todo-categories) and its use
1772 in todos-add-category, delete all defaliases of old command names.
1774 2012-09-11 Bastien Guerry <bzg@gnu.org>
1776 * subr.el (set-temporary-overlay-map): Add a docstring.
1779 2012-09-11 Bastien Guerry <bzg@gnu.org>
1781 * minibuffer.el (completion-table-subvert): Fix docstring.
1784 2012-09-11 Bastien Guerry <bzg@gnu.org>
1786 * help-fns.el (describe-variable): Fix typo. (bug#12346)
1788 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
1790 * progmodes/sql.el: Version 3.1
1791 (sql-db2-escape-newlines): New variable.
1792 (sql-escape-newlines-filter): Use it.
1794 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
1796 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1798 2012-09-10 Dan Nicolaescu <dann@gnu.org>
1800 * vc/diff-mode.el (diff-mode-menu): Bind
1801 diff-remove-trailing-whitespace.
1803 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1805 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1806 (emacs-lisp-byte-code-comment)
1807 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1809 (eval-sexp-add-defvars): Don't skip defvars in column >0.
1810 (eval-defun-2): Remove bogus interactive spec.
1811 (lisp-indent-line): Remove redundant whole-exp code, now done in
1812 indent-according-to-mode.
1813 (save-match-data): Remove redundant indent data.
1815 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1818 2012-09-09 Juri Linkov <juri@jurta.org>
1820 * replace.el (replace-regexp-lax-whitespace): New defcustom.
1821 (replace-lax-whitespace, query-replace-regexp)
1822 (query-replace-regexp-eval, replace-regexp): Doc fix.
1823 (perform-replace, replace-highlight): Let-bind
1824 isearch-lax-whitespace to replace-lax-whitespace and
1825 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1827 * isearch.el (isearch-query-replace): Let-bind
1828 replace-lax-whitespace to isearch-lax-whitespace and
1829 replace-regexp-lax-whitespace to
1830 isearch-regexp-lax-whitespace. (Bug#10885)
1832 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1834 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1836 2012-09-09 Alan Mackenzie <acm@muc.de>
1838 * progmodes/cc-engine.el (c-state-cache-init):
1839 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1840 (c-record-parse-state-state):
1841 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1843 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
1845 * register.el (register-separator): Rename from
1846 separator-register. All uses changed. Doc fix.
1847 (register): Fix version.
1849 2012-09-09 Chong Yidong <cyd@gnu.org>
1851 * replace.el (query-replace-map): Bind four new symbols for
1852 requesting window scrolling.
1854 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1855 query-replace-map (Bug#8948).
1857 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1859 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1860 since they are now in query-replace-map.
1862 * window.el (scroll-other-window-down): Make the arg optional.
1864 2012-09-09 Chong Yidong <cyd@gnu.org>
1866 * files.el (hack-local-variables-confirm): Use quit-window to kill
1867 the *Local Variables* buffer.
1869 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1871 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1872 not just expect to be at its beginning. Adjust callees.
1873 Succeed when do-end block has no space before the pipe character.
1874 (ruby-brace-to-do-end): When the original block is one-liner,
1875 convert to multiline. Reindent the result.
1877 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
1879 * register.el (register): New group.
1880 (register-separator): New user option.
1881 (increment-register): Route it to `append-to-register', if
1882 register contains text. Implication is that `C-x r +' can now be
1883 used for appending to a text register (bug#12217).
1884 (append-to-register, prepend-to-register): Add separator based on
1885 `register-separator.
1887 2012-09-08 Alan Mackenzie <acm@muc.de>
1889 AWK Mode: make auto-newline work when there's "==" in the pattern.
1890 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1892 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1893 Test more rigorously for "=" token.
1895 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
1897 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1898 Only fail when reached LIMIT.
1900 2012-09-08 Chong Yidong <cyd@gnu.org>
1902 * dired.el (dired-mode-map): Don't bind M-=.
1904 * dired-aux.el (dired-diff): Use backup file as default.
1906 2012-09-08 Drew Adams <drew.adams@oracle.com>
1908 * subr.el (add-to-history): Fix delete usage (Bug#12314).
1910 2012-09-08 Chong Yidong <cyd@gnu.org>
1912 * subr.el (syntax-after, syntax-class): Doc fix.
1914 2012-09-08 Martin Rudalics <rudalics@gmx.at>
1916 * window.el (display-buffer-in-previous-window): New buffer
1917 display action function.
1919 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1920 (debugger-previous-window): New variable.
1921 (debug): Rewrite using display-buffer-in-previous-window,
1922 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
1924 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
1928 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
1930 * progmodes/python.el (python-shell-send-string):
1931 When default-directory is remote, create temp file on remote
1933 (python-shell-send-file): When file is remote, pass local view of
1934 file paths to remote Python interpreter. (Bug#12340)
1936 2012-09-07 Chong Yidong <cyd@gnu.org>
1938 * window.el (switch-to-buffer): Doc fix (Bug#12181).
1940 * files.el (after-find-file): Don't fail on a read-only buffer if
1941 require-final-newline is `visit' or `visit-save' (Bug#11156).
1943 * subr.el (read-char-choice): Allow quitting via ESC ESC.
1945 * userlock.el (ask-user-about-supersession-threat):
1946 Use read-char-choice (Bug#12093).
1948 2012-09-07 Chong Yidong <cyd@gnu.org>
1950 * subr.el (buffer-narrowed-p): New function.
1952 * ses.el (ses-widen):
1953 * simple.el (count-words--buffer-message):
1954 * net/browse-url.el (browse-url-of-buffer): Use it
1956 * simple.el (count-words-region): Don't signal an error if there
1957 is a non-nil prefix arg and the mark is not set.
1959 * help.el (describe-key-briefly): Allow the message to be seen
1960 when invoked from the minibuffer (Bug#7014).
1962 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
1964 * progmodes/ruby-mode.el (ruby-end-of-defun)
1965 (ruby-beginning-of-defun): Simplify, allow indentation before
1966 block beginning and end keywords.
1967 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1968 (ruby-end-of-defun): Expect that the point is at the beginning of
1971 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1973 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1975 (cl--make-usage-args): Strip _ from argument names.
1977 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1979 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1980 obsolete alias speedbar-key-map.
1981 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1982 (vhdl-index-menu-init): Don't use obsolete variable
1983 font-lock-maximum-size.
1985 2012-09-06 Chong Yidong <cyd@gnu.org>
1987 * frame.el (window-system-version): Mark as obsolete.
1989 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1990 of obsolete variable speedbar-key-map.
1992 2012-09-06 Juri Linkov <juri@jurta.org>
1994 * replace.el (replace-lax-whitespace): New defcustom.
1995 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1996 (replace-string, replace-regexp): Mention it in docstrings.
1997 (perform-replace, replace-highlight): Let-bind
1998 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1999 to the values of replace-lax-whitespace and regexp-flag.
2000 Don't let-bind search-whitespace-regexp. (Bug#10885)
2002 * isearch.el (isearch-query-replace): Let-bind
2003 replace-lax-whitespace instead of let-binding
2004 replace-search-function and replace-re-search-function.
2005 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2006 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2007 (isearch-toggle-symbol): Set isearch-regexp to nil
2008 in isearch-word mode (like in isearch-toggle-word).
2010 2012-09-06 Juri Linkov <juri@jurta.org>
2012 * replace.el (replace-search-function)
2013 (replace-re-search-function): Set default values to nil.
2014 (perform-replace): Let-bind isearch-related variables based on
2015 replace-related values, call `isearch-search-fun' and let-bind
2016 the result to `search-function'. Remove code that sets
2017 `search-function' and `search-string' separately for
2019 (replace-highlight): Add new argument `delimited-flag' and
2020 rename other arguments to the names used in `perform-replace'.
2021 Let-bind `isearch-word' to the argument `delimited-flag'.
2022 (Bug#10885, bug#10887)
2024 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2026 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2027 ruby-beginning-of-indent, simplify, allow all keywords to have
2028 indentation before them.
2029 (ruby-beginning-of-indent): Adjust for above. Search until the
2030 found point is not inside a string or comment.
2031 (ruby-font-lock-keywords): Allow symbols to start with "@"
2032 character, give them higher priority than variables.
2033 (ruby-syntax-propertize-function)
2034 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2035 matchers. Expression expansions are not comments when inside a
2036 string, and there comment syntax status is irrelevant.
2037 (ruby-match-expression-expansion): New function. Check that
2038 expression expansion is inside a string, and it's not escaped.
2039 (ruby-font-lock-keywords): Use it.
2041 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2043 * help.el (temp-buffer-max-height): New default value.
2044 (temp-buffer-resize-frames): New option.
2045 (resize-temp-buffer-window): Optionally resize frame.
2047 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2048 (fit-frame-to-buffer): New function.
2050 2012-09-05 Glenn Morris <rgm@gnu.org>
2052 * emulation/cua-rect.el (cua--init-rectangles):
2053 * textmodes/picture.el (picture-mode-map):
2054 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2055 like forward-char and backward-char. (Bug#12317)
2057 2012-09-05 Leo Liu <sdl.web@gmail.com>
2059 * progmodes/flymake.el (flymake-warning-re): New variable.
2060 (flymake-parse-line): Use it.
2062 2012-09-05 Glenn Morris <rgm@gnu.org>
2064 * calendar/holidays.el (holiday-christian-holidays):
2065 Rename an entry. (Bug#12289)
2067 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2072 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * loadup.el: Load macroexp. Remove hack.
2075 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2076 (macroexp--expand-all): Use it to get better warnings.
2077 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2078 (internal-macroexpand-for-load): New functions.
2079 (macroexp--pending-eager-loads): New var.
2080 (emacs-startup-hook): New hack to replace one in loadup.el.
2081 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2082 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2083 (cl-psetf): Simplify.
2084 (cl-defstruct): Add indent rule.
2086 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2088 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2089 over `user-mail-address' for the SMTP MAIL FROM envelope.
2090 (smtpmail-via-smtp): Ditto.
2092 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2094 * progmodes/ruby-mode.el: Clean up keybindings.
2095 (ruby-mode-map): Don't bind ruby-electric-brace,
2096 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2097 backward-kill-word, reindent-then-newline-and-indent.
2098 (ruby-mark-defun): Remove.
2099 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2100 (ruby-mode): Set local beginning-of-defun-function and
2101 end-of-defun-function values.
2103 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2105 * window.el (temp-buffer-window-setup-hook)
2106 (temp-buffer-window-show-hook): New hooks.
2107 (temp-buffer-window-setup, temp-buffer-window-show)
2108 (with-temp-buffer-window): New functions.
2109 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2110 (special-display-popup-frame): Make sure the window used shows BUFFER.
2112 * help.el (temp-buffer-resize-mode): Fix doc-string.
2113 (resize-temp-buffer-window): New optional argument WINDOW.
2115 * files.el (recover-file, save-buffers-kill-emacs):
2116 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2118 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2120 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2121 remote definition of `default-directory', ensure we can connect.
2123 2012-09-02 Juri Linkov <juri@jurta.org>
2125 Toggle whitespace matching mode with M-s SPC.
2126 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2128 * isearch.el (search-whitespace-regexp): Doc fix.
2129 Remove cons cell customization.
2130 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2131 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2133 (isearch-forward, isearch-forward-regexp): Doc fix.
2134 (isearch-toggle-lax-whitespace): New command.
2135 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2136 (re-search-forward-lax-whitespace)
2137 (re-search-backward-lax-whitespace): New functions.
2138 (isearch-whitespace-regexp): Remove function.
2139 (isearch-query-replace): Let-bind replace-search-function and
2140 replace-re-search-function.
2141 (isearch-occur): Let-bind search-spaces-regexp according to the
2142 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2143 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2144 condition for C-q SPC.
2145 (isearch-search-fun-default): Use new functions mentioned above.
2146 (isearch-search-forward, isearch-search-backward): Remove functions.
2147 (isearch-search): Don't let-bind search-spaces-regexp.
2148 (isearch-lazy-highlight-space-regexp): Remove variable.
2149 (isearch-lazy-highlight-lax-whitespace)
2150 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2151 (isearch-lazy-highlight-new-loop): Use them.
2152 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2154 2012-09-02 Chong Yidong <cyd@gnu.org>
2156 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2158 2012-09-02 Glenn Morris <rgm@gnu.org>
2160 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2162 2012-09-01 Glenn Morris <rgm@gnu.org>
2164 * term.el: Tidy up menu definitions.
2165 (term-mode-map): Use easymenu for In/Out, Complete menus.
2166 (term-pager-break-map): Initialize in the defvar.
2167 (term-terminal-menu, term-signals-menu): Define with easymenu.
2168 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2169 (term-pager-menu): New, extracted from term-process-pager.
2170 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2171 (term-update-mode-line): Propertize line/char and page items.
2172 (term-process-pager): Move keymap initialization elsewhere.
2174 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2176 * window.el (switch-to-prev-buffer): Handle additional values of
2177 BURY-OR-KILL argument. Don't switch in minibuffer window.
2178 (switch-to-next-buffer): Don't switch in minibuffer window.
2179 (quit-restore-window): New function based on quit-window.
2180 Handle additional values of former KILL argument.
2181 (quit-window): Call quit-restore-window with appropriate
2182 interpretation of KILL argument.
2183 (display-buffer-below-selected): New buffer display action
2186 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * minibuffer.el (completion-at-point-functions): Complete docstring
2191 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2193 Better seed support for (random).
2194 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2195 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2196 * play/mpuz.el, play/tetris.el, play/zone.el:
2197 * calc/calc-comb.el (math-init-random-base):
2198 * play/blackbox.el (bb-init-board):
2199 * play/life.el (life):
2200 * server.el (server-use-tcp):
2201 * type-break.el (type-break):
2202 Remove unnecessary call to (random t).
2203 * net/sasl.el (sasl-unique-id-function):
2204 Change (random t) to (random), now that the latter is more random.
2205 * play/life.el (life-initialized): Remove no-longer-needed var.
2207 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2209 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2210 Consider frame's buffer predicate when choosing the buffer.
2213 2012-08-30 Richard Stallman <rms@gnu.org>
2215 * simple.el (special-mode-map): Delete binding for `z'.
2217 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2219 * progmodes/compile.el (compilation-always-kill): Doc fix.
2221 2012-08-30 Chong Yidong <cyd@gnu.org>
2223 * window.el (display-buffer-reuse-frames): Make the obsolescence
2224 message more informative.
2226 2012-08-30 Glenn Morris <rgm@gnu.org>
2228 * paren.el (show-paren-delay):
2229 Add a :set function. Doc fix. (Bug#12297)
2231 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2233 * progmodes/compile.el (compilation-always-kill): New var.
2234 (compilation-start): Use it.
2236 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2238 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2239 * files.el (read-only-mode): Move to simple.el.
2241 * files.el (read-only-mode): New minor mode.
2242 (toggle-read-only): Use it and mark obsolete.
2243 (find-file--read-only):
2244 * vc/vc.el (vc-next-action, vc-checkout):
2245 * vc/vc-cvs.el (vc-cvs-checkout):
2246 * obsolete/vc-mcvs.el (vc-mcvs-update):
2247 * ffap.el (ffap--toggle-read-only): Update callers.
2249 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2251 * eshell/esh-ext.el (eshell-external-command): Do not examine
2252 remote shell scripts.
2253 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2255 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2258 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2262 2012-08-28 Leo Liu <sdl.web@gmail.com>
2264 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2265 completion-at-point. (Bug#12220)
2267 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2269 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2271 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2273 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2274 be buffer-local; add delete-trailing-whitespace (bug#12259).
2276 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2278 * progmodes/hideif.el (hif-compress-define-list):
2279 Fix typo. (Bug#11951)
2281 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2283 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2284 buffer local setting.
2286 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2287 rcirc-encode-coding-system.
2289 2012-08-28 Leo Liu <sdl.web@gmail.com>
2291 * net/rcirc.el (rcirc-split-message): New function.
2292 (rcirc-send-message): Use it. (Bug#12051)
2294 2012-08-28 Juri Linkov <juri@jurta.org>
2296 * info.el (Info-fontify-node): Hide empty lines at the end of
2297 the node. (Bug#12272)
2299 2012-08-27 Drew Adams <drew.adams@oracle.com>
2301 * dired.el (dired-pop-to-buffer): Make window start at beginning
2302 of buffer (Bug#12281).
2304 2012-08-26 Chong Yidong <cyd@gnu.org>
2306 * window.el (special-display-regexps, special-display-frame-alist)
2307 (special-display-buffer-names, special-display-function)
2308 (display-buffer-reuse-frames): Mark as obsolete.
2310 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2312 * help.el (help-print-return-message): Don't treat
2313 display-buffer-reuse-frames specially.
2315 2012-08-26 Chong Yidong <cyd@gnu.org>
2317 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2318 New variable, replacing gdb-frame-parameters.
2319 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2320 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2321 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2322 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2323 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2324 the functions directly with gdb-display-buffer-other-frame-action.
2325 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2326 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2327 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2328 (gdb-display-registers-buffer): Define directly.
2329 (def-gdb-display-buffer): Macro deleted.
2330 (gdb-display-buffer): Remove second and third args, callers don't
2331 use them. Defer to the default display-buffer behavior, apart
2332 from making windows dedicated.
2333 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2335 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2337 * window.el (display-buffer-pop-up-frame): Handle a
2338 pop-up-frame-parameters alist entry.
2339 (display-buffer): Document it.
2341 2012-08-26 Chong Yidong <cyd@gnu.org>
2343 * isearch.el (search-whitespace-regexp): Make string and nil
2344 values apply to both ordinary and regexp search. Allow a cons
2345 cell value to distinguish between the two.
2346 (isearch-whitespace-regexp, isearch-search-forward)
2347 (isearch-search-backward): New functions.
2348 (isearch-occur, isearch-search-fun-default, isearch-search)
2349 (isearch-lazy-highlight-new-loop): Use them.
2350 (isearch-forward, isearch-forward-regexp): Doc fix.
2352 2012-08-26 Chong Yidong <cyd@gnu.org>
2354 * faces.el (help-argument-name): Always inherit from italic
2357 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2359 * window.el (window--even-window-heights): Even heights when
2360 WINDOW and the selected window form a vertical combination.
2361 (display-buffer-use-some-window): Provide that window used gets
2362 sized back by quit-window. (Bug#11880) and (Bug#12091)
2364 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2366 Fix file time stamp problem with bzr and CVS (Bug#12001).
2367 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2368 in the file's time stamp, since the version control system loses
2371 2012-08-22 Juri Linkov <juri@jurta.org>
2373 * info.el (Info-fontify-node): Hide the suffix of the
2374 Info file name in the header line. (Bug#12187)
2376 2012-08-22 Glenn Morris <rgm@gnu.org>
2378 * calendar/cal-tex.el (cal-tex-weekly-common):
2379 Restore leading blank page.
2381 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2383 * misc.el (forward-to-word, backward-to-word): Activate or extend
2384 the region under `shift-select-mode'. (Bug#12231)
2386 2012-08-22 Bastien Guerry <bzg@gnu.org>
2388 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2389 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2390 gives details on why the space is never needed.
2392 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2394 * window.el (walk-window-tree, window-with-parameter):
2395 New optional argument MINIBUF to control whether these functions
2396 should run on the minibuffer window.
2397 (window-at-side-list): Don't operate on minibuffer window.
2398 (window-in-direction): Simplify and rewrite doc-string.
2399 (window--size-ignore): Rename to window--size-ignore-p.
2401 (display-buffer-in-atom-window, window--major-non-side-window)
2402 (window--major-side-window, display-buffer-in-major-side-window)
2403 (delete-side-window, display-buffer-in-side-window):
2405 (window--side-check, window-deletable-p, delete-window)
2406 (delete-other-windows, split-window): Handle side windows and
2407 atomic windows appropriately.
2408 (window--display-buffer): Call display-buffer-record-window also
2409 when the window buffer did not change.
2411 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2413 * help-fns.el (help-fns--key-bindings):
2414 Abbreviate non-symbol remap targets. (Bug#12174)
2416 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2418 * dired.el (dired-mark-remembered): Don't clobber point.
2421 2012-08-22 Glenn Morris <rgm@gnu.org>
2423 * progmodes/bug-reference.el (bug-reference): New custom group.
2424 (bug-reference-bug-regexp): Make it a defcustom.
2426 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2428 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2429 (js-paren-indent-offset, js-square-indent-offset)
2430 (js-curly-indent-offset): Add :safe (Bug#12257).
2432 2012-08-22 Edward O'Connor <hober0@gmail.com>
2434 * json.el (json-key-format): Add error properties.
2435 (json-encode-key): New function.
2436 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2437 Use json-encode-key.
2439 2012-08-22 Glenn Morris <rgm@gnu.org>
2441 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2442 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2443 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2444 Update for above change.
2446 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2448 * cus-face.el (custom-face-attributes): Fix customize type for the
2449 :underline attribute. (Bug#11805)
2451 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2453 * window.el (window-point-1, set-window-point-1): Remove.
2454 (window-in-direction, record-window-buffer)
2455 (set-window-buffer-start-and-point, split-window-below)
2456 (window--state-get-1, display-buffer-record-window):
2457 Replace calls to window-point-1 and set-window-point-1 by calls to
2458 window-point and set-window-point respectively.
2460 2012-08-21 Glenn Morris <rgm@gnu.org>
2462 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2463 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2466 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2467 (cal-tex-shortday): New function.
2468 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2469 (cal-tex-cursor-filofax-daily): Use the above.
2471 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2473 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2474 (cal-tex-cursor-filofax-week): Use them.
2476 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2478 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2479 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2481 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2482 (cal-tex-end-document): Don't rely on buffer name.
2484 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2486 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2487 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2488 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2491 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2492 (cal-tex-cursor-week, cal-tex-cursor-week2)
2493 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2494 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2495 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2496 (cal-tex-insert-preamble, cal-tex-b-document)
2497 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2498 Improve cal-tex-cmd usage.
2500 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2501 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2502 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2503 (cal-tex-weekly-paper): New function.
2504 (cal-tex-cursor-week, cal-tex-cursor-week2)
2505 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2506 (cal-tex-cursor-day): Use it.
2508 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2509 (cal-tex-cursor-filofax-week): Remove leading blank page.
2511 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2512 Add autoload cookie. For now at least, don't use color, since
2513 no other cal-tex function does.
2515 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2516 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2517 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2519 2012-08-21 Juri Linkov <juri@jurta.org>
2521 * info.el (Info-file-attributes): New variable.
2522 (info-insert-file-contents): Add file attributes to
2523 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2524 `Info-toc-nodes' when previous modtime of the Info file is less
2526 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2527 of info.el. (Bug#12230)
2529 2012-08-20 Glenn Morris <rgm@gnu.org>
2531 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2532 * calendar/holidays.el (calendar-holiday-list):
2533 Report errors with display-warning rather than beep'n'sleep.
2535 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2537 * net/tramp.el (tramp-accept-process-output): Accept only output
2538 from PROC. Otherwise, process filters and sentinels might be
2539 confused. (Bug#12145)
2541 2012-08-20 Chong Yidong <cyd@gnu.org>
2543 * descr-text.el (describe-text-properties-1): Use overlays-in to
2544 report on empty overlays (Bug#3322).
2546 2012-08-20 Glenn Morris <rgm@gnu.org>
2548 * mail/rmailout.el (rmail-output-read-file-name):
2549 Trap and report errors in rmail-output-file-alist elements.
2551 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2552 since most non-font-lock faces are not also variables).
2554 2012-08-20 Edward Reingold <reingold@iit.edu>
2556 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2557 New function. (Bug12160)
2559 2012-08-19 Glenn Morris <rgm@gnu.org>
2561 * mail/rmailout.el (rmail-output-read-file-name):
2562 Fix previous change (when the alist is nil or does not match).
2564 2012-08-19 Chong Yidong <cyd@gnu.org>
2566 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2569 2012-08-18 Chong Yidong <cyd@gnu.org>
2571 * simple.el (yank-handled-properties): New defcustom.
2572 (yank-excluded-properties): Add font-lock-face and category.
2575 * subr.el (remove-yank-excluded-properties):
2576 Obey yank-handled-properties. The special handling of font-lock-face
2577 and category is now done this way, instead of being hard-coded.
2578 (insert-for-yank-1): Remove font-lock-face handling.
2579 (yank-handle-font-lock-face-property)
2580 (yank-handle-category-property): New function.
2582 2012-08-17 Glenn Morris <rgm@gnu.org>
2584 * mail/rmailout.el (rmail-output-read-file-name):
2585 Check rmail-output-file-alist against the full message body
2586 in the correct rmail buffer. (Bug#12214)
2588 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2590 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2591 Eliminate superfluous prompt. (Bug#12203)
2593 2012-08-17 Chong Yidong <cyd@gnu.org>
2595 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2596 font spec, set the font directly (Bug#3228).
2598 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2600 * window.el (delete-window): Fix last fix.
2602 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2604 * window.el (window-valid-p): Move to window.c.
2605 (window-child, window-child-count, window-last-child)
2606 (window-normalize-window, window-combined-p)
2607 (window-combinations, window-atom-root, window-min-size)
2608 (window-sizable, window-sizable-p, window-size-fixed-p)
2609 (window-min-delta, window-max-delta, window--resizable)
2610 (window--resizable-p, window-resizable, window-total-size)
2611 (window-full-height-p, window-full-width-p, window-body-size)
2612 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2613 (minimize-window, window-deletable-p, delete-window)
2614 (delete-other-windows, set-window-buffer-start-and-point)
2615 (next-buffer, previous-buffer, split-window, balance-windows-2)
2616 (set-window-text-height, window-buffer-height)
2617 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2618 (truncated-partial-width-window-p): Minor code adjustments.
2619 In doc-strings state whether the argument window has to denote a
2620 live, valid or any window.
2622 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2624 * progmodes/subword.el (subword-forward-function)
2625 (subword-backward-function, subword-forward-regexp)
2626 (subword-backward-regexp): New variables.
2627 (subword-forward, subword-forward-internal, subword-backward-internal):
2628 Use new variables, eg so that different "word" definitions
2629 can be easily used. (Bug#11411)
2631 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2634 for composite selectors.
2635 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2636 operation just because we can't find a previous revision.
2638 2012-08-15 Chong Yidong <cyd@gnu.org>
2640 * frame.el (set-frame-font): Accept font objects.
2642 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2644 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2646 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2648 * man.el (Man-overstrike-face, Man-underline-face)
2649 (Man-reverse-face): Remove variables.
2650 (Man-overstrike, Man-underline, Man-reverse): New faces.
2651 (Man-fontify-manpage): Use them instead of the variables.
2652 (Man-cleanup-manpage): Comment change.
2653 (Man-ansi-color-map): New variable.
2654 (Man-fontify-manpage): Use it.
2655 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2657 Implement ANSI SGR parameters 22-27 (bug#12146).
2658 * ansi-color.el (ansi-colors): Doc fix.
2659 (ansi-color-context, ansi-color-context-region): Doc fix.
2660 (ansi-color--find-face): New function.
2661 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2662 Rename the local variable `face' to `codes' since it is now a list of
2663 ansi codes. Doc fix.
2664 (ansi-color-get-face): Remove.
2665 (ansi-color-parse-sequence): New function, derived from
2666 ansi-color-get-face.
2667 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2670 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * subr.el (read-passwd): Allow use from a minibuffer.
2674 2012-08-14 Eli Zaretskii <eliz@gnu.org>
2676 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2677 inside comments and strings as identifiers.
2679 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2680 expression to evaluate. This allows to evaluate expressions with
2681 embedded whitespace.
2682 (gud-tooltip-tips): Add a blank before the newline in the
2683 message-box text, for the benefit of message-box emulation on
2686 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2687 messages from GDB, pop them up in a tooltip to give feedback to
2689 (gdb-tooltip-print-1): Quote the expression to evaluate.
2690 This allows to evaluate expressions with embedded whitespace.
2691 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2692 if the TTY name is nil or empty (which happens when communicating
2693 with the inferior via pipes, e.g. on MS-Windows).
2694 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2695 don't send that to the GUD buffer.
2697 2012-08-14 Glenn Morris <rgm@gnu.org>
2699 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2700 Optimize away setq-default with no args, as for setq. (Bug#12195)
2702 2012-08-14 Chong Yidong <cyd@gnu.org>
2704 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2706 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2709 2012-08-14 Glenn Morris <rgm@gnu.org>
2711 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2713 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
2715 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2716 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2717 Use cached shell name.
2719 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2721 * progmodes/python.el (python-shell-send-string):
2722 (python-shell-send-setup-code): Do not use `format' with `message'.
2724 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2726 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2727 (ruby-percent-literal-beg-re): New constant.
2728 (ruby-syntax-general-delimiters-goto-beg): Rename to
2729 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2730 (ruby-syntax-propertize-general-delimiters): Rename to
2731 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2732 popular term. Adjust comments everywhere.
2733 (ruby-syntax-propertize-percent-literal): Only propertize when not
2734 inside a simple string or comment. When the literal is unclosed,
2735 leave the text after it unpropertized.
2736 (ruby-syntax-methods-before-regexp): New constant.
2737 (ruby-syntax-propertize-function): Use it to recognize regexps.
2738 Don't look at the text after regexp, just use the whitelist.
2740 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2742 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2743 non-nil always load the compiled file if it exists. (Bug#12197)
2745 2012-08-14 Chong Yidong <cyd@gnu.org>
2747 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2748 (hi-lock-set-pattern): When deciding whether to use font lock or
2749 overlays, look at font-lock-mode instead of font-lock-fontified
2751 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2752 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2754 2012-08-14 Daiki Ueno <ueno@unixuser.org>
2756 * subr.el (internal--after-with-selected-window): Fix typo
2759 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2761 Use `completion-table-dynamic' for completion functions.
2762 * progmodes/python.el
2763 (python-shell-completion--do-completion-at-point)
2764 (python-shell-completion--get-completions):
2766 (python-shell-completion-complete-at-point): New function.
2767 (python-completion-complete-at-point): Use it.
2769 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
2771 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2772 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2774 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2776 * subr.el (function-get): Refine `autoload' arg so it can also
2777 autoload functions for gv.el (bug#12191).
2778 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2781 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2782 Prefer pcase-let over destructuring-bind.
2783 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2784 Also, remove whitespace as we go, rather than after accumulating the
2787 * subr.el (internal--before-with-selected-window)
2788 (internal--after-with-selected-window): Fix typo seleted->selected.
2789 (with-selected-window): Adjust callers.
2790 Reported by Dmitry Gutov <dgutov@yandex.ru>.
2792 2012-08-13 Bastien Guerry <bzg@gnu.org>
2794 * window.el (special-display-popup-frame): Minor docstring
2795 enhancement. (Bug#12172)
2797 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
2799 * tar-mode.el (tar-header-data-end): Only ignore size for files of
2801 (tar-header-block-summarize, tar-get-descriptor): Handle pax
2804 * files.el (hack-local-variables-filter): Remove useless eval.
2806 2012-08-13 Martin Rudalics <rudalics@gmx.at>
2808 * subr.el (with-selected-window): Fix last change.
2810 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * subr.el (internal--before-with-seleted-window)
2813 (internal--after-with-seleted-window): New functions.
2814 (with-selected-window): Use them, to replace dependency on
2817 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
2819 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2820 binding for `newline'.
2821 (ruby-move-to-block): When moving backward, stop at block opening,
2823 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2824 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2825 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2826 `ruby-toggle-block'.
2828 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * ibuffer.el (ibuffer-do-toggle-read-only):
2831 * dired.el (dired-toggle-read-only):
2832 * buff-menu.el (Buffer-menu-toggle-read-only):
2833 * bindings.el (mode-line-toggle-read-only):
2834 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2836 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2838 * descr-text.el (describe-char): Put the overlays over the
2839 "displayed as" character.
2841 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2843 * calc/calc-units.el (math-default-units-table): Give an
2845 (math-put-default-units): Add options to put composite units and
2846 unit systems in the default units table.
2847 (calc-convert-units): Send composite units to
2848 `math-put-default-units' when appropriate.
2850 2012-08-11 Glenn Morris <rgm@gnu.org>
2852 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2854 * tutorial.el (help-with-tutorial):
2855 * emacs-lisp/copyright.el (copyright-update-directory):
2856 * emacs-lisp/autoload.el (autoload-find-generated-file)
2857 (autoload-find-file): Disable local eval: (for insurance).
2859 * files.el (hack-local-variables-filter): If an eval: form is not
2860 known to be safe, and enable-local-variables is :safe, then ignore
2861 the form totally, as is done for non-eval forms. (Bug#12155)
2862 This is CVE-2012-3479.
2864 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2867 (rx-form): Simplify.
2869 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
2871 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2872 ?, _, and : are symbol constituents, ! is not (but kinda should be).
2873 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2874 (ruby-syntax-propertize-function): Adjust for changes in
2875 `ruby-syntax-propertize-heredoc'.
2877 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
2879 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2880 binding (use `M-;' instead).
2881 (ruby-singleton-class-p): New function.
2882 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2884 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2886 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2888 2012-08-10 Chong Yidong <cyd@gnu.org>
2890 * progmodes/python.el (python-shell-get-process-name): Don't mess
2891 with same-window-buffer-names.
2893 * eshell/eshell.el (eshell-add-to-window-buffer-names)
2894 (eshell-remove-from-window-buffer-names): Make obsolete.
2895 (eshell-buffer-name, eshell-unload-hook): Don't use them.
2896 (eshell): Just use pop-to-buffer-same-window instead.
2898 2012-08-10 Chong Yidong <cyd@gnu.org>
2900 * bindings.el: Bind M-= back to count-words-region.
2902 * simple.el (count-words-region): Accept a prefix arg for acting
2903 on the entire buffer.
2904 (count-words--buffer-message): New helper function.
2906 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2909 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2910 (event-start, event-end): Use posn-at-point to return a more
2912 (posnp): New function.
2913 * mouse.el (popup-menu-normalize-position): Use it.
2915 2012-08-10 Masatake YAMATO <yamato@redhat.com>
2917 * mouse.el (popup-menu-normalize-position): New function.
2918 (popup-menu): Use `popup-menu-normalize-position' to normalize
2919 the form for POSITION argument.
2921 * term/x-win.el (x-menu-bar-open):
2922 Use the value returend from (posn-at-point) as position
2923 passed to `popup-menu'.
2925 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2927 * calc/calccomp.el (math-compose-expr): Add extra argument
2928 indicating that parentheses should be put around products in
2929 denominators. Give multiplication precedence over division during
2932 2012-08-09 Chong Yidong <cyd@gnu.org>
2934 * man.el (Man-switches, Man-sed-command, Man-awk-command)
2935 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2936 (Man-untabify-command, manual-program): Convert to defcustom
2939 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2941 * descr-text.el (describe-char): Don't insert extra newlines
2944 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2945 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2947 * align.el (align-region): Delete temporary markers (Bug#10047).
2948 Plus some code cleanups.
2950 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2952 * progmodes/python.el (python-pdbtrack-tracked-buffer)
2953 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2954 (python-shell-internal-last-output): Use make-local-variable
2955 instead of make-variable-buffer-local.
2957 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
2959 * progmodes/python.el: Enhancements to forward-sexp.
2960 (python-nav-forward-sexp): Rename from
2961 python-nav-forward-sexp-function.
2962 (python-nav--forward-sexp, python-nav--backward-sexp):
2965 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
2967 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2968 modes and simplification modes.
2970 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2972 * delsel.el (delete-selection-pre-hook): Don't propagate the
2973 file-supersession signals (bug#12161).
2975 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2977 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2978 (cl-map-extents): Add compatibility aliases (bug#12135).
2980 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
2982 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2983 tests by `ignore-error'.
2984 (tramp-find-shell): Open also a new shell, when cache is already
2985 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
2987 2012-08-08 Juri Linkov <juri@jurta.org>
2989 * bookmark.el: Add `defaults' property to the bookmark record.
2990 (bookmark-current-buffer): Doc fix.
2991 (bookmark-make-record): Add `defaults' property with default values
2992 to the bookmark record.
2993 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2994 with `bookmark-insert-current-bookmark'.
2995 (bookmark-set): Get `defaults' property from the bookmark record
2996 and use it in `read-from-minibuffer'.
2997 (bookmark-insert-current-bookmark): Remove function.
2999 * info.el (Info-bookmark-make-record): Add `defaults' property
3000 with values of canonical Info node name, the current Info file
3001 name and the current Info node name. (Bug#12107)
3003 2012-08-08 Juri Linkov <juri@jurta.org>
3005 * files.el (basic-save-buffer): Use `buffer-name' as the default
3006 of `read-file-name' when buffer is not visiting a file (bug#12128).
3008 2012-08-08 Juri Linkov <juri@jurta.org>
3010 * info.el (Info-isearch-search): Doc fix.
3011 (Info-search): Change search-failed message from "initial node" to
3012 "end of node" (bug#12078).
3013 (Info-isearch-search): Change `isearch-string-state' to
3014 `isearch--state-string'.
3016 2012-08-08 Glenn Morris <rgm@gnu.org>
3018 * language/persian.el: Remove file.
3019 * language/misc-lang.el: Move unique part of persian.el here.
3020 * loadup.el: Remove language/persian.
3022 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3024 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3026 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3028 * progmodes/python.el Fixed defsubst warning.
3029 (python-syntax-context) Rename from python-info-ppss-context.
3030 (python-syntax-context-type): Rename from
3031 python-info-ppss-context-type.
3032 (python-syntax-comment-or-string-p): Rename from
3033 python-info-ppss-comment-or-string-p.
3035 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3037 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3039 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3041 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3042 a defcustom that is quoted with backquote.
3044 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3045 Fix handling of interactive spec when the body uses return.
3046 (math-do-arg-check, math-define-function-body): Use backquote forms.
3047 * calc/calc-ext.el (math-defcache): Likewise.
3048 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3049 * allout.el (allout-new-exposure): Likewise.
3050 * calc/calcalg2.el (math-tracing-integral): Likewise.
3051 * info.el (Info-last-menu-item): Likewise.
3052 * emulation/vip.el (vip-loop): Likewise.
3053 * textmodes/artist.el (artist-funcall): Likewise.
3054 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3055 Construct menu-item directly.
3057 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3060 2012-08-07 Chong Yidong <cyd@gnu.org>
3062 * simple.el (deactivate-mark): Preserve text properties when
3063 saving the primary selection (Bug#8384).
3065 2012-08-07 Kevin Ryde <user42@zip.com.au>
3067 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3068 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3069 and continue processing (Bug#12110).
3071 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3074 syntax-propertize-function (bug#10095).
3076 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3079 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3080 describe-function-1.
3081 (describe-function-1): Use them. Move compiler macro after sig.
3082 (help-fns--compiler-macro): Use function-get. Assume we're already in
3083 standard-output. Adjust layout to new call order.
3085 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3086 re-binding a symbol that has a symbol-macro (bug#12119).
3088 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3090 * language/persian.el: New file. (Bug#11812)
3091 * loadup.el: Add language/persian.el.
3093 2012-08-06 Chong Yidong <cyd@gnu.org>
3095 * window.el (window--maybe-raise-frame): New function.
3096 (window--display-buffer): Split off from here.
3097 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3098 (display-buffer-pop-up-window, display-buffer-use-some-window):
3099 Obey an inhibit-switch-frame action alist entry.
3100 (display-buffer): Update doc.
3102 * replace.el (occur-after-change-function): Avoid losing focus by
3103 using the inhibit-switch-frame display parameter (Bug#12139).
3105 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3107 Make internal shell process buffer names start with space.
3108 * progmodes/python.el (python-shell-make-comint): Add optional
3110 (run-python-internal): Use it.
3111 (python-shell-internal-get-or-create-process): Check for new
3112 internal buffer names.
3114 2012-08-06 Glenn Morris <rgm@gnu.org>
3116 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3117 Do less getting and setting of environment variables.
3119 2012-08-05 Chong Yidong <cyd@gnu.org>
3121 * proced.el (proced): Add substitution string to docstring to
3122 trigger autoloading of the proced library on C-h f (Bug#1768).
3124 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3125 Don't show defvars which have no second argument (Bug#8638).
3127 * imenu.el (imenu-generic-expression): Move documentation here
3128 from imenu--generic-function.
3129 (imenu--generic-function): Refer to imenu-generic-expression.
3131 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3133 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3134 indentation declaration.
3135 (viper-loop): Add indentation declaration (Bug#7025).
3137 2012-08-05 Chong Yidong <cyd@gnu.org>
3139 * help-fns.el (describe-variable): Add hyperlink for
3140 directory-local variables files. Improve buffer-local and
3141 permanent-local reporting; suggested by MON KEY (Bug#6644).
3143 * help-mode.el (help-dir-local-var-def): New button type.
3145 * files.el (kill-buffer-hook): Provide a defvar.
3147 2012-08-05 Glenn Morris <rgm@gnu.org>
3149 * eshell/esh-ext.el (eshell/addpath):
3150 Also update eshell-path-env. (Bug#12013)
3152 2012-08-05 Chong Yidong <cyd@gnu.org>
3154 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3156 * fringe.el (fringe-styles): Add docstring.
3157 (fringe--check-mode): New function.
3158 (set-fringe-mode, set-fringe-style): Use it.
3159 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3161 * files.el (set-auto-mode): Fix invalid setq call.
3163 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * isearch.el: Misc simplification; use defstruct.
3166 (isearch-mode-map): Dense maps now work like sparse ones.
3167 (isearch--state): New defstruct.
3168 (isearch-string-state, isearch-message-state, isearch-point-state)
3169 (isearch-success-state, isearch-forward-state)
3170 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3171 (isearch-wrapped-state, isearch-barrier-state)
3172 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3173 replaced by defstruct's accessors.
3174 (isearch--set-state): Rename from isearch-top-state and change
3176 (isearch-push-state): Use new isearch--get-state.
3177 (isearch-toggle-word): Disable regexp when enabling word.
3178 (isearch-message-prefix): Remove unused arg _c-q-hack.
3179 (isearch-message-suffix): Remove unused arg _ellipsis.
3181 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3183 * simple.el (list-processes--refresh): For a server use :host or
3184 :local as the address.
3185 (list-processes): Doc fix.
3187 2012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
3189 * lisp/mpc.el: Support password in host argument.
3190 (mpc--proc-connect): Parse and use new password element.
3191 Set mpc-proc variable instead of returning process.
3192 (mpc-proc): Adjust accordingly.
3194 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3196 * whitespace.el (whitespace-display-mappings): Use Unicode
3197 codepoints, instead of emacs-mule codepoints. See
3198 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3201 * files.el (file-truename): Don't skip symlink-chasing part on
3202 windows-nt. Incorporate the resolution of 8+3 short aliases on
3203 Windows into the loop that recursively chases symlinks.
3204 Compare directory and its parent case-insensitively on MS-Windows and
3207 2012-08-03 Chong Yidong <cyd@gnu.org>
3209 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3211 * sort.el (sort-regexp-fields): Doc fix.
3213 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3215 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3216 labels regex position point at the expected place.
3218 2012-08-03 MON KEY <monkey@sandpframing.com>
3220 * net/imap.el (imap-interactive-login, imap-authenticate)
3221 (imap-mailbox-lsub, imap-mailbox-list)
3222 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3223 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3224 (imap-parse-response): Doc fix.
3226 2012-08-03 João Távora <joaotavora@gmail.com>
3228 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3229 if sexp scanning does not move point (Bug#5734).
3231 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3233 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3234 Add listings, minted, and ctable packages.
3235 (reftex-label-alist-builtin): Move listings, minted, and ctable
3236 entries before LaTeX.
3237 (reftex-label-alist): Docfix.
3239 2012-08-02 Bastien Guerry <bzg@gnu.org>
3241 * replace.el (occur): Fix docstring (bug#12122).
3243 2012-08-02 Glenn Morris <rgm@gnu.org>
3245 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3247 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3249 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3250 * international/mule-cmds.el: Create
3251 inactivate-current-input-method-function as an obsolete alias for
3252 deactivate-current-input-method-function. See Katsumi Yamaoka in
3253 <http://bugs.gnu.org/10150#46>.
3255 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3257 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3260 2012-08-01 Glenn Morris <rgm@gnu.org>
3262 * progmodes/autoconf.el (autoconf-definition-regexp):
3263 Add AH_TEMPLATE, adjust submatch numbering.
3264 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3265 (autoconf-current-defun-function): Update for above change.
3266 (autoconf-current-defun-function): First skip to end of current word.
3268 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3270 * calendar/cal-html.el (cal-html-insert-agenda-days):
3271 Fix typo. (Bug#12018)
3273 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3275 Shell processes: enhancements to startup and CEDET compatibility.
3276 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3277 (python-shell-make-comint): accept-process-output at startup.
3278 (run-python-internal): Set inferior-python-mode-hook to nil.
3279 (python-shell-internal-get-or-create-process): call sit-for.
3280 (python-preoutput-result): Add obsolete alias.
3281 (python-shell-internal-send-string): Use it.
3282 (python-shell-send-setup-code): Remove call to
3283 accept-process-output.
3285 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3287 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3290 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3292 * calc-mode.el (calc-basic-simplification-mode): Rename from
3293 `calc-limited-simplification-mode'.
3294 (calc-alg-simplification-mode): New function.
3295 (calc-set-simplify-mode): Adjust message.
3297 * calc.el (calc-set-mode-line): Adjust mode line display for
3298 basic simplification mode.
3300 * calc-help.el (calc-m-prefix-help): Update help message.
3302 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3303 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3305 2012-07-31 Bastien Guerry <bzg@gnu.org>
3307 * man.el (man): Fix comment. (bug#12101)
3309 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3311 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3312 Don't return a non-nil value when no suitable buffer was found.
3314 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3316 * progmodes/python.el (run-python-internal): Disable font lock for
3319 2012-07-30 Stefan Merten <smerten@oekonux.de>
3321 * rst.el: Silence `checkdoc-ispell'.
3322 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3323 (rst-official-version, rst-official-cvs-rev)
3324 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3325 (rst-mode-map): New key binding.
3327 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3329 Update .PHONY listings in makefiles.
3330 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3331 autoloads, update-subdirs, updates, bzr-update, update-authors,
3332 compile-onefile, compile-calc, backup-compiled-files,
3333 compile-after-backup, compile-one-process, mh-autoloads,
3334 bootstrap-clean, distclean, maintainer-clean.
3336 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3338 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3339 (calc-set-mode-line): Don't display "AlgSimp ".
3341 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3342 (calc-lim-simplify-mode): New function.
3343 (calc-set-simplify-mode): Default to 'alg.
3344 (calc-default-simplify-mode): Make algebraic simplifications
3347 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3348 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3350 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3351 indicate new simplification modes.
3353 * calc/README: Mention new default simplification mode.
3355 * calc/calc.el (math-normalize-error): New variable.
3356 (math-normalize): Set `math-normalize-error' to t
3357 when there's an error.
3359 * calc/calc-alg.el (math-simplify): Don't simplify when
3360 `math-normalize' returns an error.
3362 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3364 * international/mule-cmds.el (set-locale-environment): Revert last
3365 change, since display-graphic-p returns nil when this function is
3366 called during startup. Instead...
3368 * term/w32console.el (terminal-init-w32console): ...setup the
3369 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3371 2012-07-29 Juri Linkov <juri@jurta.org>
3373 * simple.el (goto-line): Don't display default line number in the
3374 prompt because it should be displayed by `read-number' (bug#9952).
3375 Add the current line number to the defaults of `goto-line' to
3376 allow its easier modification by users with `M-n' (bug#9201).
3378 * subr.el (read-number): Support multiple default values like in
3379 other minibuffer reading functions. Replace `read' with
3380 `string-to-number' for consistency with `number-to-string'.
3382 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3384 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3385 * emulation/viper-init.el (viper-deactivate-input-method-action):
3386 Rename from viper-inactivate-input-method-action.
3387 (viper-deactivate-input-method):
3388 Rename from viper-inactivate-input-method.
3389 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3390 * international/mule-cmds.el (deactivate-input-method):
3391 Rename from inactivate-input-method.
3392 Also run input-method-deactivate-hook.
3393 (deactivate-current-input-method-function):
3394 Rename from inactivate-current-input-method-function.
3395 (input-method-deactivate-hook): New hook.
3396 (input-method-inactivate-hook): Mark obsolete.
3397 (inactivate-input-method): Mark obsolete.
3399 * international/quail.el (quail-activate):
3400 Also run quail-deactivate-hook.
3401 (quail-deactivate): Rename from quail-inactivate.
3402 * international/robin.el (robin-activate):
3403 Also run robin-deactivate-hook.
3404 (robin-deactivate): Rename from robin-inactivate.
3406 2012-07-29 Chong Yidong <cyd@gnu.org>
3408 * simple.el (indicate-copied-region): New function.
3409 (kill-ring-save): Split off from here.
3411 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3412 (kill-rectangle): Set deactivate-mark to t on read-only error.
3414 * register.el (copy-to-register, copy-rectangle-to-register):
3415 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3416 (append-to-register, prepend-to-register):
3417 Call 2012-07-29 Juri Linkov <juri@jurta.org>
3419 * simple.el (async-shell-command-buffer): New defcustom.
3420 (shell-command): Use it. (Bug#4719)
3422 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3424 * international/mule-cmds.el (set-locale-environment): In a
3425 console session on MS-Windows, set up keyboard and terminal
3426 encoding from the OEM codepage, not the ANSI codepage.
3429 2012-07-28 Chong Yidong <cyd@gnu.org>
3431 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3434 2012-07-28 Leo Liu <sdl.web@gmail.com>
3436 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3437 the alist (bug#12029).
3439 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3441 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3442 (compile-always, compile-first)
3443 ($(lisp)/calendar/cal-loaddefs.el)
3444 ($(lisp)/calendar/diary-loaddefs.el)
3445 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3446 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3447 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3448 instead of on update-subdirs.
3449 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3451 2012-07-28 Chong Yidong <cyd@gnu.org>
3453 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3454 directory if vc-deduce-backend returns nil (Bug#7350).
3456 * simple.el (delete-trailing-lines): New option.
3457 (delete-trailing-whitespace): Obey it (Bug#11879).
3459 2012-07-28 David Engster <deng@randomsample.de>
3461 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3462 Explanation of new 'symbol-qnames feature in doc-strings.
3463 (xml-maybe-do-ns): Return expanded names as plain symbols if
3464 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3465 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3467 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3469 Consistent completion in inferior python with emacs -nw.
3470 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3471 binding in inferior-python-mode-map with "\t".
3472 (python-shell-completion-complete-at-point)
3473 (python-completion-complete-at-point): Remove interactive spec.
3475 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3477 * calc/calccomp.el (math-compose-expr): Undo previous change.
3479 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3481 * progmodes/python.el (python-mode-map): Add keybinding for
3483 (python-shell-make-comint): Fix pop-to-buffer call.
3484 (run-python): Autoload. New arg SHOW.
3485 (python-shell-get-or-create-process): Do not pop python process
3488 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3490 * notifications.el (notifications-on-action-signal)
3491 (notifications-on-closed-signal): Use also the bus address for the map.
3492 (notifications-notify, notifications-close-notification)
3493 (notifications-get-capabilities): Add optional argument BUS.
3495 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3497 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3498 Add support for the lstlisting and minted environments, and for the
3500 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3501 labels written in keyvals syntax.
3503 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3505 * calc/calccomp.el (math-compose-expr): Use parentheses when
3506 there is a product in the denominator of a fraction.
3508 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3510 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3511 ($(lisp)/calendar/diary-loaddefs.el)
3512 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3513 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3514 Fixes failures in parallel bootstrap because subdirs.el is being
3515 rewritten while the autoload files are built at the same time,
3516 which needs to load subdirs.el.
3518 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3520 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3521 (mouse-drag-line): Don't exit tracking when a switch-frame or
3522 switch-window event occurs (Bug#12006).
3524 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * mouse.el (popup-menu): Fix last change.
3528 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3530 Autoload from Lisp with more care. Follow aliases when looking for
3531 function properties.
3532 * subr.el (autoloadp): New function.
3533 (symbol-file): Use it.
3534 (function-get): New function.
3535 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3537 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3538 (lisp-indent-function):
3539 * emacs-lisp/gv.el (gv-get):
3540 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3541 * emacs-lisp/byte-opt.el (byte-optimize-form):
3542 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3543 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3545 * emacs-lisp/cl.el: Don't propagate function properties any more.
3547 * speedbar.el (speedbar-add-localized-speedbar-support):
3548 * emacs-lisp/disass.el (disassemble-internal):
3549 * desktop.el (desktop-load-file):
3550 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3551 (describe-function-1):
3552 * emacs-lisp/find-func.el (find-function-noselect):
3553 * emacs-lisp/elp.el (elp-instrument-function):
3554 * emacs-lisp/advice.el (ad-has-proper-definition):
3555 * apropos.el (apropos-safe-documentation, apropos-macrop):
3556 * emacs-lisp/debug.el (debug-on-entry):
3557 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3558 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3559 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3561 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3563 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3564 function, not an obsolete variable (Bug#12046).
3566 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3568 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3570 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3572 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3573 window only if it is still live (Bug#12034).
3575 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3577 * subr.el (redirect-frame-focus): Add advertised calling
3578 convention (Bug#12030).
3580 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3582 Prefer typical American spelling for "acknowledgment".
3583 * vc/add-log.el (change-log-acknowledgment): Rename from
3584 change-log-acknowledgement, with an alias for the old name.
3586 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3588 * calc-alg.el (math-simplify-divide): Don't cross multiply
3589 in an equation when the lhs is a variable.
3591 2012-07-24 Julien Danjou <julien@danjou.info>
3593 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3596 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3598 * startup.el (command-line): Don't display an empty user name in
3599 the error message about non-existent home directory, when
3600 init-file-user was set to an empty string. See
3601 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3602 for the details and context.
3604 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3606 * ses.el (ses-cell-formula-aset): New macro.
3607 (ses-cell-references-aset): New macro.
3608 (ses-cell-p): New function.
3609 (ses-rename-cell): Do no longer rely on complex operations like
3610 ses-cell-set-formula or ses-set-cell to change the cell and handle
3611 the undo at the same time, but rather use lower level new macros
3612 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3613 the undo directly. Refresh the mode line.
3615 2012-07-21 Leo Liu <sdl.web@gmail.com>
3617 * progmodes/cc-cmds.el (c-defun-name):
3618 Use match-string-no-properties instead for consistency.
3620 2012-07-20 Leo Liu <sdl.web@gmail.com>
3622 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3625 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3627 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3629 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3630 * progmodes/bug-reference.el, misearch.el: Provide themselves
3633 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3634 of narrowed buffer (bug#11966).
3636 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3638 * ses.el (ses-rename-cell): Set new name also in reference list of
3639 cells of which the renamed cell depends.
3641 2012-07-20 Masatake YAMATO <yamato@redhat.com>
3643 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3644 to check whether menu-bar is shown or not. If not shown,
3645 show the menu-bar as a popup menu instead of using tmm.
3646 * mouse.el (popup-menu): Accept `point' as `position' argument.
3648 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3650 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3651 up inside string symbol literal (bug#11923).
3653 2012-07-20 Eli Zaretskii <eliz@gnu.org>
3655 * startup.el (fancy-startup-text): Read the whole tutorial, not
3656 just its first 256 bytes. Prevents gibberish in display of the
3659 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3661 Drop idle buffer compaction due to an absence of the
3663 * compact.el: Remove.
3665 2012-07-19 Sam Steingold <sds@gnu.org>
3667 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3668 vc-bzr-pull & vc-bzr-merge-branch.
3669 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3670 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3671 for consistency with compilation-error-regexp-alist.
3672 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3673 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3674 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3675 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3677 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3679 * emacs-lisp/chart.el: Use lexical-binding.
3680 (chart-emacs-storage): Don't hardcode the list of entries.
3682 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3684 Next round of tweaks caused by Fgarbage_collect changes.
3685 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3687 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3689 Compact buffers when idle.
3690 * compact.el: New file.
3692 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * subr.el (eventp): Presume that if it looks vaguely like an event,
3695 it's an event (bug#10190).
3697 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3699 Enhancements to ppss related code (thanks Stefan).
3700 * progmodes/python.el (python-indent-context)
3701 (python-indent-calculate-indentation, python-indent-dedent-line)
3702 (python-indent-electric-colon, python-nav-forward-block)
3703 (python-mode-abbrev-table)
3704 (python-info-assignment-continuation-line-p): Simplify checks
3706 (python-info-continuation-line-p): Cleanup.
3707 (python-info-ppss-context): Do not catch 'quote.
3708 (python-info-ppss-context-type)
3709 (python-info-ppss-comment-or-string-p): Simplify.
3711 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3713 * progmodes/python.el: Enhancements to eldoc support.
3714 (python-info-current-symbol): New function.
3715 (python-eldoc-at-point): Use python-info-current-symbol.
3716 (python-info-current-defun): Fix cornercase on first defun scan.
3717 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3718 and signal error when no inferior python process is available.
3720 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3722 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3723 assume it's always t.
3724 (vc-git-registered): Remove caching, the function is only called
3726 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3728 2012-07-18 Chong Yidong <cyd@gnu.org>
3730 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3732 * simple.el (count-words): Report on narrowing (Bug#9959).
3734 * bindings.el: Bind M-= to count-words.
3736 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3738 2012-07-18 Masatake YAMATO <yamato@redhat.com>
3740 * progmodes/sh-script.el (sh-imenu-generic-expression):
3741 Capture a function with `function' keyword and without parentheses
3742 like "function FOO" (bug#11856).
3744 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
3746 * window.el (split-window-sensibly): Make WINDOW argument
3749 2012-07-18 Chong Yidong <cyd@gnu.org>
3751 * subr.el (keyboard-translate): Doc fix (Bug#7261).
3753 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3754 and make C-x 8 RET exit isearch (Bug#11439).
3756 * international/iso-transl.el: Move isearch-mode-map key
3757 definitions to isearch.el.
3759 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3762 (eieio-defclass): Use gv-define-setter when possible.
3764 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
3766 Reflect recent changes in Fgarbage_collect.
3767 * emacs-lisp/chart.el (chart-emacs-storage): Change to
3768 reflect new format of data returned by Fgarbage_collect.
3770 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3772 New utility functions + python-info-ppss-context fix (Bug#11910).
3773 * progmodes/python.el (python-info-beginning-of-block-statement-p)
3774 (python-info-ppss-comment-or-string-p): New functions.
3775 (python-info-ppss-context): Small fix for string check.
3777 2012-07-17 Juri Linkov <juri@jurta.org>
3779 * dired-aux.el (dired-do-async-shell-command): Doc fix.
3780 (dired-do-async-shell-command): Don't add `*' at the end of the
3781 command (Bug#11815).
3782 (dired-do-shell-command): Doc fix.
3783 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3784 Join the individual commands using either "&" or ";" as the
3785 separator depending on the values of these trailing characters.
3786 At the end re-add the trailing "&". (Bug#10598)
3788 * simple.el (async-shell-command): Sync the interactive spec with
3789 `shell-command'. Doc fix.
3790 (shell-command): Doc fix.
3792 2012-07-17 Juri Linkov <juri@jurta.org>
3794 * descr-text.el (describe-char): Fix format args. (Bug#10129)
3796 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3798 Final renames and doc fixes for movement commands (bug#11899).
3799 * progmodes/python.el (python-nav-beginning-of-statement):
3800 Rename from python-nav-statement-start.
3801 (python-nav-end-of-statement): Rename from
3802 python-nav-statement-end.
3803 (python-nav-beginning-of-block): Rename from
3804 python-nav-block-start.
3805 (python-nav-end-of-block): Rename from python-nav-block-end.
3807 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
3809 * progmodes/python.el (python-shell-send-string-no-output):
3810 Allow accept-process-output to quit, keeping shell process ready for
3811 future interactions (Bug#11868).
3813 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3817 * emacs-lisp/elint.el (elint-find-args-in-code):
3818 Use help-function-arglist, so as to handle lexical byte-code.
3820 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3823 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3826 Avoid spuriously marking the buffer as modified because of c-is-sws.
3828 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3829 as not-a-comment (bug#11946).
3831 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3832 for uninterned vars.
3834 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3835 Use read-event since we don't really want to read chars but bytes.
3837 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3838 $$..$$ but also $..$ using regexps (bug#11953).
3839 Use tex-verbatim for \url and \path.
3840 (tex-font-lock-keywords): Define as defconst like the others.
3841 (tex-common-initialization): Don't use font-lock-syntax-table any more.
3843 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
3845 * international/mule-cmds.el (ucs-insert): Make it an obsolete
3846 alias for insert-char.
3848 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3850 * progmodes/python.el: Simplified imenu implementation.
3851 (python-nav-jump-to-defun): Remove command.
3852 (python-mode-map): Use `imenu' instead.
3853 (python-nav-list-defun-positions-cache)
3854 (python-imenu-include-defun-type, python-imenu-make-tree)
3855 (python-imenu-subtree-root-label, python-imenu-index-alist):
3857 (python-nav-list-defun-positions, python-nav-read-defun)
3858 (python-imenu-tree-assoc, python-imenu-make-element-tree)
3859 (python-imenu-make-tree, python-imenu-create-index):
3861 (python-mode): Update to interact with imenu by setting
3862 `imenu-extract-index-name-function' only.
3864 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
3866 * progmodes/python.el: Enhancements to navigation commands.
3867 (python-nav-backward-sentence)
3868 (python-nav-forward-sentence): Remove.
3869 (python-nav-backward-statement, python-nav-forward-statement)
3870 (python-nav-statement-start, python-nav-statement-end)
3871 (python-nav-backward-block, python-nav-forward-block)
3872 (python-nav-block-start, python-nav-block-end)
3873 (python-nav-forward-sexp-function)
3874 (python-info-current-line-comment-p)
3875 (python-info-current-line-empty-p): New functions.
3876 (python-indent-context): Use `python-nav-statement-start'.
3878 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
3880 * eshell/em-ls.el (eshell/ls): Use `apply'.
3882 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3883 multi-hops, instead of Tramp internals.
3885 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3887 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3888 when F1 and F2 are located on different hosts.
3890 2012-07-14 Chong Yidong <cyd@gnu.org>
3892 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3893 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3894 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3895 (xterm-mouse--read-event-sequence-1000)
3896 (xterm-mouse--read-event-sequence-1006): New functions. For old
3897 mouse protocol, handle M-mouse-X events correctly.
3898 (xterm-mouse-event): New arg specifying mouse protocol.
3899 (turn-on-xterm-mouse-tracking-on-terminal)
3900 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3901 sequence to toggle extended coordinates on newer XTerms.
3902 This appears to be harmless on terminals which do not support this.
3904 2012-07-14 Leo Liu <sdl.web@gmail.com>
3906 Add fringe bitmap indicators for flymake. (Bug#11253)
3907 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3908 (flymake-make-overlay): New arg BITMAP.
3909 (flymake-error-bitmap, flymake-warning-bitmap)
3910 (flymake-fringe-indicator-position): New user variables.
3912 * fringe.el: New bitmap exclamation-mark.
3914 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
3916 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3919 2012-07-14 Chong Yidong <cyd@gnu.org>
3921 * electric.el (electric-pair-post-self-insert-function): Fix pair
3922 insertion in empty-region case (Bug#11520).
3924 2012-07-14 Chong Yidong <cyd@gnu.org>
3926 * bindings.el: Consolidate ctl-x-r-map bindings.
3927 Bind copy-rectangle-as-kill to C-x r w.
3929 * rect.el, register.el: Move bindings to bindings.el.
3931 2012-07-14 Reuben Thomas <rrt@sc3d.org>
3933 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3935 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
3937 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
3939 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
3941 * bindings.el (top): Use `mapc' instead of `mapcar'.
3943 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3945 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
3947 * progmodes/sql.el (sql-comint): Suppress the check for program on
3948 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
3951 2012-07-13 Chong Yidong <cyd@gnu.org>
3953 * bindings.el: Assign a non-nil permanent-local property to
3954 per-buffer variables which lack a default value (Bug#11930).
3956 * help-fns.el (describe-variable): In the "automatically becomes
3957 local" notice, take note of permanent-local variables.
3959 2012-07-13 Chong Yidong <cyd@gnu.org>
3961 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
3962 to allow printing the message when called from Lisp.
3964 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3965 Remove toggle-read-only.
3967 * bs.el (bs-toggle-readonly):
3968 * buff-menu.el (Buffer-menu-toggle-read-only):
3969 Remove with-no-warnings around toggle-read-only.
3971 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3972 Remove with-no-warnings around toggle-read-only.
3973 (ffap-read-only, ffap-read-only-other-window)
3974 (ffap-read-only-other-frame): Callers changed.
3976 * help-mode.el: Don't require view package.
3977 (help-mode-finish): Set buffer-read-only instead of calling
3980 * bindings.el (mode-line-toggle-read-only):
3981 * dired.el (dired-toggle-read-only):
3982 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3983 with non-nil second arg.
3985 * emacs-lisp/eieio-custom.el (eieio-customize-object):
3986 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3989 2012-07-12 Eli Zaretskii <eliz@gnu.org>
3991 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3994 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
3996 More CL cleanups and reduction of use of cl.el.
3997 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3998 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3999 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4000 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4001 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4002 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4003 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4004 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4005 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4006 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4007 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4008 * eshell/em-cmpl.el, eshell/em-banner.el:
4009 * calendar/parse-time.el: Use cl-lib.
4010 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4011 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4012 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4013 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4014 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4015 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4016 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4017 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4018 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4019 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4020 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4021 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4022 `lambda' rather than with `quote'.
4023 (eshell-do-opt): Adjust accordingly.
4024 (eshell-process-option): Simplify.
4025 * eshell/esh-var.el:
4026 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4027 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4028 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4029 to `pcase--dontcare'.
4030 * emacs-lisp/cl.el (labels): Mark obsolete.
4031 (cl--letf, letf): Move to cl-lib.
4032 (cl--letf*, letf*): Remove.
4033 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4034 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4035 (cl-progv): Rewrite.
4036 (cl--letf, cl-letf): Move from cl.el.
4037 (cl-letf*): New macro.
4038 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4040 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4042 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4044 2012-07-11 Chong Yidong <cyd@gnu.org>
4046 * vc/log-edit.el (log-edit-vc-backend): New variable.
4047 (log-edit): Doc fix.
4049 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4050 argument of log-edit to set up all local variables.
4051 (vc-start-logentry): New optional arg specifying VC backend.
4053 * vc/vc.el (vc-checkin): Use it.
4054 (vc-deduce-fileset): Handle Log Edit buffers.
4055 (vc-diff): Make first argument optional too.
4057 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4059 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4061 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4062 command, just in case. The function is not needed anymore.
4063 (eshell-external-command): Do not call `eshell-remote-command'.
4065 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4067 Reduce use of (require 'cl).
4068 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4069 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4070 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4071 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4072 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4073 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4074 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4075 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4076 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4077 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4078 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4079 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4080 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4081 (byte-compile-unfold-bcf, byte-compile-check-variable):
4082 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4083 (byte-compile-nilconstp):
4084 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4085 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4087 * emacs-lisp/gv.el (cond): Make it a valid place.
4088 (if): Simplify slightly.
4090 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4091 (pcase--self-quoting-p): New function.
4092 (pcase--u1): Use it.
4094 2012-07-10 Glenn Morris <rgm@gnu.org>
4096 * emacs-lisp/authors.el (authors-fixed-entries):
4097 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4099 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4101 Rename configure.in to configure.ac (Bug#11603).
4102 * emacs-lisp/authors.el (authors-canonical-file-name):
4103 * progmodes/autoconf.el (autoconf-mode):
4104 Prefer configure.ac to configure.in.
4106 2012-07-08 Chong Yidong <cyd@gnu.org>
4108 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4109 Implement the mouse-1-click-follows-link handling properly.
4111 * info.el (Info-link-keymap): Use follow-link mechanism for
4112 header-line links (Bug#374).
4114 * simple.el (deactivate-mark): Do not set the primary selection
4115 if another program has acquired it (Bug#11772).
4117 2012-07-07 Kevin Ryde <user42@zip.com.au>
4119 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4120 (woman-decode-region): Replace escaped-escapes without destroying
4121 bold or underline (Bug#11552).
4122 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4124 2012-07-07 Chong Yidong <cyd@gnu.org>
4126 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4127 (interprogram-cut-function, interprogram-paste-function):
4128 Mention that we typically mean the clipboard.
4130 2012-07-06 Glenn Morris <rgm@gnu.org>
4132 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4134 * files.el (toggle-read-only): Restrict message to interactive use.
4136 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4138 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4140 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4142 2012-07-06 Glenn Morris <rgm@gnu.org>
4144 * Makefile.in (compile-one-process): Rename from "recompile".
4146 * Makefile.in (bzr-update): "compile" is the same as "recompile
4147 autoloads", but parallelizable, so use that instead.
4149 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4151 * window.el (quit-window): Always restore window height when
4152 it's saved in quit-restore parameter (Bug#11810).
4154 2012-07-06 Glenn Morris <rgm@gnu.org>
4156 * simple.el (kill-whole-line): Doc tweak.
4158 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4160 * files.el (file-relative-name): Compare file names
4161 case-insensitively if on MS-Windows or MS-DOS, or if
4162 read-file-name-completion-ignore-case is non-nil. Don't use
4163 case-fold-search for this purpose. (Bug#11827)
4165 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4167 * calendar/cal-dst.el (calendar-current-time-zone):
4168 Return calendar-current-time-zone-cache if non-nil.
4170 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4171 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4173 * calendar/cal-dst.el (calendar-current-time-zone):
4174 Return calendar-current-time-zone-cache if non-nil.
4176 2012-07-06 Glenn Morris <rgm@gnu.org>
4178 * Makefile.in (cvs-update): Remove old alias.
4180 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4182 Sync with Tramp 2.2.6-pre.
4184 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4185 compatible declaration.
4187 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4188 Protect `list-load-path-shadows' call.
4190 * net/tramp-compat.el (top): Require packages, which aren't
4191 autoloaded anymore for XEmacs. Protect call of
4192 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4193 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4194 it hurts at least for SXEmacs.
4195 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4196 standard-value for `temporary-file-directory'.
4198 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4199 Redirect stderr to /dev/null.
4200 (tramp-sh-handle-write-region): uid and gid can be floats.
4201 Reported by Russell Sim <russell.sim@gmail.com>.
4202 (tramp-sh-handle-vc-registered): Hide errors.
4203 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4204 and `start-file-process'.
4205 (tramp-maybe-open-connection): Check also whether `non-essential'
4208 2012-07-04 Chong Yidong <cyd@gnu.org>
4210 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4211 (xml-parse-tag): Likewise, and avoid changing entity tables.
4212 (xml-syntax-table): Define from scratch, making sure not to give
4213 x2000 and other Unicode spaces whitespace syntax, since those are
4215 (xml-parse-fragment): Delete unused function.
4216 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4217 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4218 (xml-entity-ref, xml-pe-reference-re)
4219 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4220 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4221 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4222 (xml-entity-value-re): Use syntax references in regexps where
4223 possible; no need to define inside a let-binding.
4224 (xml-parse-dtd): Use xml-pe-reference-re.
4225 (xml-entity-or-char-ref-re): New defconst.
4226 (xml-parse-string, xml-substitute-special): Use it.
4228 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4231 (find-file--read-only): New function.
4232 (find-file-read-only, find-file-read-only-other-window)
4233 (find-file-read-only-other-frame): Use it.
4234 (insert-file-contents-literally): Don't `fset'.
4235 (get-free-disk-space): Use locate-dominating-file.
4237 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4238 function is already compiled.
4240 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4242 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4244 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4245 files on the same host.
4247 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4249 * help-fns.el (describe-function-1): Only call
4250 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4252 2012-07-03 Chong Yidong <cyd@gnu.org>
4254 * xml.el: Protect parser against XML bombs.
4255 (xml-entity-expansion-limit): New variable.
4256 (xml-parse-string, xml-substitute-special): Use it.
4257 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4259 2012-07-03 Glenn Morris <rgm@gnu.org>
4261 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4262 Allow linking to specific messages in debbugs reports (eg 123#5).
4264 2012-07-02 Chong Yidong <cyd@gnu.org>
4266 * xml.el: Fix entity and character reference expansion, allowing
4267 them to expand into markup as per XML spec.
4268 (xml-default-ns): New variable.
4269 (xml-entity-alist): Use XML spec definitions for lt and amp.
4270 (xml-parse-region): Make first two arguments optional.
4271 Discard text properties.
4272 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4273 All callers changed.
4274 (xml-parse-tag): Call xml-parse-tag-1. For backward
4275 compatibility, this function should not modify buffer contents.
4276 (xml-parse-tag-1): Fix opening-tag regexp.
4277 (xml-parse-string): Rewrite, handling entity and character
4278 references properly.
4279 (xml--entity-replacement-text): Signal an error if a parameter
4280 entity is undefined.
4282 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * comint.el (comint-output-filter): Filter out repeated prompts.
4286 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4287 and file-name-absolute-p.
4288 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4291 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4294 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4295 Rename from byte-compile--refiy-function. All uses changed.
4297 2012-07-01 Chong Yidong <cyd@gnu.org>
4299 * xml.el (xml--parse-buffer): New function. Move most of
4300 xml-parse-region here.
4301 (xml-parse-region): Copy region into a temporary buffer, since
4302 parameter entity substitution requires changing buffer contents.
4303 Use xml--parse-buffer.
4304 (xml-parse-file): Use xml--parse-buffer.
4305 (xml-parse-dtd): Make parameter entity substitution work right.
4306 Use proper regexps for ELEMENT declarations (Bug#7172).
4308 2012-06-30 Glenn Morris <rgm@gnu.org>
4310 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4312 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4313 Remove outdated and unnecessary dbus declarations.
4315 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4317 * emacs-lisp/timer.el (timer-until): Subtract results of
4318 float-time, instead of taking float-time of the result of
4319 time-subtract, since float-time signals an error for negative time
4322 2012-06-30 Chong Yidong <cyd@gnu.org>
4324 * xml.el (xml-*-re): Convert defvars into defconsts, and
4325 eval-and-compile them so eval-and-compile works on derivatives.
4326 (xml--entity-replacement-text): Use eval-and-comple.
4328 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4330 * vc/vc-git.el (vc-git-registered): Use cache property
4332 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4333 `vc-git-working-revision' in order to benefit from the cache.
4334 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4336 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4338 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4339 removed (likely outside Emacs). (Bug#11757)
4341 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * emacs-lisp/cl-lib.el: Require macroexp.
4345 2012-06-30 Chong Yidong <cyd@gnu.org>
4347 * xml.el: Implement XML parameter entities.
4348 (xml-parameter-entity-alist): New variable.
4349 (xml-parse-region, xml-parse-fragment): Preserve previous values
4350 of xml-entity-alist and xml-parameter-entity-alist, so that
4351 repeated calls on different documents do not change them.
4352 (xml-parse-tag): Fix doctype regexp.
4353 (xml--entity-replacement-text): New function.
4354 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4355 properly requires url retrieval which is unimplemented.
4356 (xml-escape-string): Doc fix.
4358 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4362 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4364 * fringe.el (fringe-mode): Doc fix.
4366 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4368 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4370 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4371 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4373 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4375 * calendar/cal-dst.el (calendar-current-time-zone):
4376 Return calendar-current-time-zone-cache if non-nil.
4378 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4380 * progmodes/which-func.el (which-func-format):
4381 Add mouse-face. (Bug#11698)
4383 2012-06-29 Leo Liu <sdl.web@gmail.com>
4385 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4387 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * minibuffer.el (minibuffer-confirm-exit-commands):
4390 Add completion-at-point (bug#11725).
4392 2012-06-29 Glenn Morris <rgm@gnu.org>
4394 * progmodes/f90.el (f90-font-lock-keywords-2):
4395 Add some preprocessor elements. (Bug#10499)
4397 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4399 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4400 Use syntax-propertize (bug#11739).
4402 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4404 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4406 2012-06-28 Julien Danjou <julien@danjou.info>
4408 * term.el (term-handle-colors-array): Use a set of new faces to
4409 color the terminal. Also uses :inverse-video property.
4410 (term-default-fg-color): Set to nil by default, deprecate in favor
4412 (term-default-bg-color): Set to nil by default, deprecate in favor
4414 (term-current-face): Use `term-face' by default.
4415 (term-bold-attribute): Variable deleted.
4417 2012-06-28 Glenn Morris <rgm@gnu.org>
4419 * simple.el (completion-list-mode-finish):
4420 Don't use toggle-read-only. (Since completion-list-mode has
4421 a special mode-class, it wasn't doing anything extra anyway.)
4423 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4425 Make inlining of other-mode interpreted functions work (bug#11799).
4426 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4427 (byte-compile): Use it to fix compilation of lexical-binding closures.
4428 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4429 function, if needed.
4431 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * help-mode.el (help-make-xrefs): Don't just withstand
4434 cyclic-variable-indirection but any error in documentation-property.
4436 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4438 * bindings.el (bindings--define-key): New function.
4439 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4440 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4441 * bindings.el: Use it to purecopy define-key bindings.
4443 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4445 * emacs-lisp/cl.el (flet): Mark obsolete.
4446 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4447 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4448 * progmodes/js.el (js-c-fill-paragraph):
4449 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4450 (ebrowse-switch-member-buffer-to-derived-class):
4451 * play/5x5.el (5x5-solver): Use cl-flet.
4453 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4454 (cl--symbol-function): New macro.
4455 (cl--letf, cl--letf*): Use it.
4457 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4458 Strip "toggle-" if any.
4460 2012-06-27 Glenn Morris <rgm@gnu.org>
4462 * info.el (Info-default-directory-list): Move here from paths.el.
4463 * paths.el: Remove file, which is now empty.
4464 * loadup.el: No longer load "paths".
4466 * custom.el (custom-initialize-delay): Doc fix.
4468 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4469 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4470 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4471 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4472 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4473 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4474 * eshell/eshell.el (eshell-defgroup): Remove alias.
4476 2012-06-27 Chong Yidong <cyd@gnu.org>
4478 * help.el (help-enable-auto-load): New variable.
4480 * help-fns.el (help-fns--autoloaded-p): New function.
4481 (describe-function-1): Refer to a function as "autoloaded" if it
4482 was autoloaded at any time in the past. Perform autoloading if
4483 help-enable-auto-load is non-nil.
4485 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4487 * makefile.w32-in (compile, compile-always): Depend on
4488 update-subdirs, not on subdirs.el. Otherwise, several different
4489 sub-targets of 'bootstrap' running in parallel could
4490 simultaneously write to subdirs.el, producing a garbled file.
4492 2012-06-26 Sam Steingold <sds@gnu.org>
4494 * files.el (file-name-base): New convenience function.
4495 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4496 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4497 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4498 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4499 * textmodes/ispell.el, textmodes/reftex-ref.el:
4500 * textmodes/tex-mode.el: Use it.
4501 Did not touch cedet and org because they are maintained elsewhere.
4503 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4505 * calendar/calendar.el (calendar-exit): Don't try to delete or
4506 iconify last frame. See:
4507 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4509 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4511 * server.el (server-process-filter): Remember dir in the
4512 process's `server-client-directory' properties.
4514 2012-06-24 Chong Yidong <cyd@gnu.org>
4516 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4519 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4521 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4523 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4525 * help-fns.el (describe-variable): Don't croak when doc is not found.
4526 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4527 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4528 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4529 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4530 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4532 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4534 2012-06-23 Chong Yidong <cyd@gnu.org>
4536 * info.el (Info-mouse-follow-link): Accept symbol values of
4537 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4538 (Info-fontify-node): Use Info-link-keymap for all navigation
4539 buttons, with link-args property to perform the desired action.
4540 (Info-link-keymap): Doc fix.
4541 (Info-next-link-keymap, Info-prev-link-keymap)
4542 (Info-up-link-keymap): Delete now-unused keymaps.
4544 2012-06-23 Chong Yidong <cyd@gnu.org>
4546 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4548 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4551 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4553 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4558 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4559 the requote function doesn't work properly (bug#11714).
4561 2012-06-23 Glenn Morris <rgm@gnu.org>
4563 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4565 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4567 Further GV/CL cleanups.
4568 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4570 (gv--defun-declaration): New function.
4571 (defun-declarations-alist): Use it.
4572 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4573 (gv-place): Autoload.
4574 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4575 original definition of dotimes and dolist.
4576 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4577 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4578 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4579 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4580 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4581 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4582 to the function's definition.
4583 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4587 * env.el: Don't use CL.
4589 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4591 Support higher-resolution time stamps (Bug#9000).
4593 * calendar/time-date.el (with-decoded-time-value): New arg
4594 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4595 (encode-time-value): New optional arg PICO. New type 3.
4596 (time-to-seconds) [!float-time]: Support the new picoseconds
4597 component if it's used.
4598 (seconds-to-time, time-subtract, time-add):
4599 Support ps-resolution time stamps as well.
4601 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4602 (timerp): Timer vectors now have length 9, not 8.
4603 (timer--time): Support new-style (4-part) time stamps.
4604 (timer-next-integral-multiple-of-time): Time stamps now have
4605 picosecond resolution, so take a bit more care about rounding.
4606 (timer-relative-time, timer-inc-time): New optional arg psecs.
4607 (timer-set-time-with-usecs): Set psecs to 0.
4608 (timer--activate): Check psecs component, too.
4610 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4612 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4615 Move the non-essential binding to the post/pre-command-hook where it is
4616 more obviously correct.
4618 * subr.el (read-passwd): Don't use a history at all.
4619 * savehist.el (savehist-save): Remove password saved accidentally
4620 because of the above bug.
4622 2012-06-22 Bastien Guerry <bzg@gnu.org>
4624 * files.el (toggle-read-only): Display a message telling whether
4625 the buffer is read-only or not (bug#11726).
4627 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4629 * emacs-lisp/gv.el: New file.
4630 * subr.el (push, pop): Extend to generalized variables.
4631 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4632 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4633 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4634 gv-define-simple-setter, and gv-define-expander.
4635 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4636 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4637 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4638 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4639 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4641 (cl-defstruct): Don't define setf-method any more.
4642 * emacs-lisp/cl.el (flet): Don't autoload.
4643 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4644 (define-setf-expander, defsetf, define-modify-macro)
4645 (cl-struct-setf-expander): Move from cl-lib.el.
4646 * emacs-lisp/syntax.el:
4647 * emacs-lisp/ewoc.el:
4648 * emacs-lisp/smie.el:
4649 * emacs-lisp/cconv.el:
4650 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4651 (timer--time): Use gv-define-simple-setter.
4652 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4653 to avoid coding-system problems in subr.el. Adjust all users.
4654 (macroexp--maxsize, macroexp-small-p): New functions.
4655 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4656 * scroll-bar.el (scroll-bar-mode):
4657 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4658 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4659 * winner.el (winner-configuration, winner-make-point-alist)
4660 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4661 * files.el (locate-file-completion-table): Avoid list*.
4663 2012-06-22 Chong Yidong <cyd@gnu.org>
4665 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4666 (dired-create-files): Doc fix (Bug#11329).
4667 (dired-do-copy): Doc fix (Bug#11334).
4668 (dired-mark-read-string): Doc fix (Bug#11553).
4670 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4671 Doc fix (Bug#11326).
4672 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4673 (dired-dwim-target): Doc fix.
4675 * wdired.el (wdired-mode): Doc fix.
4677 2012-06-22 Glenn Morris <rgm@gnu.org>
4679 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4680 (pcmpl-rpm-cache-stamp-file): New constant.
4681 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4682 (pcmpl-rpm-packages): Optionally cache list of packages.
4684 * pcmpl-rpm.el (pcmpl-rpm): New group.
4685 (pcmpl-rpm-query-options): New option.
4686 (pcmpl-rpm-packages): No need to inline it.
4687 Use pcmpl-rpm-query-options.
4689 * calendar/calendar.el (calendar-in-read-only-buffer):
4690 Avoid some needless mode changes.
4692 2012-06-21 Chong Yidong <cyd@gnu.org>
4694 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4695 (desktop-path): Remove . from the default value (Bug#10977).
4696 (desktop-read): Use user-emacs-directory if desktop-path is nil.
4698 2012-06-20 Chong Yidong <cyd@gnu.org>
4700 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4702 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4704 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4707 2012-06-20 Chong Yidong <cyd@gnu.org>
4709 * term.el (term-window-width): Handle the case of a missing right
4711 (term-check-size): Use window-text-height (Bug#5445).
4712 (term-mode): Use define-derived-mode. Minor cleanups.
4713 Set font-lock-defaults (Bug#7692).
4714 (term-move-columns, term-insert-char, term-emulate-terminal)
4715 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4717 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
4719 * net/ange-ftp.el (ange-ftp-get-passwd):
4720 Bind `enable-recursive-minibuffers'.
4721 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4723 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4725 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4727 2012-06-19 Glenn Morris <rgm@gnu.org>
4729 * progmodes/python.el (python-mode): Derive from prog-mode.
4731 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4733 * emulation/edt.el (edt-default-menu-bar-update-buffers)
4734 (edt-user-menu-bar-update-buffers): New functions.
4735 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4737 2012-06-19 Chong Yidong <cyd@gnu.org>
4739 * subr.el (with-selected-window): Preserve the selected window's
4740 terminal's top-frame (Bug#4702).
4742 * window.el (save-selected-window): Likewise.
4744 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * progmodes/python.el (python-rx-constituents): Move backquote.
4747 (python-skeleton-define, python-define-auxiliary-skeleton):
4750 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
4752 * minibuffer.el (read-file-name-default): Revert the patch from
4755 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4757 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4758 (pcase--u1, pcase--q1): Don't use apply-partially.
4760 2012-06-18 Glenn Morris <rgm@gnu.org>
4762 * progmodes/python.el (python-proc, python-buffer)
4763 (python-send-receive, python-send-string): Fix obsolete versions.
4765 2012-06-18 Martin Rudalics <rudalics@gmx.at>
4767 * window.el (special-display-p): Completely remove stringp
4768 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4770 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
4772 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4774 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4776 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4777 * net/tramp-sh.el (tramp-maybe-open-connection):
4778 Throw if `non-essential' is non-nil.
4780 2012-06-17 Martin Rudalics <rudalics@gmx.at>
4782 * window.el (special-display-p): Signal an error if BUFFER-NAME
4783 is not a string (Bug#11713).
4785 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
4787 * progmodes/python.el (python-info-beginning-of-backslash):
4788 Rename from python-info-beginning-of-backlash, as a spelling fix.
4790 2012-06-17 Chong Yidong <cyd@gnu.org>
4792 * term.el (term-emulate-terminal): If term-check-size is called,
4793 move point to the process mark without resetting point (Bug#4635).
4795 2012-06-17 Glenn Morris <rgm@gnu.org>
4797 * international/mule-cmds.el (mule-menu-keymap)
4798 (set-language-environment, set-locale-environment): Doc tweaks.
4800 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
4802 * cus-face.el (custom-face-attributes): Add wave-style underline
4804 * faces.el (set-face-attribute): Update docstring to describe
4805 wave-style underline attribute.
4807 2012-06-16 Chong Yidong <cyd@gnu.org>
4809 * term/xterm.el (terminal-init-xterm): Discard input before
4810 querying background mode (Bug#10959).
4812 2012-06-16 Stefan Merten <smerten@oekonux.de>
4814 * textmodes/rst.el: Added and corrected some comments.
4815 (rst-re-alist-def): Improve symbol syntax.
4816 (rst-mode-syntax-table): Correct syntax entries.
4817 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4818 (rst-official-version, rst-official-cvs-rev): Update version
4821 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
4823 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4824 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4826 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
4828 * progmodes/python.el: New python.el merge.
4829 (python-guess-indent): Obsolete var.
4830 (python-indent-guess-indent-offset): New defcustom.
4831 (python-indent): Obsolete var.
4832 (python-indent-offset): New defcustom.
4833 (python-python-command, python-jython-command): Delete var.
4834 (python-shell-interpreter): New defcustom.
4835 (python-pdbtrack-do-tracking-p): Delete var.
4836 (python-pdbtrack-activate): New defcustom.
4837 (python-use-skeletons): Obsolete var.
4838 (python-skeleton-autoinsert): New defcustom.
4839 (inferior-python-filter-regexp, python-continuation-offset)
4840 (python-honour-comment-indentation, python-indent-string-contents)
4841 (python-jython-packages, python-mode-hook)
4842 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4843 (python-shell-prompt-alist)
4844 (python-source-modes): Delete defcustoms.
4845 (python-check-buffer-name, python-eldoc-setup-code)
4846 (python-eldoc-string-code, python-ffap-setup-code)
4847 (python-ffap-string-code, python-fill-comment-function)
4848 (python-fill-decorator-function, python-fill-paren-function)
4849 (python-fill-string-function, python-imenu-include-defun-type)
4850 (python-imenu-make-tree, python-imenu-subtree-root-label)
4851 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4852 (python-shell-compilation-regexp-alist)
4853 (python-shell-completion-module-string-code)
4854 (python-shell-completion-pdb-string-code)
4855 (python-shell-completion-setup-code)
4856 (python-shell-completion-string-code)
4857 (python-shell-enable-font-lock, python-shell-exec-path)
4858 (python-shell-extra-pythonpaths)
4859 (python-shell-internal-buffer-name, python-shell-interpreter-args)
4860 (python-shell-process-environment)
4861 (python-shell-prompt-block-regexp)
4862 (python-shell-prompt-output-regexp)
4863 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4864 (python-shell-send-setup-max-wait, python-shell-setup-codes)
4865 (python-shell-virtualenv-path): New defcustoms.
4866 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4867 (inferior-python-mode-syntax-table, python--prompt-regexp)
4868 (python-buffer, python-command python-python-command)
4869 (python-default-template, python-imports, python-indent-index)
4870 (python-indent-list, python-indent-list-length)
4871 (python-mode-running, python-pdbtrack-is-tracking-p)
4872 (python-preoutput-continuation, python-preoutput-leftover)
4873 (python-preoutput-result, python-preoutput-skip-next-prompt)
4874 (python-prev-dir/file, python-recursing)
4875 (python-saved-check-command, python-version-checked)
4876 (python-which-func-length-limit)
4877 (view-return-to-alist): Delete vars.
4878 (python-check-custom-command, python-dotty-syntax-table)
4879 (python-imenu-index-alist, python-indent-current-level)
4880 (python-indent-dedenters, python-indent-levels)
4881 (python-nav-beginning-of-defun-regexp)
4882 (python-nav-list-defun-positions-cache)
4883 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4884 (python-shell-internal-buffer)
4885 (python-skeleton-available): New vars.
4886 (def-python-skeleton): Delete macro.
4887 (python-skeleton-define): New macro.
4888 (python-define-auxiliary-skeleton, python-rx): New macros.
4889 (python-insert-class): Delete command.
4890 (python-skeleton-class): New command.
4891 (python-insert-def): Delete command.
4892 (python-skeleton-def): New command.
4893 (python-insert-for): Delete command.
4894 (python-skeleton-for): New command.
4895 (python-insert-if): Delete command.
4896 (python-skeleton-if): New command.
4897 (python-insert-try/except, python-insert-try/finally): Delete commands.
4898 (python-skeleton-try): New command.
4899 (python-insert-while): Delete command.
4900 (python-skeleton-while): New command.
4901 (python-backspace): Delete command.
4902 (python-indent-dedent-line-backspace): New command.
4903 (python-electric-colon): Delete command.
4904 (python-indent-electric-colon): New command.
4905 (python-guess-indent): Delete command.
4906 (python-indent-guess-indent-offset): New command.
4907 (python-shift-left): Delete command.
4908 (python-indent-shift-left): New command.
4909 (python-shift-right): Delete command.
4910 (python-indent-shift-right): New command.
4911 (python-find-function): Delete command.
4912 (python-nav-jump-to-defun): New command.
4913 (python-next-statement): Delete command.
4914 (python-nav-forward-sentence): New command.
4915 (python-previous-statement): Delete command.
4916 (python-nav-backward-sentence): New command.
4917 (python-fill-paragraph): Delete command.
4918 (python-fill-paragraph-function): New command.
4919 (python-send-buffer): Delete command.
4920 (python-shell-send-buffer): New command.
4921 (python-send-defun): Delete command.
4922 (python-shell-send-defun): New command.
4923 (python-send-region, python-send-region-and-go): Delete commands.
4924 (python-shell-send-region)
4925 (python-shell-switch-to-shell): New commands.
4926 (python-send-string): Delete command.
4927 (python-shell-send-string): New command.
4928 (python-switch-to-python): Delete command.
4929 (python-shell-switch-to-shell): New command.
4930 (python-describe-symbol): Delete command.
4931 (python-eldoc-at-point): New command.
4932 (python--set-prompt-regexp, python-args-to-list)
4933 (python-after-info-look, python-check-version)
4934 (python-check-comint-prompt, python-find-imports)
4935 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4936 (python-unload-function, python-expand-template)
4937 (python-maybe-jython, python-preoutput-filter)
4938 (python-pdbtrack-get-source-buffer)
4939 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4940 (python-pdbtrack-toggle-stack-tracking)
4941 (python-pdbtrack-track-stack-file, python-initial-text)
4942 (python-first-word, python-comment-line-p, python-send-command)
4943 (python-setup-brm, python-sentinel, python-set-proc)
4944 (python-skip-out, python-input-filter, python-outdent-p)
4945 (python-outline-level, python-backslash-continuation-line-p)
4946 (python-end-of-block, python-end-of-statement, python-mark-block)
4947 (python-beginning-of-block, python-beginning-of-statement)
4948 (python-blank-line-p, python-beginning-of-string)
4949 (python-open-block-statement-p): Delete functions.
4950 (python-indent-line, python-indent-line-1): Delete functions.
4951 (python-indent-line): New function.
4952 (python-indentation-levels): Delete function.
4953 (python-indent-calculate-levels): New function.
4954 (python-proc): Delete function.
4955 (python-shell-get-process): New function.
4956 (python-send-receive): Delete function.
4957 (python-shell-send-string-no-output): New function.
4958 (python-module-path): Delete function.
4959 (python-ffap-module-path): New function.
4960 (python-completion-at-point)
4961 (python-symbol-completions): Delete functions.
4962 (python-completion-complete-at-point): New function.
4963 (python-load-file): Delete function.
4964 (python-shell-send-file): New function.
4965 (python-calculate-indentation): Delete function.
4966 (python-indent-calculate-indentation): New function.
4967 (python-skip-comments/blanks): Delete function.
4968 (python-util-forward-comment): New function.
4969 (python-continuation-line-p): Delete function.
4970 (python-info-continuation-line-p): New function.
4971 (python-which-func, python-current-defun): Delete function.
4972 (python-info-current-defun): New function.
4973 (python-beginning-of-defun): Delete function.
4974 (python-nav-beginning-of-defun): New function.
4975 (python-close-block-statement-p)
4976 (python-block-end-p): Delete function.
4977 (python-info-closing-block): New function.
4978 (python-comint-output-filter-function)
4979 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4980 (python-fill-comment, python-fill-decorator, python-fill-paren)
4981 (python-fill-string, python-imenu-make-element-tree)
4982 (python-imenu-make-tree, python-imenu-tree-assoc)
4983 (python-indent-context, python-indent-dedent-line)
4984 (python-indent-line-function)
4985 (python-indent-post-self-insert-function)
4986 (python-indent-toggle-levels)
4987 (python-info-assignment-continuation-line-p)
4988 (python-info-beginning-of-backlash)
4989 (python-info-block-continuation-line-p)
4990 (python-info-closing-block-message)
4991 (python-info-line-ends-backslash-p)
4992 (python-info-looking-at-beginning-of-defun)
4993 (python-info-ppss-context, python-info-ppss-context-type)
4994 (python-nav-list-defun-positions, python-nav-read-defun)
4995 (python-nav-sentence-end, python-nav-sentence-start)
4996 (python-pdbtrack-comint-output-filter-function)
4997 (python-pdbtrack-set-tracked-buffer)
4998 (python-shell-calculate-exec-path)
4999 (python-shell-calculate-process-environment)
5000 (python-shell-completion--do-completion-at-point)
5001 (python-shell-completion--get-completions)
5002 (python-shell-completion-complete-at-point)
5003 (python-shell-completion-complete-or-indent)
5004 (python-shell-get-or-create-process)
5005 (python-shell-get-process-name)
5006 (python-shell-internal-get-or-create-process)
5007 (python-shell-internal-get-process-name)
5008 (python-shell-internal-send-string, python-shell-make-comint)
5009 (python-shell-parse-command, python-shell-send-setup-code)
5010 (python-skeleton-add-menu-items)
5011 (python-util-clone-local-variables, python-util-position)
5012 (run-python-internal, python-indentation-levels)
5013 (python-nav-beginning-of-defun)
5014 (python-completion-complete-at-point): New functions.
5015 (run-python): Change arguments. New API requirements.
5017 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5019 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5022 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5023 (macroexp--expand-all): Use it.
5025 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5026 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5027 Use `cl-function' instead.
5029 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5031 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5032 Suggested by Stefan Monnier while discussing bug#11657.
5034 2012-06-14 Sam Steingold <sds@gnu.org>
5036 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5038 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5040 * play/doctor.el (doctor-doc): Remove parameter and use
5041 doctor-sent instead of sent.
5042 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5044 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * files.el: Require cl-lib.
5047 (file-name-non-special): Replace case -> cl-case.
5049 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5051 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5052 mapping from #' to function*.
5054 2012-06-13 Chong Yidong <cyd@gnu.org>
5056 * mouse.el (mouse-drag-track): Do not set the mark if the user
5057 releases the mouse without selecting anything (Bug#11588).
5059 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5062 as well (bug#11646).
5064 * loadup.el: Count byte-code functions as well.
5066 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5067 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5069 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5070 (bug#11649). Add cl-defun and cl-defmacro.
5072 2012-06-13 Drew Adams <drew.adams@oracle.com>
5074 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5077 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5079 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5080 Otherwise, it blocks in batch mode.
5082 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5084 * help-mode.el (bookmark-make-record-default): Declare.
5086 2012-06-13 Chong Yidong <cyd@gnu.org>
5088 * emacs-lisp/package.el (list-packages): Compute a list of
5089 packages that are newly-available since the last list-packages
5091 (package-menu--new-package-list): New var.
5092 (package-menu--generate, package-menu--print-info)
5093 (package-menu--status-predicate, package-menu-mark-install):
5094 Handle new status label "new".
5096 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5098 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5099 conversion to backquotes.
5101 2012-06-12 Chong Yidong <cyd@gnu.org>
5103 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5104 Rename from gud-inhibit-global-bindings.
5106 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5108 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5109 hook from nxml-glyph-set-hook.
5111 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5114 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5116 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5117 Convert to defcustom.
5119 2012-06-12 Drew Adams <drew.adams@oracle.com>
5121 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5123 (help-mode): Use them.
5125 2012-06-11 Glenn Morris <rgm@gnu.org>
5127 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5128 Use preprocessor face for directives.
5129 (fortran-directive-re): Doc fix.
5131 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5133 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5134 conversion to backquotes (bug#11652).
5136 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5137 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5138 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5139 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5140 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5141 (cl-ninth, cl-tenth): Mark them as inlinable.
5142 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5143 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5144 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5145 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5146 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5147 (cl-list*, cl-adjoin): Don't put an autoload manually.
5148 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5149 (cl--compiler-macro-list*): Add autoload cookie.
5150 (cl--compiler-macro-cXXr): New function.
5152 * help-fns.el (help-fns--compiler-macro): New function extracted from
5153 describe-function-1; follow aliases and use `compiler-macro' property.
5154 (describe-function-1): Use it.
5156 2012-06-11 Chong Yidong <cyd@gnu.org>
5158 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5159 is uninstalled, if imagemagick is installed.
5161 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5163 * emacs-lisp/cl-lib.el: Use lexical-binding.
5164 (cl-map-extents, cl-maclisp-member): Remove.
5165 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5166 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5167 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5168 * emacs-lisp/cl-extra.el: Use lexical-binding.
5169 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5170 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5171 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5172 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5173 * emacs-lisp/cl-seq.el: Use lexical-binding.
5174 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5175 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5176 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5177 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5178 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5181 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5183 Sync with Tramp 2.2.6-pre.
5185 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5186 `print-length' and `print-level' to nil, in order to avoid
5187 truncation. Reported by Christopher Schmidt
5188 <christopher@ristopher.com>.
5190 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5192 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5194 (tramp-compat-copy-directory): Add optional argument
5195 COPY-CONTENTS. It is not handled yet.
5197 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5198 (tramp-ftp-file-name-p): Simplify.
5200 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5201 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5204 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5205 (tramp-methods): Do not use `tramp-password-end-of-line'.
5206 (tramp-completion-function-alist-putty): Handle UNIX case.
5207 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5208 (tramp-do-file-attributes-with-stat)
5209 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5210 gid as real numbers. They could run out of integer range on cygwin.
5211 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5212 (tramp-sh-handle-expand-file-name): Handle hops.
5213 (tramp-open-connection-setup-interactive-shell):
5214 Use `tramp-cleanup'. Move check for busyboxes ...
5215 (tramp-find-shell): ... here. Simplify implementation.
5216 Set "remote-shell" property also for alternative shells.
5217 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5218 If failing, a regular file would be written otherwise.
5219 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5220 (tramp-find-inline-encoding): Cache the coding commands in the
5221 process cache. Apply test command on the remote side, if defined.
5222 (tramp-find-inline-compress): Cache the compress commands in the
5224 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5225 when requested. Handle hops.
5226 (tramp-current-connection): New defvar.
5227 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5228 Throw `suppress', if there was a failed connection shortly before.
5229 Handle user interrupt. (Bug#10187)
5230 (tramp-get-inline-compress, tramp-get-inline-coding):
5231 Read connection properties from the process cache.
5233 * net/tramp-smb.el (tramp-smb-server-version)
5234 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5236 (tramp-smb-prompt): Extend for powershell prompt.
5237 (tramp-smb-file-name-handler-alist): Add handlers for
5238 `process-file', `shell-command' and `start-file-process'.
5239 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5240 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5241 (tramp-smb-file-name-p): Simplify.
5242 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5243 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5244 (tramp-smb-shell-quote-argument): New defuns.
5245 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5246 Implement using "tar". By this, time-stamps are preserved.
5247 (tramp-smb-handle-copy-file): Handle also the case of directories.
5248 (tramp-smb-do-file-attributes-with-stat)
5249 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5250 Use `tramp-get-connection-buffer').
5251 (tramp-smb-handle-rename-file): Use "rename", when source and
5252 target are on the same share.
5253 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5254 Use `tramp-smb-server-version'.
5255 (tramp-smb-wait-for-output): Remove prompt.
5257 * net/tramp.el (top): Require 'cl.
5258 (tramp-methods, tramp-rsh-end-of-line):
5259 Remove `tramp-password-end-of-line' from docstring.
5260 (tramp-save-ad-hoc-proxies): New defcustom.
5261 (tramp-completion-function-alist): Adapt docstring.
5262 (tramp-default-password-end-of-line): Remove defcustom.
5263 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5264 (tramp-user-regexp, tramp-file-name-regexp-unified)
5265 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5266 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5267 (tramp-remote-file-name-spec-regexp): New defconst.
5268 (tramp-file-name-structure): Extend structure for hops.
5269 (tramp-get-method-parameter): Move up.
5270 (tramp-file-name-p, tramp-dissect-file-name)
5271 (with-parsed-tramp-file-name): Handle hops.
5272 (tramp-file-name-hop): New defun.
5273 (tramp-make-tramp-file-name): New optional arg HOP.
5274 (tramp-message-show-progress-reporter-message): New defvar.
5275 (tramp-with-progress-reporter): Use it. We cannot use
5276 `tramp-message-show-message' here, because this suppresses also
5278 (tramp-error-with-buffer): Suppress buffer view, if
5279 `tramp-message-show-message' is nil.
5280 Use `tramp-get-connection-buffer'.
5281 (tramp-cleanup): New defun.
5282 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5283 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5285 (tramp-completion-handle-file-name-all-completions): Handle hops.
5286 Fix an error when called from ido.
5287 (tramp-completion-dissect-file-name): Use better local variable
5288 name. Add hop to the vector.
5289 (tramp-handle-insert-file-contents): Use progress-reporter for the
5291 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5293 (tramp-check-for-regexp): Simplify search.
5294 (tramp-enter-password): Remove it. Move implementation ...
5295 (tramp-action-password): ... here.
5296 (tramp-mode-string-to-int, tramp-local-host-p)
5297 (tramp-make-tramp-temp-file, tramp-read-passwd)
5298 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5299 Set tramp-autoload cookie.
5301 * net/trampver.el: Update release number.
5303 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5304 Michael Albinus <michael.albinus@gmx.de>
5306 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5307 (tramp-parse-group, tramp-parse-file)
5308 (tramp-parse-shostkeys-sknownhosts): New defuns.
5309 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5310 (tramp-parse-shosts-group, tramp-parse-sconfig)
5311 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5312 (tramp-parse-sknownhosts, tramp-parse-hosts)
5313 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5315 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5316 (tramp-parse-putty-group): Don't narrow.
5317 (tramp-parse-putty): Make a loop.
5318 (tramp-file-name-handler): Catch the `suppress' signal.
5320 2012-06-11 Chong Yidong <cyd@gnu.org>
5322 * image.el (imagemagick-register-types): Put the ImageMagick entry
5323 at the end of image-type-file-name-regexps.
5325 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5327 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5328 (pcase, pcase-let*, pcase-dolist): Use them.
5330 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * emacs-lisp/pcase.el (pcase--let*): New function.
5333 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5334 (pcase--expand): Use macroexp-let².
5336 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5339 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5340 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5341 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5342 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5343 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5345 2012-06-10 Glenn Morris <rgm@gnu.org>
5347 * mail/rmail.el (rmail-yank-current-message): Leave point at
5348 correct position. (Bug#11660)
5350 2012-06-10 Chong Yidong <cyd@gnu.org>
5352 * allout-widgets.el: Fix code header.
5354 2012-06-10 Chong Yidong <cyd@gnu.org>
5356 * cus-edit.el (customize-changed-options-previous-release):
5359 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5361 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5363 2012-06-09 Chong Yidong <cyd@gnu.org>
5365 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5367 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5369 * window.el (special-display-popup-frame): Don't use
5370 window--display-buffer (Bug#11651).
5372 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5374 Fix parallel builds: make sure loaddefs.el is not being written
5375 while Lisp files are compiled.
5376 (compile): Don't depend on 'mh-autoloads'.
5377 (compile-CMD, compile-SH): Depend on 'autoloads'.
5378 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5380 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5382 2012-06-09 Chong Yidong <cyd@gnu.org>
5384 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5385 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5386 Doc fixes (Bug#11225).
5388 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5391 a function if there's a clear indication that it has a compiler-macro.
5392 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5393 (macro-declarations-alist): Add arglist to declaration functions.
5394 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5395 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5396 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5397 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5398 Also add autoload to find the compiler macro.
5399 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5400 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5401 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5402 (cl--compiler-macro-get): New functions, replacing calls to
5403 cl-define-compiler-macro.
5404 (cl-typep) [compiler-macro]: Use macroexp-let².
5406 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5408 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5409 string properly, fixes Bug#11473.
5411 2012-06-08 Chong Yidong <cyd@gnu.org>
5413 * faces.el (set-face-attribute): Doc fix.
5414 (modify-face): Don't use :bold and :italic.
5415 (error, warning, success): Tweak definitions.
5417 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5418 (custom-modified, custom-set, custom-changed, custom-themed)
5419 (custom-saved, custom-button, custom-button-mouse)
5420 (custom-button-pressed, custom-state, custom-comment-tag)
5421 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5422 (custom-group-subtitle): Use new-style face specs.
5423 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5424 (custom-set-face, custom-changed-face, custom-saved-face)
5425 (custom-button-face, custom-button-pressed-face)
5426 (custom-documentation-face, custom-state-face)
5427 (custom-comment-face, custom-comment-tag-face)
5428 (custom-variable-tag-face, custom-variable-button-face)
5429 (custom-face-tag-face, custom-group-tag-face-1)
5430 (custom-group-tag-face): Remove obsolete face alias.
5432 * epa.el (epa-validity-high, epa-validity-medium)
5433 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5434 (epa-field-name, epa-field-body):
5435 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5436 (font-lock-keyword-face, font-lock-builtin-face)
5437 (font-lock-function-name-face, font-lock-variable-name-face)
5438 (font-lock-type-face, font-lock-constant-face):
5439 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5440 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5441 * speedbar.el (speedbar-button-face, speedbar-file-face)
5442 (speedbar-directory-face, speedbar-tag-face)
5443 (speedbar-selected-face, speedbar-highlight-face)
5444 (speedbar-separator-face):
5445 * whitespace.el (whitespace-newline, whitespace-space)
5446 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5447 (whitespace-line, whitespace-space-before-tab)
5448 (whitespace-space-after-tab, whitespace-indentation)
5450 * emulation/cua-base.el (cua-global-mark):
5451 * eshell/em-prompt.el (eshell-prompt):
5452 * net/newst-plainview.el (newsticker-new-item-face)
5453 (newsticker-old-item-face, newsticker-immortal-item-face)
5454 (newsticker-obsolete-item-face, newsticker-date-face)
5455 (newsticker-statistics-face, newsticker-default-face):
5456 * net/newst-reader.el (newsticker-feed-face)
5457 (newsticker-extra-face, newsticker-enclosure-face):
5458 * net/newst-treeview.el (newsticker-treeview-face)
5459 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5460 (newsticker-treeview-immortal-face)
5461 (newsticker-treeview-obsolete-face)
5462 (newsticker-treeview-selection-face):
5463 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5464 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5465 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5466 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5467 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5468 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5469 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5471 * progmodes/vera-mode.el (vera-font-lock-number)
5472 (vera-font-lock-function, vera-font-lock-interface):
5473 * textmodes/table.el (table-cell): Use new-style face specs, and
5474 don't use the old :bold and :italic attributes.
5476 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5477 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5478 (ebrowse-member-class, ebrowse-progress): Likewise.
5479 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5480 (ebrowse-file-name-face, ebrowse-default-face)
5481 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5482 (ebrowse-progress-face): Remove obsolete faces.
5484 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5485 Inherit from error and warning faces respectively.
5487 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5489 (flyspell-incorrect-face, flyspell-duplicate-face):
5490 Remove obsolete aliases.
5492 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5494 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5497 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5499 * startup.el (argv, argi): Make lexically scoped.
5500 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5501 * emacs-lisp/cl-macs.el: Use lexical-binding.
5502 Rename cl-bind-* to cl--bind-*.
5503 * files.el: Don't require `cl' since it doesn't use it.
5504 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5506 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5508 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5509 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5510 instead of calling external sort utility.
5511 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5513 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5515 * descr-text.el (describe-char): Mention how to insert the
5516 character, if the current input method doesn't support it.
5517 See the discussion in this thread for the details:
5518 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5520 2012-06-08 Sam Steingold <sds@gnu.org>
5522 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5523 XF86Back to previous-buffer.
5524 (minibuffer-local-map): Bind them to next-history-element and
5525 previous-history-element respectively.
5526 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5527 help-go-back respectively.
5528 * info.el (Info-mode-map): Bind them to Info-history-forward and
5529 Info-history-back respectively.
5530 These are the keys next to Up on the ThinkPad keyboard.
5532 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5534 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5535 * emacs-lisp/cl-macs.el: Provide itself.
5536 (cl--labels-convert-cache): New var.
5537 (cl--labels-convert): New function.
5538 (cl-flet, cl-labels): New implementation with new semantics, relying on
5540 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5541 (cl-closure-vars, cl--function-convert-cache)
5542 (cl--function-convert): Move from cl-macs.el.
5543 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5544 rename by removing the "cl-" prefix.
5545 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5547 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5549 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5550 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5551 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5552 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5553 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5554 (cl-hash-table-count): Add old compatibility aliases.
5556 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5557 Use macroexpand-all-environment instead.
5558 (cl--old-macroexpand): New var.
5559 (cl--sm-macroexpand): New function.
5560 (cl-symbol-macrolet): Use it during macro expansion.
5561 (cl--function-convert-cache): New var.
5562 (cl--function-convert): New function, extracted from
5564 (cl-lexical-let): Use it.
5566 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5567 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5568 (cl-member): Remove old alias.
5570 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5571 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5572 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5573 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5574 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5575 (cl-macroexpand-cmacs): Remove var.
5576 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5577 Use macroexpand-all instead.
5579 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5581 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5582 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5583 (macroexp-copyable-p): New functions and macros.
5584 * emacs-lisp/edebug.el (edebug-unwrap):
5585 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5586 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5587 (pcase--let*): Remove.
5588 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5589 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5590 macroexp-const-p instead.
5591 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5593 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5594 instead of "cl-" for internal definitions. Use macroexp-const-p.
5595 (cl-old-bc-file-form): Remove var.
5596 (cl-const-exprs-p): Remove fun.
5597 (cl-labels, cl-macrolet): Use backquote.
5598 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5599 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5600 (cl-define-setf-expander): Rename from cl-define-setf-method.
5601 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5603 * international/mule-cmds.el: Don't require CL.
5604 (view-hello-file): Don't use `letf'.
5606 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * tmm.el (tmm-prompt): Use string-prefix-p.
5609 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5610 (tmm-add-prompt): Use minibuffer-completion-help.
5611 (tmm-delete-map): Remove.
5613 * subr.el (kbd): Make it its own function.
5615 2012-06-07 Stefan Merten <smerten@oekonux.de>
5617 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5618 Silence compiler warnings. Fix versions.
5619 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5620 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5621 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5622 (rst-package-emacs-version-alist): Correct Emacs version to
5623 represent major merge with upstream.
5624 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5626 2012-06-06 Glenn Morris <rgm@gnu.org>
5628 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5629 Only print environment variables if set.
5631 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5633 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5634 (macroexp--cons): Rename from maybe-cons.
5635 (macroexp--accumulate): Rename from macroexp-accumulate.
5636 (macroexp--all-forms): Rename from macroexpand-all-forms.
5637 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5638 (macroexp--expand-all): Rename from macroexpand-all-1.
5640 2012-06-06 Sam Steingold <sds@gnu.org>
5642 * calendar/calendar.el (calendar-in-read-only-buffer):
5643 Call `special-mode' to enable the standard read-only keybindings.
5645 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5648 with "loading" messages (bug#11635).
5650 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
5652 * files.el (enable-remote-dir-locals): New option.
5653 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5655 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5656 Ensure, that the temp directory is local.
5658 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5659 `temporary-file-directory'.
5661 * progmodes/python.el (python-send-region): Ensure, that the
5662 temporary file is created also in the remote case.
5664 2012-06-06 Glenn Morris <rgm@gnu.org>
5666 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5667 (vc-rcs-update-changelog): Use it.
5669 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5671 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5672 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5673 (vc-sccs-diff): Replace use of the external vcdiff script.
5675 2012-06-05 Glenn Morris <rgm@gnu.org>
5677 * ledit.el: Move to obsolete/.
5679 2012-06-05 Sam Steingold <sds@gnu.org>
5681 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5684 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5686 * emacs-lisp/cust-print.el: Move to obsolete.
5688 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5689 compiler-macro expansion.
5691 Add native compiler-macro support.
5692 * emacs-lisp/macroexp.el (macroexpand-all-1):
5693 Support compiler-macros directly. Properly follow aliases and apply
5694 the compiler macros more thoroughly.
5695 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5696 macroexpand now properly follows aliases.
5697 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5698 (cl-compiler-macroexpand): Use new prop.
5699 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5701 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5703 2012-06-05 Martin Rudalics <rudalics@gmx.at>
5705 * window.el (get-lru-window, get-mru-window, get-largest-window):
5706 New argument NOT-SELECTED to avoid picking the selected window.
5707 (window--display-buffer-1, window--display-buffer-2): Replace by
5708 new function window--display-buffer
5709 (display-buffer-same-window, display-buffer-reuse-window)
5710 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5711 Use window--display-buffer.
5712 (display-buffer-use-some-window): Remove temporary dedication
5713 hack by calling get-lru-window and get-largest-window with
5714 NOT-SELECTED argument non-nil. Call window--display-buffer.
5716 2012-06-05 Glenn Morris <rgm@gnu.org>
5718 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5719 Replace external vcdiff script.
5721 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5725 2012-06-04 Chong Yidong <cyd@gnu.org>
5727 * image.el (imagemagick-types-inhibit): Revert last change.
5729 (imagemagick-enabled-types): Remove CIN and EPS*.
5731 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5733 * emacs-lisp/cl-lib.el: Rename from cl.el.
5734 * emacs-lisp/cl.el: New compatibility file.
5735 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5736 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5737 to obey the "cl-" prefix.
5738 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5740 2012-06-03 Glenn Morris <rgm@gnu.org>
5742 * emacs-lisp/authors.el (authors-aliases): Addition.
5744 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5747 2012-06-03 Stefan Merten <smerten@oekonux.de>
5749 * textmodes/rst.el: Add comments.
5750 (rst-transition, rst-adornment): New faces.
5751 (rst-adornment-faces-alist): Make default safe to reevaluate.
5753 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5754 Improve customization tags.
5755 (rst-define-level-faces): Clarify meaning.
5757 2012-06-03 Chong Yidong <cyd@gnu.org>
5759 * progmodes/compile.el (compilation-mode-line-fail)
5760 (compilation-mode-line-run, compilation-mode-line-exit):
5762 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5764 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
5766 * progmodes/which-func.el (which-func-update-ediff-windows):
5767 New function. Use it in ediff-select-hook (Bug#11478).
5769 2012-06-03 Chong Yidong <cyd@gnu.org>
5771 * bindings.el: Remove explicit help text from format-mode-line.
5772 It is now supplied by mode-line-default-help-echo.
5773 (mode-line-front-space, mode-line-end-spaces)
5774 (mode-line-misc-info): New variables.
5775 (mode-line-modes, mode-line-position): Move the default value to
5776 the variable definition.
5777 (mode-line-default-help-echo): New defcustom.
5778 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5779 (mode-line-modified-help-echo): New functions.
5780 (mode-line-mule-info, mode-line-modified): Use them.
5781 (mode-line-eol-desc, propertized-buffer-identification):
5782 Consistency fixes for help text.
5783 (mode-line-coding-system-map): Allow using mouse-3 to invoke
5784 set-buffer-file-coding-system (Bug#289).
5785 (mode-line-mule-info-help-echo): Update help text.
5787 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5789 * simple.el (execute-extended-command): Set real-this-command
5792 2012-06-02 Chong Yidong <cyd@gnu.org>
5794 Remove incorrect uses of "modeline" in comments, docstrings, and
5795 function/variable names (Bug#10329).
5797 * cus-edit.el (mode-line):
5798 * dframe.el (dframe-mouse-hscroll):
5799 * emacs-lisp/re-builder.el:
5800 * emacs-lisp/easy-mmode.el (define-minor-mode):
5801 * frame.el (set-frame-name):
5802 * help.el (lookup-minor-mode-from-indicator):
5803 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5804 * progmodes/cc-cmds.el (c-toggle-auto-newline)
5805 (c-toggle-hungry-state):
5806 * progmodes/antlr-mode.el (antlr-language-alist):
5807 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5808 * progmodes/vhdl-mode.el (vhdl-mode):
5809 * progmodes/which-func.el (which-func, which-func-cleanup-function):
5810 * term/ns-win.el (ns-face-at-pos):
5811 * term/sup-mouse.el (sup-mouse-report):
5812 * textmodes/flyspell.el (flyspell-mode-line-string):
5813 * textmodes/ispell.el (ispell-highlight-face):
5814 * textmodes/reftex-global.el:
5815 * vc/vc-arch.el (vc-arch-mode-line-string):
5816 * vc/vc-cvs.el (vc-cvs-mode-line-string):
5817 * vc/vc-git.el (vc-git-mode-line-string):
5818 * vc/vc-hooks.el (vc-display-status)
5819 (vc-default-mode-line-string):
5820 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5822 * ansi-color.el (ansi-color-faces-vector): Change default faces.
5824 * dired.el (dired-sort-set-mode-line): Rename from
5825 dired-sort-set-modeline. All callers changed.
5827 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5828 eshell-status-in-modeline.
5830 * foldout.el (foldout-mode-line-string): Rename from
5831 foldout-modeline-string. All callers changed.
5832 (foldout-update-mode-line): Rename from foldout-update-modeline.
5834 * subr.el (redraw-modeline): Make into obsolete alias.
5836 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5837 timeclock-modeline-display. Make old name an alias.
5838 (timeclock-update-mode-line): Likewise. All callers changed.
5839 (timeclock-mode-line-display): No need to check before using
5841 (timeclock-relative, timeclock-day-over-hook)
5842 (timeclock-use-elapsed, timeclock-mode-string)
5843 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5845 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5846 crisp-mode-modeline-string.
5848 * play/solitaire.el (solitaire-build-mode-line): Rename from
5849 solitaire-build-modeline. All callers changed.
5851 * play/zone.el (zone-hiding-mode-line): Rename from
5852 zone-hiding-modeline. All callers changed.
5853 (zone): Remove unusued `modeline-hidden-level' property.
5855 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5856 xscheme-modeline-initialize. All callers changed.
5858 * strokes.el (strokes-lighter): Rename from
5859 strokes-modeline-string.
5861 * textmodes/sgml-mode.el (html-face-tag-alist)
5862 (html-tag-face-alist): Use mode-line face instead of obsolete
5865 2012-06-02 Stefan Merten <smerten@oekonux.de>
5867 * textmodes/rst.el: Always require `cl'.
5868 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5870 2012-06-02 Chong Yidong <cyd@gnu.org>
5872 * image.el (imagemagick-enabled-types): Rename from
5873 imagemagick-types-enable. Add many more types.
5874 (imagemagick-types-inhibit): Change default to nil.
5875 (imagemagick-filter-types): Caller changed.
5877 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5879 * emacs-lisp/cl-macs.el: Use backquotes.
5880 (cl-transform-function-property): Use eval-and-compile rather than
5882 (defstruct): Use declare-function instead of with-no-warnings.
5884 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5885 (byte-compile-output-docform): Re-add the print-circle bindings.
5886 (byte-compile-fix-header): Use #$ just because it's shorter.
5887 (byte-compile-output-file-form): Remove defun/defmacro.
5889 2012-06-01 Martin Rudalics <rudalics@gmx.at>
5891 * simple.el (choose-completion): Remove now obsolete binding for
5894 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
5896 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5897 in order to avoid "Stack overflow in regexp matcher".
5899 2012-05-31 Glenn Morris <rgm@gnu.org>
5901 * image.el: For clarity, call imagemagick-register-types at
5902 top-level, rather than relying on a custom :initialize.
5903 (imagemagick-types-enable): New option. (Bug#11557)
5904 (imagemagick-filter-types): New function. (Bug#7406)
5905 (imagemagick-register-types): Use imagemagick-filter-types.
5906 If disabling support, remove elements altogether rather
5907 than using an impossible regexp.
5908 (imagemagick-types-inhibit): Give it the default init function.
5910 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5912 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5913 Handle arbitrary file name lengths (Bug#11585).
5915 2012-05-31 Martin Rudalics <rudalics@gmx.at>
5917 * desktop.el (desktop-read): Clear previous and next buffers for
5918 all windows and bury *Messages* buffer (bug#11556).
5920 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5922 Add `declare' for `defun'. Align `defmacro's with it.
5923 * emacs-lisp/easy-mmode.el (define-minor-mode)
5924 (define-globalized-minor-mode): Don't autoload the var definitions.
5925 * emacs-lisp/byte-run.el: Use lexical-binding.
5926 (defun-declarations-alist, macro-declarations-alist): New vars.
5927 (defmacro, defun): Use them.
5928 (make-obsolete, define-obsolete-function-alias)
5929 (make-obsolete-variable, define-obsolete-variable-alias):
5931 (macro-declaration-function): Mark obsolete.
5932 * emacs-lisp/autoload.el: Use lexical-binding.
5933 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
5935 2012-05-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
5937 * textmodes/ispell.el (ispell-with-no-warnings):
5939 (ispell-kill-ispell, ispell-change-dictionary):
5940 Use `called-interactively-p' for Emacs instead of obsolete
5943 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5946 (macro-declaration-function): Move var from C code.
5947 (macro-declaration-function): Define function with defalias.
5948 * emacs-lisp/macroexp.el (macroexpand-all-1):
5949 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5950 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5951 defun/defmacro any more.
5952 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5953 Provide fallback for unknown arglist.
5954 (byte-compile-arglist-warn): Change calling convention.
5955 (byte-compile-output-file-form): Move print-vars binding.
5956 (byte-compile-output-docform): Simplify accordingly.
5957 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5958 (byte-compile-defmacro-declaration): Remove.
5959 (byte-compile-file-form-defmumble): Generalize to defalias.
5960 (byte-compile-output-as-comment): Return byte-positions.
5961 Simplify callers accordingly.
5962 (byte-compile-lambda): Use `assert'.
5963 (byte-compile-defun, byte-compile-defmacro): Remove.
5964 (byte-compile-file-form-defalias):
5965 Use byte-compile-file-form-defmumble.
5966 (byte-compile-defalias-warn): Remove.
5968 2012-05-29 Stefan Merten <smerten@oekonux.de>
5970 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5971 possible. Fix authors. Improve comments. Improve loading of `cl'.
5973 (rst-mode-abbrev-table): Merge definition.
5974 (rst-mode): Make sure `font-lock-defaults' is buffer local.
5975 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5977 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
5979 * calendar/icalendar.el
5980 (icalendar-export-region): Export UID properly.
5982 2012-05-29 Leo Liu <sdl.web@gmail.com>
5983 * calendar/icalendar.el (icalendar-import-format):
5984 Add `icalendar-import-format-uid' (Bug#11525).
5985 (icalendar-import-format-uid): New.
5986 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5989 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5992 different alternative patterns.
5993 (pcase-codegen): Be more careful to preserve identity.
5994 (pcase--u1): Don't forget to mark vars as used.
5996 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5997 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5998 (byte-compile-from-buffer): ...rather than here.
6000 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6001 functions from byte-compile-function-environment.
6003 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6005 * window.el (window-deletable-p): Avoid deleting the root window
6006 of a frame with an active minibuffer.
6008 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6010 * simple.el (choose-completion): Use quit-window (Bug#11567).
6012 2012-05-29 Chong Yidong <cyd@gnu.org>
6014 * whitespace.el (whitespace-cleanup): Fix usage of
6015 whitespace-empty-at-bob-regexp (Bug#11492).
6017 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6019 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6022 2012-05-29 Juri Linkov <juri@jurta.org>
6024 * isearch.el (isearch-mode-map): Bind `M-s _' to
6025 `isearch-toggle-symbol'. Bind `M-s c' to
6026 `isearch-toggle-case-fold'.
6027 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6028 (isearch-forward): Add `M-s _' to the docstring.
6029 (isearch-forward-symbol, isearch-toggle-case-fold)
6030 (isearch-symbol-regexp): New functions. (Bug#11381)
6032 2012-05-29 Juri Linkov <juri@jurta.org>
6034 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6035 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6036 a function, call it to get the regexp.
6037 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6038 property `isearch-message-prefix' instead of the string "word ".
6039 (isearch-search-fun-default): For the case of `isearch-word',
6040 return a lambda that calls re-search-forward/re-search-backward
6041 with a regexp returned by `word-search-regexp' or by the function
6044 2012-05-29 Juri Linkov <juri@jurta.org>
6046 * isearch.el (isearch-search-fun-default): New function.
6047 (isearch-search-fun): Move default part to the new function
6048 `isearch-search-fun-default'.
6049 (isearch-search-fun-function): Set the default value to
6050 `isearch-search-fun-default'. (Bug#11381)
6052 * comint.el (comint-history-isearch-end):
6053 Use `isearch-search-fun-default'.
6054 (comint-history-isearch-search): Use `isearch-search-fun-default'
6055 and remove spacial case for `isearch-word'.
6056 (comint-history-isearch-wrap): Remove spacial case for
6059 * hexl.el (hexl-isearch-search-function):
6060 Use `isearch-search-fun-default'.
6062 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6063 Use `word-search-regexp' for `isearch-word'.
6065 * misearch.el (multi-isearch-search-fun):
6066 Use `isearch-search-fun-default'.
6068 * simple.el (minibuffer-history-isearch-search):
6069 Use `isearch-search-fun-default' and remove spacial case for
6071 (minibuffer-history-isearch-wrap): Remove spacial case for
6074 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6075 Remove spacial case for `isearch-word'.
6076 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6078 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6080 Decrease XEmacs incompatibilities.
6081 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6083 (flyspell-delete-region-overlays): Use alternative definition for
6085 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6086 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6087 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6088 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6089 `define-obsolete-face-alias' under XEmacs, but old method.
6091 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6092 `with-no-warnings' definition or Emacs alias.
6093 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6094 (ispell-word): Do not use `region-p' if XEmacs.
6096 2012-05-28 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6098 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6099 Check for `ispell-dictionary-base-alist' instead of full
6100 `ispell-dictionary-alist'.
6101 (ispell-init-process): Show spellchecker when starting new Ispell
6104 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6106 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6107 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6109 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6111 * version.el (motif-version-string, gtk-version-string)
6112 (ns-version-string): Declare.
6114 2012-05-27 Juri Linkov <juri@jurta.org>
6116 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6117 after the `eval-defun-1' specialcaseing
6118 like in `edebug-eval-defun' (bug#10181).
6120 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6121 like in `eval-defun-1'.
6123 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6125 * mail/sendmail.el (mail-yank-region):
6126 Recognize rmail-yank-current-message in addition to insert-buffer.
6127 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6128 a *mail* buffer created through rmail-start-mail with sendmail as
6131 2012-05-27 Chong Yidong <cyd@gnu.org>
6133 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6134 Default to 256 (Bug#11267).
6136 * help.el (describe-mode): Doc fix.
6138 2012-05-26 Glenn Morris <rgm@gnu.org>
6140 * w32-fns.el (w32-init-info): Remove.
6141 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6143 * info.el (info-initialize): For self-contained NS builds, put the
6144 included info/ directory at the front. (Bug#2791)
6146 * paths.el (Info-default-directory-list): Make it a defcustom,
6147 mainly so that we can use custom-initialize-delay.
6149 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * subr.el (buffer-has-markers-at): Mark obsolete.
6153 * subr.el (lambda): Use declare.
6155 * emacs-lisp/lisp-mode.el (lambda):
6156 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6158 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6160 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6162 2012-05-26 Glenn Morris <rgm@gnu.org>
6164 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6166 2012-05-25 Glenn Morris <rgm@gnu.org>
6168 * paths.el: Remove no-byte-compile.
6169 * loadup.el: No need to load paths.el uncompiled.
6171 * image.el (imagemagick-types-inhibit): Doc fix.
6173 * version.el: Remove no-byte-compile and associated formatting.
6174 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6175 is ancient code from when there was an "inc-vers.el".
6177 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6179 * progmodes/gdb-mi.el: Minor style changes.
6180 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6181 Turn into minor modes.
6182 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6183 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6184 (gdb-shell): Remove unneeded let-binding.
6185 (gdb-get-many-fields): Eliminate O(n²) behavior.
6187 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6189 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6190 platforms that don't link in fontset.c.
6192 2012-05-25 Juri Linkov <juri@jurta.org>
6194 Use the same diff color scheme as in modern VCSes (bug#10181).
6196 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6197 to avoid confusion with `diff-added' that now uses green colors.
6198 (diff-removed): Use shades of red.
6199 (diff-added): Use shades of green.
6200 (diff-changed): Leave just the yellow color.
6201 (diff-use-changed-face): New variable.
6202 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6203 how to highlight context diff changes.
6204 (diff-refine-change): Use shades of yellow.
6205 (diff-refine-removed): New face that uses shades of red.
6206 (diff-refine-added): New face that uses shades of green.
6207 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6208 `diff-refine-removed' in the call to `smerge-refine-subst'
6209 depending on the value of `diff-use-changed-face'.
6211 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6212 (smerge-other): Use shades of green.
6213 (smerge-base): Use shades of yellow.
6214 (smerge-refined-change): Empty face.
6215 (smerge-refined-removed): New face that uses shades of red.
6216 (smerge-refined-added): New face that uses shades of green.
6217 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6218 args `props-r' and `props-a', and use them. Doc fix.
6219 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6220 on its value use different faces `smerge-refined-change',
6221 `smerge-refined-removed', `smerge-refined-added' in the call to
6222 `smerge-refine-subst'.
6224 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6225 Add face condition `min-colors 88' with shades of red.
6226 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6227 `min-colors 88' with shades of green.
6228 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6229 `min-colors 88' with shades of yellow.
6231 2012-05-24 Glenn Morris <rgm@gnu.org>
6233 * paths.el (prune-directory-list, remote-shell-program): Move to...
6234 * files.el (prune-directory-list, remote-shell-program): ...here.
6235 For the latter, delay initialization, prefer ssh, just search PATH.
6237 * paths.el (term-file-prefix): Move to faces.el (the only user).
6238 * faces.el (term-file-prefix): Move here, make it a defcustom.
6240 * paths.el (news-directory, news-path, news-inews-program):
6241 Move to gnus/nnspool.el.
6243 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6245 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6246 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6247 Make the latter a defcustom, with a delayed initialization.
6249 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6250 These were deleted from Gnus itself late 2010.
6252 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6254 * progmodes/which-func.el (which-func-ff-hook):
6255 Check against user-error, not error.
6257 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6258 cl-specs.el, which no longer exists.
6260 2012-05-22 Glenn Morris <rgm@gnu.org>
6262 * info.el (info-emacs-bug): New command.
6263 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6264 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6266 2012-05-21 Glenn Morris <rgm@gnu.org>
6268 * makefile.w32-in (update-subdirs-SH):
6269 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6271 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6276 Simplify Maven regexp, and make sure the file can't start with a space
6279 2012-05-21 Glenn Morris <rgm@gnu.org>
6281 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6282 Scrap superfluous subshells.
6284 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6286 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6287 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6289 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6291 * calc/calc.el (calc-ensure-consistent-units): New variable.
6293 * calc/calc-units.el (math-consistent-units-p)
6294 (math-check-unit-consistency): New functions.
6295 (calc-quick-units, calc-convert-units):
6296 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6298 (calc-extract-units): Fix typo.
6300 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6304 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6305 (flyspell-default-deplacement-commands): Don't spell check after
6306 repeated window/frame switches (e.g. triggered by mouse-movement).
6307 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6308 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6309 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6310 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6312 (flyspell-get-casechars, flyspell-get-not-casechars):
6313 Simplify; Don't bother removing a ] just to add it back.
6314 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6316 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6318 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6320 (math-function-table): Add support for more C functions.
6322 2012-05-18 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6324 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6325 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6326 Protect delay handling for otherchars against empty otherchars.
6328 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6331 their respective macro declarations.
6332 * skeleton.el (define-skeleton):
6333 * progmodes/compile.el (define-compilation-mode):
6334 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6335 (define-ibuffer-filter):
6336 * emacs-lisp/generic.el (define-generic-mode):
6337 * emacs-lisp/easy-mmode.el (define-minor-mode)
6338 (define-globalized-minor-mode):
6339 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6340 * emacs-lisp/byte-run.el (defsubst):
6341 * custom.el (deftheme): Add doc-string metadata.
6343 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6347 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6351 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6352 * emacs-lisp/cl-macs.el: Idem.
6353 * emacs-lisp/cl-specs.el: Remove.
6355 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6357 Minor renaming of internal CL functions and variables.
6358 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6359 (cl--position): Rename from cl-position.
6360 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6361 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6362 (cl--random-state): Rename from *random-state*.
6364 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6366 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6367 parens around the arg list (bug#11499).
6369 2012-05-17 Juri Linkov <juri@jurta.org>
6371 * isearch.el (word-search-regexp, word-search-backward)
6372 (word-search-forward, word-search-backward-lax)
6373 (word-search-forward-lax): Move functions from search.c
6374 (bug#10145, bug#11381).
6376 2012-05-16 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
6378 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6379 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6380 Delay for otherchars as for normal word components.
6382 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * minibuffer.el (completion--sifn-requote): Fix last change.
6385 (minibuffer-local-must-match-filename-map):
6386 Move define-obsolete-variable-alias before its var.
6388 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6392 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6394 (completion--string-equal-p): New function.
6395 (completion--twq-all): Use it to get better assertion failure data.
6397 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6398 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6399 (shell--requote-argument): New functions.
6400 (shell-completion-vars): Use them.
6401 (shell--parse-pcomplete-arguments): Rename from
6402 shell-parse-pcomplete-arguments.
6403 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6404 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6405 Obey comint-file-name-quote-list.
6407 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6408 (smie-indent-keyword): Use it.
6410 2012-05-14 Stefan Merten <smerten@oekonux.de>
6412 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6414 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6416 * net/rlogin.el (rlogin-mode-map): Fix last change.
6418 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6420 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6421 the following \r\n using a single `process-send-string', since the
6422 Lotus SMTP server refuses to accept any commands if they are sent
6423 with two `process-send-string's (Bug#11444).
6425 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * shell.el (shell-parse-pcomplete-arguments):
6428 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6430 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6432 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6433 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6434 (image-transform-width, image-transform-fit-width): New functions.
6435 (image-transform-properties): Use them.
6436 (image-transform-check-size): New function.
6437 (image-toggle-display-image): Use it (for testing).
6438 (image-transform-set-rotation): Reduce angle mod 360.
6439 Delete obsolete comment.
6441 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6443 * image-mode.el: Fix scaling (bug#11399).
6444 (image-transform-resize): Doc fix.
6445 (image-transform-properties): Default scale is 1 and height should
6448 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6450 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6451 than hard-coding `car', to fix misbehavior when moving forward.
6453 2012-05-13 Chong Yidong <cyd@gnu.org>
6455 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6456 (tabulated-list-entries, tabulated-list-padding)
6457 (tabulated-list-sort-key): Make permanent-local.
6459 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6460 (electric-buffer-list): Put electric buffer menu
6461 command descriptions in this docstring, instead of the docstring
6462 of electric-buffer-menu-mode. Code cleanups.
6463 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6464 Electric-buffer-menu-mode.
6465 (electric-buffer-update-highlight): Minor code cleanup.
6467 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6469 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6472 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6474 Move define-obsolete-variable-alias before the var's definition.
6475 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6476 * tooltip.el (tooltip-hook):
6477 * textmodes/reftex-toc.el (reftex-toc-map):
6478 * textmodes/reftex-sel.el (reftex-select-label-map)
6479 (reftex-select-bib-map):
6480 * textmodes/reftex-index.el (reftex-index-map)
6481 (reftex-index-phrases-map):
6482 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6483 * progmodes/meta-mode.el (meta-mode-map):
6484 * novice.el (disabled-command-hook):
6485 * loadhist.el (unload-hook-features-list):
6486 * frame.el (blink-cursor):
6487 * files.el (find-file-not-found-hooks, write-file-hooks)
6488 (write-contents-hooks):
6489 * emulation/tpu-edt.el (GOLD-map):
6490 * emacs-lock.el (emacs-lock-from-exiting):
6491 * emacs-lisp/generic.el (generic-font-lock-defaults):
6492 * emacs-lisp/chart.el (chart-map):
6493 * dos-fns.el (register-name-alist):
6494 * dired-x.el (dired-omit-files-p):
6495 * desktop.el (desktop-enable):
6496 * cus-edit.el (custom-mode-hook):
6497 * buff-menu.el (buffer-menu-mode-hook):
6498 * bookmark.el (bookmark-read-annotation-text-func)
6499 (bookmark-exit-hooks):
6500 * allout.el (allout-mode-deactivate-hook)
6501 (allout-exposure-change-hook, allout-structure-added-hook)
6502 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6503 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6504 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6505 comes before the corresponding variable's definition.
6507 2012-05-12 Chong Yidong <cyd@gnu.org>
6509 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6510 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6511 (Buffer-menu-mode-map): Bind it.
6512 (Buffer-menu--pretty-name): Add a mouse-face property.
6514 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6517 (prolog-upper-case-string, prolog-lower-case-string)
6518 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6519 (prolog-use-smie, prolog-smie-grammar): New vars.
6520 (prolog-smie-forward-token, prolog-smie-backward-token)
6521 (prolog-smie-rules): New funs.
6522 (prolog-comment-indent): Remove.
6523 (prolog-mode-variables): Use default comment indentation instead.
6525 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6526 (prolog-mode): Don't call them any more.
6527 (prolog-electric-colon, prolog-electric-dash)
6528 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6530 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6532 * minibuffer.el (completion--twq-all): Again, allow case differences.
6534 * term.el: Move keymap initialization code to be more idiomatic.
6535 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6536 (term-terminal-menu): Move initialization into declaration.
6537 (term-escape-char): Let the user set it in her .emacs.
6539 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6540 Provide SMIE-based indentation (not enabled by default yet).
6541 (sh-mode-map): Don't bind electric keys.
6542 Use electric-pair-mode instead of skeleton-pair.
6543 (sh-assignment-regexp): Fit within 80 columns.
6544 (sh-indent-supported): Specify actual shell name instead of boolean.
6545 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6546 (sh-maybe-here-document): Use it. Make obsolete.
6547 (sh-electric-here-document-mode) New minor mode.
6548 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6549 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6550 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6551 (sh-smie-rc-grammar, sh-use-smie): New vars.
6552 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6553 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6554 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6555 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6556 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6557 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6558 (sh-set-shell): Use smie-setup if requested.
6560 * term.el (term-set-escape-char): Properly set term-escape-char.
6561 See http://stackoverflow.com/questions/10524656.
6563 2012-05-10 Chong Yidong <cyd@gnu.org>
6565 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6566 Use url-generic-parse-url, and handle host names and Windows
6568 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6569 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6570 URL schemes to work on.
6571 (ffap--toggle-read-only): New function.
6572 (ffap-read-only, ffap-read-only-other-window)
6573 (ffap-read-only-other-frame): Use it.
6574 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6575 necessary for ffap-url-unwrap-remote.
6577 2012-05-10 Dave Abrahams <dave@boostpro.com>
6579 * cus-start.el (create-lockfiles): Add it.
6581 2012-05-09 Chong Yidong <cyd@gnu.org>
6583 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6584 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6586 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6588 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6590 2012-05-09 Chong Yidong <cyd@gnu.org>
6592 * ansi-color.el (ansi-color-process-output): Check for validity of
6593 comint-last-output-start before using it. This avoids a bad
6594 interaction with gdb-mi's input/output buffer.
6596 2012-05-09 Glenn Morris <rgm@gnu.org>
6598 * files.el (dir-locals-read-from-file):
6599 Mention dir-locals in any error message.
6601 2012-05-09 Chong Yidong <cyd@gnu.org>
6603 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6604 package (Bug#11410).
6606 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6607 variables into description.
6609 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6612 shell-delimiter-argument-list (bug#11348).
6613 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6615 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6617 * textmodes/rst.el: Silence byte-compiler warnings.
6618 (rst-re-alist, rst-reset-section-caches): Move around.
6619 (rst-re): Use `characterp', not `char-valid-p'.
6620 (font-lock-beg, font-lock-end): Declare.
6622 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6623 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6625 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6627 2012-05-08 Glenn Morris <rgm@gnu.org>
6629 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6631 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6633 * vc/log-edit.el: Add GNU coding standards highlighting.
6634 (log-edit-font-lock-gnu-style)
6635 (log-edit-font-lock-gnu-keywords): New vars.
6636 (log-edit-font-lock-keywords): New fun.
6637 (log-edit-mode): Don't fold case in font-lock.
6638 (log-edit-font-lock-keywords): Do not assume case-folding.
6640 * imenu.el: Misc cleanup. Make docstrings out of comments.
6641 Use lexical-binding.
6642 (imenu--index-alist, imenu--last-menubar-index-alist)
6643 (imenu-menubar-modified-tick): Use defvar-local.
6644 (imenu--split-menu): Remove unused var.
6645 (imenu--cleanup-seen): Declare as global.
6646 (imenu--cleanup): Use dolist.
6648 * subr.el (defvar-local): Add debug spec and doc-string position.
6650 2012-05-08 Glenn Morris <rgm@gnu.org>
6652 * language/burmese.el, language/cham.el, language/czech.el:
6653 * language/english.el, language/georgian.el, language/greek.el:
6654 * language/japanese.el, language/khmer.el, language/korean.el:
6655 * language/lao.el, language/misc-lang.el, language/romanian.el:
6656 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6657 * language/thai.el, language/utf-8-lang.el:
6658 Remove no-byte-compile setting.
6660 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6662 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6664 * progmodes/make-mode.el (makefile-browse):
6665 Remove unnecessary interactive. (Bug#11324)
6667 2012-05-07 Glenn Morris <rgm@gnu.org>
6669 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6671 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6673 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * loadup.el: Preload newcomment.el.
6676 * newcomment.el: Move autoload-only code to toplevel.
6678 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6679 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6680 Handle new :right-align column property.
6681 (tabulated-list-print-col): Idem, plus use `display' text-property to
6682 try and preserve alignment for variable pitch fonts.
6684 2012-05-07 Chong Yidong <cyd@gnu.org>
6686 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6687 (tabulated-list-use-header-line): New var.
6688 (tabulated-list-init-header): Use it.
6689 (tabulated-list-print-fake-header): New function.
6690 (tabulated-list-print): Use it.
6691 (tabulated-list-sort-button-map): Add non-header-line commands.
6692 (tabulated-list-init-header): Add column name property to basic
6694 (tabulated-list-col-sort): Handle non-header-line button case.
6695 (tabulated-list--sort-by-column-name): Fix a corner case.
6697 * buff-menu.el (list-buffers--refresh):
6698 Handle Buffer-menu-use-header-line.
6700 2012-05-06 Chong Yidong <cyd@gnu.org>
6702 * buff-menu.el: Convert to Tabulated List mode.
6703 (Buffer-menu-buffer+size-width): Make obsolete.
6704 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6705 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6706 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6707 documentation into docstring of buffer-menu.
6708 (Buffer-menu-toggle-files-only): Add an informative message.
6709 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6710 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6711 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6712 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6713 (Buffer-menu-execute, Buffer-menu-select)
6714 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6715 (Buffer-menu-bury): Use Tabulated List machinery.
6716 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6717 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6719 (list-buffers--refresh): New function.
6720 (list-buffers-noselect): Use it.
6721 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6722 (Buffer-menu--pretty-file-name): New helper functions.
6724 * loadup.el: Preload tabulated-list.
6726 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6727 tabulated-list-sort-column.
6728 (tabulated-list-init-header): Add the initial aligning space even
6729 if tabulated-list-padding is zero.
6731 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6733 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6734 whose cdr is not a cons cell correctly (bug#11038).
6736 2012-05-06 Chong Yidong <cyd@gnu.org>
6738 * emacs-lisp/tabulated-list.el (tabulated-list-format):
6739 Accept additional plist in column descriptors.
6740 (tabulated-list-init-header): Obey it.
6741 (tabulated-list-get-entry): New function.
6742 (tabulated-list-put-tag): Use it. Use string-width instead of
6744 (tabulated-list--column-number): New function.
6745 (tabulated-list-print): Use it.
6746 (tabulated-list-print-col): New function.
6747 Set `tabulated-list-column-name' property on each column's text.
6748 (tabulated-list-print-entry): Use it.
6749 (tabulated-list-delete-entry, tabulated-list-set-col):
6751 (tabulated-list-sort-column): New command (Bug#11337).
6753 * buff-menu.el (list-buffers): Move C-x C-b binding from
6754 buff-menu.el to bindings.el.
6756 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6757 :advertised-binding feature.
6759 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
6761 * progmodes/compile.el (compilation-internal-error-properties):
6762 Calculate start position correctly when end-col is set but
6763 end-line is not (Bug#11382).
6765 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
6767 * man.el (Man-unindent): Use text-property-default-nonsticky to
6768 prevent untabify from inheriting face properties (Bug#11408).
6770 2012-05-05 Stefan Merten <smerten@oekonux.de>
6772 * textmodes/rst.el: Major merge with upstream development up to
6773 Docutils SVN r7399 / rst.el V1.2.1.
6775 Clarify maintainership and authors.
6777 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6778 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6779 (rst-official-version, rst-official-cvs-rev, rst-version)
6780 (rst-package-emacs-version-alist): New functions and variables
6781 for version information.
6783 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6784 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6785 (rst-mode-syntax-table, rst-mode): New and corrected functions
6786 and variables representing reStructuredText features.
6788 (rst-re): New function for reStructuredText regexes. Use in
6791 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6792 (rst-mode-map): Rebind keys.
6794 (rst-mode-lazy, rst-font-lock-keywords)
6795 (rst-font-lock-extend-region)
6796 (rst-font-lock-extend-region-internal)
6797 (rst-font-lock-extend-region-extend)
6798 (rst-font-lock-find-unindented-line-limit)
6799 (rst-font-lock-find-unindented-line-match)
6800 (rst-adornment-level, rst-font-lock-adornment-level)
6801 (rst-font-lock-adornment-match)
6802 (rst-font-lock-handle-adornment-pre-match-form)
6803 (rst-font-lock-handle-adornment-matcher): Major revision of
6804 font-locking. Integrate with other code. Use `jit-lock-mode'.
6806 (rst-preferred-adornments, rst-adjust-hook)
6807 (rst-new-adornment-down, rst-preferred-bullets)
6808 (rst-preferred-bullets, rst-indent, rst-indent-width)
6809 (rst-indent-field, rst-indent-literal-normal)
6810 (rst-indent-literal-minimized, rst-indent-comment): Change,
6811 extend and improve customization.
6813 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6814 (rst-normalize-cursor-position, rst-get-decoration)
6815 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6816 (rst-rstrip, rst-toc-insert-find-delete-contents)
6817 (rst-shift-fill-region, rst-compute-bullet-tabs)
6818 (rst-debug-print-tabs, rst-debug-mark-found)
6819 (rst-shift-region-guts, rst-shift-region-right)
6820 (rst-shift-region-left, rst-use-char-classes)
6821 (rst-font-lock-keywords-function)
6822 (rst-font-lock-indentation-point)
6823 (rst-font-lock-find-unindented-line-begin)
6824 (rst-font-lock-find-unindented-line-end)
6825 (rst-font-lock-find-unindented-line)
6826 (rst-font-lock-adornment-point, rst-font-lock-level)
6827 (rst-adornment-level-alist): Remove functions and variables.
6829 (rst-compare-adornments, rst-get-adornment-match)
6830 (rst-suggest-new-adornment, rst-get-adornments-around)
6831 (rst-adornment-complete-p, rst-get-next-adornment)
6832 (rst-adjust-adornment, rst-display-adornments-hierarchy)
6833 (rst-straighten-adornments): Standardize function names to
6834 use "adornment" instead of "decoration". Correct callers.
6835 Similar standardizing in many places.
6837 (rst-update-section, rst-adjust, rst-promote-region)
6838 (rst-enumerate-region, rst-bullet-list-region)
6839 (rst-repeat-last-character): Correct use of `interactive'.
6841 (rst-classify-adornment, rst-find-all-adornments)
6842 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6843 (rst-find-leftmost-column, rst-repeat-last-character):
6846 (rst-find-title-line, rst-reset-section-caches)
6847 (rst-get-adornments-around, rst-adjust-adornment-work)
6848 (rst-arabic-to-roman, rst-roman-to-arabic)
6849 (rst-insert-list-pos, rst-insert-list-new-item)
6850 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6853 (rst-all-sections, rst-section-hierarchy)
6854 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6857 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6858 configuration instead of only buffer. Change where necessary.
6860 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6861 (rst-shift-region, rst-adaptive-fill): New functions for
6862 indentation and filling.
6864 (rst-comment-line-break, rst-comment-indent)
6865 (rst-comment-insert-comment, rst-comment-region)
6866 (rst-uncomment-region): New functions for handling comments.
6868 (rst-compile): Quote shell arguments.
6870 (rst-compile-pdf-preview, rst-compile-slides-preview):
6871 Delete temporary files after use.
6873 2012-05-05 Glenn Morris <rgm@gnu.org>
6875 * calendar/cal-html.el: Optionally include holidays in the output.
6876 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6877 (cal-html-holidays): New option.
6878 (cal-html-css-default): Add holiday entry.
6879 (holiday-in-range): Autoload it.
6880 (cal-html-htmlify-entry): Add optional class argument.
6881 (cal-html-htmlify-list): Add optional holidays argument.
6882 (cal-html-insert-agenda-days): Include holidays in the output.
6883 (cal-html-one-month): Maybe include holidays.
6885 * calendar/holidays.el (holiday-in-range):
6886 Move here from cal-tex-list-holidays.
6887 * calendar/cal-tex.el (cal-tex-list-holidays):
6888 Make it an obsolete alias for holiday-in-range. Update all callers.
6890 2012-05-05 Chong Yidong <cyd@gnu.org>
6892 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6895 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
6897 * files.el (file-auto-mode-skip): New var.
6898 (set-auto-mode-1): Use it.
6900 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6902 * repeat.el: Use lexical-binding.
6903 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6904 (repeat-undo-count): Remove.
6906 * progmodes/octave-mod.el (octave-abbrev-start):
6907 * progmodes/f90.el (f90-abbrev-start):
6908 * face-remap.el (text-scale-adjust):
6909 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6911 * emacs-lisp/pcase.el (pcase--let*): New function.
6912 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6914 (pcase--split-pred): Be more clever about ruling out overlap between
6915 a predicate and some constant pattern.
6916 (pcase--q1): Use `null' instead of (eq foo nil).
6918 * subr.el (setq-local, defvar-local): New macros.
6919 (kbd): Redefine as an alias.
6920 (with-selected-window): Leave unrelated frames alone.
6921 (set-temporary-overlay-map): New function.
6923 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * subr.el (user-error): New function.
6926 * window.el (switch-to-buffer):
6927 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6928 (smerge-match-conflict):
6929 * simple.el (previous-matching-history-element)
6930 (next-matching-history-element, goto-history-element, undo-more)
6932 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6933 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6934 (next-file, tags-loop-scan, list-tags, complete-tag):
6935 * progmodes/compile.el (compilation-loop):
6936 * mouse.el (mouse-minibuffer-check):
6937 * man.el (Man-bgproc-sentinel, Man-goto-page):
6938 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6939 (Info-history-forward, Info-follow-reference, Info-menu)
6940 (Info-extract-menu-item, Info-extract-menu-counting)
6941 (Info-forward-node, Info-backward-node, Info-next-menu-item)
6942 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6943 (Info-next-reference, Info-prev-reference, Info-index)
6944 (Info-index-next, Info-follow-nearest-node)
6945 (Info-copy-current-node-name):
6946 * imenu.el (imenu--make-index-alist)
6947 (imenu-default-create-index-function, imenu-add-to-menubar):
6948 * files.el (basic-save-buffer, recover-file):
6949 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6950 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6951 (checkdoc-message-text, checkdoc-defun):
6952 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6953 * cus-edit.el (customize-changed-options, customize-rogue)
6954 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6955 (custom-variable-mark-to-reset-standard)
6956 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6958 * completion.el (check-completion-length):
6959 * comint.el (comint-search-arg)
6960 (comint-previous-matching-input-string-position)
6961 (comint-previous-matching-input)
6962 (comint-replace-by-expanded-history-before-point, comint-send-input)
6963 (comint-copy-old-input, comint-backward-matching-input)
6964 (comint-goto-process-mark, comint-set-process-mark):
6965 * calendar/calendar.el (calendar-cursor-to-date): Use it.
6966 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6968 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6970 * dabbrev.el (dabbrev--ignore-case-p): New function.
6971 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6974 * files.el (automount-dir-prefix): Mark as obsolete.
6976 2012-05-04 Glenn Morris <rgm@gnu.org>
6978 * patcomp.el, play/bruce.el: Move to obsolete/.
6980 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
6982 Fix minor Y10k bugs.
6983 * arc-mode.el (archive-unixdate):
6984 * autoinsert.el (auto-insert-alist):
6985 * calc/calc-forms.el (math-this-year):
6986 * emacs-lisp/copyright.el (copyright-current-year)
6987 (copyright-update-year, copyright):
6988 * tar-mode.el (tar-clip-time-string):
6989 * time.el (display-time-update):
6990 Don't assume years have 4 digits.
6992 2012-05-04 Chong Yidong <cyd@gnu.org>
6994 * dos-w32.el (file-name-buffer-file-type-alist)
6995 (direct-print-region-use-command-dot-com):
6996 * ffap.el (ffap-menu-regexp):
6997 * find-file.el (ff-special-constructs):
6998 * follow.el (follow-debug):
6999 * forms.el (forms--debug):
7000 * iswitchb.el (iswitchb-all-frames):
7001 * ido.el (ido-all-frames):
7002 * emacs-lisp/timer.el (timer-max-repeats):
7003 * mail/feedmail.el (feedmail-mail-send-hook)
7004 (feedmail-mail-send-hook-queued):
7005 * mail/footnote.el (footnote-signature-separator):
7006 * mail/mailabbrev.el (mail-alias-separator-string)
7007 (mail-abbrev-mode-regexp):
7008 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7009 * progmodes/idlwave.el (idlwave-libinfo-file)
7010 (idlwave-default-completion-case-is-down)
7011 (idlwave-library-routines): Convert defvars to defcustoms.
7013 * mail/rmail.el (rmail-decode-mime-charset):
7014 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7015 (idlwave-shell-fix-inserted-breaks)
7016 (idlwave-shell-activate-alt-keybindings)
7017 (idlwave-shell-use-breakpoint-glyph):
7018 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7020 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7022 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7024 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7026 * progmodes/verilog-mode.el (font-lock-keywords):
7027 Fix mis-highligting auto. Reported by Craig Barner.
7028 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7029 defines from global name space. Reported by Dan Dever.
7030 (verilog-auto-reset, verilog-auto-reset-widths)
7031 (verilog-auto-tieoff): Support using unbased numbers for
7032 AUTORESET and AUTOTIEOFF.
7033 (verilog-submit-bug-report): Update variable list.
7034 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7035 parenthesis from not matching. Reported by Michael Rytting.
7036 (verilog-auto-template-lint): Fix hash error when linting modules
7037 with no used templates.
7038 (verilog-warn, verilog-warn-error)
7039 (verilog-warn-fatal): When non-interactive report multiple
7040 warnings before exiting. Suggested by Brad Dobbie.
7041 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7042 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7043 to report unused template errors. Reported by Brad Dobbie.
7044 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7045 nets, bug438. Reported by Vns Blore.
7046 (verilog-auto-inout-module, verilog-auto-reg)
7047 (verilog-read-decls, verilog-read-sub-decls-sig)
7048 (verilog-signals-edit-wire-reg, verilog-signals-with):
7049 Fix passing of Verilog data types in ANSI input/output ports
7050 such as "output logic" into the AUTOs. Special case "wire" and
7051 "reg" for backwards compatibility presuming Verilog 2001.
7052 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7053 (verilog-preprocess): Fix replication of preprocess output.
7054 Reported by Brad Dobbie.
7055 (verilog-auto-inst-interfaced-ports):
7056 Create verilog-auto-inst-interfaced-ports, bug429.
7057 Reported by Julian Gorfajn.
7058 (verilog-after-save-font-hook)
7059 (verilog-before-save-font-hook): New variable.
7060 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7061 (verilog-save-font-mods): Wrap disabling fontification, reported
7063 (verilog-do-indent, verilog-pretty-declarations-auto)
7064 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7065 Reported by Pierre-David Pfister.
7066 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7067 of class declarations, bug292. Reported by Kevin Heilman.
7068 (verilog-read-decls): Fix 'parameter type' not appearing in
7069 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7070 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7071 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7072 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7073 Reported by David Kravitz.
7075 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7077 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7078 assignment with tests in ifs and for loops.
7079 (verilog-extended-complete-re, verilog-complete-reg): Change so
7080 that DPI inport functions don't look like fuction declarations.
7081 (verilog-pretty-expr): Don't line up assignment
7082 operations to the test and increment in if and for loops
7083 (verilog-extended-complete-re, verilog-complete-reg): Change so
7084 that DPI inport functions don't look like fuction declarations.
7086 2012-05-03 Kenichi Handa <handa@m17n.org>
7088 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7089 decoding, and show a warning message without signaling an error
7092 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7094 * emacs-lisp/bytecomp.el
7095 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7096 since cconv.el might have introduced :fun-body, internal-make-closure,
7097 and friends for bytecomp to handle (bug#11391).
7098 * custom.el (defcustom): Avoid ((λ ..) ..).
7100 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7104 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7106 * notifications.el (dbus-debug):
7107 * term/linux.el (gpm-mouse-enable):
7108 * term/screen.el (xterm-register-default-colors): Declare.
7110 2012-05-02 Chong Yidong <cyd@gnu.org>
7112 * cus-start.el (gc-cons-percentage, exec-suffixes)
7113 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7114 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7115 (make-cursor-line-fully-visible, void-text-area-pointer)
7116 (font-list-limit): Add customization data.
7118 * allout.el (allout-exposure-change-functions)
7119 (allout-structure-added-functions)
7120 (allout-structure-deleted-functions)
7121 (allout-structure-shifted-functions): Rename abnormal hooks from
7122 *-hook, and convert to defcustoms.
7123 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7124 Convert to defcustoms.
7125 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7127 * allout-widgets.el: Hook callers changed.
7129 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7131 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7132 the yanked message in preference to the default value of
7133 buffer-file-coding-system.
7135 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7137 * window.el (display-buffer--action-function-custom-type):
7140 2012-05-02 Alan Mackenzie <acm@muc.de>
7142 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7144 2012-05-01 Glenn Morris <rgm@gnu.org>
7146 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7148 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7150 * cus-edit.el (custom-variable-documentation): Simplify with format.
7152 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7153 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * simple.el (suggest-key-bindings, execute-extended-command):
7156 Move from keyboard.c.
7158 2012-05-01 Chong Yidong <cyd@gnu.org>
7160 * follow.el: Eliminate advice.
7161 (set-process-filter, process-filter, sit-for): Advice deleted.
7162 (follow-mode-off-hook): Obsolete hook removed.
7163 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7165 (follow-auto): Use a :set function.
7166 (follow-mode): Rewritten. Don't advise process filters.
7167 (follow-switch-to-current-buffer-all, follow-scroll-up)
7168 (follow-scroll-down): Assume follow-mode is bound.
7169 (follow-comint-scroll-to-bottom)
7170 (follow-align-compilation-windows): New functions.
7171 (follow--window-sorter): New function.
7172 (follow-all-followers): Use it to explicitly sort windows by their
7173 positions; don't make assumptions about next-window order.
7174 (follow-windows-start-end, follow-delete-other-windows-and-split)
7175 (follow-calc-win-start): Doc fix.
7176 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7177 vertical-motion unnecessarily.
7178 (follow-adjust-window): New function.
7179 (follow-post-command-hook): Use it.
7180 (follow-call-set-process-filter, follow-call-process-filter)
7181 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7182 (follow-stop-intercept-process-output, follow-generic-filter):
7184 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7185 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7186 New functions, replacing advice on scroll-bar-* commands.
7187 (follow-mwheel-scroll): New function (Bug#4112).
7189 * comint.el (comint-adjust-point): New function.
7190 (comint-postoutput-scroll-to-bottom): Use it.
7191 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7193 2012-05-01 Glenn Morris <rgm@gnu.org>
7195 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7196 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7197 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7198 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7199 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7200 Remove no-byte-compile setting.
7202 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7204 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7205 all-completions code to not return a number in the last cdr.
7207 2012-04-30 Leo Liu <sdl.web@gmail.com>
7209 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7212 2012-04-29 Chong Yidong <cyd@gnu.org>
7214 * follow.el (follow-calc-win-end): Rewrite to handle partial
7215 screen lines correctly (Bug#8390).
7216 (follow-avoid-tail-recenter): Minor cleanup.
7218 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7220 Avoid the obsolete `assoc' package.
7221 * speedbar.el (speedbar-refresh): Avoid adelete.
7222 (speedbar-file-lists): Simplify and avoid aput.
7223 * man.el (Man--sections, Man--refpages): New vars, replacing
7224 Man-sections-alist and Man-refpages-alist.
7225 (Man-build-section-alist, Man-build-references-alist):
7226 Use them; avoid aput.
7227 (Man--last-section, Man--last-refpage): New vars.
7228 (Man-follow-manual-reference): Use them.
7229 Use the `default' arg of completing-read.
7230 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7232 2012-04-27 Chong Yidong <cyd@gnu.org>
7234 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7236 * startup.el (x-apply-session-resources): New function.
7238 * term/ns-win.el (ns-initialize-window-system):
7239 * term/w32-win.el (w32-initialize-window-system):
7240 * term/x-win.el (x-initialize-window-system): Use it to properly
7241 set menu-bar-mode and other vars from X resources, even if the
7242 initial frame is not a window-system frame (Bug#2299).
7244 * subr.el (read-key): Avoid running filter function when setting
7245 up temporary tool bar entries (Bug#9922).
7247 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7249 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7252 2012-04-27 Chong Yidong <cyd@gnu.org>
7254 * select.el (xselect--encode-string): New function, split from
7255 xselect-convert-to-string.
7256 (xselect-convert-to-string): Use it.
7257 (xselect-convert-to-filename, xselect-convert-to-os)
7258 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7259 returned strings are properly encoded (Bug#11315).
7261 2012-04-27 Chong Yidong <cyd@gnu.org>
7263 * simple.el (delete-active-region): Move to killing custom group.
7265 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7267 * progmodes/which-func.el (which-func-current): Quote %
7268 characters for mode-line processing.
7270 2012-04-27 Chong Yidong <cyd@gnu.org>
7272 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7273 reaching eob (Bug#11286).
7275 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7277 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7278 (gdb): Make it buffer-local and init to zero.
7279 (gdb-control-commands-regexp): New variable.
7280 (gdb-send): Don't wrap in "-interpreter-exec console" if
7281 gdb-control-level is positive. Increment gdb-control-level
7282 whenever the command matches gdb-control-commands-regexp, and
7283 decrement it each time the command is "end". (Bug#11279)
7285 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7287 * window.el (adjust-window-trailing-edge, enlarge-window)
7288 (shrink-window, window-resize):
7289 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7290 windows (Bug#11276).
7292 2012-04-27 Chong Yidong <cyd@gnu.org>
7294 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7295 fix "missing prefix" warning. All callers changed.
7297 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7299 * emacs-lisp/assoc.el: Move to obsolete/.
7301 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7303 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7305 * term/ns-win.el (ns-define-service):
7306 * progmodes/pascal.el (pascal-goto-defun):
7307 * progmodes/js.el (js--read-tab):
7308 * progmodes/etags.el (tags-lazy-completion-table):
7309 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7310 * emacs-lisp/ewoc.el (ewoc--wrap):
7311 * emacs-lisp/assoc.el (aput, adelete, amake):
7312 * doc-view.el (doc-view-convert-current-doc):
7313 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7315 2012-04-26 Chong Yidong <cyd@gnu.org>
7317 * image.el (image-type-from-buffer): Only return supported image
7320 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7321 value, for symmetry with diff-end-of-hunk.
7322 (diff-split-hunk, diff-find-source-location)
7323 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7324 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7325 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7326 compute the relevant hunk or file properly (Bug#6005).
7327 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7329 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * vc/vc.el: Replace lexical-let by lexical-binding.
7339 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7340 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7341 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7343 2012-04-26 Chong Yidong <cyd@gnu.org>
7345 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7346 (diff-mode-shared-map): Bind it to / and [remap undo].
7348 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7349 (ediff-window-setup-function): Use it as the default, to set up
7350 windows based on whether the current frame is graphical (Bug#2138).
7351 (ediff-choose-window-setup-function-automatically): Make obsolete.
7353 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7355 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * ffap.el: Remove old code for obsolete package.
7358 (ffap-complete-as-file-p): Remove.
7360 Use completion-table-with-quoting for comint and pcomplete.
7361 * comint.el (comint--unquote&requote-argument)
7362 (comint--unquote-argument, comint--requote-argument): New functions.
7363 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7364 (comint-quote-filename): Use regexp-opt-charset.
7365 (comint--common-suffix, comint--common-quoted-suffix)
7366 (comint--table-subvert): Remove.
7367 (comint-unquote-function, comint-requote-function): New vars.
7368 (comint--complete-file-name-data): Use them with
7369 completion-table-with-quoting.
7370 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7371 * pcomplete.el (pcomplete-arg-quote-list)
7372 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7373 (pcomplete-unquote-argument-function): Default to non-nil.
7374 (pcomplete-unquote-argument): Simplify.
7375 (pcomplete--common-quoted-suffix): Remove.
7376 (pcomplete-requote-argument-function): New var.
7377 (pcomplete--common-suffix): New function.
7378 (pcomplete-completions-at-point): Use completion-table-with-quoting
7379 and completion-table-subvert.
7381 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7382 (minibuffer--double-dollars): Preserve properties.
7383 (completion--sifn-requote): New function.
7384 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7386 * minibuffer.el: Add support for completion of quoted/escaped data.
7387 (completion-table-with-quoting, completion-table-subvert): New funs.
7388 (completion--twq-try, completion--twq-all): New functions.
7389 (completion--nth-completion): New function.
7390 (completion-try-completion, completion-all-completions): Use it.
7392 2012-04-25 Leo Liu <sdl.web@gmail.com>
7394 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7395 Use compilation-message if available to find real filename.
7397 2012-04-25 Chong Yidong <cyd@gnu.org>
7399 * vc/diff-mode.el (diff-setup-whitespace): New function.
7400 (diff-mode): Use it.
7402 * vc/diff.el (diff-sentinel):
7403 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7404 Whitespace mode variables based on diff style (Bug#8612).
7406 2012-04-25 Leo Liu <sdl.web@gmail.com>
7408 * progmodes/python.el (python-send-region): Add suffix .py to the
7411 * files.el (auto-mode-alist): Use javascript-mode instead.
7413 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7415 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7417 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7418 (soap-resolve-references-for-array-type): Hack to prevent self
7419 references, see Bug#9.
7420 (soap-parse-envelope): Report the contents of the 'detail' node
7421 when receiving a fault reply.
7422 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7424 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7425 (soap-inspect-simple-type): New function.
7427 * net/soap-client.el (soap-simple-type): New struct.
7428 (soap-default-xsd-types, soap-default-soapenc-types)
7429 (soap-decode-basic-type, soap-encode-basic-type):
7430 support unsignedInt and double basic types.
7431 (soap-resolve-references-for-simple-type)
7432 (soap-parse-simple-type, soap-encode-simple-type): New function.
7433 (soap-parse-schema): Parse xsd:simpleType declarations.
7435 * net/soap-client.el (soap-default-xsd-types)
7436 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7437 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7438 the local name of "soapenc:Array".
7439 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7440 decoding integer, byte and anyURI xsd types.
7442 2012-04-25 Chong Yidong <cyd@gnu.org>
7444 * cus-edit.el (custom-buffer-create-internal): Update header text.
7446 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7448 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7449 settings on 'system-type', not on 'window-system'. On MS-Windows,
7450 set interactive-mode on in GDB.
7452 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7454 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7455 (ruby-syntax-propertize-regexp): Remove.
7456 (ruby-syntax-propertize-function): Split regexp into chunks.
7457 Match following code directly.
7459 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7461 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7462 (ruby-syntax-propertize-regexp): New function.
7463 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7464 by a special keyword.
7466 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7467 (ruby-syntax-general-delimiters-goto-beg)
7468 (ruby-syntax-propertize-general-delimiters): New functions.
7469 (ruby-syntax-propertize-function): Use them to handle GDL.
7470 (ruby-font-lock-keywords): Move old handling of GDL...
7471 (ruby-font-lock-syntactic-keywords): .. to here.
7472 (ruby-calculate-indent): Adjust indentation for GDL.
7474 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7476 * notifications.el (top): Remove unneeded declarations.
7477 (notifications-specification-version): Change to "1.2".
7478 (notifications-interface, notifications-notify-method)
7479 (notifications-close-notification-method): Fix docstring.
7480 (notifications-get-capabilities-method): New defconst.
7481 (notifications-notify): Add :action-items, :resident and
7482 :transient hints. Change "image_data" to "image-data" and
7483 "image_path" to "image-path".
7484 (notifications-get-capabilities): New defun.
7486 2012-04-24 Leo Liu <sdl.web@gmail.com>
7488 * progmodes/python.el: Move hideshow setup to the end.
7490 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7492 * window.el (handle-select-window): Clear echo area since this is
7493 no more done by read_char (Bug#11304).
7495 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7498 and `/ M' to filter-derived-mode.
7499 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7500 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7501 (ibuffer-mark-by-mode): Use default rather than initial-input.
7502 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7504 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7506 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7507 (ibuffer-filter-by-derived-mode): New filter.
7508 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7510 2012-04-23 Andreas Politz <politza@fh-trier.de>
7512 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7514 2012-04-23 Chong Yidong <cyd@gnu.org>
7516 * cus-edit.el (customize-apropos, customize-apropos-options):
7517 Disable matching of non-option variables (Bug#11176).
7518 (customize-option, customize-option-other-window)
7519 (customize-changed-options): Doc fix.
7520 (customize-apropos-options, customize-apropos-faces)
7521 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7523 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7524 Fix word list splitting (Bug#11132).
7525 (apropos-symbol, apropos-keybinding, apropos-label)
7526 (apropos-property, apropos-function-button)
7527 (apropos-variable-button, apropos-misc-button): New faces.
7528 (apropos-symbol-face, apropos-keybinding-face)
7529 (apropos-label-face, apropos-property-face, apropos-match-face):
7530 Variables removed (Bug#8396).
7531 (apropos-library-button, apropos-format-plist, apropos-print)
7532 (apropos-print-doc, apropos-describe-plist): Callers changed.
7534 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7536 * net/xesam.el (xesam-mode-map): Use let-bound map in
7537 initialization. (Bug#11292)
7539 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7541 Preserve ispell session localwords when switching back to
7544 * textmodes/ispell.el (ispell-buffer-session-localwords):
7545 New buffer-local variable to hold buffer session localwords.
7546 (ispell-kill-ispell): Add option 'clear to delete session
7548 (ispell-command-loop, ispell-change-dictionary)
7549 (ispell-buffer-local-words): Preserve session localwords when
7552 * textmodes/flyspell.el (flyspell-process-localwords)
7553 (flyspell-do-correct): Preserve session localwords when needed.
7555 2012-04-23 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7557 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7558 using obsolete `translation-table-for-input'.
7559 (ispell-word, ispell-process-line, ispell-complete-word):
7560 Use plain `insert' instead of removed `ispell-insert-word'.
7562 2012-04-22 Chong Yidong <cyd@gnu.org>
7564 * cus-edit.el (custom-variable-menu)
7565 (custom-variable-reset-saved, custom-face-menu)
7566 (custom-face-reset-saved): If there is no saved value, make the
7567 "reset-saved" operation bring back the default (Bug#9509).
7568 (custom-face-state): Properly detect themed faces.
7570 * faces.el (face-spec-set): Stop supporting deprecated form of
7573 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7575 Move functions from C to Lisp. Make non-blocking method calls
7576 the default. Implement further D-Bus standard interfaces.
7578 * net/dbus.el (dbus-message-internal): Declare function.
7579 Remove unneeded function declarations.
7580 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7581 (dbus-message-type-method-return, dbus-message-type-error)
7582 (dbus-message-type-signal): Declare variables. Remove local
7584 (dbus-interface-dbus, dbus-interface-peer)
7585 (dbus-interface-introspectable, dbus-interface-properties)
7586 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7588 (dbus-interface-objectmanager): New defconst.
7589 (dbus-call-method, dbus-call-method-asynchronously)
7590 (dbus-send-signal, dbus-method-return-internal)
7591 (dbus-method-error-internal, dbus-register-service)
7592 (dbus-register-signal, dbus-register-method): New defuns, moved
7594 (dbus-call-method-handler, dbus-setenv)
7595 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7597 (dbus-call-method-non-blocking): Make it an obsolete function.
7598 (dbus-unregister-object, dbus-unregister-service)
7599 (dbus-handle-event, dbus-register-property)
7600 (dbus-property-handler): Obey the new structure of
7601 `bus-registered-objects'.
7602 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7603 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7604 Use `dbus-call-method'.
7606 2012-04-22 Chong Yidong <cyd@gnu.org>
7608 * cus-edit.el (custom-commands, custom-reset-menu)
7609 (Custom-reset-standard): Tweak labels.
7610 (custom-reset-button-menu): Change default to t.
7611 (custom-buffer-create-internal): For the custom-reset-button-menu
7612 case, put the revert button first.
7613 (custom-group-subtitle): New face.
7614 (custom-group-value-create): Align docstring to a specific column.
7616 * wid-edit.el (widget-documentation-link-add): Don't handle
7617 indentation in this function.
7618 (widget-documentation-string-indent-to): New function.
7619 (widget-documentation-string-value-create): Use it.
7621 * autorevert.el (auto-revert):
7622 * epg-config.el (epg):
7623 * ibuffer.el (ibuffer):
7626 * eshell/eshell.el (eshell):
7627 * net/ange-ftp.el (ange-ftp):
7628 * progmodes/ebnf2ps.el (postscript):
7629 * progmodes/flymake.el (flymake):
7630 * progmodes/prolog.el (prolog):
7631 * progmodes/verilog-mode.el (verilog-mode):
7632 * progmodes/which-func.el (which-func):
7633 * term/xterm.el (xterm):
7634 * textmodes/picture.el (picture):
7635 * textmodes/tildify.el (tildify):
7636 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7637 customization buffers.
7639 2012-04-22 Alan Mackenzie <acm@muc.de>
7641 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7642 Adding a ) can hide the resulting (..) from searches. Fix it.
7643 Bound the backward search to the position of the existing (.
7645 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
7647 * progmodes/verilog-mode.el (verilog-mode): Check whether
7648 which-func-modes is t before adding verilog-mode.
7649 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7651 2012-04-21 Leo Liu <sdl.web@gmail.com>
7653 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7655 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7657 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7658 filling of the last column of a table (Bug#5635).
7659 (woman-find-next-control-line): New arg, specifying an additional
7660 regexp component for the control line.
7661 (woman2-roff-buffer): Use it.
7662 (woman-break-table): New function.
7663 (woman2-TS): Use it.
7665 2012-04-21 Chong Yidong <cyd@gnu.org>
7667 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7668 (woman-horizontal-escapes, woman-negative-vertical-space)
7669 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7670 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7672 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7674 * minibuffer.el (completion-file-name-table): Complete user names.
7676 2012-04-20 Leo Liu <sdl.web@gmail.com>
7678 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7681 2012-04-20 Chong Yidong <cyd@gnu.org>
7683 * server.el (server-execute): Respect initial-buffer-choice if it
7684 is a string and there are no files to open (Bug#2825).
7685 (server-create-window-system-frame, server-create-tty-frame):
7686 Don't switch buffers here.
7687 (server-process-filter): Only try to open a window system frame if
7688 compiled with graphical support (Bug#8314).
7690 2012-04-20 Dan Nicolaescu <dann@gnu.org>
7692 * battery.el (battery-echo-area-format): Display remaining time
7693 for sysfs backend too (Bug#11269).
7694 (battery-linux-sysfs): Fix conditional for the charge.
7696 2012-04-20 Chong Yidong <cyd@gnu.org>
7698 * progmodes/gdb-mi.el (gdb): Revert previous change.
7699 (gdb-inferior-io--init-proc): New function.
7700 (gdb-init-1): Use it.
7701 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7702 responsible for allocating a new pty and hooking it to gdb when
7703 the old pty gets an EIO due to process exit.
7704 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7705 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7706 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7708 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7710 * window.el (window-min-size, window-sizable, window-min-delta)
7711 (window-max-delta, window--resizable, window-resizable)
7712 (window-total-size, window-full-height-p, window-full-width-p)
7713 (window-in-direction, window--resize-mini-window, window-resize)
7714 (window--resize-child-windows-normal)
7715 (window--resize-child-windows, window--resize-siblings)
7716 (window--resize-this-window, adjust-window-trailing-edge)
7717 (enlarge-window, shrink-window): Doc fixes.
7719 2012-04-20 Chong Yidong <cyd@gnu.org>
7721 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7722 New function to call delete-process on the gdb-inferior buffer's pty.
7723 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7724 pty process (Bug#11273).
7725 (gdb-update): New arg to suppress talking to the gdb process.
7726 (gdb-done-or-error): Use it.
7727 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7728 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7729 sentinel not being called.
7731 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7733 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7735 2012-04-20 Glenn Morris <rgm@gnu.org>
7737 * net/network-stream.el (open-network-stream): Doc fix.
7739 2012-04-20 Chong Yidong <cyd@gnu.org>
7741 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7743 2012-04-20 Alan Mackenzie <acm@muc.de>
7745 Ensure searching for keywords is case sensitive.
7747 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7748 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7749 (c-defun-name, c-mark-function, c-cpp-define-name)
7750 (c-comment-indent, c-scan-conditionals, c-indent-defun)
7751 (c-context-line-break): Bind case-fold-search to nil.
7753 * progmodes/cc-mode.el (c-font-lock-fontify-region):
7754 Bind case-fold-search to nil.
7756 2012-04-20 Chong Yidong <cyd@gnu.org>
7758 * mail/sendmail.el (mail-bury): Call return action with the right
7759 Rmail buffer (Bug#11242).
7761 * server.el (server-process-filter): Handle corner case where both
7762 tty and nowait options are present (Bug#11102).
7764 2012-04-20 Eli Zaretskii <eliz@gnu.org>
7766 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7767 (top level): Put into the executable the ident-style '$Id:' tag on
7770 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * electric.el (electric-indent-post-self-insert-function): Check that
7773 electric-indent-mode is enabled in current buffer.
7775 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7777 * imenu.el (imenu-progress-message): Restore; it is "used" in
7778 erc/erc-imenu.el and net/snmp-mode.el.
7780 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
7782 * avoid.el (mouse-avoidance-mode): Mark unused arg.
7783 (mouse-avoidance-nudge-mouse): Remove unused binding.
7785 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7787 * descr-text.el (describe-char):
7788 * progmodes/python.el (python-describe-symbol):
7789 Don't call `toggle-read-only', set `buffer-read-only'.
7791 * imenu.el (imenu-default-goto-function): Mark unused args.
7792 (imenu-progress-message): Remove obsolete macro; all callers changed.
7794 * subr.el (keymap-canonicalize): Remove unused binding.
7795 (read-passwd): Mark unused arg.
7797 * tutorial.el (tutorial--display-changes): Remove unused binding.
7798 (tutorial--save-tutorial-to): Remove unused variable.
7800 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7801 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7802 (package-generate-autoloads, package-menu--generate)
7803 (package-menu--find-upgrades): Remove unused bindings.
7805 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7806 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
7807 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7808 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7809 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7810 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7811 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7812 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7813 (cua-delete-char-rectangle): Mark unused args.
7814 (cua-align-rectangle): Remove unused binding.
7816 * mail/rmail.el (compilation--message->loc)
7817 (epa--find-coding-system-for-mime-charset): Declare.
7819 * net/dbus.el (dbus-register-service): Declare.
7820 (dbus-name-owner-changed-handler): Remove unused binding.
7822 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7823 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7824 (nxml-scan-backward-within): Mark unused arg.
7825 (nxml-dynamic-markup-word): Remove unused binding.
7827 * mouse.el (mouse-menu-major-mode-map):
7828 * emacs-lisp/authors.el (authors-scan-change-log)
7829 (authors-add-to-author-list):
7830 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7831 * emacs-lisp/smie.el (smie-auto-fill):
7832 * mail/sendmail.el (mail-bury):
7833 * mail/unrmail.el (unrmail):
7834 * net/tls.el (open-tls-stream):
7835 * textmodes/picture.el (picture-mouse-set-point):
7836 Remove unused bindings.
7838 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
7840 * net/tramp.el (tramp-action-password): Let-bind
7841 `enable-recursive-minibuffers' to t.
7843 2012-04-18 Sam Steingold <sds@gnu.org>
7845 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7846 instead of 'string to accommodate values like [f11].
7847 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7848 * progmodes/gdb-mi.el: Likewise.
7850 2012-04-18 Leo Liu <sdl.web@gmail.com>
7852 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7854 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7857 2012-04-18 Chong Yidong <cyd@gnu.org>
7859 * simple.el (line-move): Use forward-line if in batch mode
7862 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
7864 * files.el (after-find-file): Do not try to add a final newline if
7865 the buffer is read-only (Bug#11156).
7867 2012-04-17 Richard Stallman <rms@gnu.org>
7869 * mail/rmail.el (rmail-start-mail):
7870 Pass (rmail-mail-return...) for the return-action.
7871 Pass (rmail-yank-current-message...) for the yank-action.
7872 (rmail-yank-current-message): New function.
7873 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7874 (rmail-reply): Likewise.
7875 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7877 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7878 buffer, not the last. Reject temp buffers. Use the rmail-mode
7881 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
7883 * server.el (server-ensure-safe-dir): Simplify.
7885 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7887 * emacs-lisp/smie.el: Provide smarter auto-filling.
7888 (smie-auto-fill): New function.
7889 (smie-setup): Use it.
7891 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7893 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
7895 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7896 (comment-indent): Use it.
7898 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
7900 * ses.el: The overall change is to add cell renaming, that is
7901 setting fancy names for cell symbols other than name matching
7902 "\\`[A-Z]+[0-9]+\\'" regexp .
7903 (ses-localvars): Add ses--renamed-cell-symb-list.
7904 (ses-create-cell-variable): New defun.
7905 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7906 (ses-relocate-formula): Relocate formulas only for cells the
7907 symbols of which are not renamed, i.e. symbols whose names do not
7908 match regexp "\\`[A-Z]+[0-9]+\\'".
7909 (ses-relocate-all): Relocate values only for cells the symbols of
7910 which are not renamed.
7911 (ses-load): Create cells variables as the (ses-cell ...) are read,
7912 in order to check row col consistency with cell symbol name only
7913 for cells that are not renamed.
7914 (ses-replace-name-in-formula): New defun.
7915 (ses-rename-cell): New defun.
7917 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
7919 * progmodes/perl-mode.el (perl-indent-parens-as-block):
7920 New option (bug#11118).
7921 (perl-calculate-indent): Respect it.
7923 2012-04-17 Glenn Morris <rgm@gnu.org>
7925 * dired-aux.el (dired-mark-read-string): Doc fix.
7927 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
7929 * dired-aux.el (dired-mark-read-string): Offer optional completion.
7930 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
7932 2012-04-17 Glenn Morris <rgm@gnu.org>
7934 * mouse.el (mouse-drag-track):
7935 * speedbar.el (speedbar-frame-mode):
7936 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7938 2012-04-16 Leo Liu <sdl.web@gmail.com>
7940 * progmodes/python.el: Trivial cleanup.
7942 2012-04-16 Glenn Morris <rgm@gnu.org>
7944 * vc/vc.el (vc-string-prefix-p):
7945 * vc/pcvs-util.el (cvs-string-prefix-p):
7946 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7947 * mpc.el (mpc-string-prefix-p):
7948 Make all of these into obsolete aliases for string-prefix-p.
7950 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7952 * textmodes/two-column.el: Move custom options to the start.
7953 (frame-width): Remove compat definition.
7954 (2C-associate-buffer, 2C-dissociate):
7955 Use with-current-buffer rather than save-excursion.
7956 (2C-dissociate): Force a mode-line update.
7957 (2C-autoscroll): Use ignore-errors.
7959 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7962 * emacs-lisp/cl-extra.el (*random-state*):
7963 Remove unnecessary declaration.
7965 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7967 * play/cookie1.el (cookie-snarf):
7968 Give an explicit error if input file cannot be read.
7970 * play/yow.el (yow-file): Use expand-file-name rather than concat.
7972 * progmodes/perl-mode.el (c-macro-expand):
7973 Remove unnecessary autoload (it is in loaddefs.el).
7975 * textmodes/picture.el (picture-desired-column)
7976 (picture-update-desired-column): Convert comments to doc-strings.
7977 (picture-substitute): Remove function.
7978 (picture-mode-map): Initialize in the defvar.
7980 * woman.el: Remove eval-after-load for tar-mode.
7981 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7982 (woman-tar-extract-file): Autoload it.
7984 * frame.el (automatic-hscrolling): Make this alias obsolete.
7986 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
7988 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7989 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7990 (ispell-dictionary-base-alist): Revert to original XEmacs
7991 friendly version for default. [:alpha:] will be added in
7992 `ispell-set-spellchecker-params' if needed.
7994 2012-04-16 Chong Yidong <cyd@gnu.org>
7996 * image.el (imagemagick--file-regexp): New variable.
7997 (imagemagick-register-types): Use it.
7998 (imagemagick-types-inhibit): Add :set function. Allow new value
7999 of t to inhibit all types.
8001 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8002 so we can preload it.
8004 * loadup.el (fboundp): Preload regexp-opt, needed by
8005 imagemagick-register-types.
8007 2012-04-15 Chong Yidong <cyd@gnu.org>
8009 * frame.el (scrolling): Remove nearly unused customization group.
8011 * scroll-all.el (scroll-all-mode): Move to windows group.
8013 2012-04-15 Chong Yidong <cyd@gnu.org>
8015 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8017 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8019 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8020 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8022 2012-04-15 Glenn Morris <rgm@gnu.org>
8024 * simple.el (process-file-side-effects): Doc fix.
8026 2012-04-15 Glenn Morris <rgm@gnu.org>
8028 * international/mule-cmds.el (set-language-environment): Doc fix.
8030 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8032 * server.el (server-auth-key, server-generate-key): Doc fixes.
8033 (server-get-auth-key): Doc fix. Use `string-match-p'.
8034 (server-start): Reflow docstring.
8036 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8038 * server.el (server-generate-key): `called-interactively-p'
8039 requires a parameter.
8041 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8043 * server.el (server-auth-key): New variable.
8044 (server-generate-key, server-get-auth-key): New function.
8045 (server-start): Use the new variable and functions to allow
8046 setting a permanent server key (bug#9423).
8048 2012-04-14 Leo Liu <sdl.web@gmail.com>
8050 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8052 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8055 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8056 Emacs uses American spelling.
8058 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8060 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8061 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8062 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8063 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8065 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8067 * progmodes/which-func.el (which-func-modes): Change default.
8069 2012-04-14 Kim F. Storm <storm@cua.dk>
8071 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8072 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8074 2012-04-14 Chong Yidong <cyd@gnu.org>
8076 * custom.el (custom-theme-set-variables): Doc fix.
8078 2012-04-14 Glenn Morris <rgm@gnu.org>
8080 * international/mule.el (set-auto-coding-for-load): Doc fix.
8082 2012-04-14 Alan Mackenzie <acm@muc.de>
8084 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8085 imenu work again for Objective C Mode. Correct the *-index values,
8086 these having been disturbed by a previous change in 2011-08.
8088 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8089 Correct two search limits.
8091 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8095 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8097 * international/characters.el: Fix sorting.
8099 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8101 * international/characters.el: Add more missing Latin case pairs.
8103 2012-04-14 Glenn Morris <rgm@gnu.org>
8105 * files.el (dir-locals-set-class-variables): Doc fix.
8107 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8109 * international/characters.el: Add set-case-syntax-pair call for
8110 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8111 counterpart. (Bug#11209)
8113 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8115 2012-04-14 Glenn Morris <rgm@gnu.org>
8117 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8119 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8121 * textmodes/ispell.el (ispell-dictionary-base-alist):
8122 Add data for Hebrew.
8124 2012-04-14 Chong Yidong <cyd@gnu.org>
8126 * net/rcirc.el (rcirc-cmd-quit):
8127 Revert 2012-03-18 change (Bug#11192).
8129 2012-04-14 Glenn Morris <rgm@gnu.org>
8131 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8133 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8135 * minibuffer.el (completion-in-region-mode-map):
8136 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8138 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8140 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8142 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8144 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8145 to allow `C-M-f' and `C-M-b' to move to the nearest path
8146 separator (bug#9511).
8148 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8150 * avoid.el: Require cl when compiling. And also move the
8151 `provide' to the end.
8153 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8155 * avoid.el (mouse-avoidance-banish-position): New variable.
8156 (mouse-avoidance-banish-destination): Use it (bug#10165).
8158 2012-04-13 Leo Liu <sdl.web@gmail.com>
8160 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8162 2012-04-13 Ken Brown <kbrown@cornell.edu>
8164 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8165 this is no longer needed now that cygstart understands file:// URLs.
8166 (browse-url-filename-alist): For the same reason, don't modify
8167 file:// URLs on Cygwin.
8169 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8171 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8172 the region on shift if the binding is already shifted (bug#11221).
8174 2012-04-12 Glenn Morris <rgm@gnu.org>
8176 * mail/mailpost.el: Move to obsolete/.
8178 2012-04-12 Drew Adams <drew.adams@oracle.com>
8180 * imenu.el (imenu--generic-function): Ignore invisible definitions
8183 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8185 * hexl.el (hexl-bits): New variable.
8186 (hexl-options): Mention the variable in the doc string.
8187 (hexl-rulerise, hexl-line-displen): New functions.
8188 (hexl-mode): Mention the new variable.
8189 (hexl-mode, hexl-current-address, hexl-current-address):
8191 (hexl-ascii-start-column): New function.
8192 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8193 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8195 2012-04-12 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8197 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8198 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8199 the encoding, as expected by hunspell.
8201 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8203 * battery.el (battery--linux-sysfs-regexp): New const.
8204 (battery-status-function): Use it. Remove yeeloong special case.
8205 (battery-yeeloong-sysfs): Remove.
8206 (battery-echo-area-format): Remove yeeloong special case.
8208 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8211 Reported by Noah Friedman.
8213 * subr.el (read-passwd): Use read-string.
8215 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8217 * vcursor.el (vcursor-move): Increase the priority of the overlay
8220 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8222 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8223 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8225 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8227 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8228 define-minor-mode (bug#10760).
8230 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8232 * progmodes/grep.el (rgrep): Tweak the find command line so
8233 that directories matching `grep-find-ignored-files' won't be
8236 2012-04-11 Chong Yidong <cyd@gnu.org>
8238 * startup.el (command-line): Remove support for long-obsolete
8239 variable font-lock-face-attributes.
8241 2012-04-11 Glenn Morris <rgm@gnu.org>
8243 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8245 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8247 * window.el (window--state-get-1): Obey window-point-insertion-type.
8249 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8251 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8252 to previous function when point is on the first character of a
8253 function. Take care of that in `narrow-to-defun' (bug#6157).
8255 2012-04-11 Glenn Morris <rgm@gnu.org>
8257 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8258 not just file-errors.
8260 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8261 (vc-bzr-sha1): Use internal sha1.
8263 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8267 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8269 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8270 that start in the middle of the line (bug#10496).
8272 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8274 * battery.el (battery-linux-proc-acpi): Only one battery is
8275 discharged at a time, but that seems to confuse battery.el when
8276 computing `rate-type' for the battery not being discharged
8279 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8281 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8283 * international/quail.el: Use dolist and simplify.
8284 (quail-define-package, quail-update-keyboard-layout)
8285 (quail-define-rules): Use dolist.
8286 (quail-insert-kbd-layout, quail-get-translation): CSE.
8288 * tmm.el: Use dolist, remove left over hook.
8289 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8291 (calendar-load-hook): Don't mess with it.
8293 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8294 Use derived-mode-p. Run the diff asynchronously.
8296 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8298 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8300 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8302 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8303 (list-dynamic-libraries--loaded): New function.
8304 (list-dynamic-libraries--refresh): Use it.
8306 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8308 * progmodes/python.el (python-fill-paragraph):
8309 Make python-fill-region in a multiline string work when font-lock is
8310 disabled (bug#7018).
8312 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
8314 * language/european.el (cp775): Add oem/legacy (en)coding on
8315 DOS/MS Windows for the Baltic languages. There are still plenty
8316 of texts written in this encoding/codepage (bug#6519).
8318 2012-04-10 Glenn Morris <rgm@gnu.org>
8320 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8321 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8323 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8325 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8326 next-line "n" and previous-line "p" in order to make recentf more
8327 consistent with ibuffer, dired or org-mode (bug#9387).
8329 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8331 * image.el (put-image): Return the overlay created instead of the
8332 optional input string (bug#7834). Note that this may break code
8333 that is (for some reason or other) depending on `put-image'
8334 returning the string.
8336 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8338 * simple.el (zap-to-char): Allow zapping using input methods
8341 * textmodes/fill.el (fill-region): Leave point and mark where they
8342 were before filling (bug#5399).
8344 2012-04-09 Glenn Morris <rgm@gnu.org>
8346 * version.el (emacs-bzr-get-version):
8347 Handle lightweight checkouts of local branches.
8349 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8351 * international/characters.el: Recover lost case pairs. (Bug#11209)
8353 2012-04-09 Chong Yidong <cyd@gnu.org>
8355 * custom.el (custom-variable-p): Return nil for non-symbol
8356 arguments instead of signaling an error.
8357 (user-variable-p): Obsolete alias for custom-variable-p.
8359 * apropos.el (apropos-variable):
8360 * files-x.el (read-file-local-variable):
8361 * simple.el (set-variable):
8362 * woman.el (woman-mini-help):
8363 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8365 2012-04-09 Glenn Morris <rgm@gnu.org>
8367 * startup.el (normal-top-level): Don't look for leim-list.el
8368 in places where it will not be found. (Bug#910)
8370 * international/mule-cmds.el (set-default-coding-systems):
8371 * files.el (normal-mode):
8372 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8373 This function was removed with ucs-tables.el in 2008.
8375 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8377 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8378 ispell-encoding8-command to "-i", without a trailing space.
8379 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8380 separate command-line arguments, to specify the encoding, since
8381 that's how hunspell expects it.
8383 2012-04-08 Glenn Morris <rgm@gnu.org>
8385 * loadup.el: Load bindings before cus-start.
8386 This reduces somewhat the number of "rogue" settings in emacs -Q.
8388 2012-04-07 Glenn Morris <rgm@gnu.org>
8390 * version.el (emacs-bzr-get-version): New function.
8391 (emacs-bzr-version): New variable.
8392 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8393 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8395 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8397 * international/uni-bidi.el, international/uni-category.el:
8398 * international/uni-combining.el, international/uni-decimal.el:
8399 * international/uni-decomposition.el, international/uni-digit.el:
8400 * international/uni-lowercase.el, international/uni-mirrored.el:
8401 * international/uni-name.el, international/uni-numeric.el:
8402 * international/uni-titlecase.el, international/uni-uppercase.el:
8403 Update for Unicode 6.1.
8405 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8407 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8409 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8411 * window.el (shrink-window): Mention the `window-min-height'
8412 variable in the doc string.
8414 2012-04-05 Bastien Guerry <bzg@altern.org>
8416 * color.el (color-lighten-name): Fix typo.
8418 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * server.el (server--on-display-p): New function.
8421 (server--on-display-p): Use it.
8423 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8425 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8428 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8430 * comint.el (comint--common-quoted-suffix): Check string boundary
8431 before comparing (bug#11158).
8432 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8434 2012-04-04 Chong Yidong <cyd@gnu.org>
8436 * minibuffer.el (completion-extra-properties): Doc fix.
8438 * subr.el (delayed-warnings-hook): Doc fix.
8440 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8442 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8443 selection (Bug#11159).
8444 (epa-insert-keys): Inform that the default public key will be
8445 exported if no key is selected.
8447 2012-04-04 Richard Stallman <rms@gnu.org>
8449 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8451 2012-04-03 Chong Yidong <cyd@gnu.org>
8453 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8454 mail-insert-file, not its obsolete alias mail-attach-file.
8456 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8458 * notifications.el (notifications-notify): Fix docstring.
8460 2012-04-02 Glenn Morris <rgm@gnu.org>
8462 * emacs-lisp/authors.el (authors-aliases): Another addition.
8464 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8466 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8467 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8468 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8470 2012-04-01 Chong Yidong <cyd@gnu.org>
8472 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8473 Handle root directory properly.
8474 (copy-directory): Caller changed.
8476 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8477 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8479 2012-03-31 Glenn Morris <rgm@gnu.org>
8481 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8483 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8485 * calendar/calendar.el (calendar-window-list)
8486 (calendar-hide-window): Restore. (Bug#11140)
8487 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8489 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8491 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8493 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8494 Check if file is a symlink (Bug#10489).
8496 * files.el (copy-directory): Likewise.
8498 2012-03-30 Chong Yidong <cyd@gnu.org>
8500 * image.el (imagemagick-types-inhibit)
8501 (imagemagick-register-types): Doc fix.
8503 2012-03-30 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
8505 * textmodes/ispell.el (ispell-get-extended-character-mode):
8506 Disable extended-char-mode for hunspell. hunspell does not support it
8507 and treats ~word as ordinary words in pipe mode.
8509 2012-03-30 Glenn Morris <rgm@gnu.org>
8511 * tutorial.el (help-with-tutorial): Ensure local variables don't
8512 happen to make the buffer read-only. (Bug#11127)
8514 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8516 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8517 (perl-calculate-indent): Return `noindent' in strings.
8519 2012-03-28 Sam Steingold <sds@gnu.org>
8521 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8522 instead of the broken adhockery which does not prevent calendar
8523 buffers from being displayed at random after exit.
8524 (calendar-window-list, calendar-hide-window): Remove the broken
8527 2012-03-28 Glenn Morris <rgm@gnu.org>
8529 * replace.el (query-replace-map): Doc fix.
8531 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8533 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8534 contents. (Bug#11109)
8536 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8538 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8540 (avl-tree--check, avl-tree--check-node): New funs.
8542 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8544 * window.el (switch-to-visible-buffer): New option.
8545 (switch-to-prev-buffer, switch-to-next-buffer):
8546 Observe switch-to-visible-buffer. Make sure that checking for a window
8547 showing a buffer already is done on the same frame.
8549 2012-03-27 Glenn Morris <rgm@gnu.org>
8551 * startup.el (mail-host-address): Doc fix.
8553 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8558 2012-03-26 Ami Fischman <ami@fischman.org>
8560 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8562 2012-03-26 Glenn Morris <rgm@gnu.org>
8564 * files.el (save-buffers-kill-emacs): Doc fix.
8566 * startup.el (normal-top-level, command-line, command-line-1):
8567 Give them doc strings.
8569 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8571 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8572 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8574 2012-03-25 Chong Yidong <cyd@gnu.org>
8576 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8577 theme if it was previously enabled before (Bug#11031).
8579 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8580 spec with custom-face-get-current-spec if its :shown-value is not
8581 determined yet (Bug#9337).
8582 (customize-create-theme, custom-theme-revert): Doc fixes.
8584 * button.el (button-at): Minor addition to docstring.
8586 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8588 * vc/vc.el (vc-merge): Fix a prompt.
8590 2012-03-24 Chong Yidong <cyd@gnu.org>
8592 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8595 * button.el (button-at): Minor addition to docstring.
8597 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8599 * newcomment.el (comment-choose-indent): No space after BOL.
8601 2012-03-22 Sam Steingold <sds@gnu.org>
8603 * window.el (switch-to-prev-buffer): Revert last patch because the
8604 bug turned out to be an advertised feature (Elisp manual 28.14).
8606 2012-03-22 Glenn Morris <rgm@gnu.org>
8608 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8609 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8611 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8613 * net/network-stream.el (network-stream-open-starttls): Make error
8614 message under Windows be less misleading.
8616 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8618 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8619 understands (bug#9942).
8621 2012-03-22 Chong Yidong <cyd@gnu.org>
8623 * simple.el (end-of-visible-line): Handle return value of
8624 next-single-property-change properly (Bug#9371).
8626 2012-03-22 Kenichi Handa <handa@m17n.org>
8628 * international/quail.el (quail-insert-kbd-layout): Fix previous
8629 change. To avoid unwanted bidi reordering, use
8630 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8632 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8634 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8635 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8636 (ruby-beginning-of-indent): Be more careful with the difference
8637 between word-boundary and symbol boundary.
8638 (ruby-mode-syntax-table): Make : a symbol constituent.
8640 2012-03-21 Andreas Politz <politza@fh-trier.de>
8642 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8644 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * progmodes/etags.el (tags-completion-at-point-function):
8649 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8651 2012-03-21 Sam Steingold <sds@gnu.org>
8653 * progmodes/etags.el (tags-completion-at-point-function):
8654 Avoid the error when point is inside the pattern.
8656 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8658 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8661 2012-03-21 Drew Adams <drew.adams@oracle.com>
8663 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8665 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8667 * ido.el (ido-set-current-directory, ido-read-internal)
8668 (ido-choose-completion-string, ido-completion-help): Handle nil
8669 value of ido-completion-buffer (Bug#11008).
8671 2012-03-21 Sam Steingold <sds@gnu.org>
8673 * window.el (switch-to-prev-buffer): Do not switch to a visible
8674 window previous buffer, just like with the frame previous buffers.
8676 2012-03-21 Chong Yidong <cyd@gnu.org>
8678 * faces.el (make-face, make-empty-face, copy-face):
8679 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8682 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8684 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8685 (widget-complete): Remove broken use of it.
8687 2012-03-20 Chong Yidong <cyd@gnu.org>
8689 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8690 Use string-width and truncate-string-width to handle arbitrary
8693 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8695 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8696 to draw rectangles, not squares. (Regression introduced by revno
8697 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8699 2012-03-18 Chong Yidong <cyd@gnu.org>
8701 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8702 it is not yet defined (for temacs).
8704 2012-03-18 Leo Liu <sdl.web@gmail.com>
8706 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8708 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8710 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8711 (ispell-choices-win-default-height, ispell-silently-savep)
8712 (ispell-dictionary-alist, ispell-encoding8-command)
8713 (ispell-check-version, ispell-aspell-find-dictionary)
8714 (ispell-valid-dictionary-list, ispell-words-keyword)
8715 (ispell-get-word, ispell-internal-change-dictionary)
8716 (ispell-region, ispell-skip-region-list)
8717 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8718 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8719 (ispell-message-text-end, ispell-message)
8720 (ispell-buffer-local-parsing): Doc fix.
8722 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
8724 * htmlfontify.el: Add support for code block fontification for ODT
8726 (hfy-optimisations): Define new option
8728 (hfy-fontify-buffer): Honor above setting.
8729 (hfy-begin-span, hfy-end-span): New routines factored out form
8730 `hfy-fontify-buffer'.
8731 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8732 that permit insertion of custom tags.
8733 (hfy-fontify-buffer): Use above handlers.
8734 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8735 (hfy-face-to-css): Re-defined to be a variable.
8736 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
8737 over multiple runs. This is made possible by having the caller let
8738 bind a special variable `hfy-user-sheet-assoc'.
8739 (htmlfontify-string): New defun.
8740 (hfy-compile-face-map): Make sure that the last char in the
8741 buffer is correctly fontified.
8742 (hfy-face-resolve-face): Whitespace only change.
8744 2012-03-17 Eli Zaretskii <eliz@gnu.org>
8746 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8749 2012-03-16 Leo Liu <sdl.web@gmail.com>
8751 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8753 2012-03-16 Alan Mackenzie <acm@muc.de>
8755 Further optimise the handling of large macros.
8757 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8758 limit to a call of `c-literal-limits'.
8759 (c-determine-+ve-limit): New function.
8760 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8761 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8762 In CASE 5B, restrict a search limit to 500.
8763 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8765 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8766 Restrict macro bounds to +-500 from after-change's BEG END.
8768 2012-03-16 Leo Liu <sdl.web@gmail.com>
8770 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8772 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
8774 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8775 `special-mode' setting of `buffer-read-only'. (Bug#11010)
8777 2012-03-16 Glenn Morris <rgm@gnu.org>
8779 * view.el (view-buffer, view-buffer-other-window)
8780 (view-buffer-other-frame): Doc fixes re special mode-class.
8782 * subr.el (eval-after-load): If named feature is provided not from
8783 a file, run after-load forms. (Bug#10946)
8785 * calendar/calendar.el (calendar-insert-at-column):
8786 Handle non-unit-width characters a bit better. (Bug#10978)
8788 2012-03-15 Chong Yidong <cyd@gnu.org>
8790 * emacs-lisp/ring.el (ring-extend): New function.
8791 (ring-insert+extend): Extend the ring correctly (Bug#11019).
8793 * comint.el (comint-read-input-ring)
8794 (comint-add-to-input-history): Grow comint-input-ring lazily.
8796 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8799 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8801 * imenu.el: Fix multiple inheritance breakage (bug#9199).
8802 (imenu-add-to-menubar): Don't add a redundant index.
8803 (imenu-update-menubar): Handle a dynamically composed keymap.
8805 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
8807 * mail/sendmail.el (mail-encode-header):
8808 Bind rfc2047-encode-encoded-words to nil.
8810 2012-03-13 Glenn Morris <rgm@gnu.org>
8812 * calendar/calendar.el (calendar-string-spread):
8813 Handle non-unit-width characters a bit better. (Bug#10978)
8815 2012-03-13 Leo Liu <sdl.web@gmail.com>
8817 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8818 directory and file as argument (Bug#10822).
8820 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
8822 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8823 For dynamically generated code, follow $PC.
8824 (gdb-disassembly-handler-custom): Handle no function name case.
8826 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
8828 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8829 * emulation/ws-mode.el (ws-query-replace):
8830 * sort.el (sort-regexp-fields):
8831 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
8833 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8835 * dabbrev.el: Fix cycle completion order (bug#10963).
8836 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8837 (dabbrev-completion): Don't use an obarray; provide
8838 a cycle-sort-function.
8840 2012-03-12 Leo Liu <sdl.web@gmail.com>
8842 * simple.el (kill-new): Use equal-including-properties for comparison.
8843 (kill-do-not-save-duplicates): Doc fix.
8845 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8847 * dabbrev.el: Fix cycle completion (bug#10963).
8848 Use lexical binding and wrap to 80 columns.
8849 (dabbrev-completion): Delay computing the list of completions.
8851 2012-03-12 Kenichi Handa <handa@m17n.org>
8853 * international/quail.el (quail-insert-kbd-layout): Surround each
8854 row by LRO and PDF instead of inserting many LRMs. Pad the left
8855 and right of each non-spacing marks. Insert invisible space
8856 between lower and upper characters to prevent composition.
8858 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8860 * minibuffer.el (minibuffer-complete): Don't get confused when the
8861 function is run twice via different commands (bug#10958).
8862 (complete-with-action): Fix docstring.
8864 2012-03-12 Chong Yidong <cyd@gnu.org>
8866 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8867 (nxml-completion-at-point-function): New function.
8868 (nxml-mode): Use it.
8869 (nxml-bind-meta-tab-to-complete-flag): Default to t.
8871 * emacs-lisp/package.el (package-unpack, package-unpack-single):
8872 Load generated autoloads file before byte compiling (Bug#10970).
8873 (package--make-autoloads-and-compile): New helper fun.
8875 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
8877 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8879 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
8881 * autorevert.el (auto-revert-handler): Ensure, that
8882 file-readable-p is applied only for local files or in
8883 auto-revert-tail-mode.
8885 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
8887 * server.el (server-eval-at): Handle non-tcp connections.
8888 Decode result string.
8890 * server.el (server-msg-size): New constant.
8891 (server-reply-print): New function.
8892 (server-eval-and-print): Use it.
8893 (server-eval-at): Use server-quote-arg and server-unquote-arg.
8896 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
8898 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8901 2012-03-11 Chong Yidong <cyd@gnu.org>
8903 * simple.el (goto-line): Doc fix (Bug#9938).
8905 * subr.el (save-window-excursion): Doc fix (Bug#9979).
8907 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8908 when finished (Bug#10963).
8910 2012-03-11 Martin Rudalics <rudalics@gmx.at>
8912 * window.el (split-window-below): Fix bug in case where
8913 split-window-keep-point is nil (Bug#10971).
8915 2012-03-11 Juri Linkov <juri@jurta.org>
8917 * replace.el (replace-highlight): Set isearch-word to nil
8918 unconditionally. (Bug#10887)
8920 2012-03-10 Eli Zaretskii <eliz@gnu.org>
8922 * net/mairix.el (mairix-replace-invalid-chars): Rename from
8923 mairix-replace-illegal-chars; all callers changed. Don't remove
8924 ^, ~, and = characters: they are meaningful in mairix search specs.
8925 (mairix-widget-create-query): Add usage information about mairix
8926 search forms: negating words, searching for substrings, etc.
8928 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
8930 * international/fontset.el (font-encoding-alist): Add an entry for
8933 2012-03-10 Richard Stallman <rms@gnu.org>
8935 * mail/sendmail.el (mail-encode-header):
8936 Set rfc2047-encode-encoded-words.
8938 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8940 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8941 view buffer means not swapped.
8942 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8943 (rmail-write-region-annotate): Error if real text has disappeared.
8945 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8947 2012-03-10 Chong Yidong <cyd@gnu.org>
8949 * emulation/cua-rect.el (cua--init-rectangles):
8950 * emulation/cua-base.el (cua--init-keymaps):
8951 Add delete-forward-char to remappings (Bug#9666).
8953 2012-03-10 Martin Rudalics <rudalics@gmx.at>
8955 * speedbar.el (speedbar-unhighlight-one-tag-line):
8956 Avoid unhighlighting due to frame switching (Bug#10275).
8958 2012-03-10 Chong Yidong <cyd@gnu.org>
8960 * minibuffer.el (completion-in-region, completion-help-at-point):
8961 Give the completion field overlay a high priority (Bug#6830).
8963 * dired.el (dired-goto-file): Recognize absolute file name
8964 listings (Bug#7126).
8965 (dired-goto-file-1): New helper function.
8966 (dired-toggle-read-only): Inhibit warnings.
8968 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
8970 * net/dbus.el (dbus-property-handler): Return empty array if
8971 there are no properties.
8973 2012-03-09 Leo Liu <sdl.web@gmail.com>
8975 * savehist.el (savehist-printable): Stricter check for string
8978 2012-03-09 Eli Zaretskii <eliz@gnu.org>
8980 * mail/smtpmail.el (smtpmail-send-it):
8981 Bind coding-system-for-write to *-unix, so that FCC files are kept in
8984 2012-03-09 Glenn Morris <rgm@gnu.org>
8986 * files.el (dir-locals-find-file):
8987 Don't check result is regular, readable.
8988 (dir-locals-read-from-file): Demote errors.
8990 2012-03-08 Eli Zaretskii <eliz@gnu.org>
8992 * international/quail.el (quail-insert-kbd-layout):
8993 Insert invisible LRM characters before each character in a keyboard
8994 layout cell, to prevent their reordering by bidi display engine.
8995 For details, see the discussion in
8996 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8998 2012-03-08 Alan Mackenzie <acm@muc.de>
9000 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9001 the starting position; make it extend the marked region when
9002 invoked repeatedly - all under appropriate circumstances.
9003 Fixes bugs #5525, #10906.
9005 2012-03-08 Glenn Morris <rgm@gnu.org>
9007 * files.el (locate-dominating-file, dir-locals-find-file):
9008 Undo 2012-03-06 change.
9010 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9012 * international/quail.el (quail-help):
9013 Force bidi-paragraph-direction be left-to-right. See discussion in
9014 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9017 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9019 Avoid superfluous registering of signals. (Bug#10807)
9021 * notifications.el (notifications-on-action-object)
9022 (notifications-on-close-object): New defvars.
9023 (notifications-on-action-signal, notifications-on-closed-signal):
9024 Unregister the signal if not needed any longer.
9025 (notifications-notify): Register `notifications-action-signal' or
9026 `notifications-closed-signal', if :on-action or :on-close has been
9029 2012-03-07 Chong Yidong <cyd@gnu.org>
9031 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9034 2012-03-06 Glenn Morris <rgm@gnu.org>
9036 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9037 (x-disown-selection-internal, x-get-selection-internal):
9038 Doc fix (add arglist signatures). (Bug#10783)
9040 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9042 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9043 Handle breakpoints with no "type".
9045 2012-03-06 Glenn Morris <rgm@gnu.org>
9047 * files.el (locate-dominating-file): Add optional predicate argument.
9048 (dir-locals-find-file): Make use of above change.
9050 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9052 * info.el (Info-insert-dir): Also try "dir.gz".
9054 2012-03-06 Glenn Morris <rgm@gnu.org>
9056 * files.el (dir-locals-find-file):
9057 Ignore non-readable or non-regular files. (Bug#10928)
9059 * files.el (locate-dominating-file): Doc fix.
9061 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9063 * calendar/calendar.el (calendar-set-mode-line):
9064 `getenv' returns a string. (Bug#10951)
9066 2012-03-05 Leo Liu <sdl.web@gmail.com>
9068 * simple.el (backward-delete-char-untabify): Constrain point to
9071 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9073 2012-03-05 Chong Yidong <cyd@gnu.org>
9075 * simple.el (count-words): If called from Lisp, return the word
9076 count, for symmetry with `count-lines'. Arglist changed.
9077 (count-words--message): Args changed. Consolidate counting code
9078 from count-words and count-words-region.
9079 (count-words-region): Caller changed.
9080 (count-lines-region): Make it an obsolete alias.
9082 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9084 * saveplace.el (save-place-to-alist)
9085 (save-place-ignore-files-regexp): Allow value nil to disable this
9088 2012-03-04 Chong Yidong <cyd@gnu.org>
9090 * faces.el (face-spec-reset-face): For the default face, reset the
9091 attributes to default values (Bug#10748).
9093 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9095 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9096 previous patch: Check `message-send-mail-function', and not the
9097 default function (bug#10897).
9099 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9101 * notifications.el (notifications-on-action-signal)
9102 (notifications-on-closed-signal): Check for unique service name of
9103 incoming event. Fix error in removing entry.
9104 (top): Register for signals with wildcard service name.
9105 (notifications-notify): Use daemon unique service name for map entries.
9107 2012-03-04 Chong Yidong <cyd@gnu.org>
9109 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9111 2012-03-04 Glenn Morris <rgm@gnu.org>
9113 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9114 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9115 (expand-abbrev, define-abbrev-table): Doc fixes.
9117 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9119 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9120 `message-default-send-mail-function' and not `send-mail-function'
9121 when doing the prompting for `sendmail-query-once' before sending
9122 in Message buffers (bug#10897).
9124 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9125 This is inconsistent with all the other stream functions, which leave
9126 the setting up to the higher levels (if so wanted) (bug#10931).
9128 2012-03-02 Alan Mackenzie <acm@muc.de>
9130 Depessimize the handling of very large macros.
9132 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9133 (c-macro-cache-syntactic): New variables to implement a one
9134 element macro cache.
9135 (c-invalidate-macro-cache): New function.
9136 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9137 Adapt to use the new cache.
9138 (c-state-safe-place): Use better the cache of safe positions.
9139 (c-state-semi-nonlit-pos-cache)
9140 (c-state-semi-nonlit-pos-cache-limit):
9141 New variables for...
9142 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9143 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9144 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9145 Use c-state-semi-safe-place.
9147 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9148 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9150 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9152 * jka-compr.el (jka-compr-call-process):
9153 Apply `file-accessible-directory-p' only when the default directory is
9156 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9158 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9159 access of FILE2, if FILE1 does not exist.
9161 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9162 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9164 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9165 Add "PAGER=" to `process-environment'.
9167 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9169 * progmodes/sql.el: Bug fix
9170 (sql-get-login-ext): Save login values in globals.
9171 (sql-get-login): Use new version of `sql-get-login-ext'.
9172 (sql-interactive-mode): Set global `sql-connection' to nil.
9173 (sql-connect): Set global values for connection.
9174 (sql-product-interactive): Save global values as buffer local.
9176 2012-02-29 Leo Liu <sdl.web@gmail.com>
9178 * abbrev.el (define-abbrevs): Reset sys to nil.
9180 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9182 * files.el (file-equal-p): Rename from `files-equal-p'.
9183 Return nil when one or both files don't exist.
9184 (file-subdir-of-p): Now only top directory must exists,
9185 return nil if it doesn't.
9186 (copy-directory): No need to test with `file-subdir-of-p' after
9188 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9191 2012-02-28 Glenn Morris <rgm@gnu.org>
9193 * shell.el (shell-mode):
9194 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9195 * play/landmark.el (landmark-font-lock-face-O):
9196 * play/handwrite.el (handwrite):
9197 * play/gomoku.el (gomoku-O):
9198 * net/browse-url.el (browse-url-browser-display):
9199 * international/mule.el (define-charset):
9200 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9201 * filesets.el (filesets-find-file-delay):
9202 * eshell/em-xtra.el (eshell-xtra):
9203 * eshell/em-unix.el (eshell-grep):
9204 * emulation/viper.el (viper-mode):
9205 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9206 * emacs-lisp/easymenu.el (easy-menu-define):
9207 * calendar/timeclock.el (timeclock-use-display-time):
9209 * bookmark.el (bookmark-save-flag):
9210 Doc fix (standardize possessive apostrophe usage).
9212 2012-02-27 Chong Yidong <cyd@gnu.org>
9214 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9215 Fix key-binding lookup for ESC key (Bug#9146).
9217 * font-lock.el (font-lock-specified-p): Rename from
9218 font-lock-spec-present. Callers changed.
9220 2012-02-27 Daniel Hackney <dan@haxney.org>
9222 * emacs-lisp/package.el (package-compute-transaction):
9223 Handle holding a package version to t in package-load-list.
9225 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9227 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9228 (tramp-get-inode, tramp-get-device): Use cached values.
9230 2012-02-26 Alan Mackenzie <acm@muc.de>
9232 Check there is a font-lock specification before doing initial
9235 * font-core.el (font-lock-mode): Move the conditional from
9236 :after-hook to font-lock-initial-fontify.
9237 (font-lock-default-function): Move the check for a specification
9238 to font-lock-spec-present.
9240 * font-lock.el (font-lock-initial-fontify): Call ...
9241 (font-lock-spec-present): New function.
9243 2012-02-26 Jim Blandy <jimb@red-bean.com>
9245 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9246 (gdb-send): Apply it to the operand of the '-interpreter-exec
9247 console' command, so that we can pass arguments with (say) quotes
9248 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9250 2012-02-26 Chong Yidong <cyd@gnu.org>
9252 * help-fns.el (describe-function-1): Clarify description of
9253 remapping (Bug#10844).
9255 * files.el (files-equal-p): Doc fix.
9256 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9257 and quit the loop once a mismatch is found.
9259 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9261 * bs.el (bs--show-with-configuration): Don't throw an error
9262 if the window cannot be split; otherwise, subsequent calls to
9263 bs-show fail, restoring a stale window config. (Bug#10882)
9265 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9267 * term/ns-win.el (global-map): Bind ns-drag-file to
9268 ns-find-file (Bug#5855, Bug#10050).
9270 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9272 * calendar/parse-time.el (parse-time-string): Allow extractor to
9275 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9277 * net/tramp.el (tramp-file-name-for-operation):
9278 Add `files-equal-p' and `file-subdir-of-p'.
9280 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9281 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9282 Add COPY-CONTENTS argument.
9284 2012-02-25 Chong Yidong <cyd@gnu.org>
9286 Add custom groups for VC backends, for consistency with vc-bzr.
9288 * vc/vc-arch.el (vc-arch):
9289 * vc/vc-cvs.el (vc-cvs):
9290 * vc/vc-git.el (vc-git):
9291 * vc/vc-hg.el (vc-hg):
9292 * vc/vc-mtn.el (vc-mtn):
9293 * vc/vc-rcs.el (vc-rcs):
9294 * vc/vc-sccs.el (vc-sccs):
9295 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9296 All relevant defcustoms reassigned.
9298 2012-02-25 Chong Yidong <cyd@gnu.org>
9300 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9302 * term/x-win.el (x-initialize-window-system): Reduce default for
9303 x-selection-timeout to 5 seconds (Bug#8869).
9305 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9307 * files.el (files-equal-p, file-subdir-of-p): New functions.
9308 (copy-directory): Error when trying to copy a directory on itself.
9309 Add missing copy-contents arg to tramp handler.
9310 * dired-aux.el (dired-copy-file-recursive): Same.
9311 (dired-create-files): Modify destination when source is equal to
9312 dest when copying files.
9313 Return also when dest is a subdir of source. (Bug#10489)
9315 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9317 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9320 2012-02-23 Alan Mackenzie <acm@muc.de>
9322 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9323 parameter "after-hook:" to allow the expansion to run code after
9324 the execution of the mode hooks.
9326 * font-lock.el (font-lock-initial-fontify): New function extracted
9327 from font-lock-mode-internal.
9329 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9332 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9334 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9335 (completion--cache-all-sorted-completions): New function.
9336 (completion-all-sorted-completions): Use it.
9337 (completion--do-completion, minibuffer-force-complete):
9338 Use it to re-instate the flush hook.
9340 * icomplete.el (icomplete-completions): Replace last fix with a better
9343 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9345 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9346 when it might call us back infinitely (bug#10797).
9348 2012-02-23 Glenn Morris <rgm@gnu.org>
9350 * minibuffer.el (completion-category-overrides): Doc fix.
9352 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9355 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9357 2012-02-23 Glenn Morris <rgm@gnu.org>
9359 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9360 (authors-obsolete-files-regexps, authors-ignored-files)
9361 (authors-ambiguous-files, authors-renamed-files-alist):
9364 2012-02-23 Juri Linkov <juri@jurta.org>
9366 * isearch.el (isearch-occur): Sync interactive spec with occur's
9367 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9369 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9371 2012-02-22 Juri Linkov <juri@jurta.org>
9373 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9374 (ucs-insert): Doc fix. Check for hex digits in the string.
9375 Don't display `nil' in the error message. (Bug#10857)
9377 2012-02-22 Alan Mackenzie <acm@muc.de>
9379 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9381 2012-02-22 Glenn Morris <rgm@gnu.org>
9383 * ffap.el (ffap-c-path):
9384 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9386 2012-02-22 Chong Yidong <cyd@gnu.org>
9388 * custom.el (load-theme): Doc fix.
9390 2012-02-22 Glenn Morris <rgm@gnu.org>
9392 * dired-x.el (dired-guess-shell-alist-default):
9393 Remove escape sequences from nroff output. (Bug#172)
9395 2012-02-21 Glenn Morris <rgm@gnu.org>
9397 * vc/emerge.el (emerge-defvar-local):
9398 Set `permanent-local' property rather than unused `preserved'.
9400 * textmodes/picture.el (picture-delete-char): New alias.
9401 (picture-mode-map): Use it. (Bug#10860)
9402 (picture-mode): Doc fix.
9404 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9406 * newcomment.el (uncomment-region-default): Remove unused binding.
9408 2012-02-21 Glenn Morris <rgm@gnu.org>
9410 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9411 (picture-self-insert, picture-tab-chars): Doc fix.
9412 (picture-mode-map): Fix C-a, C-e.
9414 2012-02-20 Glenn Morris <rgm@gnu.org>
9416 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9418 2012-02-20 Leo Liu <sdl.web@gmail.com>
9420 * icomplete.el (icomplete-completions): Check FROM arg before
9421 passing to substring (Bug#10850).
9423 2012-02-19 Chong Yidong <cyd@gnu.org>
9425 * comint.el: Require ansi-color.
9426 (comint-output-filter-functions): Add ansi-color-process-output.
9428 * ansi-color.el: Don't set comint-output-filter-functions; it is
9429 now in the initial value defined in comint.el.
9430 (ansi-color-apply-face-function): New variable.
9431 (ansi-color-apply-on-region): Use it.
9432 (ansi-color-apply-overlay-face): New function.
9434 * shell.el (shell): No need to require ansi-color.
9435 (shell-mode): Use ansi-color-apply-face-function to highlight
9436 color escapes using font-lock-face property (Bug#10835).
9438 2012-02-19 Chong Yidong <cyd@gnu.org>
9440 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9441 mode-line formats (Bug#10839).
9443 2012-02-18 Glenn Morris <rgm@gnu.org>
9445 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9447 * mail/undigest.el (unforward-rmail-message): Doc fix.
9449 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9451 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9453 * international/characters.el (script-list): Sync with the latest
9454 Unicode Character Database.
9456 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9458 * international/titdic-cnv.el: Remove duplicate coding tag.
9459 * language/cham.el: Likewise.
9460 * language/tai-viet.el: Likewise.
9462 2012-02-18 Glenn Morris <rgm@gnu.org>
9464 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9465 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9466 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9467 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9468 * calendar/holidays.el (holiday-bahai-holidays)
9469 (calendar-holidays, list-holidays):
9470 Use utf-8 Bahá'à in doc-strings, menus, etc.
9472 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9474 * saveplace.el (save-place-ignore-files-regexp): New variable
9475 allowing for excluding files from saving their location of point.
9476 The default value matches the temporary commit message editing
9477 files from Git, SVN, Bazaar, and Mercurial.
9478 (save-place-to-alist): Use it.
9480 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9481 Stefan Monnier <monnier@iro.umontreal.ca>
9483 * newcomment.el (uncomment-region-default): Don't leave extra space
9484 when an arg is provided (bug#8150).
9486 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9488 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9490 2012-02-17 Glenn Morris <rgm@gnu.org>
9492 * net/socks.el: Require network-stream. (Bug#10599)
9494 2012-02-17 Kenichi Handa <handa@m17n.org>
9496 * international/charprop.el:
9497 * international/uni-name.el:
9498 * international/uni-old-name.el:
9499 * international/uni-comment.el: Regenerate.
9501 2012-02-16 Glenn Morris <rgm@gnu.org>
9503 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9504 Interactively in calendar buffer, give an error if not on a date.
9506 2012-02-15 Glenn Morris <rgm@gnu.org>
9508 * shell.el (shell-delimiter-argument-list):
9509 Revert 2011-02-17 change. (Bug#8027)
9511 2012-02-15 Chong Yidong <cyd@gnu.org>
9513 * minibuffer.el (completion-at-point-functions): Doc fix.
9515 * custom.el (defcustom): Doc fix; note use of defvar.
9517 2012-02-15 Glenn Morris <rgm@gnu.org>
9519 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9522 2012-02-14 Glenn Morris <rgm@gnu.org>
9524 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9526 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9528 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9529 way the ports list is computed.
9530 (smtpmail-query-smtp-server): Prompt the user for a port number if
9531 we can't connect to any of the standard ports (bug#10810).
9533 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9535 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9537 2012-02-13 Glenn Morris <rgm@gnu.org>
9539 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9541 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9543 * net/gnutls.el (gnutls-trustfiles): New variable.
9544 (gnutls-negotiate): Use it.
9546 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9548 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9549 does its stuff if Gnus is running.
9551 2012-02-13 Alan Mackenzie <acm@muc.de>
9553 Fix a loop in c-set-fl-decl-start.
9555 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9556 c-backward-syntactic-ws actually moves backwards.
9558 2012-02-13 Leo Liu <sdl.web@gmail.com>
9560 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9561 beginning so that all \C-o chars are removed.
9563 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9565 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9567 2012-02-12 Alan Mackenzie <acm@muc.de>
9569 Fix infinite loop with long macros.
9570 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9572 2012-02-12 Chong Yidong <cyd@gnu.org>
9574 * window.el (display-buffer): Doc fix (Bug#10785).
9576 2012-02-12 Glenn Morris <rgm@gnu.org>
9578 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9579 (x-disown-selection-internal, x-get-selection-internal):
9580 Sync docs with the xselect.c versions.
9582 * allout-widgets.el: Add missing license notice.
9584 2012-02-11 Glenn Morris <rgm@gnu.org>
9586 * select.el (x-get-selection-internal, x-own-selection-internal)
9587 (x-disown-selection-internal):
9588 * x-dnd.el (x-get-selection-internal): Update declarations.
9590 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9592 * window.el (window-sides-slots):
9593 * tool-bar.el (tool-bar-position):
9594 * term/xterm.el (xterm-extra-capabilities):
9595 * ses.el (ses-self-reference-early-detection):
9596 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9597 (verilog-auto-wire-type)
9598 (verilog-auto-delete-trailing-whitespace)
9599 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9600 (verilog-auto-tieoff-declaration):
9601 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9602 (sql-oracle-statement-starters, sql-oracle-scan-on):
9603 * progmodes/prolog.el (prolog-align-comments-flag)
9604 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9605 (prolog-left-indent-regexp, prolog-paren-indent-p)
9606 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9607 (prolog-types, prolog-mode-specificators)
9608 (prolog-determinism-specificators, prolog-directives)
9609 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9610 (prolog-electric-dot-flag)
9611 (prolog-electric-dot-full-predicate-template)
9612 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9613 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9614 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9615 (prolog-program-switches, prolog-prompt-regexp)
9616 (prolog-debug-on-string, prolog-debug-off-string)
9617 (prolog-trace-on-string, prolog-trace-off-string)
9618 (prolog-zip-on-string, prolog-zip-off-string)
9619 (prolog-use-standard-consult-compile-method-flag)
9620 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9621 (prolog-imenu-max-lines, prolog-info-predicate-index)
9622 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9623 (prolog-char-quote-workaround):
9624 * progmodes/cc-vars.el (c-defun-tactic):
9625 * net/tramp.el (tramp-encoding-command-interactive)
9626 (tramp-local-end-of-line):
9627 * net/soap-client.el (soap-client):
9628 * net/netrc.el (netrc-file):
9629 * net/gnutls.el (gnutls):
9630 * minibuffer.el (completion-category-overrides)
9631 (completion-cycle-threshold)
9632 (completion-pcm-complete-word-inserts-delimiters):
9633 * man.el (Man-name-local-regexp):
9634 * mail/feedmail.el (feedmail-display-full-frame):
9635 * international/characters.el (glyphless-char-display-control):
9636 * eshell/em-ls.el (eshell-ls-date-format):
9637 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9638 (lisp-lambda-list-keyword-parameter-indentation)
9639 (lisp-lambda-list-keyword-parameter-alignment):
9640 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9641 * dired-x.el (dired-omit-verbose):
9642 * cus-theme.el (custom-theme-allow-multiple-selections):
9643 * calc/calc.el (calc-highlight-selections-with-faces)
9644 (calc-lu-field-reference, calc-lu-power-reference)
9645 (calc-note-threshold):
9646 * battery.el (battery-mode-line-limit):
9647 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9648 (archive-7z-update):
9649 * allout.el (allout-prefixed-keybindings)
9650 (allout-unprefixed-keybindings)
9651 (allout-inhibit-auto-fill-on-headline)
9652 (allout-flattened-numbering-abbreviation):
9653 * allout-widgets.el (allout-widgets-auto-activation)
9654 (allout-widgets-icons-dark-subdir)
9655 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9656 (allout-widgets-theme-dark-background)
9657 (allout-widgets-theme-light-background)
9658 (allout-widgets-item-image-properties-emacs)
9659 (allout-widgets-item-image-properties-xemacs)
9660 (allout-widgets-run-unit-tests-on-load)
9661 (allout-widgets-time-decoration-activity)
9662 (allout-widgets-hook-error-post-time)
9663 (allout-widgets-track-decoration):
9664 Add missing :version tags to new defcustoms and defgroups.
9666 * progmodes/sql.el (sql-ansi-statement-starters)
9667 (sql-oracle-statement-starters): Add custom type.
9669 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9670 (prolog-system-version): Give it a type.
9672 2012-02-11 Eli Zaretskii <eliz@gnu.org>
9674 * term/pc-win.el (x-select-text, x-selection-owner-p)
9675 (x-own-selection-internal, x-disown-selection-internal)
9676 (x-get-selection-internal): Sync doc strings and argument lists
9677 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9679 2012-02-11 Leo Liu <sdl.web@gmail.com>
9681 * progmodes/python.el (python-end-of-statement): Fix infinite
9684 2012-02-10 Glenn Morris <rgm@gnu.org>
9686 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9687 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9689 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9691 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9692 about SMTP before checking the From header.
9694 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9695 into own function for reuse by emacsbug.el.
9697 2012-02-10 Leo Liu <sdl.web@gmail.com>
9699 * subr.el (condition-case-unless-debug): Rename from
9700 condition-case-no-debug. All callers changed.
9701 (with-demoted-errors): Fix caller.
9703 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9704 * nxml/rng-valid.el (rng-do-some-validation):
9705 * emacs-lisp/package.el (package-refresh-contents)
9706 (package-menu-execute):
9707 * desktop.el (desktop-create-buffer):
9708 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9710 2012-02-10 Glenn Morris <rgm@gnu.org>
9712 * textmodes/bibtex.el:
9713 Add missing :version tags for new/changed defcustoms.
9715 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9717 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
9719 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9720 (smtpmail-via-smtp): Use it, or fall back on the From address.
9721 (smtpmail-send-it): Ditto.
9723 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9726 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9727 (byte-compile-tmp-var): New const.
9728 (byte-compile-defvar): Use it to minimize .elc size.
9729 Just use `defvar' rather than simulate it (bug#10761).
9731 2012-02-09 Glenn Morris <rgm@gnu.org>
9733 * files.el (rename-uniquely): Doc fix. (Bug#3806)
9735 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9738 * progmodes/compile.el (compilation-error-screen-columns)
9739 (compilation-first-column, compilation-filter-start): Doc fixes.
9741 * vc/log-view.el (log-view-toggle-entry-display):
9742 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9744 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9745 (report-emacs-bug-can-use-xdg-email):
9746 (report-emacs-bug-insert-to-mailer): Doc fixes.
9747 (report-emacs-bug): Message fix.
9749 * net/browse-url.el (browse-url-can-use-xdg-open)
9750 (browse-url-xdg-open): Doc fixes.
9752 * electric.el (electric-indent-mode, electric-pair-mode)
9753 (electric-layout-rules, electric-layout-mode): Doc fixes.
9754 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9756 2012-02-08 Martin Rudalics <rudalics@gmx.at>
9758 * server.el (server-unselect-display): Don't inadvertently kill
9759 the current buffer. (Bug#10729)
9761 2012-02-08 Glenn Morris <rgm@gnu.org>
9763 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9764 (sql-list-table): Doc fixes.
9766 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9767 Comment out (does nothing).
9769 * completion.el (dynamic-completion-mode):
9770 * dirtrack.el (dirtrack-debug-mode):
9771 * electric.el (electric-layout-mode):
9772 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9773 * face-remap.el (text-scale-mode, buffer-face-mode):
9774 * iimage.el (iimage-mode):
9775 * image-mode.el (image-transform-mode):
9776 * minibuffer.el (completion-in-region-mode):
9777 * scroll-lock.el (scroll-lock-mode):
9778 * simple.el (next-error-follow-minor-mode):
9779 * tar-mode.el (tar-subfile-mode):
9780 * tooltip.el (tooltip-mode):
9781 * vcursor.el (vcursor-use-vcursor-map):
9782 * wid-browse.el (widget-minor-mode):
9783 * emulation/tpu-edt.el (tpu-edt-mode):
9784 * emulation/tpu-extras.el (tpu-cursor-free-mode):
9785 * international/iso-ascii.el (iso-ascii-mode):
9786 * language/thai-util.el (thai-word-mode):
9787 * mail/supercite.el (sc-minor-mode):
9788 * net/goto-addr.el (goto-address-mode):
9789 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9790 * progmodes/cwarn.el (cwarn-mode):
9791 * progmodes/flymake.el (flymake-mode):
9792 * progmodes/glasses.el (glasses-mode):
9793 * progmodes/hideshow.el (hs-minor-mode):
9794 * progmodes/pascal.el (pascal-outline-mode):
9795 * textmodes/enriched.el (enriched-mode):
9796 * vc/smerge-mode.el (smerge-mode):
9797 Doc fixes (minor mode argument).
9799 2012-02-07 Eli Zaretskii <eliz@gnu.org>
9801 * ls-lisp.el (ls-lisp-sanitize): New function.
9802 (ls-lisp-insert-directory): Use it to fix or remove any elements
9803 in file-alist with missing attributes. (Bug#4673)
9805 2012-02-07 Alan Mackenzie <acm@muc.de>
9807 Fix spurious recognition of c-in-knr-argdecl.
9809 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9810 putative K&R region.
9812 2012-02-07 Alan Mackenzie <acm@muc.de>
9814 * progmodes/cc-engine.el (c-forward-objc-directive):
9815 Prevent looping in "#pragma mark @implementation".
9817 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
9819 * notifications.el (notifications-on-closed-signal): Make `reason'
9820 optional. (Bug#10744)
9822 2012-02-07 Glenn Morris <rgm@gnu.org>
9824 * emacs-lisp/easy-mmode.el (define-minor-mode):
9825 Doc fixes for the macro and the mode it defines.
9827 * image.el (imagemagick-types-inhibit): Doc fix.
9829 * cus-start.el (imagemagick-render-type): Add it.
9831 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
9833 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9834 Set the default at load time, too, so that `font-lock-fontify-buffer'
9835 can be called without setting up the entire mode first. This fixes
9836 a bug in `mm-inline-text' with C MIME parts.
9838 2012-02-06 Chong Yidong <cyd@gnu.org>
9840 * simple.el (list-processes--refresh): Delete exited processes
9843 * comint.el (comint-next-prompt): next-single-char-property-change
9844 and prev-single-char-property-change never return nil (Bug#8657).
9846 * custom.el (defcustom): Doc fix (Bug#9711).
9848 2012-02-05 Chong Yidong <cyd@gnu.org>
9850 * cus-edit.el (custom-variable-reset-backup): Quote the value
9851 before storing it in the customized-value property (Bug#6712).
9852 (custom-display): Add a customization type tag.
9853 (custom-buffer-create-internal): Improve tooltip message.
9855 * wid-edit.el (widget-field-value-get): New optional arg to
9856 suppress trailing whitespace truncation.
9857 (character): Use it (Bug#2689).
9859 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
9861 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9862 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9864 2012-02-05 Chong Yidong <cyd@gnu.org>
9866 * cus-edit.el (custom-variable-value-create): For mismatched
9867 types, show the current value (Bug#7600).
9869 * custom.el (defcustom): Doc fix.
9871 2012-02-05 Glenn Morris <rgm@gnu.org>
9873 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9875 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
9877 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9878 (pp-buffer): Use `ignore-errors', `looking-at-p'.
9879 (pp-last-sexp): Use `looking-at-p'.
9881 2012-02-04 Glenn Morris <rgm@gnu.org>
9883 * files.el (revert-buffer):
9884 Doc fix (mention revert-buffer-in-progress-p).
9886 * emacs-lisp/ert-x.el (ert-simulate-command):
9887 Check deferred-action-list (which is obsolete) is bound.
9889 * subr.el (with-wrapper-hook): Doc fixes.
9891 * simple.el (filter-buffer-substring-functions)
9892 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9894 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
9896 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9897 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
9899 2012-02-04 Leo Liu <sdl.web@gmail.com>
9901 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9903 2012-02-04 Glenn Morris <rgm@gnu.org>
9905 * image.el (image-extension-data): Add obsolete alias.
9907 * isearch.el (isearch-update): Doc fix.
9909 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9911 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9913 2012-02-03 Glenn Morris <rgm@gnu.org>
9915 * image.el (image-animated-p): Doc fix. Use image-animated-types.
9916 (image-animate-timeout): Doc fix.
9918 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9920 2012-02-02 Glenn Morris <rgm@gnu.org>
9922 * server.el (server-auth-dir): Doc fix.
9923 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
9925 * subr.el (run-mode-hooks): Doc fix.
9927 2012-02-02 Juri Linkov <juri@jurta.org>
9929 * image-mode.el (image-toggle-display-image): Remove tautological
9930 `major-mode' from the `derived-mode-p' test.
9932 2012-02-02 Kenichi Handa <handa@m17n.org>
9934 * composite.el (compose-region): Cancel previous change.
9936 2012-02-02 Kenichi Handa <handa@m17n.org>
9938 * composite.el (compose-region, compose-string): Signal error for
9939 a null string component (Bug#6988).
9941 2012-02-01 Chong Yidong <cyd@gnu.org>
9943 * view.el (view-buffer-other-window, view-buffer-other-frame):
9944 Handle special modes like view-buffer (Bug#10650).
9945 (view-buffer): Simplify.
9947 * frame.el (set-frame-font): Tweak meaning of third argument.
9949 * dynamic-setting.el (font-setting-change-default-font):
9950 Use set-frame-font (Bug#9982).
9952 2012-02-01 Glenn Morris <rgm@gnu.org>
9954 * progmodes/compile.el (compilation-internal-error-properties):
9955 Respect compilation-first-column in the "*compilation*" buffer.
9957 * emacs-lisp/easy-mmode.el (define-minor-mode):
9958 Relax :variable's test for a named function.
9960 2012-01-31 Alan Mackenzie <acm@muc.de>
9962 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9965 2012-01-31 Chong Yidong <cyd@gnu.org>
9967 * frame.el (set-frame-font): New arg ALL-FRAMES.
9969 * menu-bar.el (menu-set-font): Use set-frame-font.
9971 * faces.el (face-spec-reset-face): Don't apply unspecified
9972 attribute values to the default face.
9974 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
9976 * progmodes/cwarn.el (cwarn): Remove dead link.
9977 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9978 Remove * from defcustom docstrings.
9979 (turn-on-cwarn-mode): Make obsolete.
9980 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9981 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9983 2012-01-31 Glenn Morris <rgm@gnu.org>
9985 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9986 Fix :variable handling of mode a symbol not equal to modefun.
9987 Allow named functions to be used as the cdr of :variable.
9989 2012-01-30 Glenn Morris <rgm@gnu.org>
9991 * emacs-lisp/authors.el (authors-fixed-entries):
9992 Remove reference to deleted file rnewspost.el.
9994 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
9996 * window.el (window-with-parameter): Remove unused variable `windows'.
9997 (window--side-check): Remove unused variable `code'.
9998 (window--resize-siblings): Remove unused variable `first'.
9999 (adjust-window-trailing-edge): Remove unused variable `failed'.
10000 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10001 Use `let', not `let*'.
10002 (balance-windows-2): Remove unused variable `found'.
10003 (window--state-put-2): Remove unused variable `splits'.
10004 (window-state-put): Remove unused variable `selected'.
10005 (same-window-p): Use `string-match-p'.
10006 (display-buffer-assq-regexp): Remove unused variable `value'.
10007 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10008 Mark argument ALIST as ignored.
10009 (pop-to-buffer): Remove unused variable `old-window'.
10011 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10013 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10014 and .lzma compressed files.
10016 2012-01-29 Chong Yidong <cyd@gnu.org>
10018 * frame.el (window-system-default-frame-alist): Doc fix.
10020 * dynamic-setting.el (font-setting-change-default-font): Don't
10021 change the default face if SET-FONT argument is non-nil (Bug#9982).
10023 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10025 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10027 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10029 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10030 breakpoints in files outside current directory (Bug#6098).
10032 2012-01-29 Chong Yidong <cyd@gnu.org>
10034 * progmodes/python.el: Require ansi-color at top-level.
10036 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10037 Define and use in Emacs Lisp mode (Bug#9360).
10038 (lisp-mode-abbrev-table): Add doc.
10039 (lisp-mode-variables): Don't set local-abbrev-table.
10040 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10042 2012-01-28 Roland Winkler <winkler@gnu.org>
10044 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10046 2012-01-28 Roland Winkler <winkler@gnu.org>
10048 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10049 (bibtex-set-dialect): Use it. Either set global values of
10050 dialect-dependent variables or bind these variables buffer-locally
10052 (bibtex-mode): Call bibtex-set-dialect via
10053 hack-local-variables-hook.
10054 (bibtex-dialect): Update docstring.
10055 Add safe-local-variable predicate.
10056 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10057 bibtex-set-dialect.
10058 (bibtex-mode-map): Define menu for each dialect.
10059 (bibtex-entry): Fix docstring.
10061 2012-01-28 Chong Yidong <cyd@gnu.org>
10063 * eshell/esh-arg.el (eshell-quote-argument): New function.
10065 * eshell/esh-ext.el (eshell-invoke-batch-file):
10066 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10067 first arg to eshell-parse-command (Bug#10523).
10069 2012-01-28 Drew Adams <drew.adams@oracle.com>
10071 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10072 `default-directory' is non-nil.
10074 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10076 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10077 line that displays system-configuration-options. (Bug#9924)
10079 2012-01-28 Drew Adams <drew.adams@oracle.com>
10081 * descr-text.el (describe-char): Show information about POS, in
10082 addition to information about the character at POS. Improve and
10083 update the doc string. Change "code point" to "code point in
10084 charset", to avoid confusion with the character's Unicode code
10085 point shown above that. (Bug#10129)
10087 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10089 * descr-text.el (describe-char): Show the raw character, not only
10090 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10091 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10094 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10096 * emacs-lisp/package.el (package-install):
10097 Run package-refresh-contents if there is no archive yet (Bug#9798).
10099 2012-01-28 Chong Yidong <cyd@gnu.org>
10101 * emacs-lisp/package.el (package-maybe-load-descriptor):
10102 New function, split from package-maybe-load-descriptor.
10103 (package-maybe-load-descriptor): Use it.
10104 (package-download-transaction): Fully load required packages
10105 inside the loop, so that `require' calls work (Bug#10593).
10106 (package-install): No need to call package-initialize now.
10108 2012-01-28 Chong Yidong <cyd@gnu.org>
10110 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10112 * tooltip.el (tooltip-mode): Doc fix.
10113 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10115 * frame.el (set-cursor-color): Doc fix (Bug#352).
10117 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10118 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10120 * cus-edit.el (custom-buffer-create-internal): Fix search button
10121 action (Bug#10542).
10122 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10124 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10126 * dired.el (dired-mark-files-regexp):
10127 Include any subdirectory components. (Bug#10445)
10129 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10131 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10132 Handle [host]:port syntax. (Bug#10533)
10134 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10136 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10138 2012-01-26 Glenn Morris <rgm@gnu.org>
10140 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10141 * term.el (term-raw-escape-map): Use Control-X-prefix.
10142 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10144 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10146 * window.el (window-state-get, window--state-get-1): Don't deal
10147 with fixed-sizeness of windows. Simplify code.
10149 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10151 * window.el (window--state-get-1, window--state-put-2):
10152 Don't save and restore the mark.
10154 2012-01-25 Chong Yidong <cyd@gnu.org>
10156 * custom.el (custom-variable-p): Doc fix.
10158 2012-01-25 Glenn Morris <rgm@gnu.org>
10160 * dired.el (dired-goto-file): Handle some of the more common
10161 characters that `ls -b' escapes. (Bug#10596)
10163 * progmodes/compile.el (compilation-next-error-function):
10164 Respect compilation-first-column in the "*compilation*" buffer.
10165 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10167 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10169 2012-01-24 Glenn Morris <rgm@gnu.org>
10171 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10173 2012-01-24 Julien Danjou <julien@danjou.info>
10175 * color.el (color-rgb-to-hsl): Fix value computing.
10176 (color-hue-to-rgb): New function.
10177 (color-hsl-to-rgb): New function.
10178 (color-clamp, color-saturate-hsl, color-saturate-name)
10179 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10180 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10182 2012-01-24 Glenn Morris <rgm@gnu.org>
10184 * vc/vc-rcs.el (vc-rcs-create-tag):
10185 * vc/vc-sccs.el (vc-sccs-create-tag):
10186 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10188 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10190 * eshell/esh-util.el (eshell-read-hosts-file):
10191 Skip comment lines. (Bug#10549)
10193 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10195 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10197 * subr.el (display-delayed-warnings): Doc fix.
10198 (collapse-delayed-warnings): New function to collapse identical
10200 (delayed-warnings-hook): Add it.
10202 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10204 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10206 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10207 (tramp-default-user-alist): Don't add "pscp".
10208 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10209 property "login-as", if set. (Bug#10530)
10211 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10213 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10214 "plink1" and "psftp". (Bug#10530)
10216 2012-01-21 Kenichi Handa <handa@m17n.org>
10218 * international/mule-cmds.el (prefer-coding-system): Show a
10219 warning message if the default value of file-name-coding-system
10222 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10224 * windmove.el (windmove-reference-loc):
10225 Fix windmove-reference-loc miscalculation.
10227 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10229 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10232 2012-01-21 Glenn Morris <rgm@gnu.org>
10234 * international/mule.el (auto-coding-alist): Add .tbz.
10236 * files.el (local-enable-local-variables): Doc fix.
10237 (inhibit-local-variables-regexps): Rename from
10238 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10239 Doc fix. Add some extensions from auto-coding-alist.
10240 (inhibit-local-variables-suffixes):
10241 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10242 (inhibit-local-variables-p):
10243 New function, extracted from set-auto-mode-1.
10244 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10245 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10246 (hack-local-variables): Doc fix. Make the mode-only case
10247 respect enable-local-variables and friends.
10248 Respect inhibit-local-variables-regexps for file-locals, but
10249 not for directory-locals.
10250 (set-visited-file-name):
10251 Take account of inhibit-local-variables-regexps.
10252 Whether it applies may change as the file name is changed.
10253 * jka-cmpr-hook.el (jka-compr-install):
10254 * jka-compr.el (jka-compr-uninstall):
10255 Update for inhibit-first-line-modes-suffixes name change.
10257 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10259 * help-macro.el (make-help-screen): Temporarily restore original
10260 binding for minor-mode-map-alist (Bug#10454).
10262 2012-01-19 Julien Danjou <julien@danjou.info>
10264 * color.el (color-name-to-rgb): Use the white color to find the max
10265 color component value and return correctly computed values.
10266 (color-name-to-rgb): Add missing float conversion for max value.
10268 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10270 * window.el (window--state-get-1, window-state-get): Do not use
10271 special state value for window-persistent-parameters.
10272 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10273 (window--state-put-2): Reset all window parameters to nil before
10274 assigning values of persistent parameters.
10276 2012-01-18 Alan Mackenzie <acm@muc.de>
10278 Eliminate sluggishness and hangs in fontification of "semicolon
10281 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10282 Change value 10000 -> 3000.
10283 (c-state-safe-place): Reformulate so it doesn't stack up an
10284 infinite number of wrong entries in c-state-nonlit-pos-cache.
10285 (c-determine-limit-get-base, c-determine-limit): New functions to
10286 determine backward search limits disregarding literals.
10287 (c-find-decl-spots): Amend commenting.
10288 (c-cheap-inside-bracelist-p): New function which detects "={".
10290 * progmodes/cc-fonts.el
10291 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10293 (c-font-lock-declarations): Fix an occurrence of point being
10294 undefined. Check additionally for point being in a bracelist or
10295 near a macro invocation without a semicolon so as to avoid a
10296 fruitless time consuming search for a declarator. Give a more
10297 precise search limit for declarators using the new
10300 2012-01-18 Glenn Morris <rgm@gnu.org>
10302 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10303 (set-auto-mode): Doc fixes.
10305 2012-01-17 Glenn Morris <rgm@gnu.org>
10307 * isearch.el (search-nonincremental-instead): Fix doc typo.
10309 * dired.el (dired-insert-directory): Handle newlines in directory name.
10310 (dired-build-subdir-alist): Unescape newlines in directory name.
10312 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10314 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10315 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10316 (tramp-action-terminal): Use it. (Bug#10530)
10318 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10320 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10322 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10324 * window.el (window-state-ignored-parameters): Remove variable.
10325 (window--state-get-1): Rename argument MARKERS to IGNORE.
10326 Handle persistent window parameters. Make copy of clone-of
10327 parameter only if requested. (Bug#10348)
10328 (window--state-put-2): Install a window parameter only if it has
10329 a non-nil value or an existing parameter shall be overwritten.
10331 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10333 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10335 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10337 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10338 don't pass the (nil) value of `upnode' to string-match.
10340 2012-01-14 Chong Yidong <cyd@gnu.org>
10342 * startup.el (command-line): Fix X resource class for cursorColor.
10343 Fix values recognized by the cursorBlink resource.
10345 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10347 * epg.el (epg--make-temp-file): Avoid permission race condition
10348 when running on old Emacs versions (bug#10403).
10350 2012-01-14 Glenn Morris <rgm@gnu.org>
10352 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10354 2012-01-13 Alan Mackenzie <acm@muc.de>
10356 Fix filling for when filladapt mode is enabled.
10358 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10359 c-mask-paragraph, pass in `fill-paragraph' rather than
10360 `fill-region-as-paragraph'. (This is a reversion of a previous
10362 * progmodes/cc-mode.el (c-basic-common-init):
10363 Make fill-paragraph-handle-comment buffer local and set it to nil.
10365 2012-01-13 Glenn Morris <rgm@gnu.org>
10367 * dired.el (dired-switches-escape-p): New function.
10368 (dired-insert-directory): Use dired-switches-escape-p.
10369 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10371 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10373 2012-01-12 Glenn Morris <rgm@gnu.org>
10375 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10376 changes in adaptive-fill-regexp. (Bug#10276)
10378 2012-01-11 Alan Mackenzie <acm@muc.de>
10380 Fix Emacs bug #10463 - put `widen's around the critical spots.
10382 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10383 widen around each invocation of c-state-pp-to-literal. Remove an
10384 unused let variable.
10386 2012-01-11 Glenn Morris <rgm@gnu.org>
10388 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10391 2012-01-10 Chong Yidong <cyd@gnu.org>
10393 * net/network-stream.el (network-stream-open-starttls):
10394 Avoid emitting a confusing error message when the server gives a bad
10395 response to the capability command.
10397 2012-01-10 Glenn Morris <rgm@gnu.org>
10399 * mail/unrmail.el (unrmail): Tweak previous change.
10401 2012-01-09 Chong Yidong <cyd@gnu.org>
10403 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10405 2012-01-08 Alan Mackenzie <acm@muc.de>
10407 Optimise font locking in long enum definitions.
10409 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10410 arm to a cond form to handle enums.
10411 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10412 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10414 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10416 * files.el (move-file-to-trash): Preserve default file modes on error.
10419 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10421 * faces.el (set-face-attribute): Clarify the meaning of the nil
10424 * subr.el (with-selected-frame): Mention that the selected frame
10425 is restored (bug#9980).
10427 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10430 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10431 (password-read): Don't autoload unused function.
10433 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10435 * progmodes/which-func.el (which-func-mode): Turn into a
10436 non-interactive function and mark as obsolete (bug#10428).
10438 2012-01-06 Chong Yidong <cyd@gnu.org>
10440 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10441 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10442 functions, along with 1 and -1.
10444 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10446 * time.el (display-time-load-average)
10447 (display-time-default-load-average): Doc fixes. See the thread
10449 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10452 2012-01-06 Glenn Morris <rgm@gnu.org>
10454 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10455 has no messages. (Bug#10377)
10457 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10458 than Info-edit. (Bug#10385)
10460 * time.el (display-time-load-average, display-time-next-load-average):
10463 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10464 local setting of buffer-read-only to the input buffer. (Bug#10419)
10466 * calendar/calendar.el (calendar-mode):
10467 Locally set scroll-margin to 0. (Bug#10379)
10469 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10471 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10473 2012-01-05 Glenn Morris <rgm@gnu.org>
10475 * eshell/em-unix.el (diff-no-select): Autoload it.
10476 (eshell/diff): Use diff-no-select. (Bug#10420)
10478 2012-01-05 Chong Yidong <cyd@gnu.org>
10480 * shell.el (shell-dynamic-complete-functions): Revert last change.
10481 (shell-command-completion-function): New function.
10482 (shell-completion-vars): Use it to implement
10483 shell-completion-execonly (Bug#10417).
10485 * custom.el (enable-theme): Don't set custom-safe-themes.
10487 * cus-theme.el (custom-theme-merge-theme):
10488 Ignore custom-enabled-themes and custom-safe-themes.
10490 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10492 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10493 first prompt in `sql-interacive-mode'.
10494 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10496 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10497 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10498 context of original buffer. Invoke `sql-login-hook'.
10500 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10502 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10503 letters in cite-prefix.
10505 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10507 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10509 2012-01-03 Chong Yidong <cyd@gnu.org>
10511 * shell.el (shell-dynamic-complete-functions):
10512 Put pcomplete-completions-at-point, so as to try
10513 comint-filename-completion first (Bug#10417).
10515 2012-01-02 Richard Stallman <rms@gnu.org>
10517 * battery.el (battery-status-function):
10518 Detect when to use battery-yeeloong-sysfs.
10519 (battery-echo-area-format): Add string for Yeeloong.
10520 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10521 (battery-yeeloong-sysfs): New function.
10523 2012-01-02 Chong Yidong <cyd@gnu.org>
10525 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10526 (dirtrack): Merge code for handling relative filenames in prompt
10527 from shell-dir-cookie-watcher.
10528 (dirtrack-debug-message): New arg to avoid excess format calls.
10530 * shell.el (shell-dir-cookie-re): Variable deleted.
10531 (shell-dir-cookie-watcher): Function deleted.
10532 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10533 with dirtrack-mode.
10535 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10537 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10538 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10541 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10543 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10545 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10547 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10548 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10550 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10552 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10553 also for alternative shells.
10554 (tramp-open-connection-setup-interactive-shell): Check, whether
10555 the shell is a busybox.
10556 (tramp-send-command): Don't suppress multiple prompts for
10557 busyboxes, it hurts.
10559 2011-12-28 Chong Yidong <cyd@gnu.org>
10561 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10562 (gdb-get-source-file): Move mode line update to
10563 gdb-get-source-file (Bug#10087).
10565 2011-12-25 Chong Yidong <cyd@gnu.org>
10567 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10568 gud-gdb-marker-filter without taking it as an argument.
10569 (gud-gdb-run-command-fetch-lines): Caller changed.
10570 (gud-gdb-completion-function): New variable.
10571 (gud-gdb-completion-at-point): Use it.
10572 (gud-gdb-completions-1): Split from gud-gdb-completions.
10574 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10575 function as separate arguments.
10576 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10577 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10578 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10579 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10580 (gdb-stopped, def-gdb-auto-update-trigger)
10581 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10582 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10584 (gud-gdbmi-completions): New function.
10585 (gdb): Use it for generating the completion table.
10587 2011-12-24 Alan Mackenzie <acm@muc.de>
10589 Introduce a mechanism to widen the region used in context font
10590 locking. Use this to protect declarations from losing their contexts.
10592 * progmodes/cc-langs.el (c-before-font-lock-functions):
10593 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10594 (c-before-context-fontification-functions): New defvar, a list of
10595 functions to be run just before context (etc.) font locking.
10597 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10598 New, functionality extracted from
10599 c-neutralize-syntax-in-and-mark-CPP.
10600 (c-in-after-change-fontification): New variable.
10601 (c-after-change): Set c-in-after-change-fontification.
10602 (c-set-fl-decl-start): Rejig its interface, so it can be called
10603 from both after-change and context fontifying.
10604 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10606 (c-standard-font-lock-fontify-region-function): New variable.
10607 (c-font-lock-fontify-region): New function.
10609 2011-12-24 Juri Linkov <juri@jurta.org>
10611 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10614 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10616 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10617 existence of source file. (Bug#10325)
10619 2011-12-23 Alan Mackenzie <acm@muc.de>
10621 Fix unstable fontification inside templates.
10623 * progmodes/cc-langs.el (c-before-font-lock-functions):
10624 Newly created from the singular version. The (c c++ objc) entry now
10625 additionally has c-set-fl-decl-start. The other languages (apart
10626 from AWK) have that as a single entry.
10628 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10629 The functionality for "local" declarations has been extracted to
10630 c-set-fl-decl-start.
10632 * progmodes/cc-mode.el (c-common-init, c-after-change):
10633 Changes due to pluralisation of c-before-font-lock-functions.
10634 (c-set-fl-decl-start): New function, extracted from
10635 c-font-lock-enclosing-decls and enhanced.
10637 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
10639 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10641 2011-12-22 Juri Linkov <juri@jurta.org>
10643 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10645 2011-12-22 Chong Yidong <cyd@gnu.org>
10647 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10649 2011-12-21 Drew Adams <drew.adams@oracle.com>
10651 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10653 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10655 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10657 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10659 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10660 highlighting and support. Fix up comments for capitalization.
10661 (cfengine-mode-debug): New var.
10662 (cfengine3-mode): Change the modeline indicator to "CFE3".
10663 (cfengine3-font-lock-keywords): Improve defun highlighting.
10664 (cfengine2-actions): Rename from `cfengine-actions'.
10665 (cfengine2-font-lock-keywords): Rename from
10666 `cfengine-font-lock-keywords'.
10667 (cfengine2-imenu-expression): Rename from
10668 `cfengine-imenu-expression'.
10669 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10670 (cfengine2-beginning-of-defun): Rename from
10671 `cfengine-beginning-of-defun'.
10672 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10673 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10674 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10675 modeline indicator to "CFE2".
10676 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10677 (cfengine-mode-abbrevs): Mark obsolete.
10679 2011-12-21 Chong Yidong <cyd@gnu.org>
10681 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10684 2011-12-20 Martin Rudalics <rudalics@gmx.at>
10686 * window.el (window-normalize-buffer-to-display): Remove.
10687 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10689 2011-12-19 Chong Yidong <cyd@gnu.org>
10691 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10692 Don't signal an error in a predicate function; return non-nil.
10693 (vc-dir-mark-file): Move the error here.
10694 (vc-dir-mark-unmark): If acting on the region, keep going if one
10695 of the entries cannot be marked/unmarked.
10696 (vc-dir-mark-all-files): If current entry is a directory, mark
10697 only child files, as documented.
10699 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10701 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10702 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10705 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10707 * term/ns-win.el (ns-get-selection-internal)
10708 (ns-store-selection-internal): Declare.
10709 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10710 Declare as obsolete.
10711 (ns-get-pasteboard, ns-paste-secondary):
10712 Use ns-get-selection-internal.
10713 (ns-set-pasteboard, ns-copy-including-secondary):
10714 Use ns-store-selection-internal.
10716 2011-12-17 Chong Yidong <cyd@gnu.org>
10718 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10719 (vc-deduce-fileset): Doc fix.
10721 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10723 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10725 2011-12-13 Sam Steingold <sds@gnu.org>
10727 * man.el (Man-getpage-in-background): When running under a
10728 window-system, ignore $MANWIDTH and $COLUMNS.
10730 2011-12-15 Kenichi Handa <handa@m17n.org>
10732 * language/ethio-util.el: Change coding tag to utf-8-emacs.
10733 (setup-ethiopic-environment-internal): Comment out key-binding for
10734 ethio-toggle-punctuation.
10736 2011-12-13 Alan Mackenzie <acm@muc.de>
10738 Add the switch statement to AWK Mode.
10740 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10741 "default" to the keywords regexp.
10743 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10744 expression as the rest.
10745 (c-nonlabel-token-key): Allow string literals for AWK.
10746 Refactor for the other modes.
10748 Large brace-block initialisation makes CC Mode slow: Fix.
10749 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10750 routines. Limit backward searching in c-font-lock-enclosing.decl.
10752 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10753 pp-state and literal type in addition to the limits.
10754 (c-state-safe-place): New defun, extracted from c-state-literal-at.
10755 (c-state-literal-at): Use the above new defun.
10756 (c-slow-in-literal, c-fast-in-literal): Remove.
10757 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10759 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10760 being in a literal. Add a limit for backward searching.
10762 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10765 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
10767 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10769 2011-12-13 Martin Rudalics <rudalics@gmx.at>
10771 * window.el (delete-other-windows): Use correct frame in call to
10772 window-with-parameter.
10774 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
10776 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10777 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10778 (makefile-gmake-statements, makefile-makepp-statements):
10779 Use it and add new makepp keywords.
10780 (makefile-makepp-font-lock-keywords): Add new patterns.
10781 (makefile-match-function-end): Match new [...] and [[...]].
10783 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
10785 * ses.el (ses-call-printer-return, ses-cell-property-get)
10786 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10787 (ses-create-cell-variable, ses-reset-header-string)
10788 (ses-cell-set-formula, ses-repair-cell-reference-all)
10789 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10790 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10791 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10792 (ses-aset-with-undo, ses-load, ses-truncate-cell)
10793 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10794 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10795 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10796 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10797 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10798 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10799 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10800 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10802 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
10804 * ses.el: The overall change is to add cell renaming, that is
10805 setting fancy names for cell symbols other than name matching
10806 "\\`[A-Z]+[0-9]+\\'" regexp .
10807 (ses-create-cell-variable): New defun.
10808 (ses-relocate-formula): Relocate formulas only for cells the
10809 symbols of which are not renamed, i.e. symbols whose names do not
10810 match regexp "\\`[A-Z]+[0-9]+\\'".
10811 (ses-relocate-all): Relocate values only for cells the symbols of
10812 which are not renamed.
10813 (ses-load): Create cells variables as the (ses-cell ...) are read,
10814 in order to check row col consistency with cell symbol name only
10815 for cells that are not renamed.
10816 (ses-replace-name-in-formula): New defun.
10817 (ses-rename-cell): New defun.
10819 2011-12-11 Chong Yidong <cyd@gnu.org>
10821 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10822 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10824 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
10826 * window.el (other-window): Fix docstring.
10828 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10830 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10831 `from' or `to' address before taking its substring.
10832 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10833 encoded name is chopped in the middle of the encoded string, and
10834 thus displayed encoded.
10836 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
10838 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10840 2011-12-10 Eli Zaretskii <eliz@gnu.org>
10842 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
10843 to use texinfo-update-node and commands that call it if the
10844 Texinfo file uses @node lines without next/prev/up pointers.
10845 Correct outdated description about texinfo-master-menu.
10846 (texinfo-all-menus-update, texinfo-master-menu)
10847 (texinfo-update-node, texinfo-every-node-update)
10848 (texinfo-multiple-files-update): Doc fix. Warn against updating
10849 all the @node lines.
10850 (texinfo-master-menu): Only call texinfo-update-node if the prefix
10851 argument is numeric. Explain better in the doc string what the
10852 function really does.
10853 (texinfo-insert-master-menu-list): Improve the error message
10854 displayed if there's no menu in the Top node.
10855 (Bug#2975) See also this thread:
10856 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10858 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
10860 * speedbar.el (speedbar-supported-extension-expressions):
10861 Add .adb and .ads, commonly used for Ada source code (bug#10256).
10863 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
10865 * printing.el (pr-mode-alist):
10866 * simple.el (filter-buffer-substring-functions)
10867 (completion-list-insert-choice-function):
10868 * window.el (window-with-parameter, window-atom-root)
10869 (window-sides-slots, window-size-fixed, window-min-delta)
10870 (window-max-delta, window--resize-mini-window)
10871 (window--resize-child-windows-normal, window-tree)
10872 (delete-other-windows, quit-window, split-window)
10873 (display-buffer-record-window, special-display-buffer-names)
10874 (special-display-regexps, special-display-popup-frame)
10875 (same-window-p, split-window-sensibly)
10876 (display-buffer-overriding-action, display-buffer-alist)
10877 (display-buffer-base-action, display-buffer, switch-to-buffer)
10878 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10879 (fit-window-to-buffer, recenter-positions)
10880 (mouse-autoselect-window-state, mouse-autoselect-window-select):
10881 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10882 and remove unneeded backslashes in docstrings.
10884 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10888 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10889 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10891 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10892 when reading the makefile (bug#10116).
10894 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10899 2011-12-06 Glenn Morris <rgm@gnu.org>
10901 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10903 2011-12-06 Chong Yidong <cyd@gnu.org>
10905 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10907 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
10909 * textmodes/table.el (table-shorten-cell): Fix typo.
10911 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
10913 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10915 2011-12-05 Eli Zaretskii <eliz@gnu.org>
10917 * descr-text.el (describe-char): Fix display of strong
10918 right-to-left characters and directional embeddings and overrides.
10920 * simple.el (what-cursor-position): Fix display of codepoints of
10921 strong right-to-left characters.
10923 2011-12-05 Chong Yidong <cyd@gnu.org>
10925 * faces.el (read-color): Doc fix.
10927 2011-12-05 Glenn Morris <rgm@gnu.org>
10929 * align.el (align--set-marker): Add doc-string.
10930 Don't try to move something that is not a marker. (Bug#10216)
10932 2011-12-04 Glenn Morris <rgm@gnu.org>
10934 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10935 overly zealous deletion of trailing whitespace.
10937 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
10939 * server.el (server-delete-client): On Windows, do not try to delete
10941 (server-process-filter): On Windows, treat requests for a tty frame as
10942 if they were for a GUI frame if the running server is in GUI mode.
10944 2011-12-03 Glenn Morris <rgm@gnu.org>
10946 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
10948 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
10950 * electric.el: Streamline electric-indent's hook.
10951 (electric-indent-chars): Revert to simple list.
10952 (electric-indent-functions): New var.
10953 (electric-indent-post-self-insert-function): Use it.
10955 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10956 there's no inferior buffer (bug#10196).
10957 (prolog-consult-compile): Don't use toggle-read-only.
10959 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
10961 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10962 interrupt. (Bug#10187)
10964 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
10966 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10969 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10972 2011-12-02 Juri Linkov <juri@jurta.org>
10974 * info.el (Info-search): Display "end of manual" when Isearch
10975 reaches the end of single-file Info manual. (Bug#9918)
10977 2011-12-02 Eli Zaretskii <eliz@gnu.org>
10979 * isearch.el (isearch-message-prefix): Run the input method part
10980 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
10982 2011-12-02 Juri Linkov <juri@jurta.org>
10984 * isearch.el (isearch-occur): Use `word-search-regexp' for
10986 (isearch-search-and-update): Add condition for `isearch-word' and
10987 call `word-search-regexp'. (Bug#10145)
10989 2011-12-01 Glenn Morris <rgm@gnu.org>
10991 * eshell/em-hist.el (eshell-hist-initialize):
10992 Handle eshell-history-size nil and HISTSIZE set or unset.
10993 (eshell-history-file-name, eshell-history-size): Fix custom type.
10995 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
10997 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10999 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11001 * progmodes/verilog-mode.el (verilog-pretty-expr):
11002 Rework verilog-pretty-expr to handle new assignment operators in system
11003 verilog, such as += *= and the like.
11004 (verilog-assignment-operator-re): Regular expression to find the
11005 assigment operator in a verilog assignment.
11006 (verilog-assignment-operation-re): Regular expression to find an
11007 assignment statement for pretty-expr.
11008 (verilog-in-attribute-p): Query returns true if point is in an
11009 attribute context; used to skip these for expression line up from
11011 (verilog-in-parameter-p): Query returns true if point is in an
11012 parameter definition context; used to skip these for expression
11013 line up from pretty-expr.
11014 (verilog-in-parenthesis-p): Query returns true if point is in a
11015 parenthetical expression, specifically ( ) but not [ ] or { };
11016 used by pretty-expr.
11017 (verilog-just-one-space): If there is no space, don't add one.
11018 (verilog-get-lineup-indent-2): Specifically skip just attribute
11019 contexts for expression lineup, rather than skipping all
11020 parenthetical expressions.
11021 (verilog-calculate-indent): Fix comment, and fix indent.
11022 (verilog-do-indent): Indent declarations in lists (suggested by
11024 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11026 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11029 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11031 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11032 parameters with embedded comments. Reported by Ray Stevens.
11033 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11034 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11035 Reported by Tim Holt.
11036 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11037 instantiated by upper module causing wrong expansion until AUTOed a
11038 second time. Reported by K C Buckenmaier.
11039 (verilog-diff-auto): Fix showing .* as a difference when
11040 `verilog-auto-star-save' off. Reported by Dan Dever.
11041 (verilog-auto-reset, verilog-read-always-signals)
11042 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11043 temporary signals in reset list if
11044 verilog-auto-reset-blocking-in-non is nil, and match assignment
11045 style to each signal's assignment type, bug381.
11046 Reported by Thomas Esposito.
11047 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11048 (verilog-uvm-statement-re): Support UVM indentation and
11049 highlighting, with old OVM keywords only.
11050 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11051 Support AUTOTIEOFF creating non-wire data types.
11052 Suggested by Jonathan Greenlaw.
11053 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11054 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11055 (verilog-inject-sense, verilog-read-inst-pins)
11056 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11057 Fix mismatching parenthesis inside commented out code when deleting
11058 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11059 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11060 non-numeric vector width. Reported by Alex Reed.
11061 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11062 detecting signals with parameter widths. Reported by Alex Reed.
11063 (verilog-auto-delete-trailing-whitespace):
11064 With `verilog-auto-delete-trailing-whitespace' remove trailing
11065 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11066 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11067 Fix verilog-scan-cache corruption when running user AUTO expansion
11068 hooks that call indentation routines.
11069 (verilog-simplify-range-expression): Fix typo ignoring lower case
11071 (verilog-delete-auto): Fix delete-autos to also remove user created
11072 automatics, as long as they start with AUTO.
11073 (verilog-batch-diff-auto, verilog-diff-auto)
11074 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11075 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11076 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11077 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11078 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11079 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11080 is disabled and its cache will get corrupt, causing AUTOS not to
11081 expand. Instead use only -quick functions.
11082 (verilog-scan-region): Fix scanning over escaped quotes.
11083 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11084 (verilog-re-search-backward-quick)
11085 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11086 related functions now ignore strings, to fix misparsing of strings
11087 with magic comments embedded in them.
11088 (verilog-read-auto-template):
11089 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11090 Reported by Brad Dobbie.
11091 (verilog-read-auto-template):
11092 Fix 'verilog-auto-inst-template-numbers' with comments.
11093 Reported by Brad Dobbie.
11094 (verilog-auto-inst, verilog-auto-inst-param)
11095 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11096 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11097 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11098 debugging templates without merge conflicts, bug357.
11099 Reported by Brad Dobbie.
11100 (verilog-read-auto-template):
11101 Fix verilog-auto-inst-template-numbers with multiple templates.
11102 Reported by Brad Dobbie.
11103 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11104 abbrevs so user won't be asked to save.
11105 (verilog-read-auto-lisp-present): Fix to start at beginning of
11106 buffer in case called outside of verilog-auto.
11107 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11108 to "X-2". Reported by Matthew Myers.
11109 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11110 all inputs from module templates. Reported by Leith Johnson.
11111 (verilog-module-inside-filename-p): Fix locating programs as with
11113 (verilog-auto-inst-port): Fix vl-width expressions when using
11114 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11115 (verilog-decls-get-regs, verilog-decls-get-signals,
11116 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11117 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11118 verilog-read-decls): Combine reg and wire structures into one var
11119 structure to represent SystemVerilog concepts.
11120 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11121 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11122 (verilog-auto-wire-type, verilog-insert-definition):
11123 Add verilog-auto-wire-type and AUTOLOGIC to support using
11124 SystemVerilog "logic" keyword instead of "wire"/"reg".
11125 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11126 to declares outputs that also have assignments (presumably in an
11127 ifdef or generate if so there's not a driver conflict).
11128 Reported by Matthew Myers.
11129 (verilog-auto-declare-nettype, verilog-insert-definition):
11130 Add verilog-auto-declare-nettype to fix declarations using
11131 `default_nettype none. Reported by Julian Gorfajn.
11132 (verilog-read-always-signals-recurse, verilog-read-decls)
11133 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11134 malformed end statement, bug325. Reported by Joshua Wise and
11136 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11137 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11138 when expanding .* in interfaces, bug320.
11139 Reported by Pierre-David Pfister.
11140 (verilog-read-module-name): Fix import statements between module
11141 name and open parenthesis, bug317.
11142 Reported by Pierre-David Pfister.
11143 (verilog-simplify-range-expression): Fix simplification of
11144 multiplications inside AUTOWIRE connections, bug303.
11145 (verilog-auto-inst-port): Support parameter expansion in
11146 multidimensional arrays.
11147 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11148 after "assert property". Reported by Julian Gorfajn.
11149 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11150 with multiplication, bug303.
11151 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11152 Reported by Jan Frode Lonnum.
11154 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11156 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11157 (hfy-shell-file-name, hfy-shell):
11158 * international/fontset.el (x-decompose-font-name): Fix typos.
11160 2011-11-29 Ken Brown <kbrown@cornell.edu>
11162 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11163 (gdb-version): Remove defvar.
11164 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11165 (gdb-gud-context-command, gdb-non-stop-handler)
11166 (gdb-current-context-command, gdb-stopped): Use it.
11167 (gdb-init-1): Enable pretty printing here.
11168 (gdb-non-stop-handler): Don't enable pretty-printing here.
11169 Check to see if the target supports non-stop mode; if not, turn off
11170 non-stop mode. Use the following.
11171 (gdb-check-target-async): New defun.
11172 (gud-watch, gdb-stopped): Fix whitespace.
11173 (gdb-get-source-file): Don't try to display the source file if
11174 `gdb-main-file' is nil.
11176 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11178 * align.el: Try to generate fewer markers (bug#10047).
11179 (align--set-marker): New macro.
11180 (align-region): Use it.
11182 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11186 2011-11-29 Chong Yidong <cyd@gnu.org>
11188 * indent.el (indent-for-tab-command, indent-according-to-mode):
11190 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11192 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11194 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11195 aware of remote file names. (Bug#10124)
11197 2011-11-29 Chong Yidong <cyd@gnu.org>
11199 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11201 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11203 * files.el (find-file): Don't use force-same-window (bug#10144).
11204 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11205 use pop-to-buffer if the selected window can't be used.
11206 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11208 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11210 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11213 2011-11-28 Chong Yidong <cyd@gnu.org>
11215 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11217 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11219 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11220 gdb-get-source-file-list on gdb-create-source-file-list.
11222 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11224 * whitespace.el (whitespace-newline): Use a different foreground
11225 color for 16-color light-background displays.
11227 2011-11-24 Chong Yidong <cyd@gnu.org>
11229 * window.el (display-buffer--special-action): Doc fix.
11231 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11233 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11234 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11235 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11236 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11237 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11238 (avl-tree-stack-first):
11239 * emacs-lisp/cconv.el (cconv--analyse-use):
11240 * net/gnutls.el (gnutls-negotiate): Fix typos.
11242 2011-11-24 Glenn Morris <rgm@gnu.org>
11244 * lpr.el (lpr-windows-system, lpr-lp-system):
11245 * mail/binhex.el (binhex-begin-line):
11246 * progmodes/grep.el (grep-history, grep-find-history):
11247 * textmodes/flyspell.el:
11248 * vc/pcvs-defs.el (cvs-global-menu):
11249 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11250 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11251 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11253 * net/tls.el: Fix case of "GnuTLS".
11255 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11257 * version.el (emacs-build-system): Give it a doc-string.
11259 2011-11-24 Juri Linkov <juri@jurta.org>
11261 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11263 2011-11-24 Glenn Morris <rgm@gnu.org>
11265 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11266 if called on a non-mime message just toggle the headers. (Bug#8006)
11268 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11270 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11271 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11272 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11273 (allout-rebullet-heading, allout-open-sibtopic)
11274 (allout-toggle-current-subtree-encryption)
11275 (allout-toggle-subtree-encryption, allout-encrypt-string)
11276 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11277 (allout-distinctive-bullets-string, allout-auto-activation):
11278 * window.el (window-normalize-buffer-to-display):
11279 * progmodes/verilog-mode.el (verilog-batch-indent):
11280 * textmodes/bibtex.el (bibtex-field-braces-opt)
11281 (bibtex-field-strings-opt):
11282 * vc/cvs-status.el (cvs-tree-merge):
11285 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11287 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11288 `non-essential' to t, in order to avoid remote connections.
11290 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11292 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11293 On MS-DOS and MS-Windows, compare with loaddefs.el
11294 case-insensitively.
11296 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11298 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11300 2011-11-23 Glenn Morris <rgm@gnu.org>
11302 * paths.el (rmail-file-name): Reformat the doc-string so that it
11305 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11306 (rmail-auto-file): Ignore case in the "special" field names,
11307 as mail-fetch-field does for all others.
11309 * mail/rmail.el (rmail-forward):
11310 * mail/rmailkwd.el (rmail-set-label):
11311 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11312 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11314 * mail/rmail.el (rmail-current-message): Doc fix.
11316 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11318 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11322 2011-11-22 Glenn Morris <rgm@gnu.org>
11324 * mail/rmailmm.el (test-rmail-mime-handler)
11325 (test-rmail-mime-bulk-handler)
11326 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11328 2011-11-21 Juri Linkov <juri@jurta.org>
11330 * calc/calc.el (calc-read-key-sequence):
11331 Let-bind `input-method-function' to nil. (Bug#10018)
11333 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11335 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11336 Tell the caller that the next line needs recomputation, even
11337 though it doesn't start a sexp (bug#10094).
11339 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11341 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11343 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11345 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11346 Use force-same-window.
11348 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11350 * descr-text.el (describe-char-unicode-data):
11351 * json.el (json-string-escape):
11352 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11353 (Footnote-unicode, Footnote-style-p):
11354 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11356 2011-11-20 Chong Yidong <cyd@gnu.org>
11358 * window.el (replace-buffer-in-windows): Restore interactive spec.
11360 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11362 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11364 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11365 (byte-compile-global-not-obsolete-vars): New var.
11366 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11368 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11370 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11372 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11373 * progmodes/pascal.el (electric-pascal-equal):
11374 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11375 * xml.el (xml-substitute-special): Fix typos.
11377 2011-11-20 Glenn Morris <rgm@gnu.org>
11379 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11380 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11382 (rmail-decode-mime-charset): Mark as obsolete.
11384 * mail/rmailsum.el (rmail-message-regexp-p-1):
11385 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11386 Before using mime functions, check they are set. (Bug#10077)
11388 2011-11-19 Juri Linkov <juri@jurta.org>
11390 * info.el (Info-finder-find-node): Use `package--builtins' instead
11391 of `package-alist'. Use node names formed by the pattern "Keyword "
11392 and the keyword name.
11394 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11396 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11398 2011-11-19 Juri Linkov <juri@jurta.org>
11400 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11401 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11402 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11403 `old-history', `old-history-forward'. Add let-binding
11404 `window-selected'. Remove calls to `kill-buffer',
11405 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11406 before calling `Info-find-node', so `Info-find-node-2' will reread
11407 the Info file. Restore window positions only when `window-selected'
11410 2011-11-19 Juri Linkov <juri@jurta.org>
11412 * isearch.el (isearch-lazy-highlight-new-loop):
11413 Remove condition `(not isearch-error)'. (Bug#9918)
11415 * misearch.el (multi-isearch-search-fun): Add condition
11416 `(not bound)' to ignore lazy-highlighting search.
11417 Add the search-failed message "end of multi" when the end of
11418 multi-sequence is reached. Uncapitalize the search-failed
11419 message "Repeat for next buffer".
11421 * info.el (Info-search): Add the search-failed message
11422 "end of the manual" when the end of the manual is reached
11425 2011-11-19 Juri Linkov <juri@jurta.org>
11427 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11428 Use non-destructive `remove' instead of `delete' because
11429 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11430 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11432 2011-11-19 Juri Linkov <juri@jurta.org>
11434 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11435 to nil instead of binding `search-ring' and `regexp-search-ring'.
11438 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11440 * simple.el (line-move): Force movement by logical lines for any
11441 hscrolled window, not only when auto-hscroll-mode is on.
11442 (line-move-visual): Update doc string to that effect. (Bug#10076)
11444 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11446 * language/european.el (macintosh): Define as alias for mac-roman.
11448 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11450 * mail/rmailmm.el (rmail-mime-display-header)
11451 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11452 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11453 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11454 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11455 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11457 (rmail-mime-entity-segment): To get past the tagline, move forward
11458 2 more lines, to account for the 2 empty lines that precede and
11459 follow the line with the buttons.
11460 (rmail-mime-update-tagline): Move one more line, to get past the
11461 empty line that follows the buttons in the tagline. (Bug#9520)
11463 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11465 * window.el (window-max-delta-1, window-min-delta-1)
11466 (window-min-size-1, window-state-get-1, window-state-put-1)
11467 (window-state-put-2): Use "window--" prefix.
11469 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11471 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11472 (smie-warning-count): New var.
11473 (smie-set-prec2tab): Use it.
11474 (smie-bnf->prec2): Improve warnings. Add docstring.
11475 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11476 (smie-bnf--set-class): New function.
11477 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11480 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11481 (compilation-error-properties, compilation-move-to-column):
11482 Handle compilation-first-column while in the target buffer.
11484 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11485 Don't hardcode point-min==1.
11487 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11488 (eshell-rewrite-for-command): Remove workaround.
11489 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11490 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11491 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11493 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11495 2011-11-17 Glenn Morris <rgm@gnu.org>
11497 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11498 Ignore buffer-local generated-autoload-file if it is the same
11499 as the global value. (Bug#10049)
11501 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11503 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11504 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11505 (reftex-toc-previous-heading, reftex-toc-max-level)
11506 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11507 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11508 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11509 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11510 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11511 (reftex-toc-rename-label, reftex-toc-visit-location)
11512 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11513 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11514 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11515 leaving "*toc*" only for references to the buffer.
11517 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11519 * window.el (window-resize, delete-window, split-window):
11520 Replace window-splits by window-combination-resize.
11521 * cus-start.el (window-splits): Replace by window-combination-resize.
11523 2011-11-17 Glenn Morris <rgm@gnu.org>
11525 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11526 Make bash entry derive from sh entry, not shell entry.
11528 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11530 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11533 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11535 * menu-bar.el (menu-bar-file-menu):
11536 * printing.el (pr-ps-utility):
11537 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11538 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11539 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11540 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11541 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11542 (icalendar--convert-cyclic-to-ical)
11543 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11544 (icalendar--convert-ical-to-diary)
11545 (icalendar--convert-recurring-to-diary)
11546 (icalendar--convert-non-recurring-all-day-to-diary)
11547 (icalendar-import-format-sample):
11548 * progmodes/idlw-shell.el (idlwave-shell-mode):
11549 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11550 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11551 (vhdl-ps-print-init): Fix typos.
11553 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11555 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11556 FSF and collapse date sequence, obscure author/maintainer email address
11557 better, remove extra version line, track relocation of author's webpage.
11559 * progmodes/python.el (python-pdbtrack-input-prompt)
11560 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11561 regular python pdb prompts. Adjustments shamelessly taken exactly as
11562 suggested in EmacsWiki page (tiny change):
11563 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11565 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11567 * expand.el (expand-pos, expand-index, expand-point):
11568 Remove redundant info from docstring.
11569 (expand-add-abbrevs): Doc fix.
11570 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11571 (expand-sample-perl-mode-expand-list): Fix typos.
11573 * net/dbus.el (dbus-event-member-name):
11574 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11575 * term/pc-win.el (msdos-create-frame-with-faces):
11576 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11578 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11580 * window.el (split-window, window-state-get-1)
11581 (window-state-put-1, window-state-put-2): Rename occurrences of
11582 window-nest to window-combination-limit.
11583 * cus-start.el (window-nest): Rename to window-combination-limit.
11585 2011-11-16 Chong Yidong <cyd@gnu.org>
11587 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11588 regexp (Bug#10033).
11590 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11593 `completing-read' will remove *Completions* and will preserve
11594 current-buffer for us.
11595 (tmm-add-prompt): Users of *Completions* will always (re)set its
11597 (tmm-old-comp-map): Remove.
11599 2011-11-16 Glenn Morris <rgm@gnu.org>
11601 * mail/rmailedit.el: Require rmailmm when compiling.
11602 (rmail-old-mime-state): New declaration.
11603 (rmail-edit-current-message): If editing a mime message,
11604 edit the "raw" message from the mbox buffer.
11605 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11607 2011-11-15 Glenn Morris <rgm@gnu.org>
11609 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11610 which wasn't being used. Add optional arg to force given state.
11611 (rmail-mime): Add optional arg to force given state.
11613 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11615 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11616 * frame.el (display-mm-dimensions-alist):
11617 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11618 (outline-move-subtree-down):
11619 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11620 (newsticker--treeview-do-get-node):
11621 * net/quickurl.el (quickurl-list-buffer-name):
11622 * progmodes/dcl-mode.el (dcl-mode):
11623 * progmodes/gdb-mi.el (gdb-mapcar*):
11624 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11626 2011-11-15 Glenn Morris <rgm@gnu.org>
11628 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11629 in a boolean sense, so just make it a boolean, and fix the doc.
11630 (rmail-show-mime-function, rmail-mime-feature)
11631 (rmail-require-mime-maybe): Doc fixes.
11632 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11634 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11636 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11638 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11639 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11640 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11641 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11643 2011-11-15 Glenn Morris <rgm@gnu.org>
11645 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11646 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11647 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11648 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11649 (rmail-mime, rmail-show-mime): Doc fixes.
11651 * term/ns-win.el (mode-line-frame-identification):
11652 Leave it alone. (Bug#10051)
11654 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11656 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11657 Handle empty buffers. (Bug#9978)
11659 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
11661 * international/mule.el (define-charset):
11662 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11663 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11664 * progmodes/verilog-mode.el (verilog-backward-token):
11665 * textmodes/ispell.el (lookup-words):
11666 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11668 2011-11-14 Glenn Morris <rgm@gnu.org>
11670 * progmodes/executable.el
11671 (executable-make-buffer-file-executable-if-script-p):
11672 Handle file-modes returning nil.
11674 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11675 message - not necessary, and causes problems. (Bug#9831)
11677 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11679 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11681 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11682 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11683 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11685 2011-11-12 Martin Rudalics <rudalics@gmx.at>
11687 * window.el (window-resize, delete-window): Use window-splits
11688 variable instead of function.
11689 (window-state-get-1, window-state-put-2, window-state-put):
11690 Don't deal with windows' splits status.
11692 2011-11-12 Glenn Morris <rgm@gnu.org>
11694 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11695 (apropos-documentation): Doc fixes.
11697 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
11699 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11700 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11702 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11704 * electric.el (electric-indent-post-self-insert-function): Make it
11705 possible for a char to only indent in some circumstances.
11706 (electric-indent-mode): Simplify.
11708 2011-11-11 Martin Rudalics <rudalics@gmx.at>
11710 * window.el (windows-with-parameter): Remove unused function.
11711 (windows-at-side): Rename to window-at-side-list.
11712 (window-check, window-atom-check, window-atom-check-1)
11713 (window-side-check, window-size-ignore, window-size-fixed-1)
11714 (window-in-direction-2): Prefix with "window--".
11715 (window-tree-1): Rename to window--subtree, fix doc-string.
11717 2011-11-11 Glenn Morris <rgm@gnu.org>
11719 * subr.el (eval-after-load): If FILE is already loaded,
11720 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11722 2011-11-10 Glenn Morris <rgm@gnu.org>
11724 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11725 Call svn via vc-svn-command rather than vc-do-command.
11726 (vc-svn-command): Add --non-interactive. (Bug#9993)
11727 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11729 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11730 Add toggle-read-only. (Bug#7292)
11731 * files.el (toggle-read-only): Mention that it should only
11732 be used interactively. (Bug#10006)
11734 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
11736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11737 Adjust regexp for OCaml warnings.
11739 * electric.el (electric-pair-post-self-insert-function): Let user
11740 turn it off buffer-locally (bug#9932).
11742 * progmodes/python.el (python-beginning-of-statement):
11743 Rewrite (bug#2703).
11745 * progmodes/compile.el: Better handle TABs (bug#9749).
11746 (compilation-internal-error-properties)
11747 (compilation-next-error-function): Obey the target buffer's
11748 compilation-error-screen-columns.
11750 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
11752 * progmodes/meta-mode.el: Remove obsolete comments.
11753 (meta-right-comment-regexp, meta-ignore-comment-regexp):
11754 Fix typos in docstrings.
11756 2011-11-09 Martin Rudalics <rudalics@gmx.at>
11758 * window.el (window-size-fixed-p): Rewrite doc-string.
11759 (window-resizable-p): Rename to window--resizable-p. Update callers.
11760 (window--resizable): New function. Make all callers of
11761 window-resizable call window--resizable instead.
11762 (window-resizable): Rewrite in terms of window--resizable.
11764 2011-11-08 Glenn Morris <rgm@gnu.org>
11766 * progmodes/delphi.el (delphi-mode-syntax-table):
11767 Let define-derived-mode define a proper syntax table. (Bug#9994)
11769 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11771 * window.el: Stay away from defsubst.
11772 (window-list-no-nils): Remove.
11773 (window-state-get-1, window-state-get): Use backquote instead.
11775 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11777 * emacs-lisp/find-func.el (find-function-read):
11778 Fix incorrect use of default argument in `completing-read'.
11780 2011-11-08 Martin Rudalics <rudalics@gmx.at>
11782 * window.el (display-buffer-function, special-display-function):
11783 Mention display-buffer-record-window but do not mention
11784 help-setup parameter in doc-strings.
11785 (window-min-delta): Fix doc-string typo.
11787 2011-11-08 Chong Yidong <cyd@gnu.org>
11789 * window.el (window-total-height, window-total-width): Doc fix.
11790 (window-body-size): Move from C.
11791 (window-body-height, window-body-width): Move to C.
11793 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * window.el: Make special-display like display-buffer-alist (bug#9532).
11796 (display-buffer--special-action): New function, morphed
11797 from display-buffer--special.
11798 (display-buffer): Use it to handle special-display-buffers at higher
11799 priority (just after display-buffer-alist).
11800 (display-buffer-fallback-action, display-buffer--other-frame-action)
11801 (pop-to-buffer-same-window): Remove display-buffer--special.
11803 2011-11-07 Glenn Morris <rgm@gnu.org>
11805 * calendar/cal-menu.el (cal-menu-set-date-title):
11806 Do nothing if not in a calendar. (Bug#9976)
11808 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * files.el (find-file): Always use selected-window.
11812 2011-11-07 Martin Rudalics <rudalics@gmx.at>
11814 * window.el (window-combinations): Make WINDOW argument
11815 mandatory. Rewrite doc-string.
11816 (walk-window-subtree, window-atom-check, window-min-delta)
11817 (window-max-delta, window--resize-this-window)
11818 (window--resize-root-window-vertically, window-tree)
11819 (balance-windows, window-state-put): Rewrite doc-strings as to
11820 not mention the term "subwindow".
11821 (window--resize-subwindows-skip-p): Rename to
11822 window--resize-child-windows-skip-p.
11823 (window--resize-subwindows-normal): Rename to
11824 window--resize-child-windows-normal.
11825 (window--resize-subwindows): Rename to
11826 window--resize-child-windows.
11827 (window-or-subwindow-p): Rename to window--in-subtree-p.
11829 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11831 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11832 Ensure that mbox format messages end in two newlines (Bug#9974).
11834 2011-11-06 Chong Yidong <cyd@gnu.org>
11836 * window.el (window-combination-p): Function deleted; its
11837 side-effect is not used in any existing code.
11838 (window-combinations, window-combined-p): Call window-*-child
11841 2011-11-05 Chong Yidong <cyd@gnu.org>
11843 * window.el (window-valid-p): Rename from window-any-p.
11844 (window-size-ignore, window-state-get): Callers changed.
11845 (window-normalize-window): Rename from window-normalize-any-window.
11846 New arg LIVE-ONLY, replacing window-normalize-live-window.
11847 (window-normalize-live-window): Delete.
11848 (window-combination-p, window-combined-p, window-combinations)
11849 (walk-window-subtree, window-atom-root, window-min-size)
11850 (window-sizable, window-sizable-p, window-size-fixed-p)
11851 (window-min-delta, window-max-delta, window-resizable)
11852 (window-resizable-p, window-full-height-p, window-full-width-p)
11853 (window-current-scroll-bars, window-point-1, set-window-point-1)
11854 (window-at-side-p, window-in-direction, window-resize)
11855 (adjust-window-trailing-edge, maximize-window, minimize-window)
11856 (window-deletable-p, delete-window, delete-other-windows)
11857 (record-window-buffer, unrecord-window-buffer)
11858 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11859 (quit-window, split-window, window-state-put)
11860 (set-window-text-height, fit-window-to-buffer)
11861 (shrink-window-if-larger-than-buffer): Callers changed.
11863 2011-11-04 Eli Zaretskii <eliz@gnu.org>
11865 * mail/rmail.el (rmail-simplified-subject): Decode subject with
11866 rfc2047-decode-string.
11867 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11870 * window.el (window-body-height, window-body-width): Mention in
11871 the doc string that the return values are in frame's canonical
11874 2011-11-03 Alan Mackenzie <acm@muc.de>
11876 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11877 change in cc-engine.el.
11879 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
11881 * window.el (switch-to-buffer): Use `force-same-window' interactively.
11883 2011-11-02 Martin Rudalics <rudalics@gmx.at>
11885 * window.el (quit-window): Call unrecord-window-buffer after
11886 showing another buffer in the window. (Bug#9937)
11887 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11889 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
11891 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11892 Accept status with more than 9 shelves. (Bug#9935)
11893 Reported by Colin D Bennett <colin@gibibit.com>.
11895 2011-11-01 Martin Rudalics <rudalics@gmx.at>
11897 * help.el (with-help-window): Don't reference
11898 temp-buffer-show-specifiers in doc-string.
11900 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
11902 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11905 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
11907 * whitespace.el: New version 13.2.2.
11908 (whitespace-newline-mode): Disable properly. Reported by Sarah
11911 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
11913 * net/newst-treeview.el: Remove "Time-stamp".
11914 (newsticker--group-manage-orphan-feeds): Do not call
11915 newsticker--treeview-tree-update.
11916 (newsticker-treeview-update, newsticker-treeview):
11917 Call newsticker--treeview-tree-update if necessary.
11919 2011-10-30 Martin Rudalics <rudalics@gmx.at>
11921 * window.el (window-iso-combination-p, window-iso-combined-p)
11922 (window-iso-combinations): Remove "iso-" infix.
11923 Suggested by Chong Yidong.
11924 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11925 (window-max-delta-1, window-resize, window--resize-siblings)
11926 (window--resize-this-window, adjust-window-trailing-edge)
11927 (split-window, balance-windows-1)
11928 (shrink-window-if-larger-than-buffer):
11929 * calendar/calendar.el (calendar-generate-window):
11930 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11932 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
11934 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11935 in place (bug#9907).
11936 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11937 (eshell-rewrite-if-command, eshell-rewrite-for-command)
11938 (eshell-structure-basic-command, eshell-rewrite-while-command)
11939 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11940 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11941 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11942 (eshell-do-pipelines-synchronously, eshell-eval-command):
11943 Use backquotes and prefer setq to set.
11944 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11945 (eshell-macrop): Use functionp.
11946 (eshell-do-eval): Handle multiple expressions in `while' body.
11948 2011-10-30 Chong Yidong <cyd@gnu.org>
11950 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11951 instead of set-mark (Bug#9810).
11953 2011-10-30 Chong Yidong <cyd@gnu.org>
11955 * window.el (split-window-below, split-window-right): Rename from
11956 split-window-above-each-other and split-window-side-by-side
11957 respectively. All callers changed.
11958 (split-window-sensibly, split-window-sensibly): Use them.
11959 (split-window-keep-point): Doc fix.
11961 * isearch.el: Add isearch-scroll property to split-window-below
11962 and split-window-right.
11964 * follow.el (follow-mode):
11965 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11966 * progmodes/ada-xref.el (ada-gdb-application):
11967 * emulation/vip.el (vip-buffer-in-two-windows):
11968 * image-dired.el (image-dired-dired-with-window-configuration):
11969 * dired-x.el (dired-do-find-marked-files):
11970 * dired.el (dired-pop-to-buffer):
11971 * bs.el (bs--show-with-configuration):
11972 * vc/emerge.el (emerge-setup-windows):
11973 * textmodes/two-column.el (2C-two-columns):
11974 * textmodes/reftex-toc.el (reftex-toc):
11975 * progmodes/gdb-mi.el (gdb-setup-windows):
11976 * progmodes/fortran.el (fortran-window-create):
11977 * net/newst-treeview.el (newsticker--treeview-window-init):
11978 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11979 * emulation/tpu-edt.el (tpu-gold-map):
11980 * emulation/crisp.el (crisp-mode-map):
11981 * calendar/calendar.el (calendar-basic-setup): Callers changed.
11983 2011-10-29 Chong Yidong <cyd@gnu.org>
11985 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11987 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11989 * textmodes/flyspell.el (flyspell-word): Fix char offset for
11990 forged Ispell output (Bug#7904).
11992 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11994 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
11996 * doc-view.el: Avoid ugly errors about not finding nil.
11997 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11998 (doc-view-dvipdf-program, doc-view-unoconv-program)
11999 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12000 Avoid nil or absolute file name as default value.
12001 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12003 2011-10-28 Alan Mackenzie <acm@muc.de>
12005 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12007 2011-10-28 Alan Mackenzie <acm@muc.de>
12009 Amend the handling of c-beginning/end-of-defun in nested declaration
12012 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12013 cc-langs.el. Change it to a defcustom.
12015 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12018 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12019 Prevent "class foo : bar" being spuriously recognized as a label.
12021 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12022 Add parameter `inclusive' (to include enclosing braces in the region).
12023 (c-widen-to-enclosing-decl-scope): New function.
12024 (c-while-widening-to-decl-block): New macro.
12025 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12026 outward for defun boundaries, and correspondingly change symbol
12027 `respect-enclosure' to `go-outward'.
12028 (c-declaration-limits): Change algorithm to report only the "innermost"
12029 defun's boundaries.
12031 2011-10-28 Deniz Dogan <deniz@dogan.se>
12033 * net/rcirc.el (rcirc-mode): Use hard newlines.
12035 2011-10-28 Alan Mackenzie <acm@muc.de>
12037 Amend to indent and fontify macros "which include their own semicolon"
12038 correctly, using the "virtual semicolon" mechanism.
12040 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12042 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12043 Recode to scan one line at a time rather than having \n and \r
12044 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12045 (c-forward-label): Amend for virtual semicolons.
12046 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12048 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12049 of the new C macros.
12051 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12052 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12053 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12054 (c-opt-cpp-macro-define): Make into a full language variable.
12055 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12056 AWK Mode (including \n, \r) removed, no longer needed.
12058 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12059 Invoke c-make-macro-with-semi-re.
12061 * progmodes/cc-vars.el (c-macro-with-semi-re):
12062 (c-macro-names-with-semicolon): New variables.
12063 (c-make-macro-with-semi-re): New function.
12065 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12067 * vc/log-edit.el: Fill empty field rather than adding new one.
12068 (log-edit-add-field): New function.
12069 (log-edit-insert-changelog): Use it.
12071 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12073 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12075 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12077 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12078 (gdb--check-interpreter): New function.
12081 2011-10-27 Glenn Morris <rgm@gnu.org>
12083 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12084 (least-positive-float, least-negative-float)
12085 (least-positive-normalized-float, least-negative-normalized-float)
12086 (float-epsilon, float-negative-epsilon):
12087 Remove unnecessary declarations.
12089 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12090 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12091 (least-positive-float, least-negative-float)
12092 (least-positive-normalized-float, least-negative-normalized-float)
12093 (float-epsilon, float-negative-epsilon): Add doc-strings,
12094 based on those in cl.texi.
12096 * files.el (set-visited-file-name): If the major-mode changed,
12097 reload the local variables. (Bug#9796)
12099 2011-10-27 Chong Yidong <cyd@gnu.org>
12101 * subr.el (change-major-mode-after-body-hook): New hook.
12102 (run-mode-hooks): Run it.
12104 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12105 Use change-major-mode-before-body-hook.
12107 * simple.el (fundamental-mode):
12108 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12109 change introducing fundamental-mode-hook.
12111 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12113 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12115 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12117 * ido.el (ido-file-name-all-completions-1): Do not require
12118 tramp.el explicitly. (Bug#7583)
12120 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12122 * progmodes/octave-mod.el:
12123 * progmodes/octave-inf.el: Update maintainer.
12125 2011-10-26 Chong Yidong <cyd@gnu.org>
12127 * subr.el (with-wrapper-hook): Rewrite doc.
12129 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12131 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12132 filenames "/method:foo:". (Bug#9793)
12134 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12136 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12139 2011-10-24 Glenn Morris <rgm@gnu.org>
12141 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12143 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12145 * notifications.el: Add the requirement of a running D-Bus session
12146 bus to the Commentary.
12148 2011-10-24 Juri Linkov <juri@jurta.org>
12150 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12151 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12154 2011-10-24 Juri Linkov <juri@jurta.org>
12156 * info.el (Info-following-node-name-re): Add newline to the list
12157 of allowed characters for leading space. (Bug#9824)
12159 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12161 * progmodes/octave-inf.el (inferior-octave-mode-map):
12162 Fix C-c C-h binding.
12163 * progmodes/octave-mod.el (octave-help): Remove.
12165 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12167 Sync with Tramp 2.2.3.
12169 * net/tramp-cache.el (top): Pacify byte-compiler using
12170 `init-file-user' and `site-run-file'.
12172 * net/trampver.el: Update release number.
12174 2011-10-23 Chong Yidong <cyd@gnu.org>
12176 * files.el (toggle-read-only): Remove obsolete comment about
12179 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12180 for toggle-read-only. Note that this hasn't called vc-next-action
12181 since 2008-05-02, though it wasn't documented at the time.
12183 * vc/ediff-init.el (ediff-toggle-read-only-function):
12184 Use toggle-read-only.
12186 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12188 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12191 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12192 correct faulty logical expression.
12193 (c-parse-state-state, c-record-parse-state-state):
12194 (c-replay-parse-state-state): New defvar/defuns.
12195 (c-debug-parse-state): Use new functions.
12197 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12199 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12200 last fix. Use window-in-direction correctly.
12202 2011-10-21 Chong Yidong <cyd@gnu.org>
12204 * progmodes/idlwave.el (idlwave-mode):
12205 * progmodes/vera-mode.el (vera-mode): No need to set
12206 require-final-newline; that's done in prog-mode.
12207 Suggested by Stefan Monnier.
12209 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12211 * mouse.el (mouse-drag-window-above)
12212 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12213 (mouse-drag-mode-line-1, mouse-drag-header-line)
12214 (mouse-drag-vertical-line-rightward-window): Remove.
12215 (mouse-drag-line): New function.
12216 (mouse-drag-mode-line, mouse-drag-header-line)
12217 (mouse-drag-vertical-line): Call mouse-drag-line.
12218 * window.el (window-at-side-p, windows-at-side): New functions.
12220 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12222 * tar-mode.el (tar-grind-file-mode):
12223 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12225 2011-10-21 Chong Yidong <cyd@gnu.org>
12227 * progmodes/idlwave.el (idlwave-mode):
12228 * progmodes/vera-mode.el (vera-mode):
12229 Use mode-require-final-newline.
12231 2011-10-20 Glenn Morris <rgm@gnu.org>
12233 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12235 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12237 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12239 2011-10-20 Chong Yidong <cyd@gnu.org>
12241 * emulation/cua-base.el (cua-mode):
12242 * mail/footnote.el (footnote-mode):
12243 * mail/mailabbrev.el (mail-abbrevs-mode):
12244 * net/xesam.el (xesam-minor-mode):
12245 * progmodes/bug-reference.el (bug-reference-mode):
12246 * progmodes/cap-words.el (capitalized-words-mode):
12247 * progmodes/compile.el (compilation-minor-mode)
12248 (compilation-shell-minor-mode):
12249 * progmodes/gud.el (gud-tooltip-mode):
12250 * progmodes/hideif.el (hide-ifdef-mode):
12251 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12252 * progmodes/subword.el (subword-mode):
12253 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12254 * progmodes/which-func.el (which-function-mode):
12255 * term/tvi970.el (tvi970-set-keypad-mode):
12256 * term/vt100.el (vt100-wide-mode):
12257 * textmodes/flyspell.el (flyspell-mode):
12258 * textmodes/ispell.el (ispell-minor-mode):
12259 * textmodes/nroff-mode.el (nroff-electric-mode):
12260 * textmodes/paragraphs.el (use-hard-newlines):
12261 * textmodes/refill.el (refill-mode):
12262 * textmodes/reftex.el (reftex-mode):
12263 * textmodes/rst.el (rst-minor-mode):
12264 * textmodes/sgml-mode.el (html-autoview-mode)
12265 (sgml-electric-tag-pair-mode):
12266 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12267 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12268 * emulation/crisp.el (crisp-mode):
12269 * emacs-lisp/eldoc.el (eldoc-mode):
12270 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12271 minor mode behavior.
12273 2011-10-19 Juri Linkov <juri@jurta.org>
12275 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12276 the list of hard-coded chars with escape-glyph face.
12278 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12280 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12282 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12284 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12287 2011-10-19 Glenn Morris <rgm@gnu.org>
12289 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12290 Ignore ignored files. (Bug#9726)
12292 2011-10-19 Chong Yidong <cyd@gnu.org>
12294 Doc fix for minor modes, stating that an omitted argument enables
12295 the mode unconditionally when called from Lisp.
12297 * abbrev.el (abbrev-mode):
12298 * allout.el (allout-mode):
12299 * autoinsert.el (auto-insert-mode):
12300 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12301 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12302 (global-auto-revert-mode):
12303 * battery.el (display-battery-mode):
12304 * composite.el (global-auto-composition-mode)
12305 (auto-composition-mode):
12306 * delsel.el (delete-selection-mode):
12307 * desktop.el (desktop-save-mode):
12308 * dired-x.el (dired-omit-mode):
12309 * dirtrack.el (dirtrack-mode):
12310 * doc-view.el (doc-view-minor-mode):
12311 * double.el (double-mode):
12312 * electric.el (electric-indent-mode, electric-pair-mode):
12313 * emacs-lock.el (emacs-lock-mode):
12314 * epa-hook.el (auto-encryption-mode):
12315 * follow.el (follow-mode):
12316 * font-core.el (font-lock-mode):
12317 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12318 * help.el (temp-buffer-resize-mode):
12319 * hilit-chg.el (highlight-changes-mode)
12320 (highlight-changes-visible-mode):
12321 * hi-lock.el (hi-lock-mode):
12322 * hl-line.el (hl-line-mode, global-hl-line-mode):
12323 * icomplete.el (icomplete-mode):
12324 * ido.el (ido-everywhere):
12325 * image-file.el (auto-image-file-mode):
12326 * image-mode.el (image-minor-mode):
12327 * iswitchb.el (iswitchb-mode):
12328 * jka-cmpr-hook.el (auto-compression-mode):
12329 * linum.el (linum-mode):
12330 * longlines.el (longlines-mode):
12331 * master.el (master-mode):
12332 * mb-depth.el (minibuffer-depth-indicate-mode):
12333 * menu-bar.el (menu-bar-mode):
12334 * minibuf-eldef.el (minibuffer-electric-default-mode):
12335 * mouse-sel.el (mouse-sel-mode):
12336 * msb.el (msb-mode):
12337 * mwheel.el (mouse-wheel-mode):
12338 * outline.el (outline-minor-mode):
12339 * paren.el (show-paren-mode):
12340 * recentf.el (recentf-mode):
12341 * reveal.el (reveal-mode, global-reveal-mode):
12342 * rfn-eshadow.el (file-name-shadow-mode):
12343 * ruler-mode.el (ruler-mode):
12344 * savehist.el (savehist-mode):
12345 * scroll-all.el (scroll-all-mode):
12346 * scroll-bar.el (scroll-bar-mode):
12347 * server.el (server-mode):
12348 * shell.el (shell-dirtrack-mode):
12349 * simple.el (auto-fill-mode, transient-mark-mode)
12350 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12351 (line-number-mode, column-number-mode, size-indication-mode)
12352 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12353 * strokes.el (strokes-mode):
12354 * time.el (display-time-mode):
12355 * t-mouse.el (gpm-mouse-mode):
12356 * tool-bar.el (tool-bar-mode):
12357 * tooltip.el (tooltip-mode):
12358 * type-break.el (type-break-mode-line-message-mode)
12359 (type-break-query-mode):
12360 * view.el (view-mode):
12361 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12362 (global-whitespace-mode, global-whitespace-newline-mode):
12363 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12365 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12366 Fix autogenerated docstring.
12368 2011-10-19 Juri Linkov <juri@jurta.org>
12370 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12371 by checking environment variables "DESKTOP_SESSION" and
12372 "XDG_CURRENT_DESKTOP". (Bug#9779)
12374 2011-10-19 Juri Linkov <juri@jurta.org>
12376 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12377 (browse-url-chromium-program, browse-url-chromium-arguments):
12379 (browse-url-default-browser): Check for `browse-url-chromium' and
12380 call `browse-url-chromium-program'.
12381 (browse-url-chromium): New command. (Bug#9779)
12383 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12385 * facemenu.el (list-colors-duplicates): On Windows, detect more
12386 duplicates by assuming that only colors matching "^System" are
12387 special "system colors". (Bug#9722)
12389 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12391 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12392 to distinguish the author from the committer.
12394 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12396 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12398 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12400 * international/mule.el (sgml-html-meta-auto-coding-function):
12401 Add support for detecting encoding in HTML5 specified only as
12402 <meta charset="UTF-8">. Implementation just makes http-equiv and
12403 content-type parts from HTML4 encoding string optional. (Bug#9716)
12405 2011-10-18 Glenn Morris <rgm@gnu.org>
12407 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12409 2011-10-18 Chong Yidong <cyd@gnu.org>
12411 * faces.el (cursor): Doc fix.
12413 2011-10-17 Chong Yidong <cyd@gnu.org>
12415 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12417 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12419 * dirtrack.el (dirtrack): Support shell buffers with path
12420 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12422 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12424 * json.el: Bump version to 1.3 and note change in History.
12425 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12427 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12429 * comint.el (comint-insert-input, comint-send-input)
12430 (comint-get-old-input-default, comint-backward-matching-input)
12431 (comint-next-prompt): Use nil instead of `input' for field property of
12432 past user input (bug#114).
12434 * minibuffer.el (completion--replace): Inherit surrounding properties
12436 (minibuffer-complete-and-exit): Use it.
12438 * comint.el (comint--table-subvert): Quote the all-completions output
12441 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12443 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12445 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12446 window on right of selected. (Bug#9350) Reword other window
12447 entries and separate them from frame entries.
12449 2011-10-15 Glenn Morris <rgm@gnu.org>
12451 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12454 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12456 * net/network-stream.el (network-stream-open-starttls):
12457 Improve detection of failure due to lack of TLS support.
12459 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12460 putting the input text in front and in bold.
12462 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12464 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12466 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12469 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12470 unread-command-events rather than pushing yet-another event.
12472 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12474 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12475 the explanation of the possible choices. Make the options passed
12476 to completing-read shorter.
12478 2011-10-13 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
12480 * textmodes/flyspell.el (flyspell-large-region): Make sure
12481 extended character mode is used if defined (Bug#1339).
12483 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12485 * simple.el (what-cursor-position): Fix the display of the
12486 character info for LRE, LRO, RLE, and RLO characters by appending
12489 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12491 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12492 even in case of error; add debug spec; simplify data flow.
12493 (with-timeout-handler): Remove.
12495 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12497 Fix Bug#6019, Bug#9315.
12499 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12500 complete `buffer-file-name', the local file name part could look
12501 remotely (for example on VMS).
12503 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12504 `tramp-run-real-handler'.
12505 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12506 already quoted by '"'.
12508 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12509 Let `file-name-handler-alist' be nil, the local file name part
12510 could look remotely (for example on VMS).
12512 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12514 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12516 (flyspell-post-command-hook): ...to here.
12518 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12520 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12522 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12523 using completion. Protect against "slow" callers.
12524 Remove the "message hack".
12526 2011-10-11 Juri Linkov <juri@jurta.org>
12528 * isearch.el (isearch-lazy-highlight-word): New variable.
12529 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12532 2011-10-11 Glenn Morris <rgm@gnu.org>
12534 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12535 like f90-previous-statement does.
12537 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12539 * eshell/eshell.el (eshell-command): History should be saved
12540 only in interactive use, to avoid error.
12542 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * minibuffer.el (completion-file-name-table): Fix last change,
12545 i.e. ignore normal errors but not the other ones.
12547 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12549 * window.el (special-display-buffer-names)
12550 (special-display-regexps): Remove some remnants of earlier
12551 changes from doc-strings.
12552 (quit-windows-on): New function.
12554 * vc/vc.el (vc-revert, vc-rollback):
12555 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12556 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12557 (Bug#6183) (Bug#7074) (Bug#7447)
12559 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12561 * window.el (frame-auto-hide-function): Add version tag.
12564 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12566 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12569 2011-10-09 Leo Liu <sdl.web@gmail.com>
12571 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12574 2011-10-08 Glenn Morris <rgm@gnu.org>
12576 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12577 before the first code statement zero indent. (Bug#9690)
12579 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12581 * simple.el (count-words-region): Always count in the region.
12582 Report the number of lines and characters too.
12583 (count-words): New command, which counts in the buffer if the
12584 region is inactive, as count-words-region used to.
12585 (count-words--message): New function. Handle plurals.
12586 (count-lines-region): Make it an alias for count-words-region.
12588 * bindings.el (esc-map): Replace count-lines-region with
12589 count-words-region.
12591 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12593 * window.el (window--delete): Delete dedicated frame
12594 unconditionally when argument KILL is non-nil. (Bug#9699)
12595 (switch-to-buffer): Fix doc-string typo.
12597 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12599 * eshell/eshell.el (eshell-command): Avoid using hooks.
12601 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12603 * bindings.el ([M-left],[M-right]): Bind to left-word and
12604 right-word respectively.
12606 2011-10-07 Glenn Morris <rgm@gnu.org>
12608 * cus-start.el (debug-on-quit): Fix custom type.
12610 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12612 * subr.el (define-key-after): Clarify that the function is not
12613 useful for non-menu keymaps.
12615 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12617 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12619 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12620 in current minibuffer (Fix bug with recursive minibuffers).
12622 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12624 * progmodes/gdb-mi.el (gdb): Doc fix.
12626 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12628 * window.el (frame-auto-hide-function): New option replacing
12629 frame-auto-delete. Suggested by Stefan Monnier.
12630 (window--delete): Call frame-auto-hide-function instead of
12631 investigating frame-auto-delete.
12632 (window-point-1, set-window-point-1): New functions.
12633 (window-in-direction, record-window-buffer, window-state-get-1)
12634 (display-buffer-record-window): Use window-point-1 instead of
12636 (set-window-buffer-start-and-point): Use set-window-point-1.
12638 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12640 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12642 2011-10-05 Glenn Morris <rgm@gnu.org>
12644 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12645 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12647 2011-10-05 Leo Liu <sdl.web@gmail.com>
12649 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12650 works with buffer object.
12652 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * mpc.el (mpc-tool-bar-map): Add labels.
12656 2011-10-04 Glenn Morris <rgm@gnu.org>
12658 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12660 2011-10-04 Martin Rudalics <rudalics@gmx.at>
12662 * window.el (window--delete): New function.
12663 (frame-auto-delete): Resuscitate option.
12664 (bury-buffer, replace-buffer-in-windows)
12665 (quit-window): Rewrite using window--delete.
12666 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12667 Pass display-buffer-mark-dedicated to window--display-buffer-2
12670 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12673 returns a list (bug#9554). Add remote file name completion.
12674 * comint.el (comint--table-subvert): Curry and get quote&unquote
12675 functions as arguments.
12676 (comint--complete-file-name-data): Adjust call accordingly.
12677 * pcomplete.el (pcomplete--table-subvert): Remove.
12678 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12680 * minibuffer.el (completion-table-case-fold): Use currying.
12681 (completion--styles-type, completion--cycling-threshold-type):
12683 (completion-styles, completion-category-overrides)
12684 (completion-cycle-threshold): Use them.
12685 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12686 completion-table-case-fold.
12688 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
12690 * minibuffer.el (completion-category-overrides): Fix type of styles
12691 and add more user friendly tags (bug#9660).
12693 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12695 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12696 (mule-input-method-string): New widget.
12697 (default-input-method, language-info-custom-alist): Use it.
12699 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * pcomplete.el: Require comint.
12702 (pcomplete--common-suffix): Remove.
12703 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12704 (pcomplete--table-subvert): Sync with comint--table-subvert.
12705 (pcomplete--entries): Use comint-completion-file-name-table.
12706 * comint.el (comint-unquote-filename): Simplify.
12707 (comint-completion-file-name-table): New function (bug#9616).
12708 (comint--complete-file-name-data): Use it.
12710 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12711 (pcmpl-gnu-tar-buffer): Remove.
12712 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12713 around. Make sure pcomplete-suffix-list is only changed temporarily.
12714 Don't look inside the tar's file if it's too large.
12716 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
12718 * cus-edit.el (custom-mode-map):
12719 * epa.el (epa-key-list-mode-map):
12720 * man.el (Man-mode-map):
12721 * startup.el (splash-screen-keymap):
12722 * simple.el (special-mode-map): Use scroll-up-command and
12723 scroll-down-command.
12725 * progmodes/idlw-help.el (idlwave-help-mode-map):
12726 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12727 * net/newst-plainview.el (newsticker-mode-map):
12728 * emulation/ws-mode.el (wordstar-mode-map):
12729 * emulation/vi.el (vi-com-map):
12730 * calc/calc-graph.el (calc-graph-show-dumb):
12731 * term/sun.el (terminal-init-sun):
12732 * term/ns-win.el (global-map):
12733 * progmodes/grep.el (grep-mode-map):
12734 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12735 * mail/rmail.el (rmail-mode-map):
12736 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12738 * custom.el (custom-safe-themes, load-theme): Treat value of t for
12739 custom-safe-themes as special.
12741 2011-10-01 Julien Danjou <julien@danjou.info>
12743 * notifications.el (notifications-notify): Fix docstring.
12745 2011-10-01 Per Starbäck <per@starback.se>
12747 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
12749 2011-09-30 Martin Rudalics <rudalics@gmx.at>
12751 * startup.el (command-line-1): Fix last fix by inserting
12752 initial-scratch-message into *scratch* before displaying it.
12753 (Bug#9605) and (Bug#9636)
12755 2011-09-29 Eli Zaretskii <eliz@gnu.org>
12757 * simple.el (line-move): If auto-hscroll-mode is disabled and the
12758 window is hscrolled, move by logical lines. (Bug#9607)
12759 (line-move-visual): Update the doc string to the above effect.
12761 2011-09-29 Martin Rudalics <rudalics@gmx.at>
12763 * window.el (display-buffer-record-window): When WINDOW is the
12764 selected window use `point' instead of `window-point'. (Bug#9626)
12766 * startup.el (command-line-1): Use insert-before-markers when
12767 inserting initial-scratch-message. (Bug#9605)
12769 * help.el (help-window): Remove variable.
12771 2011-09-29 Glenn Morris <rgm@gnu.org>
12773 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12775 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
12777 * descr-text.el (describe-char-categories): Accept category
12778 descriptions more than one line long.
12780 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * simple.el (delete-trailing-whitespace): Fix last change.
12784 * progmodes/perl-mode.el (perl-syntax-propertize-function):
12785 Don't confuse "y => 3" as the beginning of a `y' operation.
12787 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12788 object has more than 4 slots (bug#9613).
12790 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
12792 * subr.el (with-output-to-temp-buffer):
12793 * net/quickurl.el (quickurl, quickurl-browse-url):
12794 Fix typos in docstrings.
12796 2011-09-27 Eli Zaretskii <eliz@gnu.org>
12798 * minibuffer.el (completion-styles)
12799 (completion-category-overrides): Cross reference each other in doc
12802 2011-09-27 Glenn Morris <rgm@gnu.org>
12804 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12805 to split-string. (Bug#9606)
12807 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12809 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12812 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
12814 * emacs-lisp/package.el (list-packages): Fix echo area message.
12816 2011-09-27 Leo Liu <sdl.web@gmail.com>
12818 * ido.el (ido-read-internal): Accept cons cell HIST arg.
12820 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
12822 * net/dbus.el (dbus-unregister-object): Don't release services for
12823 registered signals. (Bug#9581)
12825 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
12827 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12828 function that picks between cfengine 2 and 3 support
12829 automatically. Update docs accordingly.
12831 2011-09-22 Kenichi Handa <handa@m17n.org>
12833 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12835 (indian-itrans-v5-table-for-tamil): New variable.
12836 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12838 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
12840 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12841 that's true if the current command involved collapsing of text.
12842 It's reset to false at the beginning of the next command.
12843 (allout-post-command-business): Move the cursor to the beginning
12844 of entry if the cursor is hidden and collapsing activity just
12847 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
12849 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12850 tracking (Bug#9541).
12852 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
12854 * net/newst-reader.el (newsticker-html-renderer)
12855 (newsticker-show-news): Automatically load html rendering package
12856 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
12857 because w3m-fill-column is let-bound" and the error "Symbol's value
12858 as variable is void: w3m-fill-column".
12860 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
12862 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12863 Release services only if they are defined. (Bug#9581)
12865 2011-09-23 Richard Stallman <rms@gnu.org>
12867 * textmodes/paragraphs.el (forward-sentence): For backwards case,
12868 distinguish start of paragraph from start of its text.
12870 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12872 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12873 (rmail-generate-viewer-buffer): Put that hook on view buffer.
12874 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12876 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
12878 * international/mule-diag.el (mule-diag): Insert a newline after
12879 each fontset description.
12881 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12883 * simple.el (delete-trailing-whitespace):
12884 Document last change; simplify.
12886 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
12888 * simple.el (delete-trailing-whitespace): Also delete
12889 extra newlines at the end of the buffer.
12891 * textmodes/picture.el: Make motion commands obey shift-select-mode.
12892 (picture-newline): Use forward-line so as to ignore fields.
12894 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
12896 * subr.el (with-wrapper-hook): Fix edebug spec.
12898 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12900 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12903 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
12905 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12906 Fix nasty bug using wrong cached values.
12908 2011-09-23 Alan Mackenzie <acm@muc.de>
12910 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12912 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
12914 * window.el (pop-to-buffer): Ensure right window is selected if we
12915 chose another frame.
12917 2011-09-22 Eli Zaretskii <eliz@gnu.org>
12919 * simple.el (what-cursor-position): Use get-char-property-change
12920 and next-single-char-property-change, to be able to show display
12921 properties that come from overlays as well as text properties.
12923 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
12925 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12927 * cmuscheme.el (run-scheme, switch-to-scheme):
12928 * cus-edit.el (customize-group, custom-buffer-create)
12929 (customize-browse):
12931 * shell.el (shell):
12932 * mail/sendmail.el (mail):
12933 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12935 2011-09-22 Richard Stallman <rms@gnu.org>
12937 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12938 move back only to line beg, don't move back over blank lines.
12940 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
12942 * files.el (copy-directory): Set directory attributes only in case
12943 they could be retrieved from the source directory. (Bug#9565)
12945 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
12947 * progmodes/hideshow.el (hs-looking-at-block-start-p)
12948 (hs-find-block-beginning, hs-hide-level-recursive):
12949 Ignore strings as well as comments. (Bug#9502)
12951 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
12953 * progmodes/sql.el (sql-comint-postgres):
12954 Convert port number to a string. (Bug#9566)
12956 2011-09-22 Martin Rudalics <rudalics@gmx.at>
12958 * window.el (quit-window): Undedicate window when switching to
12959 previous buffer. Reported by Thierry Volpiatto
12960 <thierry.volpiatto@gmail.com>.
12961 (special-display-popup-frame): When popping up a new frame reset
12962 its previous buffers to nil. Simplify code.
12964 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
12966 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12967 and process filter, as done also in `shell-command'.
12969 2011-09-21 Martin Rudalics <rudalics@gmx.at>
12971 * window.el (set-window-buffer-start-and-point):
12972 Call set-window-start with NOFORCE argument t.
12973 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12974 (quit-window): Reword doc-string. Handle new format of
12975 quit-restore parameter. Don't delete window if it has a
12976 previous buffer we can show instead of the present one.
12977 (display-buffer-record-window): Rewrite using a new format for
12978 the quit-restore window parameter
12979 (special-display-popup-frame, display-buffer-same-window)
12980 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12981 (display-buffer-pop-up-window, display-buffer-use-some-window):
12982 Adapt symbol passed to display-buffer-record-window.
12983 * help.el (help-window-setup): Handle new format of quit-restore
12986 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
12988 * faces.el (face-list): Fix docstring (bug#9564).
12990 * window.el (display-buffer--action-function-custom-type):
12991 Don't include internal functions in the Custom interface.
12993 2011-09-20 Juri Linkov <juri@jurta.org>
12995 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12996 (Info-forward-node, Info-backward-node, Info-next-preorder)
12997 (Info-last-preorder): Use it. (Bug#9528)
12999 2011-09-20 Juri Linkov <juri@jurta.org>
13001 * info.el (Info-last-preorder): Visit last menu item only when
13002 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13004 2011-09-20 Julien Danjou <julien@danjou.info>
13006 * password-cache.el (password-cache-remove): Remove entries even if the
13007 value is nil, so that password with a nil value (negative caching) is
13008 possible to invalidate.
13010 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13012 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13013 all whitespace around breakpoint. (Bug#9553)
13014 (f90-find-breakpoint): Only break at whitespace inside a comment.
13016 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13018 * minibuffer.el (completion-file-name-table): Keep track of errors.
13019 (completion-table-with-predicate): Handle the case where pred1 is nil.
13020 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13022 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13024 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13025 (debugger-return-value): Signal an error if the debugging context does
13026 not await any return value.
13028 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13029 * image-mode.el (image-toggle-display-text)
13030 (image-toggle-display-image): Stay away from evil `intangible'.
13032 2011-09-19 Leo Liu <sdl.web@gmail.com>
13034 * replace.el (occur-revert-arguments): Make it permanent-local.
13035 (occur-mode): Don't call font-lock-defontify.
13037 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13039 * net/ldap.el (ldap-search-internal): Don't push empty search
13042 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13046 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13048 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13049 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13051 2011-09-18 Juri Linkov <juri@jurta.org>
13053 * buff-menu.el (Buffer-menu-mode-map):
13054 * dired.el (dired-mode-map):
13055 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13056 (lisp-interaction-mode-map):
13057 * emacs-lisp/package.el (package-menu-mode-map):
13058 * epa.el (epa-key-list-mode-map):
13059 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13060 (menu-bar-options-menu):
13061 * outline.el (outline-mode-menu-bar-map):
13062 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13063 * vc/vc-dir.el (vc-dir-menu-map):
13064 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13065 Capitalize non-function content words in menu item strings.
13067 * dired.el (dired-mode-map): Add menu item for
13068 `image-dired-dired-toggle-marked-thumbs'.
13070 2011-09-18 Juri Linkov <juri@jurta.org>
13072 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13073 to `isearch-case-fold-search' and restore its original value
13074 after the `isearch-mode' call.
13076 2011-09-18 Juri Linkov <juri@jurta.org>
13078 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13079 because `zgrep' returns 1 for successful matches (bug#9226).
13081 2011-09-18 Juri Linkov <juri@jurta.org>
13083 * info.el (Info-extract-menu-node-name): Check the second match
13084 for empty string (second test-case of bug#9528).
13085 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13086 intermediate nodes to the history (first test-case of bug#9528).
13088 2011-09-18 Juri Linkov <juri@jurta.org>
13090 * info.el (Info-mode-syntax-table): New variable.
13091 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13093 2011-09-18 Juri Linkov <juri@jurta.org>
13095 * info.el (Info-file-supports-index-cookies):
13096 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13097 outputs one more line for long file names (bug#4142).
13099 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13101 * newcomment.el (comment-normalize-vars): If prompting for
13102 comment-start, set comment-start-skip too (Bug#8424).
13104 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13106 * icomplete.el: Fix previous fix of Bug#5849.
13107 (icomplete-mode): Don't set completion-show-inline-help.
13108 (icomplete-minibuffer-setup): Set completion-show-inline-help
13109 locally during icompletion.
13111 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13113 * woman.el (woman2-process-escapes): Don't delete unrecognized
13114 escapes (Bug#7843).
13116 * files.el (inhibit-first-line-modes-regexps): Add image files.
13117 (hack-local-variables-prop-line): Return nil for malformed
13118 prop-lines (Bug#9044).
13120 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13122 * net/tramp.el (top): Don't require 'shell.
13123 (tramp-methods): Fix docstring.
13124 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13125 Return complete remote file name. Handle "smb" case.
13126 Use `tramp-tmpdir', if defined for the respective method.
13127 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13129 * net/tramp-compat.el (top): Require 'shell.
13131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13132 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13133 `tramp-current-host'.
13134 (tramp-get-remote-tmpdir): Remove.
13136 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13137 `tramp-tmpdir' entries.
13138 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13139 (tramp-smb-handle-file-attributes): Ignore errors.
13140 (tramp-smb-wait-for-output): Check also for process end.
13142 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13144 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13145 when sending QUIT (bug#9312).
13147 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13149 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13150 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13151 occur-mode-display-occurrence.
13152 (occur-edit-mode): Add usage message.
13153 (occur-cease-edit): New command.
13154 (occur-after-change-function): Use text properties to find the
13155 position of the prefix text.
13156 (occur-engine): Set stickiness of prefix text properties.
13158 2011-09-17 Glenn Morris <rgm@gnu.org>
13160 * progmodes/etags.el (complete-tag):
13161 Fix call to completion-in-region. (Bug#9526)
13163 2011-09-17 Juri Linkov <juri@jurta.org>
13165 * textmodes/ispell.el (ispell-word): Add to the error message
13166 the word, ispell program name and current dictionary (bug#9121).
13167 (ispell-tex-arg-end): Capitalize "error" in the error message.
13169 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13171 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13174 2011-09-17 Juri Linkov <juri@jurta.org>
13176 * window.el (window-safe-min-height, window-safe-min-width):
13177 Fix typos (followup to bug#9522).
13179 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13181 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13183 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13185 * simple.el (line-move): If goal-column is set, move by logical
13186 lines, not by display lines. (Bug#971)
13187 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13188 to reflect the above change.
13190 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13192 * image.el (imagemagick-register-types): Use regexp-opt.
13194 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13196 * window.el (display-buffer-base-action): Rename from
13197 display-buffer-default-action. Make default value empty.
13198 (display-buffer-overriding-action): Convert to defvar.
13199 (display-buffer-fallback-action): New var.
13201 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13203 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13205 (package--add-to-archive-contents): If there is a duplicate entry
13206 with an older version, remove it.
13207 (package-menu-mark-delete, package-menu-mark-install)
13208 (package-menu-mark-unmark): Make unused args optional.
13209 (package-menu-mark-obsolete-for-deletion):
13210 Use package-menu-get-status instead of a regexp search.
13211 (package-menu-get-status): Use tabulated-list-entry.
13212 (package-menu-mark-upgrades): New command.
13213 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13214 (package-menu-execute): Do installation before deletion.
13215 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13216 instead of checking major-mode.
13217 (package-menu--find-upgrades): New function.
13219 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13221 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13222 passwords in the log buffer.
13223 (smtpmail-process-filter): Update the process marker so that the
13224 "broken by peer" status message is inserted in the right place.
13226 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13228 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13229 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13230 bibtex-completion-at-point-function.
13231 (bibtex-completion-at-point-function): Use them.
13233 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13235 * mpc.el (mpc-constraints-tag-lookup): New function.
13236 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13237 also to browser "album|playlist".
13239 2011-09-14 Juri Linkov <juri@jurta.org>
13241 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13242 (isearch-edit-string): Use length of `isearch-string' when
13243 `isearch-fail-pos' returns nil.
13244 (isearch-message): Remove duplicate code and call
13245 `isearch-fail-pos' with arg `t'.
13247 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13249 * replace.el (occur-mode-goto-occurrence): Don't force using other
13252 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13254 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13256 * window.el (display-buffer-window): Remove.
13257 (display-buffer-record-window): Use help-setup window parameter
13258 instead of variable display-buffer-window.
13259 (display-buffer-function, special-display-buffer-names)
13260 (special-display-function): Mention help-setup parameter instead
13261 of display-buffer-window in doc-string.
13262 * help.el (help-window-setup): New argument help-window.
13263 Use help-window-setup parameter instead of display-buffer-window.
13264 Reword some messages.
13265 (with-help-window): Pass window used for displaying the buffer
13266 to help-window-setup. Don't set display-buffer-window.
13268 2011-09-13 Glenn Morris <rgm@gnu.org>
13270 * emacs-lisp/debug.el (debugger-make-xrefs):
13271 Preserve point. (Bug#9462)
13273 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13275 * window.el (window-deletable-p): Use next-frame.
13277 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13279 * window.el (window-auto-delete): Remove.
13280 (window-deletable-p): Remove argument FORCE. Don't deal with
13281 dedication and previous buffers.
13282 (switch-to-prev-buffer): Don't delete window.
13283 (delete-windows-on): Delete a window's frame if and only if the
13284 window is dedicated.
13285 (replace-buffer-in-windows): Delete buffer's window or frame if
13286 and only if window is dedicated.
13287 (quit-window): Handle quit-restore as before last change.
13288 (bury-buffer): Delete window only if window-deletable-p returns t.
13290 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13292 * window.el (window-deletable-p): Never delete the last frame on a
13295 2011-09-13 Glenn Morris <rgm@gnu.org>
13297 * help.el (describe-key-briefly): Copy previous standard-output change.
13299 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13301 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13303 2011-09-13 Glenn Morris <rgm@gnu.org>
13305 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13306 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13308 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13310 * dired-aux.el (dired-mark-read-string): Don't return default
13311 value on empty input (Bug#9361).
13312 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13313 Omit initial minibuffer contents.
13314 (dired-do-chmod): Signal an error on empty input.
13315 (dired-mark-read-string): Don't return default on empty input.
13317 * files.el (file-modes-symbolic-to-number): Doc fix.
13319 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * international/mule-cmds.el (ucs-completions): Remove.
13322 (read-char-by-name): Use complete-with-action instead; add metadata.
13324 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13326 * window.el (display-buffer--action-function-custom-type)
13327 (display-buffer--action-custom-type): New vars.
13328 (display-buffer-alist, display-buffer-default-action)
13329 (display-buffer-overriding-action): Add defcustom types.
13331 * frame.el (delete-other-frames): Doc fix (Bug#276).
13333 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13337 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13339 Change modes that used same-window-* vars to use switch-to-buffer.
13341 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13342 Use switch-to-buffer.
13344 * cus-edit.el (customize-group, custom-buffer-create)
13345 (customize-browse, custom-buffer-create-other-window):
13346 Use switch-to-buffer or switch-to-buffer-other-window.
13348 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13349 (Info-prev, Info-up, Info-speedbar-goto-node)
13350 (info-display-manual): Use switch-to-buffer.
13351 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13353 * mail/sendmail.el (mail): Use switch-to-buffer.
13354 (mail-recover): Use switch-to-buffer-other-window.
13356 * cmuscheme.el (run-scheme, switch-to-scheme):
13358 * shell.el (shell):
13359 * net/rlogin.el (rlogin):
13360 * net/telnet.el (telnet, rsh):
13361 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13363 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13365 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13367 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13369 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13370 so don't mention it (bug#9301).
13371 (dired-sort-toggle-or-edit): Clarify string further.
13373 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13374 match `x', `w32' and `ns', like the manual says (bug#9029).
13376 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13377 (process-kill-buffer-query-function): Mention the buffer name in
13380 * image-mode.el (image-next-line): The line parameter is mandatory
13383 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13384 which can be useful (bug#9301).
13386 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13388 * subr.el (match-string): Mention that the current buffer should
13389 be the same as the search was done in (bug#9282).
13391 * facemenu.el: Disable the remove-* commands if the mark isn't
13394 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13396 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13398 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13400 * replace.el (occur-mode-goto-occurrence)
13401 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13402 and display-buffer.
13404 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13407 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13408 special-display and same-window variables.
13409 (mail-other-window): Use switch-to-buffer-other-window.
13410 (mail-other-frame): USe switch-to-buffer-other-frame.
13412 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13413 Use display-buffer-other-frame.
13414 (gdb-display-gdb-buffer): Use pop-to-buffer.
13416 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13418 * progmodes/python.el: Don't set same-window-buffer-names.
13420 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13422 * window.el (display-buffer-alist): Add *Python*.
13424 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13426 * window.el (display-buffer-alist): Add entry for buffers
13427 previously handled same-window-*.
13428 (display-buffer-alist, display-buffer-default-action)
13429 (display-buffer-overriding-action): Mark as risky.
13430 (display-buffer-alist): Document action function changes.
13431 (display-buffer--same-window-action)
13432 (display-buffer--other-frame-action): New variables.
13433 (switch-to-buffer, display-buffer-other-frame): Use them.
13434 (display-buffer): Rename reuse-frame entry to reusable-frames.
13435 (display-buffer-reuse-selected-window): Function deleted.
13436 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13437 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13438 (display-buffer-special): New function.
13439 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13440 display-buffer-reuse-or-pop-window. Split off special-display
13441 part into display-buffer-special.
13442 (display-buffer-use-some-window): Don't perform any special
13443 pop-up-frames handling.
13444 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13445 (display-buffer--maybe-same-window): Rename from
13446 display-buffer-maybe-same-window.
13448 * info.el: Don't set same-window-regexps.
13449 (info-setup): New function.
13450 (info-other-window, info): Call it.
13452 * cus-edit.el: Don't set same-window-regexps.
13453 (customize-group): New argument.
13454 (customize-group-other-window): Use it.
13455 (customize-face, customize-face-other-window): Likewise.
13456 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13460 * progmodes/gud.el: Don't set same-window-regexps.
13465 * mail/sendmail.el:
13466 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13468 2011-09-10 Juri Linkov <juri@jurta.org>
13470 * isearch.el (isearch-edit-string): Remove obsolete mention of
13471 `C-w' (`isearch-yank-word-or-char') from docstring.
13472 (isearch-query-replace): Fix typo in docstring (bug#9466).
13474 2011-09-10 Juri Linkov <juri@jurta.org>
13476 * paren.el (show-paren-function): Don't show escaped parens.
13477 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13479 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13481 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13482 (mm-default-file-encoding): Remove autoload forms, they are
13483 replaced with autoload cookies in mml.el and mm-encode.el.
13484 (mail-add-attachment): New command.
13485 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13486 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13488 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13490 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13492 * simple.el (count-words-region): Use buffer if there's no region
13495 2011-09-09 Juri Linkov <juri@jurta.org>
13497 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13498 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13499 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13501 2011-09-09 Alan Mackenzie <acm@muc.de>
13503 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13504 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13506 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13508 Fix for Savannah bug#9392.
13509 * simple.el (mail-encode-mml): New defvar.
13511 * mail/rmail.el (mail-encode-mml): Add a defvar.
13512 (rmail-enable-mime-composing): Default to t.
13513 (rmail-forward): Use MIME method of forwarding only if both
13514 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13515 Set mail-encode-mml non-nil if the MIME method was used.
13517 * mail/sendmail.el (mml-to-mime): Add autoload form.
13518 (mail-encode-mml): Add a defvar.
13519 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13521 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13522 message through mml-to-mime, and reset mail-encode-mml to nil.
13524 2011-09-09 Glenn Morris <rgm@gnu.org>
13526 * woman.el (woman-if-body): When processing an .el block,
13527 do not delete the next .el block as well. (Bug#9447)
13528 (woman-special-characters): Add oq, cq, and hy characters.
13530 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13532 * window.el (window-deletable-p): Make sure window is live before
13533 invoking window-prev-buffers.
13535 2011-09-08 Leo Liu <sdl.web@gmail.com>
13537 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13539 2011-09-08 Juri Linkov <juri@jurta.org>
13541 * progmodes/compile.el (compilation-environment): Make it
13542 a defcustom (bug#8340).
13544 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13546 * window.el (frame-auto-delete): Rename to window-auto-delete.
13547 Make it control auto-deletion of windows and/or frames.
13548 (window-deletable-p): New argument FORCE. Rewrite conditions
13549 for deleting window/frame. (Bug#9419)
13550 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13551 Rewrite handling of case when window/frame can be deleted.
13552 (delete-windows-on): Call window-deletable-p with new FORCE
13553 argument t. (Bug#9456)
13555 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13557 * help-mode.el (help-mode): Restore autoload.
13559 2011-09-07 Juri Linkov <juri@jurta.org>
13561 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13562 `compilation-environment'. Set buffer-local
13563 `compilation-environment' to `thisenv' later after (funcall mode).
13566 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13567 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13568 instead of replacing its value. (Bug#8340)
13570 2011-09-07 Juri Linkov <juri@jurta.org>
13572 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13573 based on text properties put by `grep-filter' instead of matching
13575 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13576 to the value of `grep-error-screen-columns' (bug#9438).
13578 2011-09-07 Juri Linkov <juri@jurta.org>
13580 * simple.el (next-error-highlight, next-error-highlight-no-select):
13581 Doc fix (bug#9432).
13583 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13585 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13586 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13588 2011-09-07 Leo Liu <sdl.web@gmail.com>
13590 * net/rcirc.el (rcirc-mode): Conditionally initialize
13593 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13595 * emacs-lisp/find-func.el (find-function-C-source): Only set
13596 find-function-C-source-directory after checking that we found a source
13597 file there (bug#9440).
13599 2011-09-06 Alan Mackenzie <acm@muc.de>
13601 * isearch.el (isearch-other-meta-char): Wherever a key list is
13602 unread, "unread" the prefix arg, too. This fixes bug #8901.
13604 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13606 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13608 2011-09-05 Juri Linkov <juri@jurta.org>
13610 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13612 2011-09-05 Juri Linkov <juri@jurta.org>
13614 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13615 keeping point where processing of grep matches begins, and
13616 continue to delete remaining escape sequences from the same point.
13617 (grep-filter): Make leading zero optional in "0?1;31m" because
13618 git-grep emits "\033[1;31m" escape sequences unlike expected
13619 "\033[01;31m" as GNU Grep does (bug#9408).
13620 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13622 2011-09-05 Juri Linkov <juri@jurta.org>
13624 * subr.el (y-or-n-p): Capitalize "yes".
13626 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13628 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13629 `tramp-cache-unload-hook' where appropriate.
13630 (tramp-methods): Rename `tramp-remote-sh' to
13631 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13632 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13634 * net/tramp-sh.el (top): Don't require 'shell.
13635 (tramp-methods): Add `tramp-remote-shell' and
13636 `tramp-remote-shell-args' entries.
13637 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13638 (tramp-sh-handle-shell-command): Remove.
13639 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13640 Use `tramp-remote-shell'.
13642 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
13644 * mail/sendmail.el (sendmail-query-once-function): Delete.
13645 (sendmail-query-once): Save directly to send-mail-function.
13646 Update message-send-mail-function too.
13648 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13650 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13652 * progmodes/python.el (python-mode-map): Use correct function to
13653 start python interpreter from menu-bar (as reported by Geert
13655 (inferior-python-mode-map): Fix typo.
13656 (python-shell-map): Remove.
13658 2011-09-03 Deniz Dogan <deniz@dogan.se>
13660 * net/rcirc.el (rcirc-print): Simplify code for
13661 rcirc-scroll-show-maximum-output. There is no need to walk
13662 through all windows to find the right one.
13664 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13666 * help.el (help-return-method): Doc fix.
13668 2011-09-03 Martin Rudalics <rudalics@gmx.at>
13670 * window.el (window-deletable-p): Don't return a non-nil value
13671 when there's a buffer that was shown in the window before.
13673 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13674 Set window's previous buffers to nil.
13676 2011-09-03 Eli Zaretskii <eliz@gnu.org>
13678 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13679 newline before and after the tag line, so it doesn't interfere
13680 with determining the paragraph direction of bidirectional text.
13682 2011-09-03 Leo Liu <sdl.web@gmail.com>
13684 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13686 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13688 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13689 (pop-to-buffer): Change interactive spec. Pass second argument
13690 directly to display-buffer.
13691 (display-buffer): Fix interactive spec. Use functionp to
13692 distinguish between a function and a list of functions.
13694 * abbrev.el (edit-abbrevs):
13695 * arc-mode.el (archive-extract):
13696 * autoinsert.el (auto-insert):
13697 * bookmark.el (bookmark-bmenu-list):
13698 * files.el (find-file):
13699 * view.el (view-buffer):
13700 * progmodes/compile.el (compilation-goto-locus):
13701 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13703 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13705 * window.el (display-buffer-alist): Doc fix.
13706 (display-buffer): Add docstring. Don't treat
13707 display-buffer-default specially.
13708 (display-buffer-reuse-selected-window)
13709 (display-buffer-same-window, display-buffer-maybe-same-window)
13710 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13711 (display-buffer-pop-up-window)
13712 (display-buffer-reuse-or-pop-window)
13713 (display-buffer-use-some-window): New functions.
13714 (display-buffer-default-action): Use them.
13715 (display-buffer-default): Delete.
13716 (pop-to-buffer-1): Fix choice of actions.
13718 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * minibuffer.el (completion--insert-strings): Don't get confused by
13721 completion entries that end with an LF char.
13723 2011-09-01 Eli Zaretskii <eliz@gnu.org>
13725 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13727 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
13729 * window.el (display-buffer): Restore interactive spec.
13730 (display-buffer-same-window, display-buffer-other-window):
13732 (pop-to-buffer-1): New function. Use the above.
13733 (pop-to-buffer, pop-to-buffer-same-window): Use it.
13734 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13736 * view.el (view-buffer-other-window, view-buffer-other-frame):
13737 Just use pop-to-buffer.
13739 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13741 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
13743 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
13745 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
13747 2011-08-31 Richard Stallman <rms@gnu.org>
13749 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13750 of the separation of rmail-view-buffer from rmail-buffer.
13751 If you say no to "replace original", the decrypt is in the
13752 view buffer. If you say yes, the decrypt goes into the
13755 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13757 * window.el (display-buffer-window): Rewrite doc-string.
13758 (display-buffer-record-window): New function.
13759 (display-buffer-macro-specifiers)
13760 (display-buffer-even-window-sizes, display-buffer-set-height)
13761 (display-buffer-set-width, display-buffer-in-window)
13762 (display-buffer-reuse-window, display-buffer-split-specifiers)
13763 (display-buffer-side-specifiers, display-buffer-split-window-1)
13764 (display-buffer-split-window, display-buffer-split-atom-window)
13765 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13766 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13767 (display-buffer-other-window-means-other-frame)
13768 (display-buffer-normalize-special)
13769 (display-buffer-normalize-default)
13770 (display-buffer-normalize-argument)
13771 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13772 (display-buffer-normalize-specifiers, display-buffer-frame)
13773 (display-buffer-same-window, display-buffer-same-frame)
13774 (display-buffer-other-window)
13775 (display-buffer-same-frame-other-window)
13776 (display-buffer-other-frame, pop-to-buffer-same-window)
13777 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13778 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13779 (switch-to-buffer-same-frame)
13780 (switch-to-buffer-other-window-same-frame)
13781 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13782 (display-buffer-alist-set-1, display-buffer-alist-set-2)
13783 (display-buffer-alist-set): Remove.
13784 (display-buffer-function, special-display-buffer-names)
13785 (special-display-regexps, special-display-function):
13786 In doc-string refer to display-buffer-window and quit-restore
13788 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13789 (special-display-frame-alist, special-display-popup-frame)
13790 (same-window-buffer-names, same-window-regexps, same-window-p)
13791 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13792 (split-window-preferred-function, split-height-threshold)
13793 (split-width-threshold, window-splittable-p)
13794 (split-window-sensibly, window--try-to-split-window)
13795 (window--frame-usable-p, even-window-heights)
13796 (window--even-window-heights, window--display-buffer-1)
13797 (window--display-buffer-2, display-buffer-other-frame):
13798 Restore old Emacs 23 code, order and doc-strings where applicable.
13799 (display-buffer-default, display-buffer-assq-regexp): New functions.
13800 (display-buffer-alist): Rewrite doc-string.
13801 (display-buffer-default-action)
13802 (display-buffer-overriding-action): New variables.
13803 (display-buffer, switch-to-buffer): Rewrite.
13804 (pop-to-buffer): Restore Emacs 23 behavior but use
13805 window-normalize-buffer-to-display.
13806 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13807 Restore Emacs 23 behavior but use
13808 window-normalize-buffer-to-switch-to.
13809 (pop-to-buffer-same-window): Rewrite.
13810 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13811 Rewrite using Emacs 23 options.
13813 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
13815 * net/tramp.el (tramp-root-regexp): Remove.
13816 (tramp-completion-file-name-regexp-unified)
13817 (tramp-completion-file-name-regexp-separate)
13818 (tramp-completion-file-name-regexp-url): Don't use leading volume
13819 letter on w32 systems. (Bug#5303, Bug#9311)
13820 (tramp-drop-volume-letter): Simplify definition.
13821 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13823 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
13825 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13828 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
13830 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13832 2011-08-29 Juri Linkov <juri@jurta.org>
13834 * isearch.el (isearch-done): Don't display message "Mark saved"
13835 when arg `edit' is non-nil to prevent its flicker in the echo area.
13837 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13839 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13840 obsolete packages for deletion.
13842 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
13844 * help-mode.el (help-mode-map): Add special-mode-map to parent.
13845 (help-mode): Derive help-mode from special-mode. Don't invoke
13846 view-mode from help-mode.
13847 (help-xref-override-view-map): Remove.
13848 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13849 view-mode is not used anymore.
13851 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
13853 * server.el (server-port): Doc fix.
13855 * cus-theme.el (custom-theme-choose-mode): Inherit from
13856 special-mode (Bug#9124).
13857 (custom-theme-choose-mode-map): Add special-mode to parent.
13859 2011-08-28 Alan Mackenzie <acm@muc.de>
13861 * progmodes/cc-fonts.el
13862 (c-make-font-lock-BO-decl-search-function): New function.
13863 (c-basic-matchers-after - "Fontify the clauses after various
13864 keywords"): Extract the three keyword lists for the 3 erroneous
13865 constructs from the list of four, and use the new function above
13866 in place of an old one.
13868 2011-08-28 Deniz Dogan <deniz@dogan.se>
13870 * net/rcirc.el (rcirc-insert-prev-input)
13871 (rcirc-insert-next-input): Remove unused argument.
13873 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
13875 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13877 2011-08-27 Alan Mackenzie <acm@muc.de>
13879 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13880 handle function pointer parameters properly.
13882 2011-08-27 Martin Rudalics <rudalics@gmx.at>
13884 * window.el (display-buffer-reuse-window): Fix case where
13885 selected window was reused with non-nil OTHER-WINDOW argument.
13888 2011-08-27 Deniz Dogan <deniz@dogan.se>
13890 * net/rcirc.el (rcirc-check-auth-status): Adding support for
13891 oftc's NickServ messages.
13893 2011-08-27 Glenn Morris <rgm@gnu.org>
13895 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
13897 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
13899 * emacs-lisp/package.el (package-install): Call package-initialize
13900 if called interactively.
13902 2011-08-26 Leo Liu <sdl.web@gmail.com>
13904 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
13906 2011-08-25 Juri Linkov <juri@jurta.org>
13908 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13909 `search-whitespace-regexp' (bug#9364).
13911 2011-08-25 Juri Linkov <juri@jurta.org>
13913 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13914 `regexp-search-ring' to their global values to protect from
13915 updating by `read-from-minibuffer' (bug#9185).
13917 2011-08-25 Juri Linkov <juri@jurta.org>
13919 * textmodes/ispell.el (ispell-command-loop): Add newline
13920 at the end of the "Use option `i'..." line.
13922 2011-08-25 Juri Linkov <juri@jurta.org>
13924 * battery.el (display-battery-mode): If `battery-status-function'
13925 or `battery-mode-line-format' is nil, display the message and set
13926 `display-battery-mode' to nil (bug#9363).
13928 2011-08-25 Eli Zaretskii <eliz@gnu.org>
13930 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13931 bidi-string-mark-left-to-right; they are unnecessary now.
13933 2011-08-25 Deniz Dogan <deniz@dogan.se>
13935 * net/quickurl.el: Documentation typo fixes.
13937 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
13939 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13941 2011-08-25 Glenn Morris <rgm@gnu.org>
13943 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13945 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13946 (smtpmail-via-smtp): Handle nil response from smtp.
13948 2011-08-24 Juri Linkov <juri@jurta.org>
13950 * proced.el (proced-marked): Inherit from `error' instead of
13951 `font-lock-warning-face'.
13953 * ibuffer.el (ibuffer-marked-face): Change default face from
13954 `font-lock-warning-face' to `warning'.
13955 (ibuffer-deletion-face): Change default face from
13956 `font-lock-type-face' to `error'.
13958 * battery.el (battery-update): Use the face `error' instead of
13959 `font-lock-warning-face' (bug#6117).
13961 2011-08-24 Juri Linkov <juri@jurta.org>
13963 * faces.el (success): Change face color from "Green3" to
13964 "ForestGreen" on light background (bug#9353).
13966 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
13968 * window.el (quit-window): Rename from quit-restore-window.
13969 Use same arglist as old quit-window.
13970 (frame-auto-delete): Doc fix.
13972 * view.el (view-mode-exit): Use quit-window.
13974 2011-08-24 Juri Linkov <juri@jurta.org>
13976 * isearch.el (isearch-ring-adjust1): Start visiting previous
13977 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13978 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13979 for empty search string (when the last search string is reused
13980 automatically) to adjust the isearch ring to the last element and
13981 prepare the correct index for further M-p commands (bug#9185).
13983 2011-08-24 Kenichi Handa <handa@m17n.org>
13985 * international/ucs-normalize.el: If decomposition property of
13986 CHAR is the default one (i.e. a list of CHAR itself), treat it as
13988 (nfd, nfkd): Likewise.
13990 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
13992 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13993 from process filters aren't reliably transmitted to the surrounding
13994 accept-process-output.
13995 (mpc-proc-check): New function.
13996 (mpc-proc-sync): Use it (bug#8293)
13998 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14000 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14001 Add compatibility functions (bug#9313).
14003 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14005 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14007 * international/uni-bidi.el: Regenerate.
14009 2011-08-23 Kenichi Handa <handa@m17n.org>
14011 * international/charprop.el:
14012 * international/uni-bidi.el:
14013 * international/uni-category.el:
14014 * international/uni-combining.el:
14015 * international/uni-comment.el:
14016 * international/uni-decimal.el:
14017 * international/uni-decomposition.el:
14018 * international/uni-digit.el:
14019 * international/uni-lowercase.el:
14020 * international/uni-mirrored.el:
14021 * international/uni-name.el:
14022 * international/uni-numeric.el:
14023 * international/uni-old-name.el:
14024 * international/uni-titlecase.el:
14025 * international/uni-uppercase.el: Regenerate.
14027 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14029 * help.el (help-window-setup): Fix message displayed when other
14030 window is reused. (Bug#9341)
14032 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14034 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14035 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14037 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14039 * shell.el (shell-parse-pcomplete-arguments): New function.
14040 (shell-completion-vars): Use it instead (bug#9160).
14042 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14044 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14045 strings and comments (bug#9333).
14047 * emacs-lisp/debug.el (debug-arglist): New function.
14048 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14049 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14051 2011-08-22 Juri Linkov <juri@jurta.org>
14053 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14054 Revert regexp that highlights output switches to its old
14055 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14057 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14058 to check for empty output (bug#9226).
14060 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14062 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14063 symbol-constituent as the default, as that stops font-lock from
14064 working properly (Bug#8843).
14066 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14068 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14069 `coding-system-for-*' around the process open call to avoid
14070 auth-source side effects.
14071 (smtpmail-try-auth-methods): Expand the secret password.
14072 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14075 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14077 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14079 * emacs-lisp/find-func.el (find-function-noselect): New arg
14082 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14083 signal an error for built-in functions (Bug#6664).
14085 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14087 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14088 (smtpmail-try-auth-methods): Use it.
14090 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14092 * font-lock.el (font-lock-fontify-region)
14093 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14094 (font-lock-default-unfontify-buffer)
14095 (font-lock-default-fontify-region)
14096 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14098 * progmodes/compile.el (compilation-error-properties):
14099 Fix confusion between file struct and message struct (Bug#9319).
14100 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14103 * net/browse-url.el (browse-url-firefox): Don't call
14104 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14106 2011-08-20 Glenn Morris <rgm@gnu.org>
14108 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14110 * tutorial.el (tutorial--default-keys): Update some default bindings.
14112 * files.el (hack-local-variables): Fully ignore case for "mode:".
14114 2011-08-20 Alan Mackenzie <acm@muc.de>
14116 Resolve invalid use of a regexp in regexp-opt.
14118 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14119 detection for a java annotation.
14121 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14122 detection for a java annotation.
14124 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14126 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14128 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14130 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14133 2011-08-20 Alan Mackenzie <acm@muc.de>
14135 Fontify CPP expressions correctly when starting in the middle of
14136 such a construct. Mainly for when jit-lock etc. starts a chunk
14139 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14141 (c-make-font-lock-search-form): New function, extracted from
14142 c-make-font-lock-search-function.
14143 (c-make-font-lock-search-function): Use the above function.
14144 (c-make-font-lock-context-search-function): New function.
14145 (c-cpp-matchers): Enhance the preprocessor expression case with
14147 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14148 which takes an expression.
14150 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14152 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14154 * window.el (display-buffer-reuse-window)
14155 (display-buffer-pop-up-window): Don't reuse or split a side
14158 2011-08-19 Glenn Morris <rgm@gnu.org>
14160 * files.el (hack-local-variables-prop-line, hack-local-variables):
14161 Downcase "Mode:". (Bug#9331)
14163 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14165 * international/characters.el: Add L and R categories.
14167 * subr.el (bidi-string-mark-left-to-right): Rename from
14168 string-mark-left-to-right. Use category search.
14170 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14172 2011-08-18 Juri Linkov <juri@jurta.org>
14174 * faces.el (error, warning, success): New faces with definitions
14175 copied from old default values of `font-lock-warning-face',
14176 `compilation-warning', `compilation-info' (bug#6117).
14178 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14180 * progmodes/compile.el (compilation-error): Inherit from `error'.
14181 (compilation-warning): Inherit from `warning'.
14182 (compilation-info): Inherit from `success'.
14184 * dired.el (dired-marked): Inherit from `warning'.
14185 (dired-flagged): Inherit from `error'.
14187 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14189 * mail/smtpmail.el (auth-source): Require to avoid problems with
14190 binding variables (bug#9298). Also clean up some unused
14193 * net/network-stream.el (network-stream-open-starttls):
14194 Support using starttls.el without using gnutls-cli.
14196 2011-08-17 Juri Linkov <juri@jurta.org>
14198 * progmodes/grep.el (rgrep): Handle the case when
14199 `grep-find-command' is a cons cell (bug#9278).
14201 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14203 * window.el (display-buffer-pop-up-frame): Run frame creation
14204 function with BUFFER current (as special-display-popup-frame
14205 does). Reported by Drew Adams.
14207 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14209 * epa-mail.el: Simplify GnuPG group expansion using
14211 (epa-mail-group-alist, epa-mail-group-modtime)
14212 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14213 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14214 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14217 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14219 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14221 2011-08-16 Alan Mackenzie <acm@muc.de>
14223 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14224 Correct, to avoid the inside of macros.
14226 2011-08-16 Richard Stallman <rms@gnu.org>
14228 * epa-mail.el: Handle GnuPG group definitions.
14229 (epa-mail-group-alist, epa-mail-group-modtime)
14230 (epa-mail-gnupg-conf-file): New variables.
14231 (epa-mail-parse-groups, epa-mail-sync-groups)
14232 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14233 (epa-mail-expand-recipients): New functions.
14234 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14236 * mail/rmail.el (rmail-epa-decrypt): New command.
14238 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14239 Don't bind buffer-read-only, just inhibit-read-only.
14240 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14241 (epa-decrypt-armor-in-region): Make error message clearer.
14243 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14245 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14246 and "a2b" to "ab" for `prefix'.
14248 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14250 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14252 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14253 Fourquet (Bug#8804).
14255 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14257 * startup.el (argi): Declare as global variable (bug#9275).
14259 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14261 * subr.el (string-mark-left-to-right): Search the entire string
14262 for RTL script, not just the terminating character. Doc fix.
14264 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14266 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14268 (js--regexp-literal, js-syntax-propertize-function): Remove.
14269 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14270 (js-mode-map): Don't rebind electric keys.
14271 (js-insert-and-indent): Remove.
14272 (js-mode): Setup electric-layout and electric-indent instead.
14274 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14276 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14278 * epa.el (epa-progress-callback-function): Fix the logic of
14279 displaying progress.
14280 * epa-file.el (epa-file-insert-file-contents): Make progress
14281 display more user-friendly.
14282 (epa-file-write-region): Ditto.
14284 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14286 * subr.el (string-mark-left-to-right): New function.
14288 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14289 Use string-mark-left-to-right.
14290 (list-buffers-noselect): Caller changed.
14292 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14293 Use string-mark-left-to-right.
14294 (tabulated-list-print): Recenter after moving point.
14296 2011-08-10 Juri Linkov <juri@jurta.org>
14298 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14299 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14300 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14302 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14304 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14307 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14309 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14310 character. (Bug#6594)
14312 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14314 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14315 (image-dired--with-db-file): New macro.
14316 (image-dired-write-tags, image-dired-remove-tag)
14317 (image-dired-create-gallery-lists, image-dired-write-comments)
14318 (image-dired-get-comment, image-dired-mark-tagged-files)
14319 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14320 (image-dired-gallery-generate): Use insert-file-contents.
14322 * time.el (display-time-world-list, display-time-world-display):
14323 * time-stamp.el (time-stamp-string):
14324 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14325 set-time-zone-rule (Bug#7337).
14327 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14329 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14330 (epg-error-to-string, epg-errors-to-string): New function.
14331 (epg-wait-for-completion): Reverse errors list.
14332 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14333 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14334 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14335 (epg-sign-keys, epg-generate-key-from-file)
14336 (epg-generate-key-from-string): Format errors by using
14337 epg-errors-to-string (bug#9255).
14338 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14340 2011-08-07 Juri Linkov <juri@jurta.org>
14342 * faces.el (list-faces-display): Remove extra angle bracket
14343 from `help-mode-map'.
14345 * info.el (Info-history-toc-nodes): Doc fix.
14347 * longlines.el (longlines-mode): Doc fix.
14349 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14351 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14352 of statements and in a few more cases (bug#9183).
14354 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14356 (cl-transform-lambda): Use them (bug#9239).
14358 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14360 * window.el (display-buffer-same-window)
14361 (display-buffer-same-frame, display-buffer-other-window)
14362 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14363 (pop-to-buffer-other-window)
14364 (pop-to-buffer-same-frame-other-window)
14365 (pop-to-buffer-other-frame): Make them defuns.
14366 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14368 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * subr.el (make-composed-keymap): Move from C. Change calling
14371 convention, and improve docstring to bring attention to a subtle point.
14372 * minibuffer.el (completing-read-default): Adjust accordingly.
14374 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14376 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14377 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14379 * net/trampver.el: Update release number.
14381 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14383 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14386 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14388 * mail/sendmail.el (sendmail-query-once): Restore the current
14389 buffer after querying (bug#9074).
14391 * dired.el (dired-flagged): Use different faces for marked and
14392 flagged files (bug#6117).
14394 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14397 * ido.el (ido-mode): Switch off the message if called
14400 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14401 before 587, since it appears that that's more likely to work for
14404 * cus-edit.el (custom-file): When running under emacs -q, always
14405 refuse to save the customizations, even if the .emacs file doesn't
14408 * info.el: Remove the `Info-beginning-of-buffer' function
14411 * net/network-stream.el (network-stream-open-starttls):
14412 Use `starttls-available-p' to see whether starttls.el can be used.
14414 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14416 * window.el (display-buffer-in-window): Don't set dedicated status
14417 of window here (Bug#9215).
14418 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14419 (display-buffer-pop-up-side-window)
14420 (display-buffer-in-side-window): Set dedicated status of window here.
14422 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14424 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14425 before binding generated-autoload-file.
14427 2011-08-01 Deniz Dogan <deniz@dogan.se>
14429 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14431 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14433 Sync with Tramp 2.2.2.
14435 * net/trampver.el: Update release number.
14437 2011-07-30 Juri Linkov <juri@jurta.org>
14439 * dired-aux.el (dired-touch-initial): Remove function.
14440 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14441 current time, and `default' to the last modification time of the
14442 current marked file (bug#6887).
14444 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14446 * simple.el (goto-line): Use string-to-number to provide a
14447 numeric argument to read-number (bug#9163).
14449 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14451 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14452 connection process, it could be nil.
14454 2011-07-27 Leo Liu <sdl.web@gmail.com>
14456 Simplify url handling in rcirc-mode.
14458 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14459 (rcirc-browse-url-at-mouse): Remove.
14460 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14462 2011-07-26 Alan Mackenzie <acm@muc.de>
14464 Fontify bitfield declarations properly.
14466 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14467 (c-symbol-chars): Now exported as a lang variable.
14468 (c-not-primitive-type-keywords): New lang variable.
14470 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14471 QT keyword "more" to prevent "more slots: ...." being spuriously
14472 parsed as a bitfield declaration.
14474 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14475 Refactor and enhance to handle bitfield declarations.
14476 (c-punctuation-in): New function.
14477 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14478 declarations properly.
14480 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14482 * calendar/icalendar.el (icalendar--all-events): Take care of
14483 multiple vcalendars in a single file.
14484 (icalendar--convert-float-to-ical): Checkdoc fixes.
14486 2011-07-25 Deniz Dogan <deniz@dogan.se>
14488 * image.el (insert-image): Clarifying docstring.
14490 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14492 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14493 `tramp-send-command-and-check' if there is no error.
14494 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14496 2011-07-22 Alan Mackenzie <acm@muc.de>
14498 Prevent cc-langs.elc being loaded at run time.
14500 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14503 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14504 "(require 'cc-langs)". Quote a form so it will evaluate at
14505 (cc-mode's) compilation time.
14507 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14509 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14510 loading. (Bug#9114)
14512 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14514 * window.el (display-buffer-pop-up-window)
14515 (display-buffer-pop-up-side-window)
14516 (display-buffer-in-side-window): Call display-buffer-set-height
14517 and display-buffer-set-width after setting the new window's
14518 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14520 2011-07-20 Sam Steingold <sds@gnu.org>
14522 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14523 (etags-tags-included-tables): Call `convert-standard-filename' on
14524 the file names contained in TAGS so that windows Emacs can handle
14525 TAGS files created by cygwin ctags.
14527 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14529 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14530 which apparently didn't work.
14532 2011-07-19 Roland Winkler <winkler@gnu.org>
14534 * proced.el (proced-send-signal): For *Marked Processes* buffer
14535 put point at beginning of buffer.
14537 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14539 * proced.el (proced-format): Make header lines align with the text
14542 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14544 * view.el (view-buffer): Allow running in `special' modes if we're
14545 visiting a file (bug#8615).
14547 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14549 * window.el (display-buffer-alist-of-strings-p)
14550 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14552 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14555 2011-07-18 Alan Mackenzie <acm@muc.de>
14557 Fontify declarators properly when, e.g., a jit-lock chunk begins
14558 inside a declaration.
14560 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14562 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14564 (c-complex-decl-matchers): Insert reference to
14565 c-font-lock-enclosing-decls.
14567 * progmodes/cc-engine.el (c-backward-single-comment):
14568 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14569 to nil around calls to (forward-comment -1).
14571 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14573 * image.el (put-image): Doc typo fix.
14575 * progmodes/etags.el (tags-search): Doc typo fix.
14577 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14578 password if we get errors 550 to 554.
14580 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14582 * net/gnutls.el (gnutls-log-level): Remove.
14584 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14585 indentation character (bug#6380).
14587 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14589 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14590 to clarify what the problem is (bug#4291).
14592 * simple.el (current-kill): Clarify what
14593 `interprogram-paste-function' does (bug#7500).
14594 (auto-fill-mode): Document `auto-fill-function' in relation to
14595 `auto-fill-mode' (bug#2470).
14597 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14599 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14600 method if slot is read-only (bug#9035).
14602 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14604 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14605 * window.el (pop-to-buffer): Select window used even if it was
14606 selected before, see discussion of (Bug#8615), (Bug#6954).
14607 Pass argument NORECORD on to select-frame-set-input-focus.
14609 2011-07-15 Glenn Morris <rgm@gnu.org>
14611 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14614 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14616 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14617 (gnutls-negotiate): Use it.
14619 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14621 * net/gnutls.el (gnutls-negotiate):
14622 Upcase `gnutls-algorithm-priority'.
14624 2011-07-15 Glenn Morris <rgm@gnu.org>
14626 * jka-compr.el (jka-compr-verbose): Move from here...
14627 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14628 Add missing :version tag.
14629 * info.el: No need to require jka-compr when compiling.
14631 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14633 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14634 (gnutls-negotiate): Use it.
14636 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14638 * info.el (Info-beginning-of-buffer): New command.
14639 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14640 announcing `b' as the key (bug#8325).
14641 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14643 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14645 * international/mule-cmds.el
14646 (describe-specified-language-support): Make the error message
14647 clearer (bug#8905).
14649 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14651 * isearch.el (isearch-barrier): Add a doc string, since it's
14652 mentioned in a function doc string (bug#8678).
14654 2011-07-15 Martin Rudalics <rudalics@gmx.at>
14656 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14657 buffer argument (Bug#9083) and self-identifying label argument.
14659 2011-07-15 Glenn Morris <rgm@gnu.org>
14661 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14663 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14665 * man.el (Man-fontify-manpage): Fix message when formatting the
14666 man page (bug#7929).
14668 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14670 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14671 argument LRM; if non-nil, append an invisible LRM character to the
14673 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14674 last argument non-nil, when formatting buffer names.
14675 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14676 paragraph direction.
14678 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14680 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14681 the man page name (bug#7929).
14683 * image.el (put-image): Mention the `put-image' overlay property
14686 * scroll-bar.el (set-scroll-bar-mode): Mention that
14687 `scroll-bar-mode' lists the values (bug#7772).
14689 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14690 command (bug#7729).
14692 * rect.el (apply-on-rectangle): Return the point after the last
14694 (string-rectangle): Go to the point after the last operation
14697 * printing.el (pr-toggle-region): Clarify the documentation
14698 slightly (bug#7493).
14700 * time.el (display-time-update):
14701 Allow `display-time-mail-function' to return nil (bug#7158).
14702 Fix suggested by Detlev Zundel.
14704 * vc/diff.el (diff): Clarify the order the file names are read
14707 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14708 the doc string (bug#7015).
14710 * font-lock.el (font-lock-maximum-decoration): Mention what
14711 numeric levels mean (bug#6935).
14713 * startup.el (initial-buffer-choice): Don't mention the `none'
14714 selection, which is against policy.
14716 2011-07-14 Martin Rudalics <rudalics@gmx.at>
14718 * window.el (display-buffer-normalize-special):
14719 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14721 2011-07-14 Eli Zaretskii <eliz@gnu.org>
14723 * subr.el (version<, version<=, version=): Mention "-CVS" and
14724 "-12345" alpha version numbers.
14726 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14728 * bindings.el: Add advertised binding for set-mark-command
14731 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
14733 * bindings.el (mode-line-other-buffer):
14734 * bookmark.el (bookmark-bmenu-2-window):
14735 * bs.el (bs-cycle-next, bs-cycle-previous):
14736 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14739 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14742 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
14744 * follow.el (follow-debug-message, follow-redisplay):
14745 * jka-cmpr-hook.el (with-auto-compression-mode):
14746 Fix typos in docstrings.
14748 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14750 * subr.el (with-silent-modifications): Clarify somewhat what the
14751 macro inhibits (bug#6525).
14753 * simple.el (eval-expression): Note what it does if called
14754 interactively (bug#6495).
14756 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14758 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14759 Use pop-to-buffer buffer-or-name if it is nil.
14761 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14762 Remove switch-to-buffer.
14764 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14766 * files.el (make-directory): Clarify that an error will be raised
14767 if there's an error (bug#6397).
14769 * startup.el (initial-buffer-choice): Add `none' as a choice
14772 * subr.el (add-hook): Clarify section about buffer-local hooks
14775 * dired.el (dired-flagged): Clarify doc string (bug#6117).
14777 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14779 * tabify.el (untabify): Preserve the current column so that point
14780 doesn't move (bug#6032).
14782 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14784 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14785 Rewrite to avoid awkward possessive "s" (bug#5986).
14787 2011-07-13 Glenn Morris <rgm@gnu.org>
14789 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
14790 (dired-insert-directory): Give a message the first time
14791 if ls is found not to support --dired.
14793 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795 * simple.el (toggle-truncate-lines): Clarify what is toggled
14796 (bug#5580). Text by Drew Adams.
14798 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
14800 * simple.el (blink-matching-open): Make the error message from the
14801 last change less verbose.
14803 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
14805 * font-lock.el (font-lock-comment-face): Use the high contrast
14806 "yellow" color for font-lock-comment-face on low color terminals
14807 using a dark background color (bug#4221).
14809 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14811 * dired.el (dired-insert-set-properties): Make the doc string
14812 reflect what it does now (bug#5325).
14814 * simple.el (blink-matching-open): Say that we were unable to find
14815 the match within the limit, if we're limited (bug#5122).
14817 * international/mule-cmds.el (prefer-coding-system): Add an
14818 example (bug#4869).
14820 * progmodes/etags.el (tags-search): Document `file-list-form'
14823 2011-07-13 Lawrence Mitchell <wence@gmx.li>
14825 * net/browse-url.el (browse-url-default-browser)
14826 (browse-url-browser-function): Make the default browser choice a
14827 bit more logical (bug#4300). Also clean up the doc string.
14829 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
14831 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14832 binary endings (bug#4440).
14834 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
14836 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14837 which can be pretty annoying (bug#8971).
14839 * jka-compr.el (jka-compr-verbose): New variable, and use
14840 throughout (bug#8971).
14842 * info.el (Info-find-file): Fall back on the installation
14843 directory if we can't find the info node anywhere else.
14845 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
14847 * vc/vc.el (vc-revert-file):
14848 Don't set file time-stamp in the past. (Bug#5181)
14850 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14852 * files.el (after-find-file): Give a better error message when
14853 trying to find a symlink that points to a file that doesn't exist
14856 * progmodes/cc-vars.el: Remove (probably) misleading comment
14859 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14861 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14863 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14865 * mouse-sel.el: Hack restoring functionality, while keeping
14866 compatibility with 2010-07-03 changes to mouse selection.
14867 (mouse-sel-primary-overlay): New var.
14868 (mouse-sel-selection-alist): Use it.
14869 (mouse-sel-mode): Doc fix; remove points that are default features
14872 2011-07-12 Johan Bockgård <bojohan@gnu.org>
14874 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14875 Fix previous fix (bug#2490).
14877 2011-07-12 Roland Winkler <winkler@gnu.org>
14879 * textmodes/bibtex.el (bibtex-initialize):
14880 Use pop-to-buffer-same-window.
14881 (bibtex-search-entries): Fix interactive call.
14883 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14885 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14886 Fontise bytecomp Error lines more correctly (bug#2490).
14887 Fix suggested by Johan Bockgård.
14889 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14891 * dired-x.el (dired-guess-default): Use `delete-dups'.
14893 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
14895 * dired.el (dired-mark-prompt):
14896 * dired-aux.el (dired-read-shell-command): Doc fix.
14898 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14900 * mail/sendmail.el (sendmail-query-once):
14901 Use `customize-save-variable' unconditionally, now that it works under
14904 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14906 * cus-edit.el (custom-file): Take an optional no-error variable.
14907 (customize-save-variable): Set the variable, and give a warning if
14908 running under "emacs -q".
14910 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
14912 * loadhist.el (unload-feature-special-hooks):
14913 Add `auto-coding-functions', `fill-nobreak-predicate' and
14914 `find-directory-functions' (bug#5327).
14916 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14918 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14920 * cus-edit.el (custom-guess-name-alist): -alist variables should
14921 use the `alist' type (bug#3120). Suggested by Drew Adams.
14923 * printing.el: Add documentation to all the `pr-toggle-' commands.
14925 2011-07-11 Leo Liu <sdl.web@gmail.com>
14927 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14928 backends where it makes sense (bug#2623).
14930 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14932 * dired-x.el (dired-guess-default): Remove duplicate shell command
14933 entries (bug#2028).
14934 (dired-guess-default): Fix grammar in doc string (bug#2028).
14935 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14937 * subr.el (remove-duplicates): New conveniency function.
14939 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14941 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14944 2011-07-10 Martin Rudalics <rudalics@gmx.at>
14946 * window.el (display-buffer-normalize-default): Don't invert
14947 meaning of even-window-heights. Reported by Eli Zaretskii
14950 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
14952 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14954 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
14956 * window.el (display-buffer): Fix arguments to
14957 display-buffer-reuse-window in last change.
14959 * faces.el (link): Use a less saturated blue on light backgrounds.
14961 * startup.el (fancy-startup-text, fancy-about-text)
14962 (fancy-startup-tail): Use font-lock faces, for background safety.
14964 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
14966 * emulation/viper-cmd.el (viper-change-state-to-vi):
14967 Limit triggering of abbrev expansion (Bug#9038).
14969 2011-07-09 Martin Rudalics <rudalics@gmx.at>
14971 * window.el (display-buffer-default-specifiers): Remove.
14972 (display-buffer-macro-specifiers): Remove default specifiers.
14973 (display-buffer-alist): Default to nil.
14974 (display-buffer-reuse-window): New optional argument other-window.
14975 (display-buffer-pop-up-window): Allow splitting internal
14976 windows. Check whether a live window was created.
14977 (display-buffer-other-window-means-other-frame)
14978 (display-buffer-normalize-arguments): Rename to
14979 display-buffer-normalize-argument and rewrite. Set the
14980 other-window specifier.
14981 (display-buffer-normalize-special): New function.
14982 (display-buffer-normalize-options): Rename to
14983 display-buffer-normalize-default and rewrite.
14984 (display-buffer-normalize-options-inhibit): Remove.
14985 (display-buffer-normalize-specifiers): Rewrite.
14986 (display-buffer): Process other-window specifier and call
14987 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
14989 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14990 (display-buffer-alist-set): Don't handle 'unset default values.
14991 (display-buffer-in-window, display-buffer-alist-set):
14992 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
14993 <tassilo@member.fsf.org>.
14995 2011-07-09 Leo Liu <sdl.web@gmail.com>
14997 * register.el (insert-register): Restore accidental change on
14998 2011-06-26. (Bug#9028)
15000 2011-07-09 Glenn Morris <rgm@gnu.org>
15002 * subr.el (remq): Handle the empty list. (Bug#9024)
15004 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15006 * mail/sendmail.el (send-mail-function): No longer delay custom
15008 * custom.el (custom-initialize-delay): Doc fix.
15010 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15012 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15014 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15016 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15017 human-friendly prompt.
15019 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15021 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15022 provided by a particular plugin.
15024 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15027 save customizations (with "emacs -Q"), just set the variable
15028 instead of erroring out.
15030 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15032 2011-07-08 Juri Linkov <juri@jurta.org>
15034 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15035 (archive-zip-update-case): Use 7z if found by `executable-find'.
15036 The order of searching the available programs is the same as in
15037 `archive-zip-extract' (bug#8968).
15039 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15041 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15042 (menu-bar-options-menu): Tweak descriptions.
15044 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15046 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15047 menu items into verb phrases (bug#1421). Also refill to fit under
15050 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15052 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15053 (Info-read-node-name): Doc fix (Bug#1084).
15055 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15056 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15057 (end-of-sexp, beginning-of-sexp)
15058 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15059 (forward-symbol, forward-same-syntax, word-at-point)
15060 (sentence-at-point): Doc fix (Bug#1144).
15062 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15065 should cover it (bug#1281).
15067 * cus-edit.el (custom-show): Mark as obsolete.
15069 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15070 negotiation fails, then possibly try again with a non-encrypted
15071 connection (bug#9017).
15073 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15076 2011-07-07 Richard Stallman <rms@gnu.org>
15078 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15079 property, and handle its changed format.
15080 Look for the correct line number.
15081 Use file's line contents (but not past first =) to find
15082 correct line in message.
15084 2011-07-07 Kenichi Handa <handa@m17n.org>
15086 * international/characters.el (build-unicode-category-table):
15088 (unicode-category-table): Set it by unicode-property-table-internal.
15090 * international/mule-cmds.el (char-code-property-alist): Move to
15092 (get-char-code-property): Call unicode-property-table-internal to
15093 load a file. Call get-unicode-property-internal where necessary.
15094 (put-char-code-property): Call unicode-property-table-internal to
15095 load a file. Call put-unicode-property-internal where necessary.
15096 put-unicode-property-internal where necessary.
15097 (char-code-property-description):
15098 Call unicode-property-table-internal to load a file.
15100 * international/charprop.el:
15101 * international/uni-bidi.el:
15102 * international/uni-category.el:
15103 * international/uni-combining.el:
15104 * international/uni-comment.el:
15105 * international/uni-decimal.el:
15106 * international/uni-decomposition.el:
15107 * international/uni-digit.el:
15108 * international/uni-lowercase.el:
15109 * international/uni-mirrored.el:
15110 * international/uni-name.el:
15111 * international/uni-numeric.el:
15112 * international/uni-old-name.el:
15113 * international/uni-titlecase.el:
15114 * international/uni-uppercase.el: Regenerate.
15116 * loadup.el: Load international/charprop.el before
15117 international/characters.
15119 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15121 * window.el (next-buffer, previous-buffer): Signal an error if
15122 called from a minibuffer window.
15124 * bindings.el: Revert 2011-07-04 change.
15126 2011-07-06 Richard Stallman <rms@gnu.org>
15128 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15129 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15130 Treat markers like ints.
15131 (rmail-mime-entity): Doc fix.
15133 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15135 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15136 defcustom again for backwards compatibility.
15138 * simple.el (shell-command-on-region): Fill.
15140 * dired-aux.el (dired-kill-line): Add a doc string.
15142 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15143 to "\\sw\\|\\s_" (bug#358).
15145 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15146 (dired-unmark-backward): Ditto.
15147 (dired-flag-backup-files): Ditto.
15149 * dired-x.el (dired-mark-sexp): Ditto.
15151 2011-07-06 Richard Stallman <rms@gnu.org>
15153 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15154 (rmail-mime-entity): New arg TRUNCATED.
15155 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15157 (rmail-mime-save): Warn if entity is truncated.
15158 (rmail-mime-toggle-hidden): Likewise, for showing.
15159 (rmail-mime-process-multipart): Record when an entity is truncated.
15161 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15162 if ENTITY is a string.
15164 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15166 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15167 of faces when `M-C-x'-ing their definitions (bug#8378).
15168 Also clean up the code slightly.
15170 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15171 because that makes the colors go away.
15173 * mail/sendmail.el (send-mail-function): Change the default to
15174 `sendmail-query-once'.
15175 (sendmail-query-once): Add an autoload cookie.
15177 * net/network-stream.el (network-stream-open-starttls): Try using
15178 a plain connection even if the server offered STARTTLS, and we
15179 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15180 capability. This should make smtpmail.el work in slightly more
15183 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15185 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15187 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15189 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15191 * progmodes/sql.el: Version 3.0
15192 (sql-product-alist): Add product :completion-object,
15193 :completion-column, and :statement attributes.
15194 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15195 (sql-mode-syntax-table): Mark all punctuation.
15196 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15198 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15199 (sql-mode-oracle-font-lock-keywords): Improve.
15200 (sql-oracle-show-reserved-words): New function for development.
15201 (sql-product-font-lock): Simplify for source code buffers.
15202 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15204 (sql-highlight-product): Set product specific syntax table.
15205 (sql-mode-map): Add statement movement functions.
15206 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15208 (sql-statement-regexp, sql-beginning-of-statement)
15209 (sql-end-of-statement, sql-signum): New functions.
15210 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15211 (sql-show-sqli-buffer): Bug fix.
15212 (sql-interactive-mode): Store connection data as buffer local.
15213 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15214 with sql-interactive-mode.
15215 (sql-save-connection): Save buffer local settings.
15216 (sql-connection-menu-filter): Change menu entry name.
15217 (sql-product-interactive): Bug fix.
15218 (sql-preoutput-hold): New variable.
15219 (sql-interactive-remove-continuation-prompt): Bug fixes.
15220 (sql-debug-redirect): New variable.
15221 (sql-str-literal): New function.
15222 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15224 (sql-oracle-save-settings, sql-oracle-restore-settings)
15225 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15226 (sql-completion-object, sql-completion-column)
15227 (sql-completion-sqlbuf): New variables.
15228 (sql-build-completions-1, sql-build-completions)
15229 (sql-try-completion): New functions.
15230 (sql-read-table-name): Use them.
15231 (sql-contains-names): New buffer local variable.
15232 (sql-list-all, sql-list-table): Use it.
15233 (sql-oracle-completion-types): New variable.
15234 (sql-oracle-completion-object, sql-sqlite-completion-object)
15235 (sql-postgres-completion-object): New functions.
15237 2011-07-06 Glenn Morris <rgm@gnu.org>
15239 * window.el (pop-to-buffer): Doc fix.
15241 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15243 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15245 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15247 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15249 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15251 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15253 * button.el (button): Inherit from link face. Suggested by Dan
15256 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15258 * progmodes/gdb-mi.el: Fit in 80 columns.
15259 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15262 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15263 if imenu is simply not configured (bug#8941).
15265 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15267 * allout.el (allout-post-undo-hook): New allout outline-change
15268 event hook to signal undo activity.
15269 (allout-post-command-business): Run allout-post-undo-hook if an
15270 undo just occurred.
15271 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15272 * allout-widgets.el (allout-widgets-after-undo-function):
15273 Ensure the integrity of the current item's decoration after it has been
15274 in the vicinity of an undo.
15275 (allout-widgets-mode): Include allout-widgets-after-undo-function
15276 on the new allout-post-undo-hook.
15278 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15281 Let define-derived-mode define it.
15282 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15283 cycles of abbrev-table inheritance (bug#8998).
15285 2011-07-05 Roland Winkler <winkler@gnu.org>
15287 * textmodes/bibtex.el: Add support for biblatex.
15288 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15289 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15290 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15291 (bibtex-entry-alist, bibtex-field-alist): New variables.
15292 (bibtex-entry-field-alist): Obsolete alias for
15293 bibtex-BibTeX-entry-alist.
15294 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15295 (bibtex-set-dialect): New command.
15296 (bibtex-entry-type, bibtex-entry-head)
15297 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15298 Bind via bibtex-set-dialect.
15299 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15300 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15301 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15302 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15303 Define via bibtex-set-dialect.
15304 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15305 Obey bibtex-no-opt-remove-re.
15306 (bibtex-vec-push, bibtex-vec-incr): New functions.
15307 (bibtex-format-entry, bibtex-field-list)
15308 (bibtex-print-help-message, bibtex-validate)
15309 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15311 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15313 * progmodes/compile.el (compilation-goto-locus):
15314 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15315 * bs.el (bs-cycle-next, bs-cycle-previous):
15316 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15317 * bindings.el (mode-line-other-buffer):
15318 * autoinsert.el (auto-insert):
15319 * arc-mode.el (archive-extract):
15320 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15322 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15324 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15325 Fix check of `emacs-lock-unlockable-modes'.
15326 Coerce true values of `emacs-lock--try-unlocking' to t.
15328 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15330 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15331 * emacs-lock.el: New file.
15333 2011-07-05 Julien Danjou <julien@danjou.info>
15335 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15336 than `boundp' to check if face is set.
15338 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15340 * register.el (registerv-make):
15341 * window.el (window-min-height): Fix typos in docstrings.
15343 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15345 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15348 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15350 * server.el (server-execute): Catch quit and call
15351 `server-return-error' to pass the error back to emacsclient and
15352 close the connection (bug#8942).
15354 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15356 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15357 insecure exception for current topic. Also note that auto-saves
15358 are handled differently.
15360 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15361 State variables for tracking auto-save inhibition situation.
15363 (allout-write-contents-hook-handler): Rename from
15364 'allout-write-file-hook-handler', and describe how it depends on
15365 write-contents-functions sensitivity to non-nil value to prevent
15368 (allout-auto-save-hook-handler): Remove. auto-save does not check
15369 this in individual buffers, only in the starting buffer, so this
15370 is not the right way for us to inhibit auto-save in a buffer
15371 according to its condition.
15373 (allout-mode): Use new allout-write-contents-hook-handler, and
15374 only with write-contents-functions. Remove auto-save provisions -
15375 they're implemented elsewhere.
15377 (allout-before-change-handler): If undo is in progress, note that
15378 for attention of allout-post-command-business.
15380 (allout-post-command-business): If the command we're following was
15381 an undo, check for change in the status of encrypted items and
15382 adjust auto-save inhibitions accordingly.
15384 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15385 according to whether there are or aren't any plain-text topics
15386 pending encryption.
15388 (allout-inhibit-auto-save-info-for-decryption):
15389 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15390 if there are plain-text topics pending encryption.
15392 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15393 buffer-saved-size and some allout state to not inhibit auto-saves
15394 if there are no longer any plain-text topics pending encryption.
15396 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15397 No longer provide for exemption of the current topic.
15399 2011-07-04 Juri Linkov <juri@jurta.org>
15401 Add 7z operations to delete and save changed members (bug#8968).
15402 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15404 (archive-7z-write-file-member): New function.
15405 (archive-7z-summarize): Fix the number of dashes in the
15408 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15410 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15413 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15415 * bindings.el: Ignore next-buffer and previous-buffer in
15416 minibuffer-local-map.
15418 * font-lock.el (font-lock-builtin-face): Change light background
15419 color to dark slate blue (Bug#6693).
15421 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15423 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15425 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15427 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15428 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15429 Add switch-to-buffer.
15431 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15433 * isearch.el (isearch-search-fun-function): Clarify further the
15434 meaning of the function returned.
15436 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15438 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15440 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15441 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15443 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15444 `tramp-default-remote-path' does not exist.
15445 (tramp-send-command-and-read): New optional argument NOERROR.
15446 (tramp-open-connection-setup-interactive-shell)
15447 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15448 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15449 (tramp-process-sentinel): Flush also process' connection property.
15450 (tramp-sh-handle-start-file-process): Do not set process
15451 sentinel. It is done now ...
15452 (tramp-maybe-open-connection): ... here. (Bug#8929)
15454 2011-07-04 MON KEY <monkey@sandpframing.com>
15456 * play/animate.el (animate-string): Doc fixes and allow changing
15457 the buffer name (bug#5417).
15459 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15461 * play/animate.el (animation-buffer-name): Rename from *animate*.
15463 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15465 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15466 This is simpler and helps future-proof the code.
15467 (timer-until): Use time-subtract and float-time.
15468 (timer--time-less-p): Use time-less-p.
15470 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15472 * type-break.el (timep): Use the value of `float-time' to avoid a
15473 byte-compiler warning.
15475 * server.el (server-eval-and-print): Return any result, even nil.
15477 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15479 * type-break.el: Accept time formats that the builtins accept.
15480 (timep, type-break-time-difference): Accept any format that
15481 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15482 This is simpler and helps future-proof the code.
15483 (type-break-time-difference): Round rather than ignoring
15484 subseconds components.
15486 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15488 * info.el (Info-apropos-matches): Make non-interactive, since it
15489 doesn't seem to do anything useful as a command (bug#8829).
15491 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15493 * frame.el (frame-background-mode, frame-set-background-mode):
15494 Move from faces.el.
15495 (frame-default-terminal-background): New function.
15497 * custom.el (custom-push-theme): Don't record faces in `changed'
15498 theme; this doesn't work correctly for per-frame face settings.
15499 (disable-theme): Use face-set-after-frame-default to reset faces.
15500 (custom--frame-color-default): New function.
15502 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15504 * dired.el (dired-flagging-regexp): Remove unused variable
15507 2011-03-29 Kevin Ryde <user42@zip.com.au>
15509 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15510 `perl-Test2' extend to match possible "fail #N" rep count
15513 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15515 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15516 `smtpmail-via-smtp' now returns the error instead of nil.
15518 * isearch.el (isearch-search-fun-function): Clarify the doc string
15521 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15523 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15524 unnecessary spaces (bug#8987).
15526 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15528 * net/network-stream.el (open-network-stream): Use the
15529 :end-of-capability command thoughout.
15531 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15533 * net/network-stream.el (open-network-stream): Add the
15534 :end-of-capability command parameter, used by pop3.el.
15536 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15538 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15540 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15541 for list)" (bug#6475).
15543 * files.el (file-expand-wildcards): Ignore non-readable
15544 sub-directories while trying to find matches instead of signaling
15545 an error (bug#6297).
15547 * man.el (Man-reference-regexp): Allow matching possible
15548 word-wrapped references (bug#6289).
15550 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15551 for consistency with the other vc buffers (bug#6197).
15552 (vc-checkin): Ditto.
15554 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15556 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15558 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15560 * custom.el (defcustom): Clarify that :set is only used in the
15561 Customize user interface (bug#6089).
15563 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15564 associated with a file, refuse to run instead of erroring out
15567 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15568 the doc string, since it appears that using `fill-column' always
15569 controls the width (bug#7845).
15571 * simple.el (shell-command-on-region): Say where the error output
15572 went if `shell-command-default-error-buffer' is set (bug#6857).
15574 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15576 * allout.el (allout-yank-processing): Adjust cursor position for
15577 backwards-deleted space.
15579 (allout-rebullet-heading): Register changes with
15580 allout-exposure-changed-hook, so the modified topic is properly
15583 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15585 * minibuffer.el (completion-in-region): Document PREDICATE
15588 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15589 of keyword/argument pairs (bug#6904).
15591 * replace.el (multi-occur):
15592 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15594 2011-07-02 Drew Adams <drew.adams@oracle.com>
15596 * dired.el (dired-mark-if): Make the message about whether it's
15597 marking or unmarking clearer (bug#8523).
15599 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15601 * disp-table.el (display-table-print-array): New function.
15602 (describe-display-table): Use it to print the vectors more pretty
15605 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15607 * window.el (window-state-get-1): Don't assign clone numbers.
15608 Add clone-of item to list of window parameters.
15609 (window-state-put-2): Don't process clone numbers.
15610 (display-buffer-alist): Fix doc-string.
15612 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15614 * subr.el (remq): Don't allocate if it's not needed.
15615 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15616 (keymap--merge-bindings): New functions.
15617 (keymap-canonicalize): Use them to refine the canonicalization.
15618 * minibuffer.el (minibuffer-local-completion-map)
15619 (minibuffer-local-must-match-map): Move initialization from C.
15620 (minibuffer-local-filename-completion-map): Move initialization from C;
15621 don't inherit from anything here.
15622 (minibuffer-local-filename-must-match-map): Make obsolete.
15623 (completing-read-default): Use make-composed-keymap to combine
15624 minibuffer-local-filename-completion-map with either
15625 minibuffer-local-must-match-map or
15626 minibuffer-local-filename-completion-map.
15628 2011-07-01 Glenn Morris <rgm@gnu.org>
15630 * type-break.el (type-break-time-sum): Use dolist.
15632 * textmodes/flyspell.el (flyspell-word-search-backward):
15633 Replace CL function.
15635 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15637 * mouse.el (mouse--strip-first-event): New function.
15638 (function-key-map): Use it to map fringe clicks to normal clicks
15641 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15642 (vc-bzr-revision-completion-table): Add support for annotate and date.
15644 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15645 inherit from parent.
15647 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15649 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15650 (dired-show-file-type): Doc fixup (bug#8818).
15652 * dired.el (dired-mode): Fix up the doc string as suggested by
15653 Drew Adams (bug#8817).
15655 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15656 cookie, since the manual says that it should be possible to add
15657 this function to `find-file-hook' (bug#8709).
15659 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15661 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15662 here. Noted Ted Zlatanov as the maintainer.
15663 (cfengine-common-settings, cfengine-common-syntax): New functions
15664 to set up common things between `cfengine-mode' and
15666 (cfengine3-mode): New mode.
15667 (cfengine3-defuns cfengine3-defuns-regex
15668 (cfengine3-class-selector-regex cfengine3-category-regex)
15669 (cfengine3-vartypes cfengine3-font-lock-keywords)
15670 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15671 (cfengine3-indent-line): Add from cfengine3.el.
15673 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
15675 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15677 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15679 2011-07-01 Martin Rudalics <rudalics@gmx.at>
15681 * window.el (same-window-buffer-names, same-window-regexps)
15682 (same-window-p, special-display-frame-alist)
15683 (special-display-popup-frame, special-display-function)
15684 (special-display-buffer-names, special-display-regexps)
15685 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15686 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15687 (split-window-preferred-function, split-height-threshold)
15688 (split-width-threshold, even-window-heights)
15689 (display-buffer-mark-dedicated, window-splittable-p)
15690 (split-window-sensibly, window-safely-shrinkable-p):
15692 (display-buffer): Don't spread args with function specifier
15693 because special-display-popup-frame won't like it.
15695 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15697 Time-stamp simplifications and fixes.
15698 These improve accuracy slightly, and future-proof the code
15699 against some potential changes to current-time format.
15701 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15702 by using time-since and float-time.
15704 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15705 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15706 + NNN microseconds".
15708 * type-break.el (type-break-time-sum): Rewrite using time-add.
15710 * play/hanoi.el (hanoi-current-time-float): Remove.
15711 All uses replaced by float-time.
15713 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15714 This yields a more-accurate answer.
15715 (rng-time-to-float): Remove; no longer needed.
15717 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15719 * calendar/timeclock.el (timeclock-seconds-to-time):
15720 Defalias to seconds-to-time, since they're the same thing.
15722 * emacs-lisp/elp.el (elp-elapsed-time):
15723 * emacs-lisp/benchmark.el (benchmark-elapse):
15724 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15726 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15728 * window.el (bury-buffer): Don't iconify the only frame.
15729 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15730 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15732 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
15734 * eshell/em-smart.el (eshell-smart-display-navigate-list):
15735 Add mouse-yank-primary.
15737 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15739 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15741 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15743 * emacs-lisp/find-func.el (find-library--load-name): New fun.
15744 (find-library-name): Use it to find relative load names when provided
15745 absolute file name (bug#8803).
15747 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15749 * textmodes/flyspell.el (flyspell-word): Consider words that
15750 differ only in case as potential doublons (bug#5687).
15752 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15753 Remove two rather uninteresting debugging-like messages to make
15754 debbugs.el more silent.
15756 * comint.el (comint-password-prompt-regexp): Accept "Response" as
15757 a password-like phrase.
15759 2011-06-30 Masatake YAMATO <yamato@redhat.com>
15761 * progmodes/cc-guess.el: New file.
15763 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15765 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15766 derived from `c-basic-common-init'.
15768 * progmodes/cc-mode.el (top-level): Require cc-guess.
15769 (c-basic-common-init): Use `cc-choose-style-for-mode'.
15771 2011-06-30 Lawrence Mitchell <wence@gmx.li>
15773 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15775 2011-06-30 Alan Mackenzie <acm@muc.de>
15777 * progmodes/cc-engine.el (c-guess-continued-construct):
15778 Correct the handling of template-args-cont, particularly for when font
15779 lock is disabled. Name this case as "CASE G".
15781 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
15783 * allout.el (allout-yank-processing): Fix injection of extra space
15784 between bullet and non-whitespace character in first topic when
15785 pasting, ensuring that the actual spacing in the pasted topic
15786 following the bullet char is preserved. This extra space was
15787 causing pasted encrypted topics to get a decrypted status even
15788 when the content was actually still encrypted. Now the decryption
15789 status from before the paste is preserved.
15791 (allout-flag-region): Set all allout overlays so they evaporate
15792 when reduced to zero length (evanescent), to prevent overlay
15795 2011-06-30 Glenn Morris <rgm@gnu.org>
15797 * w32-fns.el (w32-charset-info-alist): Declare.
15799 * find-dired.el (find-grep-options): Simplify.
15801 * term/ns-win.el (ns-set-resource): Declare.
15803 * ses.el (row, col): Declare dynamic variables honestly.
15805 * textmodes/reftex-parse.el (index-tags): Declare.
15807 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
15809 * cus-edit.el (customize-push-and-save): New function.
15811 * files.el (hack-local-variables-confirm): Use it.
15813 * custom.el (load-theme): New arg NO-CONFIRM.
15814 Use customize-push-and-save (Bug#8720).
15815 (custom-enabled-themes): Doc fix.
15817 * cus-theme.el (customize-create-theme)
15818 (custom-theme-merge-theme): Callers to load-theme changed.
15820 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822 * thingatpt.el (thing-at-point-short-url-regexp): Require that
15823 short URLs have at least one dot in them (bug #7614).
15825 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15826 nil, because using a pty is apparently too slow (bug #895).
15828 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830 * mail/sendmail.el (sendmail-query-once): New function.
15831 (sendmail-query-once-function): New variable.
15833 2011-06-29 Glenn Morris <rgm@gnu.org>
15835 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15837 * ses.el (top-level): Require cl when compiling.
15838 (ses-set-localvars): Fix error statement.
15839 Call it at compile time to silence a storm of warnings.
15841 2011-06-29 Martin Rudalics <rudalics@gmx.at>
15843 * window.el (normalize-live-buffer): Rename to
15844 window-normalize-buffer.
15845 (normalize-live-frame): Rename to window-normalize-frame.
15846 (normalize-any-window): Rename to window-normalize-any-window.
15847 (normalize-live-window): Rename to window-normalize-live-window.
15848 (make-window-atom): Rename to window-make-atom.
15849 (window-resize-reset): Rename to window--resize-reset.
15850 (window-resize-reset-1): Rename to window--resize-reset-1.
15851 (resize-mini-window): Rename to window--resize-mini-window.
15852 (resize-subwindows-skip-p): Rename to
15853 window--resize-subwindows-skip-p.
15854 (resize-subwindows-normal): Rename to
15855 window--resize-subwindows-normal.
15856 (resize-subwindows): Rename to window--resize-subwindows.
15857 (resize-other-windows): Rename to window--resize-siblings.
15858 (resize-this-window): Rename to window--resize-this-window.
15859 (resize-root-window): Rename to window--resize-root-window.
15860 (resize-root-window-vertically): Rename to
15861 window--resize-root-window-vertically.
15862 (normalize-buffer-to-display): Rename to
15863 window-normalize-buffer-to-display.
15864 (normalize-buffer-to-switch-to): Rename to
15865 window-normalize-buffer-to-switch-to.
15866 Correspondingly update all callers of the functions listed
15868 (display-buffer-alist, display-buffer-normalize-arguments)
15869 (display-buffer-normalize-options, display-buffer)
15870 (display-buffer-alist-set): Use "function" instead of
15873 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
15875 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15876 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
15877 debbugs.gnu.org. Mention acknowledgment email.
15879 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
15881 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15882 buffer multibyteness, since it shouldn't matter.
15884 2011-06-28 Martin Rudalics <rudalics@gmx.at>
15886 * window.el (display-buffer-in-side-window): Handle dedicated
15887 windows as in display-buffer-reuse-window.
15888 (display-buffer-normalize-alist): Use value of override
15890 (display-buffer-normalize-specifiers): Use value of
15891 other-window-means-other-frame specifier.
15892 (display-buffer-alist): Rewrite some texts in widgets.
15893 (display-buffer): Spread arguments when calling function
15894 specified by fun-with-args.
15896 2011-06-28 Deniz Dogan <deniz@dogan.se>
15898 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15901 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15902 selectors (Bug#5732).
15903 (css-proprietary-nmstart-re): Use `regexp-opt'.
15905 2011-06-27 Jari Aalto <jari.aalto@cante.net>
15907 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15908 (eshell-ls-date-format): New defcustom.
15909 (eshell-ls-file): Use it.
15911 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * help-fns.el (describe-variable): Fix message for terminal-local vars.
15915 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
15917 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15918 (ange-ftp-make-tmp-name): New arg.
15919 (ange-ftp-file-local-copy): Use it.
15921 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
15923 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15924 no-conversion (Bug#8870).
15926 2011-06-27 Martin Rudalics <rudalics@gmx.at>
15928 * window.el (window-right, window-left, window-child)
15929 (window-child-count, window-last-child)
15930 (window-iso-combination-p, walk-window-tree-1)
15931 (window-atom-check-1, window-tree-1, delete-window)
15932 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15933 new naming conventions - window-vchild, window-hchild,
15934 window-next and window-prev are now called window-top-child,
15935 window-left-child, window-next-sibling and window-prev-sibling
15937 (resize-window-reset): Rename to window-resize-reset.
15938 (resize-window-reset-1): Rename to window-resize-reset-1.
15939 (resize-window): Rename to window-resize.
15940 (window-min-height, window-min-width)
15941 (resize-mini-window, resize-this-window, resize-root-window)
15942 (resize-root-window-vertically, adjust-window-trailing-edge)
15943 (enlarge-window, shrink-window, maximize-window)
15944 (minimize-window, delete-window, quit-restore-window)
15945 (split-window, balance-windows, balance-windows-area-adjust)
15946 (balance-windows-area, window-state-put-2)
15947 (display-buffer-even-window-sizes, display-buffer-set-height)
15948 (display-buffer-set-width, set-window-text-height)
15949 (fit-window-to-buffer): Rename all "resize-window" prefixed
15950 calls to use the "window-resize" prefix convention.
15951 (display-buffer-alist): Fix symbol for label specifier.
15952 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15953 corresponding specifier.
15954 Reported by Juanma Barranquero <lekktu@gmail.com>.
15956 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15958 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15960 (ses-call-printer): Does not pass an empty string to formatter when the
15961 cell is empty to keep from barking printer Calc math-format-value.
15963 2011-06-27 Richard Stallman <rms@gnu.org>
15965 * battery.el (battery-mode-line-limit): New variable.
15966 (battery-update): Handle it.
15968 * mail/rmailmm.el (rmail-mime-process-multipart):
15969 Handle truncated messages.
15971 2011-06-27 Glenn Morris <rgm@gnu.org>
15973 * progmodes/flymake.el (flymake-err-line-patterns):
15974 Allow for column numbers in the ant/javac pattern. (Bug#8866)
15976 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
15978 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15979 (ses--clean-!, ses--clean-_): New functions.
15980 (ses-range): Add configurability of readout order, and conversion
15983 * ses.el (ses-repair-cell-reference-all): New function.
15984 (ses-cell-symbol): Set macro as safe, so that it can be used in
15987 * ses.el: Update cycle detection algorithm.
15988 (ses-localvars): Add ses--Dijkstra-attempt-nb and
15989 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15990 (ses-set-localvars): New function.
15991 (ses-make-cell): Add property-list as a cell element.
15992 (ses-cell-property-get-fun, ses-cell-property-get)
15993 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15994 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15996 (ses-cell-property-set, ses-cell-property-pop)
15997 (ses-cell-property-get-handle): New macro.
15998 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15999 New aliases, used for code readability.
16000 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16002 (ses-self-reference-early-detection): New defcustom.
16003 (ses-formula-references): Robustify against self-referring cells.
16004 (ses-mode): Use ses-set-localvars.
16005 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16006 before lauching the update processing.
16007 (ses-initialize-Dijkstra-attempt): New function.
16008 (ses-recalculate-cell): Update for cycle detection based on
16009 Dijkstra algorithm.
16011 * ses.el: Fix commenting and indenting convention.
16013 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16015 * bs.el (bs-cycle-next): Complete last change.
16017 2011-06-27 Drew Adams <drew.adams@oracle.com>
16019 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16021 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16023 * net/network-stream.el (network-stream-open-starttls):
16024 Don't re-get capabilities unless we've reestablished connection.
16025 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16027 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16028 to binary to possibly avoid line encoding issues on Windows (among
16031 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16033 * net/network-stream.el (open-network-stream): Return an :error
16034 saying what the problem was, if possible.
16036 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16039 * net/network-stream.el (network-stream-open-starttls): If we
16040 wanted to use STARTTLS, and the server offered it, but we weren't
16041 able to because we had no STARTTLS support, then close the connection.
16042 (open-network-stream): Return an :error element, if present.
16044 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16046 * hl-line.el (hl-line-sticky-flag): Doc fix.
16047 (global-hl-line-sticky-flag): New option (Bug#8323).
16048 (global-hl-line-highlight): Obey it.
16050 * vc/vc.el (vc-revert-show-diff): Default to t.
16052 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16054 * allout-widgets.el (allout-widgets-post-command-business):
16055 Stop decorating intermediate isearch matches. They're not being
16056 undecorated when an isearch is continued past, and isearch
16057 automatically collapses them. This leads to "widget leaks", where
16058 decorated items accumulate in collapsed areas. Lines with lots of
16059 hidden widgets can slow down cursor travel, substantially.
16060 Too much complicated machinery would be needed to ensure undecoration,
16061 so we're doing without this nicety.
16063 (allout-widgets-tally-string): Don't try to do a hash-table-count
16064 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16065 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16066 *Messages* when allout-widgets-maintain-tally is t.
16068 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16070 * window.el (display-buffer-normalize-argument): Rename to
16071 display-buffer-normalize-arguments. Handle special meaning of
16072 LABEL argument. Respect special-display-function when popping up
16073 a new frame. Fix code searching for a window showing the buffer
16075 (display-buffer-normalize-specifiers):
16076 Call display-buffer-normalize-arguments.
16077 (display-buffer-in-window): Don't undedicate the window if its
16078 buffer remains the same.
16079 Reported by Drew Adams <drew.adams@oracle.com>.
16080 (display-buffer-alist): Add choice for same-window macro
16082 (display-buffer): Mention special meaning of LABEL argument in
16083 doc-string. Fix quoting. Don't pop up a new frame even as
16086 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16088 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16089 avoid deleting the current window in some cases (bug#8911).
16091 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16093 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16096 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16098 * net/network-stream.el (network-stream-open-starttls):
16099 Use built-in TLS support if `gnutls-available-p' is true.
16100 (network-stream-open-tls): Ditto.
16102 2011-06-26 Leo Liu <sdl.web@gmail.com>
16104 * register.el (registerv): New struct.
16105 (registerv-make): New function.
16106 (jump-to-register, describe-register-1, insert-register):
16107 Support the jump-func, print-func and insert-func slot of a registerv
16110 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16112 * vc/vc.el (vc-revert-show-diff): New defcustom.
16113 (vc-diff-internal): New arg specifying diff buffer.
16114 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16115 reuse an existing *vc-diff* buffer (Bug#8927).
16117 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16119 2011-06-26 Glenn Morris <rgm@gnu.org>
16121 * progmodes/f90.el (f90-critical-indent): New option.
16122 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16123 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16124 (f90-mode): Doc fix.
16125 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16126 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16127 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16128 (f90-match-end): Handle block, critical.
16130 2011-06-25 Glenn Morris <rgm@gnu.org>
16132 * calendar/diary-lib.el (diary-included-files): Doc fix.
16133 (diary-include-files): New function, extracted from
16134 diary-include-other-diary-files and diary-mark-included-diary-files.
16135 (diary-include-other-diary-files, diary-mark-included-diary-files):
16136 Just call diary-include-files.
16137 (diary-mark-entries): Reset diary-included-files on first call.
16139 * calendar/diary-lib.el (diary-mark-entries)
16140 (diary-mark-included-diary-files):
16141 Visit included diary-files in temp buffers.
16143 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16144 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16145 (f90-start-block-re, f90-imenu-generic-expression)
16146 (f90-looking-at-program-block-start, f90-no-block-limit):
16147 Add support for submodules.
16149 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16150 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16152 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16154 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16155 buffer-file-type before setting its value, to avoid disastrous
16156 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16158 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16160 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16162 * ses.el (ses-unload-function):
16163 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16165 * proced.el (proced-unload-function):
16166 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16168 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16170 * server.el (server-create-window-system-frame): Add parameters arg.
16171 (server-process-filter): Doc fix. Handle frame-parameters.
16173 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16175 Fix bug#8730, bug#8781.
16177 * loadhist.el (unload--set-major-mode): New function.
16178 (unload-feature): Use it.
16180 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16181 (python-unload-function): New function.
16183 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16185 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16187 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16189 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16190 the candidates list.
16192 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16194 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16196 2011-06-23 Richard Stallman <rms@gnu.org>
16198 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16199 (rmail-variables): Set next-error-move-function.
16200 (rmail-what-message): Take argument POS.
16201 (rmail-next-error-move): New function.
16203 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16205 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16206 messages for adjacent non-terminals.
16208 2011-06-23 Richard Stallman <rms@gnu.org>
16210 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16211 (rmail-show-message-1): Preserve buffer modified flag.
16212 (rmail-start-mail): Don't specify use of rmail-mail-return;
16213 that's done by mail-bury now.
16214 (rmail-mail-return): Handle arg NEWBUF.
16216 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16218 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16221 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16223 * window.el (get-lru-window, get-mru-window)
16224 (get-largest-window): Never return a minibuffer window.
16225 (display-buffer-pop-up-window): Fix a bug that could lead to
16226 reusing the minibuffer window.
16227 (display-buffer): Pass original specifier argument to
16228 display-buffer-function instead of the normalized one.
16229 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16231 2011-06-22 Leo Liu <sdl.web@gmail.com>
16233 * minibuffer.el (completing-read-function)
16234 (completing-read-default): Move from minibuf.c
16236 2011-06-22 Richard Stallman <rms@gnu.org>
16238 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16239 to Rmail even if not started by a special Rmail command.
16241 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16242 Copy the buffer currently showing just one message.
16244 2011-06-22 Roland Winkler <winkler@gnu.org>
16246 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16247 (bibtex-clean-entry): First delete the old key so that a
16248 customized algorithm for generating the new key does not get
16249 confused by the old key.
16250 (bibtex-url): Obey regexp of first step.
16251 (bibtex-search-entries): Do not use add-to-list with local
16254 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16256 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16257 stored a user name, then query for the password first, instead of
16258 waiting for SMTP to give an error message and the trying again.
16260 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16262 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16263 BUFFER in call-process.
16265 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16267 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16269 (smtpmail-try-auth-methods): Require user name and password from
16272 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16274 * window.el (display-buffer-default-specifiers)
16275 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16276 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16277 (split-window): Normalize SIDE argument (Bug#8916).
16279 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16280 (special-display-frame-alist, special-display-popup-frame):
16281 Remove duplicate declarations. These are now in window.el.
16283 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16285 * mail/smtpmail.el (smtpmail-via-smtp):
16286 Set :use-starttls-if-possible so that we always use STARTTLS if the
16287 server supports it. SMTP servers that support STARTTLS commonly
16290 * net/network-stream.el (network-stream-open-starttls): Support
16291 upgrading to STARTTLS always, even if we don't have built-in support.
16292 (open-network-stream): Add the :always-query-capabilities keyword.
16294 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16295 upgrades with `open-network-stream', and rely solely on
16296 auth-source for all credentials. Big changes throughout the file,
16298 (smtpmail-auth-credentials): Remove.
16299 (smtpmail-starttls-credentials): Remove.
16300 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16303 * net/network-stream.el (network-stream-open-starttls):
16304 Provide support for client certificates both for external and built-in
16306 (auth-source): Require.
16307 (open-network-stream): Document the :client-certificate keyword.
16308 (network-stream-certificate): Change cert-cert to cert and
16311 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16313 * net/tramp-cache.el (top): Don't load the persistency file when
16314 "emacs -Q" has been called.
16316 2011-06-21 Tim Harper <timcharper@gmail.com>
16318 * term/ns-win.el (ns-initialize-window-system):
16319 Set application-specific `ApplePressAndHoldEnabled' system
16320 resource to NO as it is not yet supported by the NS port.
16322 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16324 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16325 (list-dynamic-libraries): ...not here.
16327 2011-06-21 Leo Liu <sdl.web@gmail.com>
16329 * subr.el (sha1): Implement sha1 using secure-hash.
16331 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16333 * window.el (display-buffer-alist): In default value do not
16334 enforce searching a window on any but the selected frame.
16335 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16336 (display-buffer-select-window): Remove function.
16337 (display-buffer-in-window): When a window on another frame gets
16338 reused, do not select it any more but just raise its frame if
16339 necessary (Bug#8851) and (Bug#8856).
16340 (display-buffer-normalize-options): Handle pop-up-frames related
16341 options more faithfully.
16342 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16343 window if it is on another frame.
16344 (display-buffer-alist, display-buffer-default-specifiers):
16345 Don't make new frame unsplittable by default.
16346 (display-buffer-normalize-argument): Fix doc-string typo and use
16347 'same-frame-other-window instead of 'other-window when associating
16348 with display-buffer-macro-specifiers.
16350 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16352 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16354 (5x5-mode-map, 5x5-mode-menu): Bind them.
16355 (5x5-draw-grid): Tweak the solver's rendering.
16357 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16359 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16360 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16362 2011-06-21 Drew Adams <drew.adams@oracle.com>
16364 * menu-bar.el: Use function variable instead of switch-to-buffer.
16365 (menu-bar-select-buffer-function): New variable.
16366 (menu-bar-update-buffers): Use it (bug#8876).
16368 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16370 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16373 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16375 * x-dnd.el (x-dnd-version-from-flags)
16376 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16377 and long as number (Bug#8899).
16378 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16380 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16382 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16383 (completion-try-completion, completion-all-completions): Compute the
16384 metadata argument if it's missing; make it optional (bug#8795).
16386 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16387 (widget-complete): Use new :completion-function property.
16388 (widget-completions-at-point): New function.
16389 (default): Use :completion-function instead of :complete.
16390 (widget-default-completions): Rename from widget-default-complete;
16392 (widget-string-complete, widget-file-complete, widget-color-complete):
16394 (file, symbol, function, variable, coding-system, color):
16395 * international/mule-cmds.el (default-input-method, charset)
16396 (language-info-custom-alist):
16397 * cus-edit.el (face): Use new property :completions.
16399 * progmodes/pascal.el (pascal-completions-at-point): New function.
16400 (pascal-mode): Use it.
16401 (pascal-mode-map): Use completion-at-point.
16402 (pascal-toggle-completions): Make obsolete.
16403 (pascal-complete-word, pascal-show-completions):
16404 * progmodes/octave-mod.el (octave-complete-symbol):
16405 Redefine as obsolete alias.
16406 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16407 Signal absence of completion info for old Octave,
16408 (inferior-octave-complete): Redefine as obsolete alias.
16409 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16410 (meta-completions-at-point): Rename from meta-complete-symbol and
16411 adapt it for use on completion-at-point-functions.
16412 (meta-common-mode): Use it.
16413 (meta-looking-at-backward, meta-match-buffer): Remove.
16414 (meta-complete-symbol): Redefine as obsolete alias.
16415 (meta-common-mode-map): Use completion-at-point.
16416 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16417 (makefile-mode-map): Use completion-at-point.
16418 (makefile-completions-at-point): Rename from makefile-complete and
16419 adapt it for use on completion-at-point-functions.
16420 (makefile-mode): Use it.
16421 (makefile-complete): Redefine as obsolete alias.
16423 2011-06-20 Deniz Dogan <deniz@dogan.se>
16425 * net/rcirc.el: Delete trailing whitespaces once and for all.
16427 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16429 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16431 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16433 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16435 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16437 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16439 * window.el (display-buffer-other-window-means-other-frame):
16440 Call display-buffer-normalize-alist.
16441 (display-buffer-normalize-specifiers-1): Rename to
16442 display-buffer-normalize-argument. New argument other-frame.
16444 (display-buffer-normalize-specifiers-2): Rename to
16445 display-buffer-normalize-options.
16446 (display-buffer-normalize-alist-1): New function.
16447 (display-buffer-normalize-specifiers-3): Rename to
16448 display-buffer-normalize-alist.
16449 Call display-buffer-normalize-alist-1.
16450 (display-buffer-normalize-options-inhibit): New variable.
16451 (display-buffer-normalize-specifiers): Rewrite calling
16452 display-buffer-normalize-alist,
16453 display-buffer-normalize-argument, and
16454 display-buffer-normalize-options. Don't call the latter if
16455 display-buffer-normalize-options-inhibit is non-nil.
16456 (frame-auto-delete): New option.
16457 (window-deletable-p): Use frame-auto-delete.
16458 (window-list-no-nils, window-state-ignored-parameters)
16459 (window-state-get-1, window-state-get, window-state-put-list)
16460 (window-state-put-1, window-state-put-2, window-state-put):
16462 (display-buffer-normalize-options): Move special-display-p group
16463 after pop-up-frame group (Bug#8851) and (Bug#8856).
16465 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16467 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16469 (rx-submatch-n): New function.
16472 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16475 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16477 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16479 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16480 anytime existing face settings are present (Bug#8889).
16482 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16483 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16484 Remove unused argument.
16486 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16488 * window.el (display-buffer-default-specifiers):
16489 Remove pop-up-frame. Add pop-up-window-min-height,
16490 pop-up-window-min-width, and another reuse-window specifier
16491 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16492 (display-buffer-normalize-specifiers-2):
16493 Handle split-height-threshold and split-width-threshold also when
16494 pop-up-windows is unset. Add a reuse-window specifier for the
16495 case popping up a new window fails.
16496 (special-display-popup-frame): Remove double quoting.
16497 (display-buffer-normalize-specifiers-1): Fix thinko.
16499 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16501 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16502 according to comint-completion-addsuffix.
16504 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16505 (pcomplete-suffix-list): Mark as obsolete.
16506 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16507 pcomplete-seen in the closure.
16508 (pcomplete-comint-setup): Setup completion-at-point as well.
16509 (pcomplete--entries): New function.
16510 (pcomplete--env-regexp): New var.
16511 (pcomplete-entries): Rewrite to work with partial-completion and
16512 without relying on pcomplete-suffix-list.
16513 (pcomplete-pare-list): Remove, unused.
16515 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16517 * window.el (display-buffer-alist): Set pop-up-window-min-height
16518 and pop-up-window-min-width in default value. Reported by
16519 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16520 other-window-means-other-frame.
16521 (display-buffer-macro-specifiers): Comment out entry for
16522 other-window specifier.
16523 (display-buffer-other-window-means-other-frame): New function.
16524 (display-buffer-normalize-specifiers-1): New arguments
16525 buffer-name and label. Treat other-window case specially.
16526 (display-buffer-normalize-specifiers-2): Treat other-window case
16528 (display-buffer-normalize-specifiers-3): New function.
16529 (display-buffer-normalize-specifiers):
16530 Call display-buffer-normalize-specifiers-3.
16532 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16534 * window.el (same-window-p): Fix two typos introduced when
16535 adding with-no-warnings.
16536 (display-buffer-normalize-specifiers-1): Don't check
16537 pop-up-frames for 'unset initialization.
16538 (display-buffer-normalize-specifiers-2): Major rewrite using
16539 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16540 (pop-up-frames, display-buffer-reuse-frames)
16541 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16542 Suggested by David Engster <deng@randomsample.de>.
16543 (even-window-heights): Initialize to 'unset.
16544 (display-buffer-alist-set): Handle new 'unset initializations.
16545 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16548 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16550 * window.el (display-buffer-normalize-specifiers-1):
16551 Respect current value of pop-up-frames for most reasonable values of
16552 second argument of display-buffer (Bug#8865).
16553 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16554 (switch-to-buffer-other-window-same-frame)
16555 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16557 (display-buffer): Don't check noninteractive when calling
16558 display-buffer-pop-up-frame.
16559 (display-buffer-pop-up-frame): Never pop up a frame in
16560 noninteractive mode (Bug#8857).
16561 (enlarge-window, shrink-window): Don't report an error when the
16562 window can't be resized as requested (Bug#8862).
16564 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16566 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16568 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16570 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16572 2011-06-15 Alan Mackenzie <acm@muc.de>
16574 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16575 for declarators, disable knr checking to speed up for normal files.
16576 2: Refactor, replacing a sequence of nested if forms by a cond form.
16578 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16580 * net/network-stream.el (open-network-stream): Add the keyword
16581 :always-query-capabilities for the case where you want to force a
16582 `plain' network connection, but the protocol still requires the
16583 capabilitiy command (i.e., SMTP and EHLO).
16585 * subr.el (process-live-p): Rename from `process-alive-p' for
16586 consistency with other `-live-p' functions.
16588 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16590 * window.el (same-window-buffer-names, same-window-regexps)
16591 (special-display-frame-alist, special-display-popup-frame)
16592 (special-display-function, special-display-buffer-names)
16593 (special-display-regexps, pop-up-frame-alist)
16594 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16595 (pop-up-windows, split-window-preferred-function)
16596 (split-height-threshold, split-width-threshold, even-window-heights)
16597 (display-buffer-mark-dedicated): Don't encourage the use of
16598 display-buffer-alist from Elisp code.
16600 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16602 * progmodes/python.el (python-mode): Derive from prog-mode.
16603 * progmodes/ps-mode.el (ps-mode):
16604 * progmodes/mixal-mode.el (mixal-mode):
16605 * progmodes/cfengine.el (cfengine-mode):
16606 * progmodes/ld-script.el (ld-script-mode): Likewise.
16608 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16610 * window.el (display-buffer-alist): Trim default value to avoid
16611 popping up a new frame (Bug#8857) or reusing an arbitrary window
16613 (display-buffer): Do not fall back on popping up a new frame in
16614 batch mode (Bug#8857).
16616 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16618 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16619 (custom-theme-summary): New function.
16620 (customize-themes): Use it.
16622 2011-06-13 Glenn Morris <rgm@gnu.org>
16624 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16626 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16628 * help.el (help-window): Remove variable.
16629 (help-window-point-marker, temp-buffer-max-height)
16630 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16631 (help-print-return-message): Don't set help-window.
16632 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16633 (help-window-setup-finish): Remove.
16634 (help-window-display-message, help-window-setup)
16635 (with-help-window): Major rewrite based on new
16636 display-buffer-window variable.
16638 * help-mode.el (help-mode-finish): Remove help-window related
16641 * view.el (view-exits-all-viewing-windows): Remove reference to
16642 view-return-to-alist in doc-string.
16643 (view-return-to-alist): Make obsolete.
16644 (view-buffer): Call pop-to-buffer-same-window and remove
16646 (view-buffer-other-window): Call pop-to-buffer-other-window and
16647 simplify code. Ignore second argument.
16648 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16649 simplify code. Ignore second argument.
16650 (view-return-to-alist-update): Make obsolete.
16651 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16652 Rewrite using quit-restore window parameters.
16653 (view-mode-exit): Rename second argument to EXIT-ONLY.
16654 Rewrite using quit-restore-window.
16655 (View-exit, View-exit-and-edit, View-leave, View-quit)
16656 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16657 appropriate arguments.
16658 (view-end-message): Use quit-restore window parameter.
16660 * window.el (display-buffer-function): Rewrite doc-string.
16661 (display-buffer-window, display-buffer-alist): New variables.
16662 (display-buffer-split-specifiers)
16663 (display-buffer-side-specifiers)
16664 (display-buffer-macro-specifiers): New constants.
16665 (display-buffer-even-window-sizes, display-buffer-set-height)
16666 (display-buffer-set-width, display-buffer-select-window)
16667 (display-buffer-in-window, display-buffer-reuse-window)
16668 (display-buffer-split-window-1, display-buffer-split-window)
16669 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16670 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16671 (display-buffer-in-side-window, normalize-buffer-to-display)
16672 (display-buffer-normalize-specifiers-1)
16673 (display-buffer-normalize-specifiers-2)
16674 (display-buffer-normalize-specifiers, display-buffer-frame):
16676 (display-buffer): Major rewrite.
16677 (display-buffer-other-window, display-buffer-other-frame)
16678 (pop-to-buffer, switch-to-buffer-other-window)
16679 (switch-to-buffer-other-frame): Rewrite.
16680 (display-buffer-same-window, display-buffer-same-frame)
16681 (display-buffer-same-frame-other-window)
16682 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16683 (pop-to-buffer-other-window)
16684 (pop-to-buffer-same-frame-other-window)
16685 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16686 (switch-to-buffer-other-window-same-frame): New functions.
16687 (same-window-p, special-display-p): Rewrite disabling warnings.
16689 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16690 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16692 (same-window-buffer-names, same-window-regexps)
16693 (special-display-frame-alist, special-display-popup-frame)
16694 (special-display-function, special-display-buffer-names)
16695 (special-display-regexps, pop-up-frame-alist)
16696 (pop-up-frame-function, split-window-preferred-function)
16697 (split-height-threshold, split-width-threshold)
16698 (even-window-heights): Make obsolete.
16700 2011-06-12 Glenn Morris <rgm@gnu.org>
16702 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
16703 Misc simplifications.
16705 2011-06-12 Martin Rudalics <rudalics@gmx.at>
16707 * window.el (window-safely-shrinkable-p): Restore function which
16708 was inadvertently removed in change from 2011-06-11. Declare as
16711 * calendar/calendar.el (calendar-generate-window):
16712 Use window-iso-combined-p instead of combination of one-window-p and
16713 window-safely-shrinkable-p.
16715 2011-06-12 Glenn Morris <rgm@gnu.org>
16717 * progmodes/fortran.el (fortran-mode-syntax-table):
16718 * progmodes/f90.el (f90-mode-syntax-table):
16719 Set % to punctuation. (Bug#8820)
16720 (f90-find-tag-default): Remove, no longer needed.
16722 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16724 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16726 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
16728 * image.el (image-animated-p): Return animation delay in seconds.
16729 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16730 (image-animate-timeout): Remove DELAY argument. Don't assume
16731 every subimage has the same delay; get it from image-animated-p.
16732 (image-animate): Caller changed.
16734 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
16736 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16737 to ignored backtrace functions.
16739 2011-06-11 Glenn Morris <rgm@gnu.org>
16741 * calendar/appt.el (appt-disp-window-function): Doc fix.
16742 (appt-check): Handle overlapping appointments. (Bug#8337)
16744 2011-06-11 Martin Rudalics <rudalics@gmx.at>
16746 * window.el (window-tree-1, window-tree): New functions, moving
16747 the latter to window.el.
16748 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16749 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16750 (bw-refresh-edges): Remove.
16751 (balance-windows-1, balance-windows-2): New functions.
16752 (balance-windows): Rewrite in terms of window tree functions,
16753 balance-windows-1 and balance-windows-2.
16754 (bw-adjust-window): Remove.
16755 (balance-windows-area-adjust): New function with functionality of
16756 bw-adjust-window but using resize-window.
16757 (set-window-text-height): Rewrite doc-string.
16758 Use normalize-live-window and resize-window.
16759 (enlarge-window-horizontally, shrink-window-horizontally):
16760 Rename argument to DELTA.
16761 (window-buffer-height): New function.
16762 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16763 Rewrite using new window resize routines.
16764 (kill-buffer-and-window, mouse-autoselect-window-select):
16765 Use ignore-errors instead of condition-case.
16766 (quit-window): Call delete-frame instead of delete-windows-on
16767 for the only buffer on frame.
16769 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16771 * loadup.el (top-level): Load window before files for the sake
16772 of replace-buffer-in-windows.
16774 * files.el (read-buffer-to-switch)
16775 (switch-to-buffer-other-window)
16776 (switch-to-buffer-other-frame, display-buffer-other-frame):
16779 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16780 (previous-buffer): Move to window.el.
16782 * bindings.el (unbury-buffer): Move to window.el.
16784 * window.el (delete-other-windows-vertically): Move after
16785 definition of delete-other-windows.
16786 (other-window, delete-windows-on, replace-buffer-in-windows):
16787 Move here from window.c.
16788 (record-window-buffer, unrecord-window-buffer)
16789 (set-window-buffer-start-and-point, switch-to-prev-buffer)
16790 (switch-to-next-buffer): New functions.
16791 (get-next-valid-buffer, last-buffer, next-buffer): Move here
16792 from simple.el. Call switch-to-next-buffer.
16793 (previous-buffer): Move here from simple.el.
16794 Call switch-to-prev-buffer.
16795 (bury-buffer): Move here from buffer.c. Switch to previous
16796 buffer when window cannot be deleted.
16797 (unbury-buffer): Move here from bindings.el.
16798 (ctl-x-map): Move binding for other-window from window.c to
16800 (read-buffer-to-switch, switch-to-buffer-other-window)
16801 (switch-to-buffer-other-frame): Move here from files.el.
16802 (normalize-buffer-to-switch-to): New functions.
16803 (switch-to-buffer): Move here from buffer.c.
16804 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16806 2011-06-10 Martin Rudalics <rudalics@gmx.at>
16808 * window.el (window-min-height, window-min-width): Move here
16809 from window.c. Add defcustoms and rewrite doc-strings.
16810 (resize-mini-window, resize-window): New functions.
16811 (adjust-window-trailing-edge, enlarge-window, shrink-window):
16812 Move here from window.c.
16813 (maximize-window, minimize-window): New functions.
16814 (delete-window, delete-other-windows, split-window): Move here
16816 (window-split-min-size): New function.
16817 (split-window-keep-point): Mention split-window-above-each-other
16818 instead of split-window-vertically.
16819 (split-window-above-each-other, split-window-vertically):
16820 Rename split-window-vertically to split-window-above-each-other
16821 and provide defalias for old definition.
16822 (split-window-side-by-side, split-window-horizontally):
16823 Rename split-window-horizontally to split-window-side-by-side
16824 and provide defalias for the old definition.
16825 (ctl-x-map): Move bindings for delete-window,
16826 delete-other-windows and enlarge-window here from window.c.
16827 Replace bindings for split-window-vertically and
16828 split-window-horizontally by bindings for
16829 split-window-above-each-other and split-window-side-by-side.
16831 * cus-start.el (all): Remove entries for window-min-height and
16832 window-min-width. Add entries for window-splits and
16835 2011-06-09 Glenn Morris <rgm@gnu.org>
16837 * calendar/appt.el (appt-mode-line): New function.
16838 (appt-check, appt-disp-window): Use it.
16840 * files.el (hack-one-local-variable-eval-safep):
16841 Allow minor-modes with explicit +/-1 arguments.
16843 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
16845 * term/xterm.el (xterm): Add defgroup.
16846 (xterm-extra-capabilities): Add defcustom to supply known xterm
16847 capabilities, skip querying them, or query them (default).
16848 (terminal-init-xterm): Use it.
16849 (terminal-init-xterm-modify-other-keys): New function to set up
16850 modifyOtherKeys support to simplify `terminal-init-xterm'.
16852 2011-06-09 Martin Rudalics <rudalics@gmx.at>
16854 * window.el (resize-window-reset, resize-window-reset-1)
16855 (resize-subwindows-skip-p, resize-subwindows-normal)
16856 (resize-subwindows, resize-other-windows, resize-this-window)
16857 (resize-root-window, resize-root-window-vertically)
16858 (window-deletable-p, window-or-subwindow-p)
16859 (frame-root-window-p): New functions.
16861 2011-06-09 Glenn Morris <rgm@gnu.org>
16863 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16864 (ange-ftp-get-files): Use it.
16866 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
16868 * mail/sendmail.el (mail-recover-1, mail-recover):
16869 * files.el (recover-file, recover-session):
16870 Handle dired-listing-switches not being just a single short option.
16872 2011-06-09 Glenn Morris <rgm@gnu.org>
16874 * calendar/appt.el (appt-display-message, appt-disp-window):
16875 Handle lists of appointments.
16877 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16879 * window.el (one-window-p): Move down in code.
16880 Rewrite doc-string.
16881 (window-current-scroll-bars): Rewrite doc-string.
16882 Normalize live window argument.
16883 (walk-windows, get-window-with-predicate, count-windows):
16884 Rewrite doc-string. Use window-list-1.
16885 (window-in-direction-2, window-in-direction, get-mru-window):
16888 2011-06-08 Reuben Thomas <rrt@sc3d.org>
16890 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16891 Doc fix (Bug#8713).
16893 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
16895 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16897 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
16899 * loadhist.el (unload-feature-special-hooks):
16900 Add `comint-output-filter-functions'.
16902 2011-06-08 Ivan Kanis <gnu@kanis.fr>
16904 * calendar/appt.el (appt-check): Move some initializations into the let.
16906 2011-06-08 Martin Rudalics <rudalics@gmx.at>
16908 * window.el (window-height): Defalias to window-total-height.
16909 (window-width): Defalias to window-body-width.
16911 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
16913 * image-mode.el (image-toggle-animation): New command.
16914 (image-mode-map): Bind it to RET.
16915 (image-mode): Update message.
16916 (image-toggle-display-image): Avoid a spurious cache flush.
16917 (image-transform-rotation): Doc fix.
16918 (image-transform-properties): Return quickly in the normal case.
16919 (image-animate-loop): Rename from image-animate-max-time.
16921 * image.el (image-animate-max-time): Move to image-mode.el.
16922 (create-animated-image): Remove unnecessary function.
16923 (image-animate): Rename from image-animate-start. New arg.
16924 (image-animate-stop): Remove; just use image-animate-timer.
16925 (image-animate-timer): Use car-safe.
16926 (image-animate-timeout): Rename argument.
16928 2011-06-07 Martin Rudalics <rudalics@gmx.at>
16930 * window.el (get-lru-window, get-largest-window): Move here from
16931 window.c. Rename first argument to ALL-FRAMES.
16932 Rephrase doc-strings.
16933 (get-buffer-window-list): Rewrite using window-list-1.
16934 Rephrase doc-string.
16935 (window-safe-min-height, window-safe-min-width): New constants.
16936 (window-size-ignore, window-min-size, window-min-size-1)
16937 (window-sizable, window-sizable-p, window-size-fixed-1)
16938 (window-size-fixed-p, window-min-delta-1, window-min-delta)
16939 (window-max-delta-1, window-max-delta, window-resizable)
16940 (window-resizable-p, window-total-height, window-total-width)
16941 (window-body-width): New functions.
16942 (window-full-height-p, window-full-width-p): Rewrite using
16944 (window-body-height): Rewrite using window-body-size.
16946 2011-06-06 Martin Rudalics <rudalics@gmx.at>
16948 * window.el (window-right, window-left, window-child)
16949 (window-child-count, window-last-child, window-any-p)
16950 (normalize-live-buffer, normalize-live-frame)
16951 (normalize-any-window, normalize-live-window)
16952 (window-iso-combination-p, window-iso-combined-p)
16953 (window-iso-combinations)
16954 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16955 (windows-with-parameter, window-with-parameter)
16956 (window-atom-root, make-window-atom, window-atom-check-1)
16957 (window-atom-check, window-side-check, window-check):
16959 (ignore-window-parameters, window-sides, window-sides-vertical)
16960 (window-sides-slots): New variables.
16961 (window-size-fixed): Move down in code. Minor doc-string fix.
16963 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
16965 * comint.el (comint-dynamic-complete-as-filename)
16966 (comint-dynamic-complete-filename): Correctly call
16967 completion-in-region.
16969 2011-06-05 Deniz Dogan <deniz@dogan.se>
16971 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16974 2011-06-05 Deniz Dogan <deniz@dogan.se>
16976 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16977 (rcirc): Use it to prompt for encryption.
16979 2011-06-05 Roland Winkler <winkler@gnu.org>
16981 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16982 (bibtex-search-entries): New command bound to C-c C-a.
16983 (bibtex-display-entries): New function.
16985 2011-06-05 Roland Winkler <winkler@gnu.org>
16987 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16988 (bibtex-insert-kill): After yanking insert newline if necessary.
16989 (bibtex-initialize): Call bibtex-string-files-init only once.
16990 (bibtex-mode): Do not call easy-menu-add.
16991 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16992 (bibtex-yank): Set arg properly if nil.
16994 2011-06-05 Roland Winkler <winkler@gnu.org>
16996 * textmodes/bibtex.el (bibtex-search-entry-globally):
16998 (bibtex-search-entry): Use it.
17000 2011-06-05 Roland Winkler <winkler@gnu.org>
17002 * textmodes/bibtex.el (bibtex-entry-format): New option
17004 (bibtex-format-entry, bibtex-reformat): Honor this option.
17005 (bibtex-parse-entry): Return fields in proper order.
17007 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17009 * doc-view.el (doc-view-remove-if): Move computation of result out
17010 of `dolist' to silence misleading lexical-binding warning.
17012 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17014 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17015 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17017 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17019 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17022 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17024 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17025 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17026 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17027 (tramp-parse-putty):
17028 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17029 (tramp-completion-function-alist-ssh)
17030 (tramp-completion-function-alist-telnet)
17031 (tramp-completion-function-alist-su)
17032 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17035 * net/tramp-ftp.el:
17037 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17038 load "tramp.el" `tramp-set-completion-function'.
17040 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17042 * shell.el: Require and use pcomplete.
17043 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17044 (shell-completion-vars): Set pcomplete-default-completion-function.
17046 2011-06-04 Deniz Dogan <deniz@dogan.se>
17048 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17051 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17053 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17055 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17057 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17058 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17059 * vc/log-view.el (log-view-beginning-of-defun):
17060 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17061 (smerge-refine-forward, smerge-refine-chopup-region):
17062 Silence warning for unused `dotimes' counter variables.
17064 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17066 * net/tramp.el (tramp-with-progress-reporter): Rename from
17067 with-progress-reporter. Use `declare'.
17068 * net/tramp-smb.el:
17070 * net/tramp-gvfs.el: Update all uses.
17072 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17074 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17075 buffer isn't killed before making it current.
17077 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17079 Silence various byte-compiler warnings.
17080 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17081 `access-type' and new obsolescence format.
17082 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17084 (byte-compile-check-variable): New `access-type' argument.
17085 Only warn if the access-type is obsolete.
17086 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17087 (byte-compile-variable-set): Adjust callers.
17088 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17089 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17090 setting it as obsolete.
17091 * simple.el (minibuffer-completing-symbol):
17092 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17093 access as obsolete.
17094 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17096 * international/quail.el (quail-mouse-choose-completion): Remove unused
17097 code referring to obsolete var.
17098 (quail-choose-completion-string): Remove.
17099 * server.el (server-clients-with, server-kill-buffer-query-function)
17100 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17101 * proced.el (proced-send-signal):
17102 * emacs-lisp/lisp.el (lisp-complete-symbol):
17103 Replace completion-annotate-function with completion-extra-properties.
17105 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17107 * simple.el (goto-line): Use read-number.
17108 (overriding-map-is-bound): Remove.
17109 (saved-overriding-map): Change default.
17110 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17111 Take the map as argument.
17112 (universal-argument, negative-argument, digit-argument): Use it.
17113 (restore-overriding-map): Adjust.
17114 (do-auto-fill): Use fill-forward-paragraph.
17115 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17117 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17118 (minibuffer-inactive-mode): New major mode.
17119 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17120 the *Messages* buffer" hack.
17121 (mouse-popup-menubar): Don't burp if the event is a normal key.
17123 Miscellaneous tweaks.
17124 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17125 lexical scoping as in subr.el's dolist and dotimes.
17126 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17127 Silence compiler warning.
17128 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17129 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17130 * international/ccl.el (ccl-compile): Trivial simplification.
17131 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17132 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17133 `printflag' argument.
17134 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17135 Purecopy the whole obsolescence data.
17137 2011-06-01 Leo Liu <sdl.web@gmail.com>
17139 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17140 improve doc-string as suggested by Marco Pessotto
17141 <melmothx@gmail.com>.
17142 (rcirc-print): Fix last change.
17144 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17146 * minibuffer.el (complete-with-action): Return nil for the metadata and
17147 boundaries of non-functional tables.
17148 (completion-table-dynamic): Return nil for the metadata.
17149 (completion-table-with-terminator): Add default case, using
17150 complete-with-action.
17151 (completion--metadata): New function.
17152 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17153 to try and avoid pathological performance problems.
17154 (completion--embedded-envvar-table): Return `category' metadata.
17156 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17158 * subr.el (process-alive-p): New tiny convenience function.
17160 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17162 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17163 content but also its previous major mode.
17165 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17167 * emacs-lisp/debug.el (debug): Restore the previous content of the
17168 *Backtrace* buffer when we exit with C-M-c.
17170 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17172 * minibuffer.el: Add metadata method to completion tables.
17173 (completion-category-overrides): New defcustom.
17174 (completion-metadata, completion--field-metadata)
17175 (completion-metadata-get, completion--styles)
17176 (completion--cycle-threshold): New functions.
17177 (completion-try-completion, completion-all-completions):
17178 Add `metadata' argument to choose completion-styles.
17179 (completion--do-completion): Use metadata to choose cycling.
17180 (completion-all-sorted-completions): Use metadata for sorting.
17181 Remove :completion-cycle-penalty which is not needed any more.
17182 (completion--try-word-completion): Add `metadata' argument.
17183 (minibuffer-completion-help): Check metadata for annotation function
17185 (completion-file-name-table): Return `category' metadata.
17186 (minibuffer-completing-file-name): Make obsolete.
17187 * simple.el (minibuffer-completing-symbol): Make obsolete.
17188 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17189 completion-try-completion.
17191 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17193 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17195 2011-05-30 Leo Liu <sdl.web@gmail.com>
17197 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17198 (rcirc-print): Decode all incoming messages (bug#8744).
17199 (rcirc-decode-coding-system): Allow value nil for automatic coding
17202 2011-06-01 Glenn Morris <rgm@gnu.org>
17204 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17206 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17208 * image.el (image-animate-max-time): Allow nil and t values.
17210 (create-animated-image): Doc fix.
17211 (image-animate-start): Remove second arg; just use
17212 image-animate-max-time.
17213 (image-animate-timeout): Doc fix. Args changed.
17215 * image-mode.el (image-toggle-display-image): Ensure that the
17216 image spec passed to the animate timer is the same object as in
17217 the buffer's display property (Bug#6981).
17218 (image-transform-properties): Doc fix.
17220 * image.el (image-animate-max-time): Default to nil.
17222 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17224 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17225 entire buffer list (Bug#8184).
17227 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17229 * image.el (imagemagick-types-inhibit)
17230 (imagemagick-register-types): Doc fix.
17232 2011-05-29 Deniz Dogan <deniz@dogan.se>
17234 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17237 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17239 * select.el: Don't perform clipboard-manager saving in hooks;
17240 leave the hooks empty.
17242 2011-05-28 Leo Liu <sdl.web@gmail.com>
17244 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17245 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17246 (occur-edit-mode): New major mode (Bug#8463).
17247 (occur-after-change-function): New function.
17248 (occur-engine): Give Occur tags a read-only property.
17250 2011-05-28 Kevin Ryde <user42@zip.com.au>
17252 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17254 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17256 * bindings.el (help-echo): Make the initial non-indicator dash
17257 empty on graphical terminals (Bug#7295).
17259 * files.el (auto-mode-alist): Move config rule after the
17260 in-stripping one (Bug#8547).
17262 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17264 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17265 setting (Bug#8740).
17267 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17269 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17270 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17273 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17275 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17277 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17279 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17280 (hs-hide-block-at-point, hs-find-block-beginning)
17281 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17284 2011-05-28 Glenn Morris <rgm@gnu.org>
17286 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17288 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17290 * help-fns.el (describe-function-1): If the function is a derived
17291 major mode, print the parent mode.
17293 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17294 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17296 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17298 * minibuffer.el (completion--capf-wrapper): Check applicability before
17299 returning non-nil for non-exclusive completion data.
17300 * progmodes/etags.el (tags-completion-at-point-function):
17301 * info-look.el (info-lookup-completions-at-point): Mark as
17303 (info-complete): Adjust accordingly.
17305 * info-look.el: Convert to lexical-binding and completion-at-point.
17306 (info-lookup-completions-at-point): New function.
17307 (info-complete): Use it and completion-in-region.
17309 2011-05-28 Drew Adams <drew.adams@oracle.com>
17311 * isearch.el: Let M-e start with point at the first mismatched char.
17312 (isearch-fail-pos): New function.
17313 (isearch-edit-string): Use it.
17315 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17317 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17319 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17321 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17322 traversal functions for avl-trees.
17323 (avl-tree--stack): New struct.
17324 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17325 (avl-tree-enter): Add optional `updatefun' arg.
17326 (avl-tree--do-enter): Add optional `updatefun' arg.
17327 Change return value.
17328 (avl-tree-delete): Add optional `test' and `nilflag' args.
17329 (avl-tree--do-delete): Add `test' and `nilflag' args.
17330 Change return value.
17331 (avl-tree-member): Add optional `nilflag'
17332 (avl-tree-member-p): New function.
17333 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17334 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17335 (avl-tree-stack-empty-p): New functions.
17337 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17338 avl-tree--del-balance1 and make it work both ways.
17339 (avl-tree--del-balance2): Remove.
17340 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17341 make it work both ways.
17342 (avl-tree--enter-balance2): Remove.
17343 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17345 (avl-tree--mapc, avl-tree-map): Add direction argument.
17347 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17349 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17351 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17353 * select.el: Support clipboard managers with built-in function
17354 x-clipboard-manager-save, via delete-frame-functions and
17356 (xselect-convert-to-targets): Add MULTIPLE target to list.
17357 (xselect-convert-to-save-targets): New function.
17359 2011-05-27 Kenichi Handa <handa@m17n.org>
17361 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17362 let-binding rfc2047-encode-encoded-words to nil.
17364 2011-05-27 Glenn Morris <rgm@gnu.org>
17366 * mail/emacsbug.el: Don't require url-util.
17368 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17370 * files.el (set-auto-mode):
17371 Also respect mode: entries at the end of the file. (Bug#8586)
17373 2011-05-26 Glenn Morris <rgm@gnu.org>
17375 * files.el (hack-local-variables-prop-line, hack-local-variables):
17376 Downcase mode names, as seems to be traditional.
17377 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17379 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17380 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17382 2011-05-25 Julien Danjou <julien@danjou.info>
17384 * textmodes/rst.el (rst-define-level-faces): Do not define face
17385 symbol if it is already defined.
17387 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17389 * play/5x5.el (5x5-new-game, 5x5-randomize):
17390 Reset 5x5-solver-output to nil when a new grid is cast.
17391 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17392 these debugging traces, as defmacro breaks the compiled code.
17394 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17396 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17398 2011-05-24 Leo Liu <sdl.web@gmail.com>
17400 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17401 (vc-bzr-sha1): Adapt.
17403 * sha1.el: Remove. Function `sha1' is now builtin.
17405 * bindings.el: Provide sha1 feature.
17407 2011-05-24 Kenichi Handa <handa@m17n.org>
17409 * mail/sendmail.el: Require `rfc2047'.
17410 (mail-insert-from-field): Do not perform RFC2047 encoding.
17411 (mail-encode-header): New function.
17412 (sendmail-send-it): Set buffer-file-coding-system of the work
17413 buffer to the return value of select-message-coding-system.
17414 Call mail-encode-header.
17416 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17418 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17420 * mail/supercite.el (sc-default-cite-frame):
17421 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17423 2011-05-24 Glenn Morris <rgm@gnu.org>
17425 * progmodes/python.el (brm-menu): Declare.
17427 * emulation/viper.el (viper-set-hooks): Declare.
17429 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17430 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17431 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17432 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17433 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17434 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17436 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17438 Add an :exit-function for completion-at-point.
17440 * minibuffer.el (completion--done): New fun.
17441 (completion--do-completion): Use it. New arg `expect-exact'.
17442 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17443 since completion--do-completion does it for us now.
17444 (minibuffer-force-complete): Use completion--done and
17445 completion--replace. Handle sole-completion case with more care.
17446 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17447 (completion-extra-properties): New var.
17448 (completion-annotate-function): Make obsolete.
17449 (minibuffer-completion-help): Adjust accordingly.
17450 Use completion-list-insert-choice-function.
17451 (completion-at-point, completion-help-at-point):
17452 Bind completion-extra-properties.
17453 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17454 * simple.el (completion-list-insert-choice-function): New var.
17455 (completion-setup-function): Preserve it.
17456 (choose-completion): Pay attention to it, shuffle the code a bit.
17457 (choose-completion-string): New arg `insert-function'.
17459 * textmodes/bibtex.el: Convert to lexical binding.
17460 (bibtex-mode-map): Use completion-at-point.
17461 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17462 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17463 (bibtex-complete): Define as obsolete alias.
17464 (bibtex-complete-internal): Remove.
17465 (bibtex-format-entry): Remove unused sub-group in regexp.
17466 * shell.el (shell--command-completion-data)
17467 (shell-environment-variable-completion):
17468 * pcomplete.el (pcomplete-completions-at-point):
17469 * comint.el (comint--complete-file-name-data): Use :exit-function
17470 instead of completion-table-with-terminator so it also works for
17473 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17475 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17477 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17480 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17482 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17484 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17485 customization variable and implement: If non-nil, auto-fill will
17486 be inhibited while on topic's header line.
17488 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17490 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17491 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17492 always have a solution in grid size = 5 cases.
17493 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17494 (5x5-solver-output, 5x5-log-buffer): New vars.
17495 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17496 Make these variables buffer local to achieve 5x5 multi-session-ness.
17497 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17498 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17499 (5x5-solve-suggest): New funs.
17500 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17501 randomize a grid so that we ensure that there is always a solution.
17502 (5x5-make-random-grid): Allow other movement than flipping.
17504 2011-05-23 Kevin Ryde <user42@zip.com.au>
17506 * emacs-lisp/advice.el (ad-read-advised-function):
17507 Use `function-called-at-point' as the default, if it has
17508 advice and passes PREDICATE.
17510 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17512 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17513 byte-compile-lambda if it's actually a lambda.
17515 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17516 Fix function quoting. Use backquote better.
17518 2011-05-22 Yuanle Song <sylecn@gmail.com>
17520 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17521 matching (Bug#8516).
17523 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17525 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17526 different face (Bug#8178).
17528 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17530 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17531 defface (Bug#8144).
17533 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17535 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17536 funcall as well (bug#8712). Warn when performing those conversions.
17537 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17539 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17541 2011-05-22 Glenn Morris <rgm@gnu.org>
17543 * files.el (hack-local-variables-prop-line): Small simplifications.
17544 (hack-local-variables, hack-local-variables-prop-line):
17545 If MODE-ONLY, return the mode, rather than just `t'.
17547 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17549 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17551 2011-05-21 Glenn Morris <rgm@gnu.org>
17553 * files.el (hack-local-variables-prop-line, hack-local-variables):
17554 If only interested in the mode, don't bother doing the other stuff.
17556 * image-mode.el (image-after-revert-hook):
17557 Redraw all frames on which the image is visible. (Bug#8567)
17559 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17561 * wid-edit.el (widget-checklist-match-inline):
17562 Fix 2011-04-19 change. (Bug#8649)
17564 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17566 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17567 Also allow singlespace after single-letter capitals followed by a dot.
17569 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17570 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17572 2011-05-20 Nix <nix@esperi.org.uk>
17574 * files.el (basic-save-buffer-2):
17575 Fix handling of break-hardlink-on-save with non-existent files.
17577 2011-05-19 Deniz Dogan <deniz@dogan.se>
17579 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17580 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17582 2011-05-19 Glenn Morris <rgm@gnu.org>
17584 * progmodes/f90.el (f90-type-def-re):
17585 Handle "type, bind(c)". (Bug#8691)
17587 * emacs-lisp/autoload.el (batch-update-autoloads):
17588 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17590 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17592 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17593 property for the correct connection in case of multihops.
17595 2011-05-18 Glenn Morris <rgm@gnu.org>
17597 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17598 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17600 Rationalize calendar handling of day and month abbrev-arrays.
17601 * calendar/calendar.el (calendar-customized-p): New function.
17602 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17603 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17605 (calendar-abbrev-length, calendar-day-abbrev-array)
17606 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17607 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17608 Elements may no longer be nil.
17609 (calendar-day-name, calendar-month-name):
17610 Update for changed nature of abbrev arrays.
17611 * calendar/diary-lib.el (diary-name-pattern):
17612 Update for changed nature of abbrev arrays.
17613 (diary-mark-entries-1): Update calendar-make-alist calls.
17614 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17615 * calendar/cal-html.el (cal-html-day-abbrev-array):
17616 Simply inherit from calendar-day-abbrev-array.
17618 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17620 * progmodes/grep.el (grep-mode): Disable default
17621 compilation-directory-matcher setting (bug#8684).
17623 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17625 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17626 instead of "head" and "tail". There were problems with SunOS 5.9,
17627 and it performs better.
17629 2011-05-17 Glenn Morris <rgm@gnu.org>
17631 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17633 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17634 Replace obsolete function.
17636 * shell.el (pcomplete-parse-arguments-function): Declare.
17638 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17639 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17640 (appt-check): Doc fixes.
17641 (appt-disp-window-function, appt-delete-window-function):
17642 Remove needless special case in custom :type.
17643 (appt-display-count): Default to 0, not nil.
17644 (appt-check): Reset appt-display-count to 0, not nil.
17646 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
17648 * progmodes/python.el (python-font-lock-keywords):
17649 Add the Python 3.X keyword "nonlocal" (bug#8639).
17651 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17653 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17655 2011-05-16 Kevin Ryde <user42@zip.com.au>
17657 * info-look.el (makefile-automake-mode): New setups, looking in
17658 automake manual, then makefile-mode.
17659 (makefile-mode): Remove automake manual, have it just in
17660 makefile-automake-mode since there's various things different or
17661 not relevant to plain make.
17662 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17663 believe a hypothetical automake-mode would go to makefile-mode,
17664 not the other way around.
17666 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
17668 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17669 hunk-end tags (Bug#8672).
17671 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17672 vc-annotate-show-diff-revision-at-line (Bug#8671).
17674 2011-05-14 Glenn Morris <rgm@gnu.org>
17676 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17677 in the middle of an existing one with multiple authors. (Bug#8645)
17678 (change-log-font-lock-keywords): Also handle multiple author lines
17679 with leading tabs. (Bug#8644)
17681 * calendar/appt.el (appt-check): Rename some local variables.
17682 Some simplification/reordering.
17684 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17685 (feedmail-sendmail-f-doesnt-sell-me-out)
17686 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17687 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17688 (feedmail-queue-runner-message-sender): Set :version.
17689 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17690 (bbdb-dwim-net-address, vm-mail): Declare.
17691 (feedmail-binmail-gnulinuxish-template):
17692 Rename from feedmail-binmail-linuxish-template.
17693 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17694 Use insert-buffer-substring.
17696 2011-05-14 Bill Carpenter <bill@carpenter.org>
17698 * mail/feedmail.el (feedmail-patch-level): Increase.
17699 (feedmail-debug): New custom group.
17700 (feedmail-confirm-outgoing-timeout)
17701 (feedmail-sendmail-f-doesnt-sell-me-out)
17702 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17703 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17704 (feedmail-sender-line, feedmail-from-line)
17705 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17706 (feedmail-spray-this-address)
17707 (feedmail-spray-address-fiddle-plex-list)
17708 (feedmail-queue-use-send-time-for-date)
17709 (feedmail-queue-use-send-time-for-message-id)
17710 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17711 (feedmail-buffer-eating-function):
17713 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17714 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17715 (feedmail-message-action-scroll-down): New functions.
17716 (feedmail-queue-directory, feedmail-queue-draft-directory):
17717 Use expand-file-name.
17718 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17719 Remove C-v help entry.
17720 (feedmail-queue-buffer-file-name): New variable.
17721 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17722 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17723 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17724 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17725 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17726 (feedmail-message-action-toggle-spray)
17727 (feedmail-run-the-queue-no-prompts)
17728 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17729 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17730 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17731 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17732 (feedmail-envelope-deducer, feedmail-fiddle-from)
17733 (feedmail-fiddle-sender, feedmail-default-date-generator)
17734 (feedmail-fiddle-date, feedmail-fiddle-message-id)
17735 (feedmail-fiddle-spray-address)
17736 (feedmail-fiddle-list-of-spray-fiddle-plexes)
17737 (feedmail-fiddle-list-of-fiddle-plexes)
17738 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17739 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17740 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17741 Change default. Doc fix.
17742 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17743 (feedmail-binmail-linuxish-template): New constant.
17744 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
17745 Respect feedmail-sendmail-f-doesnt-sell-me-out.
17746 (feedmail-send-it): Add debug call.
17747 Use feedmail-queue-buffer-file-name, and
17748 feedmail-send-it-immediately-wrapper.
17749 (feedmail-message-action-send): Add debug call.
17750 Use feedmail-send-it-immediately-wrapper.
17751 (feedmail-queue-express-to-queue): Add debug call.
17752 Run feedmail-queue-express-hook.
17753 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
17754 (feedmail-message-action-help-blat):
17755 Rename from feedmail-queue-send-edit-prompt-help-first.
17756 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
17757 Check line-endings. Handle errors better.
17758 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17759 Doc fix. Add debug call.
17760 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
17761 Use feedmail-queue-send-edit-prompt-inner.
17762 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17763 (feedmail-queue-send-edit-prompt-inner): New function, extracted
17764 from feedmail-queue-send-edit-prompt.
17765 (feedmail-queue-send-edit-prompt-help)
17766 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17767 (feedmail-tidy-up-slug): Add debug call.
17768 Respect feedmail-queue-slug-suspect-regexp.
17769 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17770 (feedmail-dump-message-to-queue): Add debug call.
17771 Expand queue-directory.
17772 (feedmail-dump-message-to-queue): Change message slightly.
17773 Use feedmail-say-chatter.
17774 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
17775 (feedmail-send-it-immediately-wrapper): New function.
17776 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
17777 Insert empty string rather than newline. Handle full-frame case.
17778 Use catch/throw. Use feedmail-say-chatter.
17779 (feedmail-fiddle-from): Try mail-host-address.
17780 (feedmail-default-message-id-generator): Doc fix.
17781 Bind system-time-locale. Handle missing end.
17782 (feedmail-fiddle-x-mailer): Add debug call.
17783 Handle feedmail-x-mailer-line being nil.
17784 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17785 Add debug call. Use buffer-substring-no-properties.
17786 (feedmail-say-debug, feedmail-say-chatter): New functions.
17787 (feedmail-find-eoh): Give an explicit error.
17789 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
17791 * net/newst-treeview.el (newsticker-treeview-face): Change default
17792 family from helvetica to sans.
17793 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17794 etc/images/newsticker.
17796 * net/newst-reader.el (newsticker-feed-face): Change default
17797 family from helvetica to sans.
17799 * net/newst-plainview.el (newsticker-new-item-face)
17800 (newsticker-old-item-face, newsticker-immortal-item-face)
17801 (newsticker-obsolete-item-face, newsticker-date-face)
17802 (newsticker-statistics-face): Change default family from
17804 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17805 etc/images/newsticker.
17807 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17808 (newsticker--process-auto-mark-filter-match): Tell user about
17811 2011-05-13 Didier Verna <didier@xemacs.org>
17813 Common Lisp indentation improvements on defmethod and lambda-lists.
17814 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17816 (lisp-lambda-list-keyword-parameter-indentation)
17817 (lisp-lambda-list-keyword-parameter-alignment)
17818 (lisp-lambda-list-keyword-alignment): New customizable user options.
17819 (lisp-indent-defun-method): Improve docstring.
17820 (extended-loop-p): Fix comment.
17821 (lisp-indent-lambda-list-keywords-regexp): New variable.
17822 (lisp-indent-lambda-list): New function.
17823 (lisp-indent-259): Use it.
17824 (lisp-indent-defmethod): Support for more than one
17825 method qualifier and properly indent methods lambda-lists.
17826 (defgeneric): Provide a missing common-lisp-indent-function property.
17828 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
17830 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17831 bounds for the empty string (bug#8667).
17833 2011-05-13 Glenn Morris <rgm@gnu.org>
17835 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17837 * mail/sendmail.el (sendmail-program): Try executable-find first.
17838 (sendmail-send-it): `sendmail-program' cannot be unbound.
17840 * calendar/appt.el (appt-make-list): Simplify.
17841 (appt-time-msg-list): Doc fix.
17842 (appt-check): Change mode-line message at the time of the appointment.
17844 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
17846 * progmodes/ld-script.el (ld-script-keywords)
17847 (ld-script-builtins): Update keywords list.
17849 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17851 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17853 * shell.el (shell-completion-vars): New function.
17855 * simple.el (read-shell-command): Use it.
17856 (blink-matching-open): No need for " [...]" in minibuffer-message.
17858 2011-05-12 Glenn Morris <rgm@gnu.org>
17860 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17861 (appt-check): Simplify.
17863 2011-05-12 Eli Zaretskii <eliz@gnu.org>
17865 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17866 literal "/dev/null".
17868 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17870 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17873 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
17875 * progmodes/which-func.el (which-function):
17876 Use add-log-current-defun instead of add-log-current-defun-function,
17877 which might not be defined (Bug#8260).
17879 2011-05-12 Glenn Morris <rgm@gnu.org>
17881 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17882 Let byte-compile-initial-macro-environment always take precedence.
17884 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
17886 * net/rcirc.el: Add support for SSL/TLS connections.
17887 (rcirc-server-alist): New field `encryption'.
17888 (rcirc): Check `encryption' settings.
17889 (rcirc-connect): New arg `encryption'. Use open-network-stream.
17890 Merge make-local-variable into `set'.
17891 (rcirc--connection-open-p): New function.
17892 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17893 the process is not a network process (e.g. running gnutls-cli).
17894 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17895 Make rcirc-(en|de)code-coding-system local here.
17896 (rcirc-mode): Merge make-local-variable into `set'.
17897 (rcirc-parent-buffer): Make permanent buffer-local.
17898 (rcirc-multiline-minor-mode): Don't do it here.
17899 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17900 there's no server buffer.
17902 2011-05-11 Glenn Morris <rgm@gnu.org>
17904 * newcomment.el (comment-kill): Prefix "unused" local.
17906 * term/w32console.el (get-screen-color): Declare.
17908 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17909 Handle symbol elements of byte-compile-initial-macro-environment.
17911 2011-05-10 Leo Liu <sdl.web@gmail.com>
17913 * bookmark.el (bookmark-bmenu-mode-map):
17914 Bind bookmark-bmenu-search to `/'.
17916 * mail/footnote.el: Convert to utf-8 encoding.
17917 (footnote-unicode-string, footnote-unicode-regexp): New variable.
17918 (Footnote-unicode): New function.
17919 (footnote-style-alist): Add unicode style to the list.
17920 (footnote-style): Doc fix.
17922 2011-05-10 Jim Meyering <meyering@redhat.com>
17924 Fix doubled-word typos.
17925 * international/quail.el (quail-insert-kbd-layout): and and -> and
17926 * kermit.el: and and -> and
17927 * net/ldap.el (ldap-search-internal): to to -> to
17928 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17929 * progmodes/js.el (js-mode): and and -> and
17930 * textmodes/artist.el (artist-move-to-xy): at at -> at
17931 (artist-draw-region-trim-line-endings): if if -> if
17932 And Safetyc -> Safety.
17933 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17935 2011-05-10 Glenn Morris <rgm@gnu.org>
17936 Stefan Monnier <monnier@iro.umontreal.ca>
17938 * files.el (hack-one-local-variable-eval-safep):
17939 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
17941 2011-05-10 Glenn Morris <rgm@gnu.org>
17943 * calendar/diary-lib.el (diary-list-entries-hook)
17944 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17945 (diary-nongregorian-marking-hook, diary-list-entries)
17946 (diary-include-other-diary-files, diary-mark-entries)
17947 (diary-mark-included-diary-files): Doc fixes.
17949 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17951 * misc.el: Require tabulated-list.el during compilation.
17953 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17955 * progmodes/compile.el (compilation-start):
17956 Run compilation-filter-hook for the async case too.
17957 (compilation-filter-hook): Doc fix.
17959 2011-05-09 Deniz Dogan <deniz@dogan.se>
17961 * wdired.el: Remove outdated installation comment. Fix usage
17964 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
17966 * misc.el: Implement new command `list-dynamic-libraries'.
17967 (list-dynamic-libraries--loaded-only-p): New variable.
17968 (list-dynamic-libraries--refresh): New function.
17969 (list-dynamic-libraries): New command.
17971 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
17973 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17974 Fix the ant regexp to handle end-line and end-column info from jikes.
17975 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
17976 higher priority to avoid clobbering by gnu.
17978 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17980 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17981 if the face has existing theme settings (Bug#8454).
17983 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
17985 * progmodes/perl-mode.el (perl-imenu-generic-expression):
17986 Only match variables declared via `my' or `our' (Bug#8261).
17988 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17989 special file names `.' and `..' (Bug#8259).
17991 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
17993 * progmodes/grep.el (grep-mode-font-lock-keywords):
17994 Remove buffer-changing entries.
17995 (grep-filter): New function.
17996 (grep-mode): Add it to compilation-filter-hook.
17998 * progmodes/compile.el (compilation-filter-hook)
17999 (compilation-filter-start): New defvars.
18000 (compilation-filter): Call compilation-filter-hook prior to
18001 updating the process mark.
18003 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18005 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18007 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18009 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18010 mailclient-send-it even if window-system is nil. (Bug#8595)
18012 * term/w32console.el (terminal-init-w32console):
18013 Call get-screen-color and use its output to set the frame
18014 background-mode. (Bug#8597)
18016 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18018 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18019 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18021 (defgeneric, eieio--defmethod): Use them.
18022 (eieio-defgeneric): Remove.
18023 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18025 2011-05-07 Glenn Morris <rgm@gnu.org>
18027 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18028 Use let rather than let*.
18029 (timeclock-find-discrep): Remove unused local.
18031 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18033 * calendar/appt.el (appt-time-msg-list): Doc fix.
18035 2011-05-06 Noah Friedman <friedman@splode.com>
18037 * apropos.el (apropos-print-doc): Only use
18038 emacs-lisp-docstring-fill-column when it is bound to an integer,
18039 per that variable's documentation.
18041 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18043 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18044 and warnings are not silently discarded (e.g. use -d instead of -P).
18046 2011-05-06 Glenn Morris <rgm@gnu.org>
18048 * calendar/appt.el (appt-message-warning-time): Doc fix.
18049 (appt-warning-time-regexp): New option.
18050 (appt-make-list): Respect appt-message-warning-time.
18052 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18054 (diary-add-to-list): Strip comments from the displayed string.
18055 (diary-mode): Set comment-start and comment-end.
18057 * vc/diff-mode.el (smerge-refine-subst): Declare.
18058 (diff-refine-hunk): Don't require smerge-mode when compiling.
18060 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18062 * simple.el (list-processes): Return nil as the docstring says.
18064 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18066 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18068 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18069 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18070 determining of binary transfer. (Bug#7383)
18072 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18074 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18075 Fix port computation bug. (Bug#8618)
18077 2011-05-05 Glenn Morris <rgm@gnu.org>
18079 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18081 * simple.el (shell-dynamic-complete-functions)
18082 (comint-dynamic-complete-functions): Declare.
18084 * net/network-stream.el (gnutls-negotiate):
18085 * simple.el (tabulated-list-print): Fix declarations.
18087 * progmodes/gud.el (syntax-symbol, syntax-point):
18088 Remove unnecessary and incorrect declarations.
18090 * emacs-lisp/check-declare.el (check-declare-scan):
18091 Handle byte-compile-initial-macro-environment in bytecomp.el
18093 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18095 Fix earlier half-done eieio-defmethod change (bug#8338).
18096 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18097 Streamline and change calling convention.
18098 (defmethod): Adjust accordingly and simplify.
18099 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18100 new eieio--defmethod.
18101 (slot-boundp): Minor CSE simplification.
18103 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18105 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18106 (glasses-make-readable): Use glasses-separate-capital-groups.
18108 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18110 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18111 (warning-series): Doc fix.
18112 (display-warning): Don't try to create the buffer if we just found it.
18114 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18116 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18117 (autoload-find-generated-file): New function.
18118 (generate-file-autoloads): Bind generated-autoload-file to
18120 (update-file-autoloads, update-directory-autoloads):
18121 Use autoload-find-generated-file. If called interactively, prompt for
18122 output file (Bug#7989).
18123 (batch-update-autoloads): Doc fix.
18125 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18127 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18129 2011-05-04 Glenn Morris <rgm@gnu.org>
18131 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18132 function, so it follows changes in calendar-date-style.
18133 (diary-fancy-date-matcher): New function.
18134 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18135 (diary-fancy-font-lock-fontify-region-function):
18136 Use diary-fancy-date-pattern as a function.
18138 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18139 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18141 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18143 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18144 instead of positional arguments. Allow :keylist and :crlfiles
18146 (open-gnutls-stream): Call it.
18148 * net/network-stream.el (network-stream-open-starttls): Adjust to
18149 call `gnutls-negotiate' with :process and :hostname arguments.
18151 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18153 * minibuffer.el (completion--message): New function.
18154 (completion--do-completion, minibuffer-complete)
18155 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18156 (completion--do-completion): Don't ignore completion-auto-help when in
18159 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18160 internal encoding (e.g. tibetan zero is not whitespace).
18161 (global-whitespace-mode): Prefer save-current-buffer.
18162 (whitespace-trailing-regexp): Remove useless save-match-data.
18163 (whitespace-empty-at-bob-regexp): Minor simplification.
18165 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18167 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18169 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
18171 * textmodes/ispell.el (ispell-add-per-file-word-list):
18172 Use `concat' to create string for insertion.
18174 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18176 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18177 Avoid open-line which runs post-self-insert-hook.
18178 (bibtex-fill-entry): Remove unused `end' var.
18180 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18182 * textmodes/ispell.el (ispell-add-per-file-word-list):
18183 Protect against `nil' value of `comment-start' (Bug#8579).
18185 2011-05-03 Leo Liu <sdl.web@gmail.com>
18187 * isearch.el (isearch-yank-pop): New command.
18188 (isearch-mode-map): Bind it to `M-y'.
18189 (isearch-forward): Mention it.
18191 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18193 * simple.el (minibuffer-complete-shell-command): Remove.
18194 (minibuffer-local-shell-command-map): Use completion-at-point.
18195 (read-shell-command): Setup completion vars here instead.
18196 (read-expression-map): Bind TAB to symbol completion.
18198 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18199 error directly rather via storing it into `results'.
18201 2011-05-02 Leo Liu <sdl.web@gmail.com>
18203 * vc/diff.el: Fix description.
18205 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18207 * server.el (server-eval-at): New function.
18209 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18211 * net/network-stream.el (open-network-stream): Take a :nowait
18212 parameter and pass it on to `make-network-process'.
18213 (network-stream-open-plain): Ditto.
18215 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18217 * faces.el (face-spec-set-match-display): Don't match toolkit
18218 options on terminal frames.
18220 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18222 * progmodes/pascal.el: Use lexical binding.
18223 (pascal-mode-map): Remove author preferences.
18225 * pcomplete.el (pcomplete-std-complete): Don't abuse
18226 completion-at-point.
18228 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18230 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18231 removing code that has been dead since 1991 or so.
18233 * startup.el (command-line): When warning about "_emacs", use a
18234 delayed warning to allow the user to filter it out.
18236 2011-04-28 Deniz Dogan <deniz@dogan.se>
18238 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18239 user has not joined.
18241 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18243 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18244 aren't any completions at point.
18246 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18248 * subr.el (display-delayed-warnings): New function.
18249 (delayed-warnings-hook): New variable.
18251 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18253 * minibuffer.el (completion-at-point, completion-help-at-point):
18254 Don't presume that a given completion-at-point-function will always
18255 use the same calling convention.
18257 * pcomplete.el (pcomplete-completions-at-point):
18258 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18259 pcomplete-seen is non-nil.
18260 (pcomplete-comint-setup): Also recognize the new comint/shell
18261 completion functions.
18262 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18263 pcomplete-seen is non-nil.
18265 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18267 * calendar/icalendar.el (diary-lib): Add require statement.
18268 (icalendar--create-uid): Read out a uid from a text-property on
18269 the first character in the entry. This allows for code to add its
18270 own uid to the entry.
18271 (icalendar--convert-float-to-ical): Add export of
18272 `diary-float'-entries save for those with the optional DAY
18275 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18277 * subr.el (shell-quote-argument): Use alternate escaping strategy
18278 when we spot a variable reference in a string.
18280 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18282 * cus-start.el (all): Define customization for debug-on-event.
18284 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18286 * subr.el (shell-quote-argument): Escape correctly under Windows.
18288 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18290 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18292 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18294 * net/tramp.el (tramp-process-actions): Add POS argument.
18295 Delete region between POS and (pos).
18297 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18298 Use `nil' position in `tramp-process-actions' call.
18299 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18301 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18302 position in `tramp-process-actions' call.
18304 * net/trampver.el: Update release number.
18306 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18308 * custom.el (defcustom): Obey lexical-binding.
18310 Fix octave-inf completion problems reported by Alexander Klimov.
18311 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18312 Inherit from octave-mode-syntax-table.
18313 (inferior-octave-mode): Set info-lookup-mode.
18314 (inferior-octave-completion-at-point): New function.
18315 (inferior-octave-complete): Use it and completion-in-region.
18316 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18317 comint-filename-completion.
18318 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18319 symbol elements which shouldn't be word elements.
18320 (octave-font-lock-keywords, octave-beginning-of-defun)
18321 (octave-function-header-regexp): Adjust regexps accordingly.
18322 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18324 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18326 * net/gnutls.el (gnutls-errorp): Declare before first use.
18328 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18330 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18331 verify-error, and verify-hostname-error parameters. Check whether
18332 default trustfile exists before going to use it. Add missing
18333 argument to gnutls-message-maybe call. Return value.
18334 Reported by Claudio Bley <claudio.bley@gmail.com>.
18335 (open-gnutls-stream): Add usage example.
18337 * net/network-stream.el (network-stream-open-starttls): Give host
18338 parameter to `gnutls-negotiate'.
18339 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18340 * subr.el (shell-quote-argument): Escape correctly under Windows.
18342 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18344 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18345 Use correct match group (bug#8438).
18347 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18349 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18350 (package-menu--generate): New arg specifying packages to show.
18351 (package-menu-refresh, package-menu-execute, list-packages):
18353 (package-show-package-list): New function, replacing deleted
18354 package--list-packages (renamed because it is non-internal).
18356 * finder.el (finder-list-matches): Use package-show-package-list
18357 instead of deleted package--list-packages.
18359 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18360 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18361 (vc-annotate-mode-map): Bind it to RET.
18363 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18365 * progmodes/etags.el (next-file): Don't use set-buffer to change
18366 buffers (Bug#8478).
18368 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18370 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18372 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18373 (apropos-accumulator): Doc fix.
18374 (apropos-function, apropos-macro, apropos-command)
18375 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18376 (apropos-plist): Add face property.
18377 (apropos-symbols-internal): Fix indentation.
18378 (apropos-print): Simplify help, and recognize apropos-multi-type.
18379 (apropos-print-doc): Use button-type-get to extract the button's
18380 face property. Fill docstring (Bug#8352).
18382 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18384 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18386 * play/mpuz.el (mpuz-silent): Doc fix.
18387 (mpuz-mode-map): Use mapc.
18388 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18389 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18390 Fix typos in docstrings.
18392 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18393 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18395 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18397 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18399 * minibuffer.el (completion--do-completion): Avoid the "Next char
18400 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18402 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18403 mouse-2 into unread-command-events, it is interpreted correctly.
18405 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18406 (image-toggle-display): Doc fix.
18408 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18410 * textmodes/page.el (what-page): Use line-number-at-pos to
18411 calculate line number (Bug#6825).
18413 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18415 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18416 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18417 Pass argument NO-DEFAULT to `find-tag-interactive'.
18419 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18421 Lexical-binding cleanup.
18423 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18424 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18425 * progmodes/ada-prj.el (ada-prj-initialize-values)
18426 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18427 (ada-prj-show-value):
18428 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18429 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18430 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18431 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18432 * progmodes/bug-reference.el (bug-reference-push-button):
18433 * progmodes/fortran.el (fortran-line-length):
18434 * progmodes/glasses.el (glasses-change):
18435 * progmodes/octave-mod.el (octave-fill-paragraph):
18436 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18437 (python-pdbtrack-grub-for-buffer, python-sentinel):
18438 * progmodes/sql.el (sql-save-connection):
18439 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18440 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18441 Mark unused parameters.
18443 * progmodes/compile.el (compilation--flush-directory-cache)
18444 (compilation--flush-parse, compile-internal): Mark unused parameters.
18445 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18446 (compilation-next-error-function): Remove unused variable `timestamp'.
18448 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18449 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18451 * progmodes/dcl-mode.el (dcl-end-of-command):
18452 Remove unused variable `start'.
18453 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18454 (dcl-option-value-basic, dcl-option-value-offset)
18455 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18456 Mark unused parameters.
18457 (dcl-save-local-variable): Remove unused variable `val'.
18460 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18461 Mark unused parameters.
18462 (delphi-ignore-changes): Move before first use.
18463 (delphi-charset-token-at): Remove unused variable `start'.
18464 (delphi-else-start): Remove unused variable `if-count'.
18465 (delphi-comment-block-start, delphi-comment-block-end):
18466 Remove unused variable `kind'.
18467 (delphi-indent-line): Remove unused variable `new-point'.
18469 * progmodes/ebrowse.el (ebrowse-files-list)
18470 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18471 Mark unused parameters. Don't quote `lambda'.
18472 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18473 Don't quote `lambda'.
18474 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18475 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18476 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18477 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18478 Use `ignore-errors'.
18479 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18480 (ebrowse-view/find-file-and-search-pattern)
18481 (ebrowse-view/find-member-declaration/definition):
18482 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18483 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18484 Rename parameter PREFIX-ARG to PREFIX.
18485 (ebrowse-tags-read-name): Remove unused variables `start' and
18487 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18490 * progmodes/etags.el (local-find-tag-hook): Declare.
18491 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18492 Mark unused parameters.
18494 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18495 (executable-interpret): Mark unused parameter.
18497 * progmodes/flymake.el (flymake-process-sentinel)
18498 (flymake-after-change-function)
18499 (flymake-create-temp-with-folder-structure)
18500 (flymake-get-include-dirs-dot): Mark unused parameters.
18501 (flymake-safe-delete-directory): Remove unused variable `err'.
18503 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18504 (speedbar-timer-fn, speedbar-line-text)
18505 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18506 (speedbar-center-buffer-smartly): Declare functions.
18507 (gdb-find-watch-expression): Remove unused variable `array'.
18508 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18509 (gdb-starting): Mark unused parameters.
18510 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18511 (gdb-table-string): Remove unused variable `res'.
18512 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18513 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18514 (gdb-display-buffer): Remove unused variable `cur-size'.
18516 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18517 allow lexical-binding compilation.
18518 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18519 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18520 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18521 Mark unused parameters.
18522 (gud-gdb-marker-filter): Remove unused variable `match'.
18523 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18524 lambda expressions and funcall them, instead of using `fset'.
18526 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18527 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18529 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18530 variable `header-beg'; use `let'.
18532 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18533 `restart', `last-sexp' and `at-do'.
18535 * progmodes/js.el (js--debug): Mark unused parameter.
18536 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18537 (js--splice-into-items): Remove unused variable `item'.
18538 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18540 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18541 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18542 (makefile-complete): Remove unused variable `try'.
18543 (makefile-fill-paragraph, makefile-match-function-end):
18544 Mark unused parameters.
18546 * progmodes/octave-inf.el (inferior-octave-complete):
18547 Remove unused variable `proc'.
18548 (inferior-octave-output-digest): Mark unused parameter.
18550 * progmodes/perl-mode.el (perl-calculate-indent):
18551 Remove unused variable `err'.
18553 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18554 (prolog-indent-line): Mark unused parameters.
18555 (prolog-indent-line): Remove unused variable `beg'.
18557 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18558 (reporter-dont-compact-list): Declare.
18560 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18561 Remove unused variable `char'.
18562 (sh-debug): Mark unused parameter.
18563 (sh-get-indent-info): Remove unused variable `start'.
18564 (sh-calculate-indent): Remove unused variable `var'.
18566 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18567 (simula-electric-keyword): Remove unused variable `null'.
18568 (simula-search-backward, simula-search-forward): Remove unused
18569 variables `begin' and `end'.
18571 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18572 Remove unused variable `pos'.
18573 (vera-electric-tab, vera-comment-uncomment-region):
18574 Mark unused parameters.
18575 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18577 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18579 * emacs-lisp/package.el (package--builtins, package-alist)
18580 (package-load-descriptor, package-built-in-p, package-activate)
18581 (define-package, package-installed-p)
18582 (package-compute-transaction, package-buffer-info)
18583 (package--push): Doc fix. Distinguish more clearly between
18584 version strings and version lists.
18586 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18588 Lexical-binding cleanup.
18590 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18591 (5x5-make-mutate-best):
18592 * play/fortune.el (fortune-in-buffer):
18593 * play/gomoku.el (gomoku-init-display):
18594 * play/solitaire.el (solitaire, solitaire-do-check):
18595 * play/tetris.el (tetris-default-update-speed-function):
18596 Mark unused parameters.
18598 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18599 (bubbles--shift): Remove unused variable `char-org'.
18600 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18601 (bubbles--show-images): Remove unused variable `char'.
18603 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18604 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18605 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18606 (decipher-analyze-buffer): Use ?\s.
18607 (decipher-make-checkpoint): Remove unused variable `mapping'.
18609 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18611 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18612 Remove unused variable `result'; use `let'.
18614 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18615 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18616 (gametree-children-shown-p, gametree-compute-reduced-score):
18617 Use `ignore-errors'.
18619 * play/handwrite.el (ps-lpr-switches): Declare.
18620 (handwrite): Remove unused variables `pmin' and `lastp'.
18622 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18624 * play/landmark.el (landmark-init-display)
18625 (landmark-update-naught-weights): Mark unused parameters.
18626 (landmark-y): Remove unused variable `noise'. Simplify.
18627 (landmark-human-plays): Remove unused variable `score'.
18629 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18630 (mpuz-try-proposal): Remove unused variable `game'.
18632 * play/zone.el (life-patterns): Declare.
18634 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18636 * vc/vc.el (ediff-vc-internal): Declare function.
18638 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18640 * shell.el: Use lexical-binding and std completion UI.
18641 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18642 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18643 comint-preoutput-filter-functions rather than on
18644 comint-output-filter-functions.
18645 (shell-command-completion, shell--command-completion-data)
18646 (shell-filename-completion, shell-environment-variable-completion)
18647 (shell-c-a-p-replace-by-expanded-directory): New functions.
18648 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18649 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18650 (shell-dynamic-complete-environment-variable): Use them.
18651 (shell-dynamic-complete-as-environment-variable)
18652 (shell-dynamic-complete-as-command): Remove.
18653 (shell-match-partial-variable): Match past point.
18654 * comint.el: Clean up use of completion-at-point-functions.
18655 (comint-completion-at-point): New function.
18656 (comint-mode): Use it completion-at-point-functions.
18657 (comint-dynamic-complete): Make it obsolete.
18658 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18659 (comint-c-a-p-replace-by-expanded-history): New function.
18660 (comint-dynamic-complete-functions)
18661 (comint-replace-by-expanded-history): Use it.
18662 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18663 termination strings. Try harder to avoid second try-completion.
18664 (completion-in-region-mode-map): Disable bindings that don't work yet.
18666 * comint.el: Use lexical-binding. Require CL.
18667 (comint-dynamic-complete-functions): Use comint-filename-completion.
18668 (comint-completion-addsuffix): Tweak custom type.
18669 (comint-filename-completion, comint--common-suffix)
18670 (comint--common-quoted-suffix, comint--table-subvert)
18671 (comint--complete-file-name-data): New functions.
18672 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18673 (comint-dynamic-list-filename-completions): Use them.
18674 (comint-dynamic-simple-complete): Make obsolete.
18676 * minibuffer.el (completion-in-region-mode):
18677 Keep completion-in-region-mode--predicate global.
18678 (completion-in-region--postch):
18679 Assume completion-in-region-mode--predicate is not null.
18681 * progmodes/flymake.el (flymake-start-syntax-check-process):
18682 Obey `dir'. Simplify.
18684 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18685 we're in VC after all.
18687 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18689 * vc/vc.el (vc-diff-build-argument-list-internal)
18690 (vc-version-ediff, vc-ediff): New commands.
18691 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18693 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18695 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18698 * obsolete/erc-hecomplete.el: Make obsolete.
18699 * obsolete/: Standardize obsolescence info in the header.
18701 2011-04-20 Glenn Morris <rgm@gnu.org>
18703 * calendar/solar.el (solar-horizontal-coordinates):
18704 Use the longitude argument rather than `calendar-longitude'.
18705 (solar-date-next-longitude): Remove unused locals.
18707 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18709 * whitespace.el: New version 13.2.1.
18711 2011-04-20 felix <EmacsWiki> (tiny change)
18713 * whitespace.el (global-whitespace-mode): Keep highlight when
18714 switching between major modes on a file.
18716 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18718 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18719 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18720 multi-line comments as well.
18722 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
18724 Lexical-binding cleanup.
18726 * arc-mode.el (archive-mode-revert):
18727 * cmuscheme.el (scheme-interactively-start-process):
18728 * custom.el (custom-initialize-delay):
18729 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18730 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18731 * emacs-lock.el (emacs-lock-clear-sentinel):
18732 * ezimage.el (defezimage):
18733 * follow.el (follow-avoid-tail-recenter):
18734 * fringe.el (set-fringe-mode-1):
18735 * generic-x.el (bat-generic-mode-compile):
18736 * help-mode.el (help-info-variable, help-do-xref)
18737 (help-mode-revert-buffer):
18738 * help.el (view-emacs-todo):
18739 * iswitchb.el (iswitchb-completion-help):
18740 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18741 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18742 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18743 * locate.el (locate-update):
18744 * longlines.el (longlines-encode-region)
18745 (longlines-after-change-function):
18746 * outline.el (outline-isearch-open-invisible):
18747 * ps-def.el (declare-function, charset-dimension, char-width)
18749 * ps-mule.el (ps-mule-plot-string):
18750 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18751 (recentf-edit-list-select, recentf-edit-list-validate)
18752 (recentf-open-files-action):
18753 * rect.el (delete-whitespace-rectangle-line)
18754 (rectangle-number-line-callback):
18755 * register.el (window-configuration-to-register)
18756 (frame-configuration-to-register):
18757 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18758 * select.el (xselect-convert-to-string, xselect-convert-to-length)
18759 (xselect-convert-to-targets, xselect-convert-to-delete)
18760 (xselect-convert-to-filename, xselect-convert-to-charpos)
18761 (xselect-convert-to-lineno, xselect-convert-to-colno)
18762 (xselect-convert-to-os, xselect-convert-to-host)
18763 (xselect-convert-to-user, xselect-convert-to-class)
18764 (xselect-convert-to-name, xselect-convert-to-integer)
18765 (xselect-convert-to-atom, xselect-convert-to-identity):
18766 * subr.el (declare, ignore, process-kill-without-query)
18767 (text-clone-maintain):
18768 * terminal.el (te-get-char, te-tic-sentinel):
18769 * tool-bar.el (tool-bar-make-keymap):
18770 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18771 * type-break.el (type-break-mode, type-break-noninteractive-query):
18772 * view.el (View-back-to-mark):
18773 * wid-browse.el (widget-browse-action, widget-browse-widget)
18774 (widget-browse-widgets, widget-browse-sexp):
18775 * widget.el (define-widget-keywords):
18776 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18777 Mark unused parameters.
18779 * align.el (align-adjust-col-for-rule): Mark unused parameter.
18780 (align-areas): Remove unused variable `look'.
18781 (align-region): Remove unused variables `real-end' and `pos-list'.
18783 * apropos.el (apropos-score-doc): Remove unused variable `i'.
18785 * bindings.el (mode-line-modified, mode-line-remote):
18786 Mark unused parameters.
18787 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18789 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18790 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18792 * comint.el (comint-history-isearch-pop-state)
18793 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18794 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18795 (comint-substitute-in-file-name): Doc fix.
18797 * completion.el (cmpl-statistics-block): Mark unused parameter.
18798 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18799 (save-completions-to-file, load-completions-from-file):
18800 Remove unused local variable `e'.
18802 * composite.el (compose-chars): Remove unused variable `len'.
18803 (lgstring-insert-glyph): Remove unused variable `g'.
18804 (compose-glyph-string): Remove unused variables `ascent',
18805 `descent', `lbearing' and `rbearing'.
18806 (compose-glyph-string-relative): Remove unused variables
18807 `lbearing', `rbearing' and `wadjust'.
18808 (compose-gstring-for-graphic): Remove unused variables `header',
18809 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
18810 (compose-gstring-for-terminal): Remove unused variables `header'
18811 and `nchars'. Use `let', not `let*'.
18813 * cus-edit.el (Custom-set, Custom-save, custom-reset)
18814 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18815 (Custom-buffer-done, custom-buffer-create-internal)
18816 (custom-browse-visibility-action, custom-browse-group-tag-action)
18817 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18818 (widget-magic-mouse-down-action, custom-toggle-parent)
18819 (custom-add-parent-links, custom-toggle-hide-variable)
18820 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18821 (custom-toggle-hide-face, face, hook, custom-group-link-action)
18822 (custom-face-menu-create, custom-variable-menu-create, get)
18823 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18824 (custom-reset-standard-save-and-update): Remove unused variable `value'.
18825 (customize-apropos): Remove unused variable `tests'.
18826 (custom-group-value-create): Remove unused variable `hidden-p'.
18827 (sort-fold-case): Declare.
18829 * cus-theme.el (custom-reset-standard-faces-list)
18830 (custom-reset-standard-variables-list): Declare.
18831 (customize-create-theme, custom-theme-revert, custom-theme-write)
18832 (custom-theme-choose-mode, customize-themes, custom-theme-save):
18833 Mark unused parameters.
18835 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18837 * delim-col.el (delimit-columns-max): Move defvar before first use.
18839 * descr-text.el (describe-char-categories): Don't quote `lambda'.
18840 (describe-char): Don't quote `lambda'. Mark unused parameter.
18842 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18843 (auto-insert): Declare.
18844 (desktop-restore-file-buffer): Rename desktop-* parameters;
18846 (desktop-create-buffer): Rename desktop-* parameters and bind them.
18847 (desktop-buffer): Rename desktop-* parameters.
18849 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18850 (dframe-reposition-frame-xemacs, dframe-help-echo)
18851 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18852 Mark unused parameters.
18854 * dired-aux.el (backup-extract-version-start, overwrite-query)
18855 (overwrite-backup-query, rename-regexp-query)
18856 (rename-non-directory-query): Declare.
18857 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18858 (dired-add-entry): Remove unused variable `orig-file-name'.
18859 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18860 Use parameter PRESERVE-TIME instead of accessing dynamic variable
18861 `dired-copy-preserve-time' directly.
18862 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18863 (dired-insert-subdir-newpos): Rename unused variable `pos'.
18865 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18866 (dired-virtual-revert, dired-make-relative-symlink):
18867 Mark unused parameters.
18868 (manual-program): Declare.
18869 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18870 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18871 wrapped in `with-no-warnings' to avoid replacing one warning by another.
18873 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18875 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18877 * echistory.el (electric-history-in-progress, Helper-return-blurb):
18880 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18882 * electric.el (Electric-command-loop): Rename parameter
18883 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18885 * expand.el (expand-in-literal): Remove unused variable `here'.
18887 * facemenu.el (facemenu-add-new-color):
18888 Remove unused variable `docstring'.
18890 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18891 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18892 (face-attr-construct): Mark unused parameter. Doc fix.
18893 (read-color): Remove unused variable `hex-string'.
18895 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18896 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18897 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18898 (display-buffer-other-frame): Remove unused variable `old-window'.
18899 (kill-buffer-hook): Declare.
18900 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18901 Mark unused parameters.
18902 (after-find-file): Pass 1 to `auto-save-mode', not t.
18904 * files-x.el (auto-insert): Declare.
18905 (modify-file-local-variable-prop-line): Remove unused variable `val'.
18907 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18908 variable `buf'. Mark unused parameter.
18909 (find-lisp-insert-directory): Mark unused parameter.
18911 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18912 (format-encode-region): Remove unused variables `cur-buf' and `result'.
18913 (format-common-tail): Remove, unused.
18914 (format-deannotate-region): Remove unused variable `loc'.
18915 (format-annotate-region): Remove unused variable `p'.
18916 (format-annotate-single-property-change): Remove unused variables
18917 `default' and `tail'.
18919 * forms.el (read-file-filter): Declare.
18920 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18922 * frame.el (frame-creation-function-alist): Mark unused parameter.
18923 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18925 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18926 Remove unused parameters.
18927 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18928 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18930 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18931 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18932 (hfy-prepare-tag-map): Mark unused parameters.
18933 (htmlfontify-buffer): Use `called-interactively-p'.
18935 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18936 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18937 (ibuffer-do-occur): Mark unused parameters.
18938 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18939 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18941 * ibuffer.el: Don't quote `lambda'.
18942 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18943 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18944 Mark unused parameters.
18946 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18947 (ido-completing-read): Mark unused parameters.
18948 (ido-copy-current-word): Mark unused parameters;
18949 remove unused variable `name'.
18950 (ido-sort-merged-list): Remove unused parameter `dirs'.
18952 * ielm.el (ielm-input-sender): Mark unused parameter.
18953 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18954 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18955 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18956 `ielm-string' as a dynamic variable accessible from the IELM prompt.
18957 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
18959 * image-dired.el (image-dired-display-thumbs): Remove unused
18960 variables `curr-file' and `count'.
18961 (image-dired-remove-tag): Remove unused variable `start'.
18962 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18963 variable `curr-file'
18964 (image-dired-rotate-original): Remove unused variable `temp-file'.
18965 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18966 Remove unused variable `file'.
18967 (image-dired-gallery-generate): Remove unused variable `curr'.
18968 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18970 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18972 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18974 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18976 * isearch.el (minibuffer-history-symbol): Declare.
18977 (isearch-edit-string): Remove unused variable `err'.
18978 (isearch-message-prefix, isearch-message-suffix):
18979 Mark unused parameters.
18981 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18983 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18985 * makesum.el (double-column): Remove unused variable `cnt'.
18987 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18988 (ido-ignore-item-temp-list): Declare.
18990 * mouse-drag.el (mouse-drag-throw): Remove unused variables
18991 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18992 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18993 (mouse-drag-drag): Remove unused variables `mouse-delta' and
18996 * mouse-sel.el (mouse-extend-internal):
18997 Remove unused variable `orig-window-frame'.
18999 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19000 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19001 Move declarations before first use.
19002 (pcomplete-opt): Mark unused parameters; doc fix.
19004 * proced.el (proced-revert): Mark unused parameter.
19005 (proced-send-signal): Remove unused variable `err'.
19007 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19008 Rename parameter PREFIX-ARG to ARG.
19009 (ps-basic-plot-string, ps-basic-plot-whitespace):
19010 Mark unused parameters.
19012 * replace.el (replace-count): Define.
19013 (occur-revert-function): Mark unused parameters.
19014 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19015 (isearch-case-fold-search, isearch-string): Declare.
19016 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19017 bind `case-fold-search'. Remove unused variables `beg' and `end',
19019 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19020 COUNT and bind `replace-count'.
19021 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19024 * savehist.el (print-readably, print-string-length): Declare.
19026 * shadowfile.el (shadow-expand-cluster-in-file-name):
19027 Remove unused variable `cluster'.
19028 (shadow-copy-file): Remove unused variable `i'.
19029 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19030 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19031 (shadow-define-literal-group, shadow-define-regexp-group)
19032 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19034 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19035 (shell): Use `called-interactively-p'.
19036 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19038 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19039 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19040 (delete-backward-char): Remove unused variable `ocol'.
19041 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19042 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19043 (event-apply-hyper-modifier, event-apply-shift-modifier)
19044 (event-apply-control-modifier, event-apply-meta-modifier):
19045 Mark unused parameters.
19046 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19047 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19049 * speedbar.el (speedbar-ignored-directory-expressions)
19050 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19051 (speedbar-find-file, speedbar-dir-follow)
19052 (speedbar-directory-buttons-follow, speedbar-tag-find)
19053 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19054 (speedbar-buffers-line-directory, speedbar-buffer-click):
19055 Mark unused parameters.
19056 (speedbar-tag-file): Remove unused variable `mode'.
19057 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19059 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19061 * talk.el (talk): Remove unused variable `display'.
19063 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19064 (tar-write-region-annotate): Mark unused parameter.
19066 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19067 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19068 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19069 warning by another.
19071 * time-stamp.el (time-stamp-string-preprocess):
19072 Remove unused variable `require-padding'.
19074 * tree-widget.el (widget-glyph-enable): Declare.
19075 (tree-widget-action): Mark unused parameter.
19077 * w32-fns.el (x-get-selection): Mark unused parameter.
19078 (autoload-make-program, generated-autoload-file): Declare.
19080 * wdired.el (wdired-revert): Mark unused parameters.
19081 (wdired-xcase-word): Remove unused variable `err'.
19083 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19084 (whitespace-help-scroll): Remove unused variable `data-help'.
19086 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19087 (widget-image-insert, widget-after-change, default)
19088 (widget-default-format-handler, widget-default-notify)
19089 (widget-default-prompt-value, widget-info-link-action)
19090 (widget-url-link-action, widget-function-link-action)
19091 (widget-variable-link-action, widget-file-link-action)
19092 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19093 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19094 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19095 (widget-insert-button-action, widget-delete-button-action, visibility)
19096 (widget-documentation-link-action, widget-documentation-string-action)
19097 (widget-const-prompt-value, widget-regexp-match, symbol)
19098 (widget-coding-system-prompt-value)
19099 (widget-key-sequence-value-to-external, sexp)
19100 (widget-sexp-value-to-internal, character, vector, cons)
19101 (widget-choice-prompt-value, widget-boolean-prompt-value)
19102 (widget-color--choose-action): Mark unused parameters.
19103 (widget-item-match-inline, widget-choice-match-inline)
19104 (widget-checklist-match, widget-checklist-match-inline)
19105 (widget-group-match): Rename parameter VALUES to VALS.
19106 (widget-field-value-set): Remove unused variable `size'.
19107 (widget-color-action): Remove unused variables `value' and `start'.
19109 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19110 variable `dir'. Doc fix.
19111 (windmove-find-other-window): Don't pass it.
19113 * window.el (count-windows): Mark unused parameter.
19114 (bw-adjust-window): Remove unused variable `err'.
19116 * woman.el (woman-file-name): Remove unused variable `default'.
19117 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19118 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19119 (global-font-lock-mode): Declare.
19120 (woman-decode-region): Mark unused parameter.
19121 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19123 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19124 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19125 (x-dnd-handle-moz-url): Remove unused variable `title'.
19126 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19128 * xml.el (xml-parse-tag, xml-parse-attlist):
19129 Remove unused variable `pos'.
19131 2011-04-19 Glenn Morris <rgm@gnu.org>
19133 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19134 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19135 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19136 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19137 * calendar/cal-html.el (cal-html-insert-minical):
19138 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19139 (calendar-mark-date-pattern):
19140 Prefix "unused" locals.
19142 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19143 optional argument `style'.
19145 * calendar/appt.el (appt-make-list):
19146 * calendar/cal-china.el (calendar-chinese-date-string):
19147 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19148 (diary-hebrew-yahrzeit):
19149 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19150 * calendar/calendar.el (calendar-generate-window):
19151 * calendar/time-date.el (time-to-days):
19152 Remove unused local variables.
19154 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19156 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19157 glyphless-char-display table.
19158 (tabulated-list-glyphless-char-display): New var.
19160 2011-04-18 Sam Steingold <sds@gnu.org>
19162 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19163 to acknowledgments.
19165 2011-04-17 Glenn Morris <rgm@gnu.org>
19167 * calendar/diary-lib.el (diary-sexp-entry):
19168 * calendar/holidays.el (holiday-sexp):
19169 Set debug-on-error rather than the removed stack-trace-on-error.
19171 2011-04-16 Glenn Morris <rgm@gnu.org>
19173 * progmodes/f90.el: Use lexical-binding.
19174 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19176 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19178 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19179 (mail-mode): Setup mailalias completion here instead.
19180 * mail/mailalias.el: Use lexical-binding.
19181 (pattern, mailalias-done): Declare dynamic.
19182 (mail-completion-at-point-function): New function, from mail-complete.
19183 (mail-complete): Use it.
19184 (mail-completion-expand): New function.
19185 (mail-get-names): Use it.
19186 (mail-directory, mail-directory-process, mail-directory-stream):
19187 Don't use `pattern' for lexically bound arg.
19189 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19191 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19192 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19193 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19195 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19196 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19197 (byte-interactive-p): Define them again, for use when inlining
19200 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19202 * loadup.el: Use `string-to-number', not `string-to-int'.
19204 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19206 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19207 gud-gdb-complete-command.
19208 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19209 (gud-gdb-completion-at-point): New function.
19210 (gud-gdb-completions): Remove.
19212 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19214 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19215 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19216 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19217 whether `executable-find' is bound.
19219 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19221 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19223 * minibuffer.el (completion-in-region-mode-predicate)
19224 (completion-in-region-mode--predicate): New vars.
19225 (completion-in-region, completion-in-region--postch)
19226 (completion-in-region-mode): Use them.
19227 (completion--capf-wrapper): Also return the hook function.
19228 (completion-at-point, completion-help-at-point):
19229 Adjust and provide a predicate.
19231 Preserve arg names for advice of subr and lexical functions (bug#8457).
19232 * help-fns.el (help-function-arglist): Consolidate the subr and
19233 new-byte-code cases. Add argument `preserve-names' to extract names
19234 from the docstring when needed.
19235 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19236 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19237 (ad-arglist): Use help-function-arglist's new arg.
19238 (ad-definition-type): Use cond.
19240 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19242 * autorevert.el (auto-revert-handler):
19243 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19244 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19245 Don't quote lambda.
19247 * image-mode.el (image-transform-set-scale):
19248 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19250 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19252 * net/network-stream.el (network-stream-open-starttls): Only do
19253 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19254 Upgrades via gnutls-cli are too slow to be done opportunistically.
19256 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19258 * dframe.el (dframe-current-frame): Remove spurious quote.
19260 2011-04-12 Glenn Morris <rgm@gnu.org>
19262 * calendar/cal-tex.el (cal-tex-end-document):
19263 Try to automatically use latin1 input if needed.
19265 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19266 Don't try to cons a mark onto an empty element.
19268 2011-04-11 Leo Liu <sdl.web@gmail.com>
19270 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19272 (ido-kill-buffer-at-head): Support killing virtual buffers.
19274 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19276 * minibuffer.el (completion-show-inline-help): New var.
19277 (completion--do-completion, minibuffer-complete)
19278 (minibuffer-force-complete, minibuffer-complete-word):
19279 Inhibit minibuffer messages if completion-show-inline-help is nil.
19281 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19282 to avoid interference from inline help (Bug#5849).
19284 2011-04-10 Leo Liu <sdl.web@gmail.com>
19286 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19289 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19291 * image-mode.el (image-toggle-display-image): Signal an error if
19293 (image-transform-mode, image-transform-resize)
19294 (image-transform-set-rotation): Doc fix.
19295 (image-transform-set-resize): Delete.
19296 (image-transform-set-scale, image-transform-fit-to-height)
19297 (image-transform-fit-to-width): Handle image-toggle-display-image
19298 and image-transform-resize directly.
19300 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19302 * doc-view.el (doc-view-fit-width-to-window)
19303 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19304 New functions for fitting the shown image to the Emacs window size.
19305 (doc-view-mode-map): Add bindings for the new functions.
19307 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19309 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19310 Fix typo in docstring.
19312 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19314 * files.el (file-size-human-readable): Produce one digit after
19315 decimal, like "ls -lh" does.
19317 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19318 the file size representation.
19320 * simple.el (list-processes): If async subprocesses are not
19321 available, error out with a clear error message.
19323 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19325 * help.el (help-form-show): New function, to be called from C.
19326 Put help-form output in a buffer named differently than *Help*.
19328 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19330 * files.el (file-size-human-readable): New function.
19332 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19333 computing the representation inline. Don't require `cl'.
19335 2011-04-08 Glenn Morris <rgm@gnu.org>
19337 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19339 * net/browse-url.el (browse-url-firefox):
19340 Test system-type, not system-configuration.
19342 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19343 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19344 Use log-edit-empty-buffer-p. (Bug#7598)
19346 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19347 (rlogin-mode-map): Initialize in the defvar.
19348 (rlogin): Use ignore-errors.
19350 * replace.el (occur-mode-map): Some fixes for menu items.
19352 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19354 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19356 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19358 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19359 issuing unused warnings.
19361 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19364 * simple.el: Lisp reimplement of list-processes. Based on an
19365 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19366 (process-menu-mode): New major mode.
19367 (list-processes--refresh, list-processes):
19368 (process-menu-visit-buffer): New functions.
19370 * files.el (save-buffers-kill-emacs): Don't assume any return
19371 value of list-processes, which is undocumented anyway.
19373 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19375 * emacs-lisp/tabulated-list.el: New file.
19377 * emacs-lisp/package.el: Use Tabulated List mode.
19378 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19379 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19380 table format using Tabulated List mode variables.
19381 (package--push): New macro, replacing package-list-maybe-add.
19382 (package-menu--generate): Use package--push. Renamed from
19383 package--generate-package-list.
19384 (package-menu-refresh, list-packages): Use it.
19385 (package-menu--print-info): Rename from package-print-package.
19386 Return insertion data instead of inserting it directly.
19387 (package-menu-describe-package, package-menu-execute):
19388 Use tabulated-list-get-id.
19389 (package-menu-mark-delete, package-menu-mark-install)
19390 (package-menu-mark-unmark, package-menu-backup-unmark)
19391 (package-menu-mark-obsolete-for-deletion):
19392 Use tabulated-list-put-tag.
19393 (package--list-packages, package-menu-revert)
19394 (package-menu-get-package, package-menu-get-version)
19395 (package-menu-sort-by-column): Functions deleted.
19396 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19397 (package-menu--status-predicate, package-menu--version-predicate)
19398 (package-menu--name-predicate)
19399 (package-menu--description-predicate): Handle arguments in the
19400 Tabulated List format.
19401 (package-list-packages-no-fetch): Call list-packages.
19403 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19405 * files.el (after-find-file-from-revert-buffer): Remove variable.
19406 (after-find-file): Don't bind it.
19407 (revert-buffer-in-progress-p): New variable.
19408 (revert-buffer): Bind it.
19409 Pass nil for `after-find-file-from-revert-buffer'.
19411 * saveplace.el (save-place-find-file-hook): Use new variable
19412 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19414 2011-04-06 Glenn Morris <rgm@gnu.org>
19416 * Makefile.in (AUTOGEN_VCS): New variable.
19417 (autoloads): Use $AUTOGEN_VCS.
19419 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19420 * calendar/calendar.el (calendar-mode-map):
19421 Check for toolkit scroll bars. (Bug#8305)
19423 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19425 * minibuffer.el (completion-in-region--postch)
19426 (completion-in-region-mode): Remove unnecessary messages.
19428 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19430 * font-lock.el (font-lock-refresh-defaults):
19431 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19432 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19434 * info.el (Info-directory-list, Info-read-node-name-2)
19435 (Info-split-parameter-string): Doc fixes.
19436 (Info-virtual-nodes): Reflow docstring.
19437 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19438 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19439 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19440 Fix typos in docstrings.
19441 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19442 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19443 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19444 (Info-restore-desktop-buffer): Mark unused parameters.
19445 (Info-directory-find-file, Info-directory-find-node)
19446 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19447 (Info-virtual-index-find-node, Info-apropos-find-file)
19448 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19449 Mark unused parameters; fix typos in docstrings.
19450 (Info-virtual-index): Remove unused local variable `nodename'.
19452 2011-04-05 Deniz Dogan <deniz@dogan.se>
19454 * net/rcirc.el: Update my e-mail address.
19455 (rcirc-mode-map): Remove M-o binding.
19457 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19459 * startup.el (command-line): Save the cursor's theme-face
19460 directly, instead of using face-override-spec.
19462 * custom.el (load-theme): Minor optimization in assigning faces.
19464 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19466 * help-fns.el (describe-variable): Complete all variables having
19467 documentation, including keywords.
19468 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19470 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19472 Convert to lexical-binding.
19474 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19475 (bs--get-marked-string, bs--get-modified-string)
19476 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19477 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19478 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19480 * ehelp.el (electric-help-execute-extended)
19481 (electric-help-ctrl-x-prefix):
19482 * hexl.el (hexl-revert-buffer-function):
19483 * linum.el (linum-after-change, linum-after-scroll):
19484 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19486 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19488 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19495 * epg.el: Use lexical binding.
19497 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19499 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19501 * textmodes/flyspell.el (flyspell-word): Recognize default
19502 dictionary case for flyspell-mark-duplications-exceptions.
19503 Use regexp matching for languages.
19504 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19505 default dictionary (Bug#7926).
19507 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19509 * emacs-lisp/package.el (package--with-work-buffer):
19510 Recognize https URLs.
19512 * net/network-stream.el: Move from gnus/proto-stream.el.
19513 Change prefix to network-stream throughout.
19514 (open-protocol-stream): Merge into open-network-stream, leaving
19515 open-protocol-stream as an alias. Handle nil BUFFER args.
19517 * subr.el (open-network-stream): Move to net/network-stream.el.
19519 2011-04-02 Glenn Morris <rgm@gnu.org>
19521 * find-dired.el (find-exec-terminator): New option.
19522 (find-ls-option): Test for -ls support.
19523 (find-ls-subdir-switches): Test for -b in find-ls-option.
19524 (find-dired, find-grep-dired): Doc fixes.
19525 (find-dired): Use find-exec-terminator.
19527 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19528 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19529 (find-name-arg): Remove purecopy.
19531 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19532 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19533 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19534 accordingly. Don't add the null-device if not needed.
19536 * files.el (save-some-buffers): Doc fix.
19538 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19540 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19542 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19544 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19545 Use `dolist' rather than `mapcar'.
19547 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19549 Add lexical binding.
19551 * subr.el (apply-partially): Use new closures rather than CL.
19552 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19553 (dolist, dotimes): Use slightly different expansion for lexical code.
19554 (functionp): Move to C.
19555 (letrec): New macro.
19556 (with-wrapper-hook): Use it and apply-partially instead of CL.
19557 (eval-after-load): Preserve lexical-binding.
19558 (save-window-excursion, with-output-to-temp-buffer): Turn them
19561 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19563 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19565 (help-add-fundoc-usage): Don't add `Not documented'.
19566 (help-function-arglist): Handle closures, subroutines, and new
19567 byte-code-functions.
19568 (help-make-usage): Remove leading underscores.
19569 (describe-function-1): Handle closures.
19570 (describe-variable): Use special-variable-p for completion.
19572 * files.el (lexical-binding): Declare safe.
19574 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19575 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19576 (pcase): Add `let' pattern.
19577 Change memoization so it actually works.
19578 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19579 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19582 * emacs-lisp/macroexp.el: Use lexical binding.
19583 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19584 Don't convert ' to #' without checking that it's indeed quoting
19587 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19588 Use eval-sexp-add-defvars.
19589 (eval-sexp-add-defvars): New fun.
19591 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19593 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19595 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19596 than the internal `byte-compile-lambda'.
19597 (defmethod): Don't hide code under quotes.
19598 (eieio-defmethod): New `code' argument.
19600 * emacs-lisp/eieio-comp.el: Remove.
19602 * emacs-lisp/edebug.el (edebug-eval-defun)
19603 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19604 (edebug-toggle): Avoid `eval'.
19606 * emacs-lisp/disass.el (disassemble-internal): Handle new
19608 (disassemble-1): Handle new byte codes.
19610 * emacs-lisp/cl.el (pushnew): Silence warning.
19612 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19613 (cl-byte-compile-throw): Remove.
19614 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19616 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19619 * emacs-lisp/cconv.el: New file.
19621 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19622 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19623 (byte-compile-initial-macro-environment):
19624 Handle declare-function here.
19625 (byte-compile--lexical-environment): New var.
19626 (byte-stack-ref, byte-stack-set, byte-discardN)
19627 (byte-discardN-preserve-tos): New lap codes.
19628 (byte-interactive-p): Don't use any more.
19629 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19631 (byte-compile-lapcode): Use them and handle new lap codes.
19632 (byte-compile-obsolete): Remove.
19633 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19634 (byte-compile-arglist-warn): Check late def of inlinable funs.
19635 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19636 since they should have been expanded by now.
19637 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19638 (byte-compile-from-buffer): Remove unused second arg.
19639 (byte-compile-preprocess): New function.
19640 (byte-compile-toplevel-file-form): New function to distinguish
19641 file-form calls from outside from file-form calls from hunk-handlers.
19642 (byte-compile-file-form): Simplify.
19643 (byte-compile-file-form-defsubst): Remove.
19644 (byte-compile-file-form-defmumble): Simplify now that
19645 byte-compile-lambda always returns a byte-code-function.
19646 (byte-compile): Preprocess.
19647 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19648 Remove, not used any more.
19649 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19650 (byte-compile-make-args-desc): New funs.
19651 (byte-compile-lambda): Handle lexical functions. Always return
19652 a byte-code-function.
19653 (byte-compile-reserved-constants): New var, to make up room for
19654 closed-over variables.
19655 (byte-compile-constants-vector): Obey it.
19656 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19657 (byte-compile-macroexpand-declare-function): New function.
19658 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19659 byte-code-functions.
19660 (byte-compile-form): Check obsolescence here.
19661 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19662 (byte-compile-variable-ref): Remove.
19663 (byte-compile-dynamic-variable-op): New fun.
19664 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19665 (byte-compile-variable-set): New funs.
19666 (byte-compile-discard): Add 2 args.
19667 (byte-compile-stack-ref, byte-compile-stack-set)
19668 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19669 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19670 macroexpand-all instead.
19671 (byte-compile-quote-form): Remove.
19672 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19673 (byte-compile-bind, byte-compile-unbind): New funs.
19674 (byte-compile-let): Handle let* and lexical binding.
19675 (byte-compile-let*): Remove.
19676 (byte-compile-catch, byte-compile-unwind-protect)
19677 (byte-compile-track-mouse, byte-compile-condition-case):
19678 Handle a new :fun-body form, used for lexical scoping.
19679 (byte-compile-save-window-excursion)
19680 (byte-compile-with-output-to-temp-buffer): Remove.
19681 (byte-compile-defun): Simplify.
19682 (byte-compile-stack-adjustment): New fun.
19683 (byte-compile-out): Use it.
19684 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19686 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19689 * emacs-lisp/byte-opt.el: Use lexical binding.
19690 (byte-inline-lapcode): Remove (to bytecomp).
19691 (byte-compile-inline-expand): Pay attention to inlining to/from
19692 lexically bound code.
19693 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19695 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19696 any more and don't call compiler-macros.
19697 (byte-compile-splice-in-already-compiled-code): Remove.
19698 (byte-code): Don't inline any more.
19699 (disassemble-offset): Receive `bytes' as argument rather than via
19701 (byte-compile-tag-number): Declare before first use.
19702 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19703 `return' even if make-spliceable.
19704 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19705 obsolete interactive-p.
19706 (byte-optimize-lapcode): Optimize new lap-codes.
19707 Don't trip up on new form of `byte-constant' lap code.
19709 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19711 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19713 * custom.el (custom-initialize-default, custom-declare-variable):
19716 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19718 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19719 (COMPILE_FIRST): Add macroexp and cconv.
19720 * makefile.w32-in: Mirror changes in Makefile.in.
19722 * vc/cvs-status.el:
19726 * vc/smerge-mode.el:
19727 * textmodes/bibtex-style.el:
19728 * textmodes/css-mode.el:
19736 * emacs-lisp/smie.el:
19739 * abbrev.el: Use lexical binding.
19741 2011-04-01 Eli Zaretskii <eliz@gnu.org>
19743 * info.el (info-display-manual): New function.
19745 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
19747 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19749 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
19751 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19752 an entry for that server in rcirc-authinfo. (Bug#8385)
19754 2011-03-31 Glenn Morris <rgm@gnu.org>
19756 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19758 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19760 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
19762 * progmodes/python.el (python-default-interpreter)
19763 (python-python-command-args, python-jython-command-args)
19764 (python-which-shell, python-which-args, python-which-bufname)
19765 (python-file-queue, python-comint-output-filter-function)
19766 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19767 variables and functions.
19769 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
19771 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19772 (completion-in-region-mode): New minor mode.
19773 (completion-in-region): Use it.
19774 (completion-in-region--data, completion-in-region-mode-map): New vars.
19775 (completion-in-region--postch): New function.
19776 (completion--capf-misbehave-funs, completion--capf-safe-funs):
19778 (completion--capf-wrapper): New function.
19779 (completion-at-point): Use it to track well-behavedness of
19781 (completion-help-at-point): New command.
19783 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
19785 * vc/add-log.el (add-change-log-entry): Don't use whitespace
19786 syntax class to search for whitespace on a single line
19787 (Message-ID: <4D938140.4030905@redhat.com>).
19789 2011-03-30 Leo Liu <sdl.web@gmail.com>
19791 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19793 (edit-abbrevs-map): Bind them here.
19794 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
19796 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
19798 * allout.el (allout-hide-by-annotation, allout-flag-region):
19799 Reduce possibility of overlay leakage by making them volatile.
19801 * allout-widgets.el (allout-widgets-tally): Define as nil so the
19802 hash is not shared between buffers. Mode initialization is
19803 responsible for giving it a useful starting value.
19804 (allout-item-span): Reduce possibility of overlay leakage by
19805 making them volatile.
19806 (allout-widgets-count-buttons-in-region): Add diagnostic function
19807 for tracking down button overlay leaks.
19809 2011-03-29 Leo Liu <sdl.web@gmail.com>
19811 * ido.el (ido-read-internal): Use the default history var
19812 minibuffer-history if no HISTORY is specified.
19814 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
19816 * net/imap.el (imap-shell-open, imap-process-connection-type):
19817 Use imap-process-connection-type for 'shell' streams as well as
19818 Kerberos, SSL, other subprocesses.
19820 2011-03-28 Leo Liu <sdl.web@gmail.com>
19822 * abbrev.el (abbrev-table-empty-p): New function.
19823 (prepare-abbrev-list-buffer): Place empty abbrev tables after
19824 nonempty ones. (Bug#5937)
19826 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
19828 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19830 2011-03-27 Leo Liu <sdl.web@gmail.com>
19832 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19833 for foreground and background colors.
19834 (ansi-color-make-color-map): Adapt.
19836 2011-03-25 Leo Liu <sdl.web@gmail.com>
19838 * midnight.el (midnight-time-float): Remove. Note it calculates
19839 the microsecond component incorrectly and seconds-to-time does the
19841 Remove redundant (require 'timer).
19843 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19844 (ido-completions): Remove unused arguments. (Bug#8329)
19846 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
19848 * minibuffer.el (completion--flush-all-sorted-completions):
19849 Remove itself from hook.
19850 (completion-at-point): Let the functions perform the completion
19851 immediately and return nil or t.
19852 * comint.el (comint-dynamic-complete-functions): Now identical to
19853 completion-at-point-functions.
19854 (comint-dynamic-list-input-ring): Remove unused var `index'.
19855 (comint--match-partial-filename, comint--unquote&expand-filename):
19856 New funs, split from comint-match-partial-filename.
19857 (comint-dynamic-complete): Use completion-at-point.
19858 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19860 2011-03-24 Drew Adams <drew.adams@oracle.com>
19862 * thingatpt.el: Support `defun'.
19864 2011-03-23 Leo Liu <sdl.web@gmail.com>
19866 * abbrevlist.el: Move to obsolete/abbrevlist.el.
19868 * help-mode.el (help-mode-finish): Tweak regexp.
19870 2011-03-23 Glenn Morris <rgm@gnu.org>
19872 * eshell/esh-opt.el (eshell-eval-using-options):
19873 Do not bind unused local variable `eshell-option-stub'.
19875 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19877 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19879 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19880 keymap variable in `with-no-warnings' to avoid a warning when the
19881 keymap has been already `defconst'ed.
19883 2011-03-22 Leo Liu <sdl.web@gmail.com>
19885 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19886 encode all chars in abbrevs; otherwise use emacs-mule or
19887 utf-8-emacs. (Bug#8308)
19889 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
19891 * simple.el (backward-delete-char-untabify):
19892 Avoid warning about using `delete-backward-char'.
19894 * image.el (image-type-file-name-regexps): Make it variable.
19895 `imagemagick-register-types' modifies it, and the user may want
19896 to add new extensions for known image types.
19897 (imagemagick-register-types): Throw error if not using ImageMagick.
19899 2011-03-22 Leo Liu <sdl.web@gmail.com>
19901 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19902 located before rcirc-prompt-end-marker.
19903 (rcirc-complete): Error if point is not after rcirc prompt.
19904 Handle the case when table is nil.
19905 (rcirc-user-authenticated): Define to fix compiler warning.
19907 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
19909 * custom.el (custom--inhibit-theme-enable): Make it affect only
19910 custom-theme-set-variables and custom-theme-set-faces.
19911 (provide-theme): Ignore custom--inhibit-theme-enable.
19912 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19913 (custom-enabling-themes): Delete variable.
19914 (enable-theme): Accept only loaded themes as arguments.
19915 Ignore the special custom-enabled-themes variable.
19916 (custom-enabled-themes): Forbid themes from setting this.
19917 Eliminate use of custom-enabling-themes.
19918 (custom-push-theme): Quote "changed" custom var entry.
19920 2011-03-21 Leo Liu <sdl.web@gmail.com>
19922 * ido.el (ido-read-internal): Add ido-selected to history instead
19925 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
19927 * subr.el (deferred-action-list, deferred-action-function):
19930 2011-03-21 Leo Liu <sdl.web@gmail.com>
19932 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19933 change on 2011-02-13 (bug#8309).
19935 * minibuffer.el (read-file-name-function): Change default value.
19936 (read-file-name--defaults): Rename from read-file-name-defaults.
19937 (read-file-name-default): Rename from read-file-name.
19938 (read-file-name): Call read-file-name-function.
19940 2011-03-21 Glenn Morris <rgm@gnu.org>
19942 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19945 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
19947 * cus-theme.el: Add missing provide statement.
19948 (customize-create-theme): Extract theme value correctly.
19949 (custom-theme-visit-theme): Autoload.
19950 (customize-create-theme): Prompt before inserting default faces.
19952 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
19954 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19955 units and musical notes.
19957 2011-03-20 Leo Liu <sdl.web@gmail.com>
19959 * ido.el (ido-read-internal): Use completing-read-default.
19960 (ido-completing-read): Fix compatibility with completing-read.
19962 2011-03-20 Christian Ohler <ohler@gnu.org>
19964 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19965 (ert-delete-all-tests): Use `called-interactively-p' rather than
19967 (ert--make-xrefs-region): Respect END.
19969 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
19971 * dired-aux.el (dired-create-directory): Signal an error if the
19972 directory already exists (Bug#8246).
19974 * facemenu.el (list-colors-display): Call list-faces-display
19975 inside with-help-window.
19976 (list-colors-print): Use display property to align the final
19977 column, instead of checking window-width.
19979 2011-03-19 Eli Zaretskii <eliz@gnu.org>
19981 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19982 windows-nt systems.
19983 (emerge-protect-metachars): Quote correctly for ms-dos and
19984 windows-nt systems.
19986 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
19988 * info.el (info-initialize): Replace all uses of `:' with
19989 path-separator for compatibility with non-Unix systems.
19990 Cache quoting of path-separator. (Bug#8258)
19992 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
19994 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19995 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19996 (mouse-avoidance-mode): Fix typos in docstrings.
19998 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20000 * startup.el (package-subdirectory-regexp): Move from package.el.
20001 Omit \\` and \\', and let callers add them.
20003 * emacs-lisp/package.el (package-strip-version)
20004 (package-load-all-descriptors): Add \\` and \\' to
20005 package-subdirectory-regexp before using it.
20006 (package-untar-buffer): New arg DIR; ensure that file untars only
20007 into this expected directory. Remove superfluous delete-region.
20008 (package-unpack): Caller changed.
20009 (package-tar-file-info): Use package-subdirectory-regexp.
20011 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20013 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20014 diff-mode-shared-map (bug#8284).
20015 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20017 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20019 * calendar/time-date.el (format-seconds): Use assoc instead of
20020 assoc-string, since assoc-string doesn't exist in XEmacs.
20022 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20024 * custom.el (custom-known-themes): Reflow docstring.
20025 (custom-theme-load-path): Fix typo in docstring.
20026 (load-theme): Fix typo in error message.
20027 (custom-available-themes, custom-variable-theme-value):
20028 Use `let', not `let*'.
20030 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20032 * calc/README: Mention inclusion of musical notes.
20034 * calc/calc-units.el (calc-lu-quant): Rename from
20035 `calc-logunits-quantity'.
20036 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20037 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20038 (calc-db): Rename from `calc-dblevel'.
20039 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20040 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20041 (calc-np): Rename from `calc-nplevel'.
20042 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20043 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20044 (calc-lu-plus): Rename from `calc-logunits-add'.
20045 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20046 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20047 (calc-lu-minus): Rename from `calc-logunits-sub'.
20048 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20049 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20050 (calc-lu-times): Rename from `calc-logunits-mul'.
20051 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20052 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20053 (calc-lu-divide): Rename from `calc-logunits-div'.
20054 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20055 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20057 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20058 functions being autoloaded.
20060 * calc/calc.el (calc-lu-power-reference): Rename from
20061 `calc-logunits-power-reference'.
20062 (calc-lu-field-reference): Rename from
20063 `calc-logunits-field-reference'.
20065 * calc/calc-help.el (calc-l-prefix-help):
20066 Mention musical note functions.
20068 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20070 * minibuffer.el (completion-all-sorted-completions):
20071 Use :completion-cycle-penalty text property if present.
20073 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20075 * allout.el (allout-yank-processing): Adjust for new rebulleting
20076 regime so bullet being yanked is used without prompting the user
20079 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20081 * startup.el (command-line): Warn the user that _emacs is deprecated.
20083 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20085 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20086 (delphi-verbose, delphi-comment-face, delphi-string-face)
20087 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20088 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20089 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20090 (delphi-new-comment-line, delphi-font-lock-defaults)
20091 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20092 Fix typos in docstrings.
20094 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20096 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20097 Invert the roles of character and string values for INSTEAD, so a
20098 string is used for the more common case of a defaulting prompt.
20100 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20102 * progmodes/ruby-mode.el (ruby-backward-sexp):
20103 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20104 * play/gamegrid.el (gamegrid-make-face):
20105 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20106 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20107 * notifications.el (notifications-notify):
20108 * net/xesam.el (xesam-search-engines):
20109 * net/quickurl.el (quickurl-list-insert):
20110 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20112 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20114 * startup.el (command-line): Update package subdirectory regexp.
20116 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20118 * allout.el (allout-abbreviate-flattened-numbering)
20119 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20121 * subr.el (read-char-choice): Only show the cursor after the prompt,
20122 not after the answer.
20124 2011-03-15 Kevin Ryde <user42@zip.com.au>
20126 * help-fns.el (variable-at-point): Skip leading quotes, if any
20129 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20131 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20134 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20136 * shell.el (shell): When called interactively, offer to change the
20137 shell file name on remote hosts.
20139 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20141 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20142 integration for LDAP parameters. The host, base, user or binddn,
20143 and secret tokens can be specified in a netrc file, for instance.
20144 This is optional because an `auth-source' parameter must be
20145 specified in the search attributes.
20147 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20149 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20151 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20153 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20154 into declaration. Remove redundant and harmful binding.
20156 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20158 * files.el (file-ownership-preserved-p): Pass `integer' as an
20159 explicit 2nd argument to `file-attributes'. If the file's owner
20160 is the Administrators group on Windows, and the current user is
20161 Administrator, consider that a match.
20163 * server.el (server-ensure-safe-dir): Consider server directory
20164 safe on MS-Windows if its owner is the Administrators group while
20165 the current Emacs user is Administrator. Use `=' to compare
20166 numerical UIDs, since they could be integers or floats.
20168 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20170 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20172 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20174 Sync with Tramp 2.2.1.
20176 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20178 * net/trampver.el: Update release number.
20180 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20182 * progmodes/compile.el (compilation--previous-directory): Fix up
20183 various nil/dead-marker mismatches (bug#8014).
20184 (compilation-directory-properties, compilation-error-properties):
20185 Don't call it at a position past the one we're about to change.
20187 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20188 Disable obsolescence warnings in the file that declares it.
20190 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20192 * allout-widgets.el (allout-widgets-tally):
20193 Initialize allout-widgets-tally as a hash table rather than nil to
20194 prevent mode-line redisplay warnings. Also, clarify the module
20195 description and fix a comment typo.
20197 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20199 * help-fns.el (describe-variable): Don't complete keywords.
20200 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20202 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20204 * emacs-lisp/package.el (package-version-join): Impose a standard
20205 string representation for pre/alpha/beta version lists.
20206 (package-unpack-single): Standardize the directory name by passing
20207 it through package-version-join.
20208 (package-strip-rcs-id): Accept any version string that does not
20209 signal an error in version-to-list.
20211 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20213 * simple.el (delete-trailing-whitespace): Return nil for the
20214 benefit of `write-file-functions'.
20216 2011-03-10 Glenn Morris <rgm@gnu.org>
20218 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20220 * vc/vc-git.el (vc-git-program): New option.
20221 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20222 (vc-git--call): Use it.
20224 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20226 * cus-edit.el (Custom-newline): If no button at point, look
20227 for a subgroup button at start-of-line. (Bug#2298)
20229 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20231 2011-03-10 Julien Danjou <julien@danjou.info>
20233 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20234 `cursor-type' is nil.
20236 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20238 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20240 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20242 * allout.el: Change so yank of distinctive-bullet items
20243 preserves the existing header prefix, rebulleting it if necessary,
20244 rather than replacing it. This is necessary for proper operation
20245 of cooperative addons like allout-widgets.
20246 (allout-make-topic-prefix, allout-rebullet-heading):
20247 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20248 value as alternate bullet to be used, instead of prompting the user
20249 for a bullet character.
20251 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20253 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20254 Do not use `tramp-file-name-port', because this returns also
20255 `tramp-default-port'.
20257 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20259 * net/rcirc.el (rcirc-handler-001): Remove useless
20260 with-rcirc-process-buffer.
20261 (rcirc-check-auth-status): Swap arguments to string-match.
20263 2011-03-09 Glenn Morris <rgm@gnu.org>
20265 * shell.el (shell-mode):
20266 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20268 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20269 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20271 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20273 * emacs-lisp/package.el (package-refresh-contents)
20274 (package-menu-execute): Use condition-case-no-debug.
20276 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20278 * simple.el (shell-command-to-string): Use `process-file'.
20280 * emacs-lisp/package.el (package-tar-file-info): Handle also
20283 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20284 Use `equal' for upload base check.
20286 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20288 * textmodes/texinfo.el (texinfo-environments):
20289 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20291 2011-03-08 Glenn Morris <rgm@gnu.org>
20293 * cus-start.el (cursor-in-non-selected-windows):
20294 Fix :set quoting oddness. (Bug#8192)
20296 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20297 in some setf expressions. (Bug#2159)
20299 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20301 * custom.el (custom-available-themes): Return themes in
20302 alphabetical order.
20304 See ChangeLog.15 for earlier changes.
20306 ;; Local Variables:
20310 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20312 This file is part of GNU Emacs.
20314 GNU Emacs is free software: you can redistribute it and/or modify
20315 it under the terms of the GNU General Public License as published by
20316 the Free Software Foundation, either version 3 of the License, or
20317 (at your option) any later version.
20319 GNU Emacs is distributed in the hope that it will be useful,
20320 but WITHOUT ANY WARRANTY; without even the implied warranty of
20321 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20322 GNU General Public License for more details.
20324 You should have received a copy of the GNU General Public License
20325 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.