* calendar/todos.el: Bug fixes involving or displaying done items.
[emacs/old-mirror.git] / lisp / ChangeLog
blob1283042e553dd7202d83662119a7f10f94774193
1 2013-02-04  Stephen Berman  <stephen.berman@gmx.net>
3         * calendar/todos.el: Bug fixes involving or displaying done items.
4         (todos-done-separator): Make length of long separator one less
5         than window-width, in order to avoid following empty line.
6         (todos-forward-item, todos-backward-item): Make empty line below
7         last todo item accessible only by invoking without a numerical
8         prefix argument and make the latter invocations move only to items.
9         (todos-insert-item): Set todos-current-todos-file after selecting
10         buffer, in order not to set global value.  If only done items are
11         shown when this command is invoked, toggle to show todo items to
12         avoid insertion into done items section.  When done items are
13         shown, protect from cancelling before setting item priority: this
14         also needs recentering to display all items.
15         (todos-set-item-priority): Only call on (not done) todo items.
16         Check that done items are visible not because file is widened.
17         Use only `any' argument of called-interactively-p.  Make sure that
18         giving an undone item lowest priority restores it to the todo
19         section.
20         (todos-item-done): If done items are visible on invoking this
21         command, keep them visible afterwards.  Stop looking for marked
22         items on reaching the empty line below the last todo item.
24 2013-02-02  Stephen Berman  <stephen.berman@gmx.net>
26         * calendar/todos.el: Several small fixes and improvements.
27         (todos-done-separator-string): Change default value.
28         (todos-update-categories-sexp): Remove unnecessary and misquided
29         setq of todos-default-todos-file.  Use delete-region instead of
30         kill-region to avoid polluting kill-ring.
31         (todos-unload-hook): Remove (was not used).
32         (todos-edit-multiline): Don't generate new edit buffer name on
33         each invocation---that can cause confusion due to indirect buffer.
34         (todos-edit-quit): Ensure lines in edit buffer that follow hard
35         newlines are indented in the file to conform to diary format.
36         (todos-set-item-priority): If done items in category are visible,
37         keep them visible.
39 2013-01-30  Stephen Berman  <stephen.berman@gmx.net>
41         * calendar/todos.el: Fix done separator overlay bug.  Remove most
42         FIXME comments.
43         (todos-reset-and-enable-done-separator): Remove commented out
44         workaround for done separator overlay bug; fix doc string.
45         (todos-reset-done-separator): Delete old overlay after adding new
46         overlay to fix done separator overlay bug; improve implementation.
47         (todos-prefix-overlays): Improve first line of doc string.
49 2013-01-29  Stephen Berman  <stephen.berman@gmx.net>
51         * calendar/todos.el: Improve item marking and handling of marked items.
52         (todos-prefix): Add validator to ensure value differs from that of
53         todos-item-mark.
54         (todos-item-mark): New defcustom.
55         (todos-prefix-overlay): New function.
56         (todos-marked-item-p): Use it.  Adapt implementation to new
57         handling of marked items.
58         (todos-insert-with-overlays): When inserting pushes down a marked
59         item, move its prefix overlay.
60         (todos-prefix-overlays): Add overlay even when prefix is empty string,
61         otherwise item marking fails.  Improve handling of marked items.
62         (todos-mark-unmark-item): Adapt to new handling of marked items
63         and simplify by removing marking of all items in category.
64         (todos-mark-category): Adapt to new handling of marked items and
65         don't use todos-mark-unmark-item.
66         (todos-unmark-category): Adapt to new handling of marked items.
67         (todos-delete-item): Remove obsolete handling of marked items and
68         useless restoration of point.
69         (todos-set-item-priority): Use new handling of marked items.
70         (todos-move-item, todos-item-done, todos-item-undo)
71         (todos-archive-done-item): Remove obsolete handling of marked items.
73 2013-01-25  Stephen Berman  <stephen.berman@gmx.net>
75         * calendar/todos.el: Improve definitions and use of some faces.
76         (todos-top-priority): Use current definition of font-lock-constant-face.
77         (todos-diary-expired): Make default value contrast more with
78         default value of todos-date face.
79         (todos-nondiary, todos-category-string): New faces.
80         (todos-nondiary-face, todos-category-string-face): Corresponding
81         new variables.
82         (todos-done, todos-comment): Switch default values to go better
83         with default value of todos-date face.
84         (todos-done-sep): Change default value.
85         (todos-category-string-matcher-1)
86         (todos-category-string-matcher-2): Improve doc string.
87         (todos-font-lock-keywords): Use todos-nondiary-face and
88         todos-category-string-face.
89         (todos-done-separator): Propertize string with todos-done-sep face.
90         (todos-filtered-items-mode): Fix typo.
92 2013-01-23  Stephen Berman  <stephen.berman@gmx.net>
94         * calendar/todos.el: Improve handling of saved top priorities items.
95         (todos-find-item): Find done items and items whose priority has
96         changed or whose text was truncated or augmented; add doc string.
97         (todos-check-top-priorities): Highlight each item that is not up
98         to date.
99         (todos-jump-to-item): Jump to items whose priority has changed or
100         whose text was truncated or augmented.
102 2013-01-22  Stephen Berman  <stephen.berman@gmx.net>
104         * calendar/todos.el: Revise handling of initial display and extend
105         to top priorities file.
106         (todos-display-categories-first): Remove, replacing by this:
107         (todos-show-first): New defcustom.
108         (todos-first-visit): Remove, replacing by this:
109         (todos-visited): New variable.
110         (todos-absolute-file-name): Extend possible values of optional
111         argument to take top priorities files into account.
112         (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
113         (todos-mode-external-set): Call find-file-noselect instead of
114         find-buffer-visiting, since the latter may fail.
115         (todos-show): Revise handling of initial display using
116         todos-show-first and todos-visited and extend to top priorities
117         file.
118         (todos-quit): Adapt to new handling of initial display.
120 2013-01-14  Stephen Berman  <stephen.berman@gmx.net>
122         * calendar/todos.el: Implement saving top priority items buffers,
123         improve implementation of item filtering commands and
124         infrastucture, and fix two bugs.
125         (todos-prefix-overlays): Use todos-top-priority face only in Todos
126         mode.
127         (todos-multiple-filter-files): Get file-truename of Todos file.
128         (todos-filter-items): Pass a list of files from the caller instead
129         of building it here, and move handling of cancelled file selection
130         dialog to callers.  Correct omission of file-wide default number
131         of top priorities.
132         (todos-filtered-buffer-name): Treat file-list argument only as a list.
133         (todos-find-item, todos-check-top-priorities)
134         (todos-top-priorities-filename)
135         (todos-save-top-priorities-buffer): New functions.
136         (todos-save): Use todos-save-top-priorities-buffer.
137         (todos-jump-to-item): Refactor and use todos-find-item.
138         (todos-top-priorities): Simplify semantics of prefix argument.
139         Check if top priorities file exists and if so, visit it, reporting
140         whether it is up to date.  Add optional argument and use it to
141         handle multiple files.
142         (todos-diary-items, todos-regexp-items): Add optional argument and
143         use it to handle multiple files.
144         (todos-top-priorities-multifile, todos-diary-items-multifile)
145         (todos-regexp-items-multifile): Refactor, using corresponding
146         non-multifile command.
147         (auto-mode-alist): Add pattern for top priorities files to visit
148         these in Todos Filtered Items mode.
150 2013-01-08  Stephen Berman  <stephen.berman@gmx.net>
152         * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
153         (todos-adjusted-category-label-length): New function.
154         (todos-padded-string): Use it.
156 2013-01-08  Stephen Berman  <stephen.berman@gmx.net>
158         * calendar/todos.el (todos-move-item): Allow moving done items to
159         done section of another category.
161 2013-01-06  Stephen Berman  <stephen.berman@gmx.net>
163         * calendar/todos.el: Display numerical priority string of top
164         priority items in category in a distinctive face.
165         (todos-prefix-string): Make doc string more precise.
166         (todos-top-priority): New defface.
167         (todos-done, todos-done-sep): Use more compact face definition
168         \(taken from font-lock.el).
169         (todos-comment): Give a complete face definition, instead of
170         inheriting from todos-done.
171         (todos-font-lock-keywords): Use todos-comment-face for
172         todos-comment-string-matcher.
173         (todos-prefix-overlays): Use todos-top-priority as the face
174         property of top priority items; don't condition reapplying item
175         prefix overlay on whether the string changed, since that prevents
176         updating display after changing number of top priorities.
177         (todos-set-top-priorities): Call todos-prefix-overlays to update
178         display.
180 2013-01-04  Stephen Berman  <Stephen.Berman@rub.de>
182         * calendar/todos.el (todos-reset-global-current-todos-file)
183         (todos-display-categories-1): Use absolute name of
184         todos-default-todos-file.
186 2013-01-04  Stephen Berman  <Stephen.Berman@rub.de>
188         * calendar/todos.el (todos-insert-item): Fix copy and paste error
189         from previous change.
191 2013-01-03  Stephen Berman  <stephen.berman@gmx.net>
193         * calendar/todos.el: Implement extended category completions.
194         (todos-default-todos-file): Change default value to correct custom
195         type.
196         (todos-category-completions-files): New defcustom.
197         (todos-reevaluate-category-completions-files-defcustom)
198         (todos-absolute-file-name, todos-category-completions): New defuns.
199         (todos-reevaluate-filelist-defcustoms):
200         Add todos-category-completions-files and
201         todos-reevaluate-category-completions-files-defcustom.
202         (todos-allcats-file, todos-all-categories-alist)
203         (todos-jump-to-category-other-file, todos-jump-to-any-category)
204         (todos-move-item-to-file): Remove (todos-all-categories-alist both
205         as defvar and as defun).
206         (todos-read-category): Rewrite using extended category completions
207         and better handling of completion against existing or non-existing
208         categories.
209         (todos-validate-name): Correct doc string; use local instead of
210         dynamic variables in function body.
211         (todos-insert-category-line): Adjust use of todos-jump-to-category
212         to new argument list.
213         (todos-key-bindings, todos-menu): Delete entries for removed
214         commands.
215         (todos-show): Get absolute name of todos-default-todos-file;
216         add `nowarn' argument to find-file-noselect; adjust use of
217         todos-add-category to new argument list.
218         (todos-jump-to-category): Rewrite using extended category
219         completions; reverse argument list, adapting FILE argument to new
220         completion mechanism; add autoload cookie; call todos-show if
221         there are no Todos files.
222         (todos-add-category): Rewrite using extended category completions;
223         add FILE argument to accommodate new completion mechanism.
224         (todos-merge-category): Adapt to extended category completions,
225         adding prefix argument.
226         (todos-insert-item): Adapt to extended category completions; use
227         todos-read-category instead of todos-jump-to-category in prefix
228         argument calls; call todos-show if there are no Todos files; if
229         item is inserted at end of category, recenter to ensure the items
230         above it are displayed in the window.
231         (todos-move-item): Adapt to extended category completions, making
232         argument prefix argument; allow moving within category (for the
233         sake of code simplification); add `nowarn' argument to
234         find-file-noselect.
235         (todos-archive-done-item): Prevent error when attempting to
236         archive not-done todo item; adjust use of todos-add-category to
237         new argument list.
239 2012-12-15  Stephen Berman  <stephen.berman@gmx.net>
241         * calendar/todos.el (todos-archive-done-item): Fix archiving of
242         all done items in a category and resulting display of todo file.
244 2012-12-14  Stephen Berman  <stephen.berman@gmx.net>
246         * calendar/todos.el (todos-priorities-rules): Fix customization
247         type to prevent mismatch error.
248         (todos-set-top-priorities): Fix rule construction; fix input check;
249         improve prompt.
251 2012-12-14  Stephen Berman  <stephen.berman@gmx.net>
253         * calendar/todos.el (todos-insert-item): If user exits Calendar
254         before choosing a date, cancel item insertion.
255         (todos-set-date-from-calendar): If user exits Calendar before
256         choosing a date, clean up properly.
258 2012-12-12  Stephen Berman  <stephen.berman@gmx.net>
260         * calendar/todos.el: Extend and improve handling of item editing,
261         especially of date/time header.
262         (todos-month-name-array, todos-month-abbrev-array): New defconsts.
263         (todos-date-pattern): Use explicitly numbered groups.
264         (todos-read-date): Optionally read and return just one of the date
265         string components year, month or monthname, day.
266         (todos-key-bindings): Add bindings for new item header editing
267         commands.
268         (todos-edit-item): Exclude date/time header from minibuffer by
269         default; include it by passing a prefix argument.
270         (todos-edit-item-header-1): New function containing the guts of
271         the commands for editing item date/time headers.
272         (todos-edit-item-header): Use it.  Condition editing of time
273         string on value of `todos-always-add-time-string'.
274         (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
275         (todos-edit-item-date-to-today): Rename from
276         todos-edit-item-date-is-today and use todos-edit-item-header-1.
277         (todos-edit-item-date): Remove.
278         (todos-edit-item-date-day-name, todos-edit-item-date-year)
279         (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
281 2012-12-02  Stephen Berman  <stephen.berman@gmx.net>
283         * calendar/todos.el (todos-show): Fix a comment.
284         (todos-add-category): Prompt for a new category if passed category
285         is the empty string, not nil.
287 2012-11-26  Stephen Berman  <stephen.berman@gmx.net>
289         * calendar/todos.el (todos-make-categories-list)
290         (todos-convert-legacy-files, todos-jump-to-item)
291         (todos-move-category, todos-merge-category)
292         (todos-archive-done-item, todos-unarchive-items): Include end of
293         line in regex searches for beginning of category, in order not to
294         get a category whose name contains the searched for category name.
296 2012-11-15  Stephen Berman  <stephen.berman@gmx.net>
298         * calendar/todos.el (todos-forward-category): Fix typo.
300 2012-10-30  Stephen Berman  <stephen.berman@gmx.net>
302         * calendar/todos.el (todos-define-insertion-command):
303         Let generated insertion commands accept a prefix argument.
305 2012-10-08  Stephen Berman  <Stephen.Berman@rub.de>
307         * calendar/todos.el (todos-move-item): If user quits before
308         completing movement, restore display of initial category; if item
309         is moved to end of target category, make sure the items above it
310         are displayed in the window.
312 2012-10-08  Stephen Berman  <stephen.berman@gmx.net>
314         * calendar/todos.el: Fixes to todos-move-item and some of its
315         subroutines.
316         (todos-move-item): When there are marked items, point need not be
317         on an item; remove obsolete use of todos-add-category, since this
318         is now already done in todos-read-category; fix typo.
319         (todos-diary-item-p): Exclude empty lines.
320         (todos-read-category): Restore point and narrowing after adding
321         new category, to avoid moving to beginning of file when moving
322         marked items to a new category.
323         (todos-set-item-priority): Prompt for priority only when the
324         category has at least one todo item; only use non-nil priority to
325         calculate insertion location.
326         (todos-read-category): Don't reset todos-categories when a new
327         category is added due to todos-move-item or todos-jump-to-item.
329 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
331         Changes from 2012-07-14 (revision 110020).
332         * calendar/todos.el (todos-copy-item): New command.
333         (todos-insertion-map): Add key binding for it.
335 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
337         Changes from 2012-07-13 (revision 110019).
338         * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
339         (todos-item-undo): Use it.
340         (todos-allcats-file, todos-all-categories-alist): New variables.
341         (todos-all-categories-alist): New function.
342         (todos-jump-to-any-category): New command.
343         (todos-move-item): Remove mark overlays from buffer items were
344         moved from; update todos-categories-with-marks,
346 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
348         Changes from 2012-06-27 (revision 110018).
349         * calendar/todos.el: Further code rearrangement; further new and
350         revised comments.
351         (todos-reevaluate-filelist-defcustoms): Rename from
352         todos-reevaluate-defcustoms and adjust callers.
353         (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
354         (todos-date-string-start, todos-done-string-start)
355         (todos-item-start): Change from defvar to defconst.
356         (todos-set-top-priorities): Use read-number and simplify.
357         (todos-insert-item): Check whether date-type argument is a string.
358         (todos-set-date-from-calendar): Check whether
359         todos-date-from-calendar is a string; simplify cond clause.
360         (todos-archive-done-item, todos-unarchive-items):
361         Use buffer-substring-no-properties.
363 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
365         Changes from 2012-06-25 (revision 110017).
366         * calendar/todos.el (todos-item-undo): Fix restoration on
367         cancelling; use buffer-substring-no-properties; comment out code
368         removing mark overlay; fix insertion of undone items; display any
369         remaining done items.
371 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
373         Changes from 2012-06-24 (revision 110016).
374         * calendar/todos.el: Further significant code rearrangement;
375         further comment revision.
376         (todos-mode-display): New defgroup.
377         (todos-prefix, todos-number-priorities)
378         (todos-done-separator-string, todos-done-string)
379         (todos-comment-string, todos-show-with-done)
380         (todos-mode-line-function, todos-skip-archived-categories)
381         (todos-highlight-item, todos-wrap-lines)
382         (todos-line-wrapping-function): Use it.
383         (todos-item-insertion): New defgroup.
384         (todos-include-in-diary, todos-diary-nonmarking)
385         (todos-nondiary-marker, todos-always-add-time-string)
386         (todos-use-only-highlighted-region): Use it.
387         (todos-forward-button, todos-backward-button): New commands.
388         (todos-categories-mode-map): Use them, replacing forward-button
389         and backward-button.
390         (todos-merge-category): Fix and improve implementation; handle
391         archived items.
392         (todos-insert-item, todos-set-date-from-calendar): Handle setting
393         date by calling todos-insert-item-from-calendar.
394         (todos-delete-item): Fix overlay handling.
395         (todos-move-item): Highlight item to be moved.
396         (todos-item-undo): Handle marked items.
397         (todos-insert-item-from-calendar): Rewrite using
398         todos-date-from-calendar.
400 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
402         Changes from 2012-06-21 (revision 110015).
403         * calendar/todos.el: Further comment revision.
404         (todos-sorted-column): Change default value, also taking tty into
405         account.
406         (todos-reset-done-separator): Fix faulty variable binding.
407         (todos-reset-and-enable-done-separator): Save match data; comment
408         out code that causes problems for Edebug.
409         (todos-item-start): Handle empty line between todo and done items
410         when done items are hidden.
411         (todos-read-date): Use a leap year for `*' to allow
412         calendar-last-day-of-month to return Feb. 29.
413         (todos-archive-mode, todos-edit-mode, todos-categories-mode)
414         (todos-filtered-items-mode): Delete faulty parentheses.
415         (todos-quit): Save Todos and archive files unconditionally.
416         (todos-forward-item): Accept only positive prefix argument.
417         (todos-backward-item): Accept only positive prefix argument; don't
418         move point to beginning of buffer if it is on the first item.
419         (todos-hide-show-date-time): Remove obsolete interactive spec.
420         (todos-move-category): Improve prompt string; ensure file moved to
421         is different from file moved from.
422         (todos-merge-categories): Remove.
423         (todos-set-category-priority): New command.
424         (todos-raise-category-priority, todos-lower-category-priority):
425         Use it to define these commands.
426         (todos-set-item-priority): Rewrite and generalize.
427         (todos-raise-item-priority, todos-lower-item-priority): Use it to
428         define these commands.
430 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
432         Changes from 2012-06-15 (revision 110014).
433         * calendar/todos.el (todos-reset-done-separator)
434         (todos-reset-and-enable-done-separator): New functions.
435         (todos-reset-done-separator-string): Rewrite using
436         todos-reset-done-separator for string longer than 1 character.
437         (todos-mode): Add todos-reset-and-enable-done-separator to
438         window-configuration-change-hook, replacing previous anonymous
439         function.
440         (todos-unload-hook): And remove it.
442 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
444         Changes from 2012-06-14 (revision 110013).
445         * calendar/todos.el (todos-done-separator-string): New defcustom.
446         (todos-done-separator): New variable replacing defcustom of the
447         same name.
448         (todos-reset-done-separator-string, todos-done-separator):
449         New functions.
450         (todos-mode): Make function added to
451         window-configuration-change-hook do a better job of updating the
452         done items separator string overlay.
453         (todos-unload-hook): Remove it here.
454         (todos-item-undo): Fix search for item's end.
456 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
458         Changes from 2012-06-03 (revision 110012).
459         * calendar/todos.el: Further comment revision.
460         (todos-sorted-column): Change default value.
461         (todos-item-start): Handle empty category (needed in
462         todos-filter-items).
463         (todos-read-date): Don't use calendar-read; make code cleaner.
464         (todos-multiple-filter-files): Rename this variable from
465         todos-multiple-files and adjust users.
466         (todos-multiple-filter-files-widget): Rename from
467         todos-multiple-files-widget and adjust users.
468         (todos-multiple-filter-files): Rename this function from
469         todos-multiple-files and adjust callers.
470         (todos-filter-items): Remove unused code.
471         (todos-insert-category-line): Add space so highlighting of last
472         column is consistent with the others; adjust display of column
473         highlighting.
474         (todos-menu): Remove obsolete entry.
475         (todos-categories-mode-map): Add new bindings.
476         (todos-display-categories-alphabetically-or-by-priority): New command.
477         (todos-display-categories-sorted-by-todo)
478         (todos-display-categories-sorted-by-diary)
479         (todos-display-categories-sorted-by-done)
480         (todos-display-categories-sorted-by-archived): Restore and fix
481         implementation.
483 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
485         Changes from 2012-06-02 (revision 110011).
486         * calendar/todos.el: Significant code rearrangement; further
487         comment revision.
488         (todos-filtered-items-buffer): Rename from todos-filter-buffer and
489         adjust users.
490         (todos-filtered-buffer-name): Rename from
491         todos-special-buffer-name and adjust users.
492         (todos-filtered-items-mode-map): Rename from
493         todos-filter-items-mode-map and adjust users.
494         (todos-mode-external-set): Use todos-categories instead of
495         todos-set-categories (and add comment to check if this DTRT).
496         (todos-filtered-items-mode): Rename from todos-filter-items-mode
497         and adjust users.
498         (todos-add-category): Don't call todos-validate-name, since
499         todos-read-category does.
500         (todos-edit-quit): Use todos-repair-categories-sexp.
501         (todos-done-item-add-edit-or-delete-comment): Rename from
502         todos-done-item-add-or-edit-comment and adjust users; add optional
503         argument to prompt to delete comment.
504         (todos-item-undo): Delete done item comment on undoing if user
505         confirms.
507 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
509         Changes from 2012-06-02 (revision 110010).
510         * calendar/todos.el: Further code rearrangement and comment
511         revision.
512         (todos-item-start): Handle empty line between todo and done items
513         when done items are displayed.
514         (todos-key-bindings): Comment out bindings meant only for
515         todos-archive-mode.
516         (todos-archive-mode-map): Fix typo.
517         (todos-archive-mode): Derive from special-mode instead of
518         todos-mode to prevent its key bindings from being available here.
519         (todos-archive-done-item): Remove obsolete code; fix item count
520         updating.
521         (todos-unarchive-items): Simplify; fix unarchiving of all items in
522         category; fix item count updating; fix typo.
524 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
526         Changes from 2012-06-01 (revision 110009).
527         * calendar/todos.el: Further code rearrangement and comment
528         revision.
529         (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
530         (todos-file-buffers): New variable.
531         (todos-reset-global-current-todos-file): Use it to simplify
532         implementation of this function.
533         (todos-filtered): New defgroup.
534         (todos-filter-buffer, todos-top-priorities-buffer)
535         (todos-diary-items-buffer, todos-regexp-items-buffer)
536         (todos-priorities-rules, todos-show-priorities)
537         (todos-filter-files, todos-filter-done-items): Use it.
538         (todos-skip-archived-categories): Rename from
539         todos-ignore-archived-categories and adjust users.
540         (todos-display-as-todos-file): Rename from todos-after-find-file
541         and adjust callers.
542         (todos-reset-highlight-item, todos-mode-external-set)
543         (todos-jump-to-category, todos-jump-to-item)
544         (todos-raise-category-priority, todos-insert-item)
545         (todos-move-item): Use find-file-visiting.
546         (todos-make-categories-list): Use file-truename.
547         (todos-display-categories-1): Adjust title text for archive files;
548         use done label for item counts in archive files.
549         (todos-modes-set-3): Add todos-display-as-todos-file to
550         find-file-hook.
551         (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
552         todos-update-buffer-list post-command-hook.
553         (todos-unload-hook): And remove them.
554         (todos-show): Only when interactively invoked from an archive,
555         switch to corresponding Todos file.
556         (todos-archive-done-item): Remove obsolete code; fix handling of
557         marked items; fix search for existing category; check whether
558         archive exists and write to file if not; improve display handling.
560 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
562         Changes from 2012-05-29 (revision 110008).
563         * calendar/todos.el: Further comment revision.
564         (todos-item-end): Replace use of command todos-forward-item by
565         regexp searches using internal variables.
566         (todos-raise-category-priority): Improve and comment.
567         (todos-insert-item): Fix insertion of empty time string.
569 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
571         Changes from 2012-05-29 (revision 110007).
572         * calendar/todos.el (todos-ignore-archived-categories):
573         Revert last change; remove :initialize and :set functions; change
574         use and change users accordingly.
575         (todos-reset-categories, todos-categories-full)
576         (todos-truncate-categories-list): Remove.
577         (todos-set-categories, todos-update-categories-sexp):
578         Use todos-categories instead of todos-categories-full; remove use
579         of todos-ignore-archived-categories and
580         todos-truncate-categories-list.
581         (todos-check-format, todos-repair-categories-sexp):
582         Use todos-categories instead of todos-categories-full.
583         (todos-read-category): Improve last change.
584         (todos-validate-name): Use completing-read.
585         (todos-categories-category-number): Rename from
586         todos-category-number and adjust users.
587         (todos-update-categories-display, todos-mode-external-set)
588         (todos-delete-category, todos-move-category, todos-merge-category)
589         (todos-unarchive-items): Remove use of todos-categories-full and
590         todos-ignore-archived-categories.
591         (todos-modes-set-3, todos-add-category): Remove use of
592         todos-categories-full.
593         (todos-edit-mode): Fix typo.
594         (todos-forward-category): Use todos-ignore-archived-categories.
596 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
598         Changes from 2012-05-28 (revision 110006).
599         * calendar/todos.el: Doubts about todos-ignore-archived-categories.
600         (todos-ignore-archived-categories): Change default value.
602 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
604         Changes from 2012-05-27 (revision 110005).
605         * calendar/todos.el: Further comment revision.
606         (todos-reset-global-current-todos-file):
607         Try to make this not slow down kill-buffer.
608         (todos-update-categories-sexp): Handle the case where there is no
609         categories sexp yet, i.e. after inserting the first item in the
610         file, so todos-display-categories works.
611         (todos-read-file-name): Improve implementation.
612         (todos-validate-name): Use variable todos-files.
613         (todos-category-number): New variable.
614         (todos-insert-category-line, todos-update-categories-display)
615         (todos-raise-category-priority): Use it.
616         (todos-add-file): Remove unused remnant code.
618 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
620         Changes from 2012-05-25 (revision 110004).
621         * calendar/todos.el: Further comment revision.
622         (todos-set-item-top-priority): New command.
623         (todos-reset-global-current-todos-file):
624         Use todos-files-function instead of todos-files.
625         (todos-read-category): Add optional argument to test whether
626         caller adds new category; if so, don't prompt for new category and
627         don't restore original todos-categories list.
628         (todos-categories-mode-map): Update to renamed commands.
629         (todos-filter-items-mode-map): Add binding for new command.
630         (todos-mode): Fix typo.
631         (todos-show): If called from archive file, show corresponding
632         category in Todos file, if it exists.
633         (todos-jump-to-category): Remove code to add new category, since
634         todos-read-category can do that.
635         (todos-add-file): Remove obsolete code; visit new file in selected
636         window.
637         (todos-add-category): Simplify.
638         (todos-rename-category): Use force-mode-line-update instead of
639         setting mode-line-buffer-identification.
640         (todos-delete-category): Improve logic of prompts; use
641         todos-categories-full and check todos-ignore-archived-categories.
642         (todos-raise-category-priority, todos-lower-category-priority):
643         Rename from todos-{raise,lower}-category and adjust callers.
644         (todos-move-category, todos-merge-category):
645         Set todos-categories-full; on setting todos-categories check
646         todos-ignore-archived-categories.
647         (todos-insert-item): Let-bind use-empty-active-region and use
648         use-region-p instead of transient-mark-mode.
649         (todos-raise-item-priority): Improve implementation.
650         (todos-archive-done-item): Rename from
651         todos-archive-done-item-or-items and adjust callers; confine to
652         Todos mode.
653         (todos-unarchive-items): On setting todos-categories check
654         todos-ignore-archived-categories.
656 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
658         Changes from 2012-05-23 (revision 110003).
659         * calendar/todos.el (todos-key-bindings): Remove binding of
660         deleted command.
661         (todos-menu): Remove entry of deleted command.
662         (todos-show-archive): Fix last change.
663         (todos-done-item-add-or-edit-comment): Rename from
664         todos-comment-done-item and adjust callers; prompt to edit an
665         existing comment.
667 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
669         Changes from 2012-05-22 (revision 110002).
670         * calendar/todos.el (todos-set-show-current-file): Rename from
671         todos-toggle-show-current-file and adjust callers.
672         (todos-number-priorities): Rename from todos-number-prefix and
673         adjust users.
674         (todos-update-count): Rename from todos-set-count and adjust
675         callers.
676         (todos-hide-show-item-numbering): Rename from
677         todos-toggle-item-numbering and adjust callers.
678         (todos-hide-show-done-items): Rename from
679         todos-toggle-view-done-items and adjust callers.
680         (todos-show-done-only): Rename from todos-toggle-show-done-only.
681         (todos-view-archived-items): Comment out.
682         (todos-show-archive): Prompt to choose another archive file if
683         current Todos file lacks an archive; prompt to visit archive
684         anyway when current category has no archived items.
686 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
688         Changes from 2012-05-21 (revision 110001).
689         * calendar/todos.el: Further comment revision and code
690         rearrangement.
691         (todos-item-end): Revert last change.
692         (todos-key-bindings, todos-menu, todos-archive-mode-map)
693         (todos-filter-items-mode-map): Use renamed commands.
694         (todos-hide-show-date-time): Rename from
695         todos-toggle-display-date-time.
696         (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
697         adjust caller.
698         (todos-backward-item): Exempt special handling only from
699         todos-regexp-items-buffer instead of todos-filter-items-mode.
700         (todos-raise-item-priority): Don't allow item reprioritizing in
701         Todos filter items mode except for top priority items.
703 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
705         Changes from 2012-05-19 (revision 110000).
706         * calendar/todos.el: Add and revise further doc strings and
707         comments.
708         (todos-filter-function, todos-custom-items)
709         (todos-custom-items-multifile): Remove.
710         (todos-filter-done-items): New defcustom.
711         (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
712         (todos-filter-items): Check return value of caller first; tag
713         archived items for todos-jump-to-item; delete categories sexp
714         before processing filter; check todos-filter-done-items for
715         whether to leave done items; remove custom filter; fix regexp for
716         file and category tags; don't invoke buffer fontification.
717         (powerset-recursive): Fix typo.
718         (todos-key-bindings): Remove unused bindings.
719         (todos-top-priorities-multifile, todos-diary-items-multifile)
720         (todos-regexp-items-multifile): Use variable todos-multiple-files.
721         (todos-jump-to-item): Fix regexp; handle archive tags; take
722         todos-filter-done-items into account.
723         (todos-insert-item-from-calendar): Relocate to end of file
724         together with key-binding as addition to calendar.el.
726 2012-09-20  Stephen Berman  <stephen.berman@gmx.net>
728         Changes from 2012-05-17 (revision 109999).
729         * calendar/todos.el: Add and revise further doc strings and
730         comments; major code rearrangement.
731         (todos-merged-files, todos-prompt-merged-files)
732         (todos-print-priorities, todos-tmp-buffer-name)
733         (todos-top-priorities-widgets, todos-update-merged-files)
734         (todos-merged-top-priorities, todos-merged-diary-items)
735         (todos-merged-regexp-items, todos-merged-custom-items)
736         (todos-raw-mode, todos-change-default-file)
737         (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
738         (todos-toggle-diary-nonmarking, todos-validate-category-name):
739         Remove.
740         (todos-category-string-matcher): Comment out.
741         (todos-categories): New defgroup.
742         (todos-initial-file, todos-filter-buffer)
743         (todos-top-priorities-buffer, todos-categories-category-label)
744         (todos-diary-items-buffer, todos-regexp-items-buffer)
745         (todos-custom-items-buffer, todos-filter-files)
746         (todos-highlight-item, todos-todo-mode-date-time-regexp):
747         New defcustoms.
748         (todos-diary-expired): New face.
749         (todos-print-buffer, todos-multiple-files)
750         (todos-multiple-files-widget, todos-key-bindings): New variables.
751         (todos-short-file-name, todos-reevaluate-default-file-defcustom)
752         (todos-special-buffer-name)
753         (todos-reevaluate-filter-files-defcustom)
754         (todos-reset-highlight-item, todos-reevaluate-defcustoms)
755         (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
756         (todos-diary-expired-matcher, todos-category-string-matcher-1)
757         (todos-category-string-matcher-2, todos-repair-categories-sexp)
758         (todos-validate-name, todos-multiple-files)
759         (todos-display-categories-1, todos-update-categories-display)
760         (todos-modes-set-3, todos-mode-external-set): New functions.
761         (todos-set-top-priorities-in-file)
762         (todos-set-top-priorities-in-category)
763         (todos-top-priorities-multifile, todos-diary-items-multifile)
764         (todos-regexp-items-multifile, todos-custom-items-multifile)
765         (todos-convert-legacy-files, todos-jump-to-item)
766         (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
767         (todos-edit-item-diary-inclusion)
768         (todos-edit-category-diary-inclusion)
769         (todos-edit-item-diary-nonmarking)
770         (todos-edit-category-diary-nonmarking): New commands.
771         (todos, todos-faces): Update :version.
772         (todos-done-separator, todos-completion-ignore-case):
773         Change default value.
774         (todos-done-separator): Change :set function.
775         (todos-indent-to-here): Add :validate function to :type.
776         (todos-prefix-string, todos-mark, todos-button)
777         (todos-sorted-column, todos-archived-only, todos-search)
778         (todos-done, todos-done-sep): Provide full face definitions
779         instead of inheriting.
780         (todos-edit-buffer, todos-categories-buffer): Change from
781         defcustom to defvar.
782         (todos-category-beg, todos-category-done): Change from defvar to
783         defconst.
784         (todos-files): Check if todos-files-directory exists.
785         (todos-default-todos-file, todos-mode-line-control, todos-print):
786         Use todos-short-file-name.
787         (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
788         todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
789         todos-category-string-matcher-2, todos-diary-expired-matcher.
790         (todos-category-select): Use todos-done-string-start, and
791         condition search on todos-show-with-done; don't make display
792         overlay for done items separator string if there already is one;
793         use todos-highlight-item, require hl-line and activate
794         hl-line-mode here in order to avoid a hang if done in todos-mode
795         or the mode hook.
796         (todos-update-categories-sexp): Use todos-categories-full if set,
797         otherwise todos-categories.
798         (todos-make-categories-list): Don't test for archive file when
799         processing a legacy todo-mode file.
800         (todos-check-format): Add check for todos-categories sexp.
801         (todos-diary-item-p): Use todos-nondiary-start instead of
802         todos-date-pattern.
803         (todos-marked-item-p): Rename from todos-item-marked-p.
804         (todos-read-file-name): Don't accept empty name; validate.
805         (todos-read-category): Validate new name before prompting whether
806         to add new category; force quit if user answers no.
807         (todos-filter-items): Improve implementation.
808         (todos-set-top-priorities): Rewrite as a noninteractive function
809         using minibuffer input instead of widgets.
810         (todos-insert-sort-button): Call todos-display-sorted with
811         argument nil to display categories in numerical order, instead of
812         calling todos-display-categories.
813         (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
814         Common Lisp powerset function at
815         http://rosettacode.org/wiki/Power_set#Common_Lisp.
816         (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
817         powerset function at http://rosettacode.org/wiki/Power_set#C.
818         (todos-powerset): Defalias to powerset-bitwise.
819         (todos-mode-map): Generate from todos-key-bindings instead of
820         listing each key definition.
821         (todos-categories-mode-map): Add two bindings.
822         (todos-filter-items-mode-map): Add some bindings, remove others.
823         (todos-mode): Derive from special-mode; use todos-modes-set-3; add
824         function setting todos-done-separator to
825         window-configuration-change-hook.
826         (todos-unload-hook): Remove function setting todos-done-separator
827         from window-configuration-change-hook.
828         (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
829         (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
830         (todos-categories-mode): Derive from special-mode; use
831         todos-mode-external-set.
832         (todos-filter-items-mode): Derive from special-mode.
833         (todos-quit): Save archive file if it hasn't yet been saved.
834         (todos-display-categories): Delegate all functionality to
835         todos-display-categories-1 and todos-update-categories-display.
836         (todos-toggle-view-done-items): Improve implementation.
837         (todos-highlight-item): Require hl-line.
838         (todos-toggle-display-date-time): Remove argument and make it
839         apply only to whole file.
840         (todos-top-priorities, todos-diary-items, todos-regexp-items)
841         (todos-custom-items): Use todos-special-buffer-name.
842         (todos-add-file): Use todos-short-file-name and
843         todos-reevaluate-defcustoms; remove validation, since it's now
844         done in todos-read-file-name.
845         (todos-add-category): Also update todos-categories-full if non-nil.
846         (todos-delete-category): Delete file after confirmation if only
847         category is deleted.
848         (todos-move-category): Use todos-short-file-name and
849         todos-reevaluate-defcustoms.
850         (todos-insert-item): Fix getting date from the calendar and
851         insertion of time string.
852         (todos-set-date-from-calendar): Enter calendar buffer, suppressing
853         display of diary entries.
854         (todos-edit-multiline): Add optional argument to restrict editing
855         buffer to current item, otherwise make entire buffer (i.e. whole
856         file) editable.
857         (todos-edit-quit): When whole file is editable, check file format
858         validity before killing buffer, and if valid, recalculate
859         categories sexp to be safe.
860         (todos-edit-item-header): Allow choosing date from calendar.
861         (todos-item-done): Handle marked items.
863 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
865         Changes from 2011-12-03 (revision 109998).
866         * calendar/todos.el (todos-item-start): Restore commented out code
867         to prevent wrongly moving point in widened buffer.
869 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
871         Changes from 2011-12-02 (revision 109997).
872         * calendar/todos.el: Remove old commentary from todo-mode.el; add
873         and revise further doc strings and comments; require cl.el at
874         compile time for remove-duplicates; use function powerset from
875         http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
876         code rearrangement.  Add adapted version of diary-goto-entry as comment.
877         (todos-file-top, todos-archived-categories-buffer)
878         (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
879         (todos-save-top-priorities, todos-reset-separator)
880         (todos-switch-todos-file, todos-item-string-start, todos-counts)
881         (todos-string-count-lines, todos-string-multiline-p)
882         (todos-display-categories-alphabetically): Remove.
883         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
884         (todos-insert-item-ask-date-time-for-diary)
885         (todos-insert-item-ask-date-time-for-diary-here)
886         (todos-insert-item-ask-date-time-here)
887         (todos-insert-item-ask-date-maybe-notime)
888         (todos-insert-item-ask-date-maybe-notime-for-diary)
889         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
890         (todos-insert-item-ask-date-maybe-notime-here)
891         (todos-insert-item-ask-date-for-diary)
892         (todos-insert-item-ask-date-for-diary-here)
893         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
894         (todos-insert-item-ask-dayname-time)
895         (todos-insert-item-ask-dayname-time-for-diary)
896         (todos-insert-item-ask-dayname-time-for-diary-here)
897         (todos-insert-item-ask-dayname-time-here)
898         (todos-insert-item-ask-dayname-maybe-notime)
899         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
900         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
901         (todos-insert-item-ask-dayname-maybe-notime-here)
902         (todos-insert-item-ask-dayname-for-diary)
903         (todos-insert-item-ask-dayname-for-diary-here)
904         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
905         (todos-insert-item-ask-time-for-diary)
906         (todos-insert-item-ask-time-for-diary-here)
907         (todos-insert-item-ask-time-here)
908         (todos-insert-item-maybe-notime)
909         (todos-insert-item-maybe-notime-for-diary)
910         (todos-insert-item-maybe-notime-for-diary-here)
911         (todos-insert-item-maybe-notime-here)
912         (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
913         (todos-insert-item-here): Remove; all of these are now generated
914         on loading (some with the same name, most with other names.)
915         (todos-item-counts, todos-display-categories-alphabetically)
916         (todos-display-categories-sorted-by-todo)
917         (todos-display-categories-sorted-by-diary)
918         (todos-display-categories-sorted-by-done)
919         (todos-display-categories-sorted-by-archived): Comment out.
920         (todos-comment-string, todos-mode-line-function)
921         (todos-filter-function, todos-priorities-rules)
922         (todos-visit-files-commands, todos-categories-totals-label)
923         (todos-use-only-highlighted-region, todos-diary-nonmarking):
924         New defcustoms.
925         (todos-mark, todos-comment): New faces.
926         (todos-comment-face): Corresponding new variable.
927         (todos-categories-full, todos-global-current-todos-file)
928         (todos-first-visit, todos-insertion-commands-args-genlist)
929         (todos-insertion-commands-args, todos-insertion-commands-names)
930         (todos-insertion-commands, todos-insertion-commands-arg-key-list)
931         (todos-top-priorities-widgets, todos-date-from-calendar)
932         (todos-item-mark, todos-categories-with-marks): New variables.
933         (todos-mode-line-control, todos-reset-global-current-todos-file)
934         (todos-gen-arglists, todos-insertion-command-name)
935         (todos-insertion-key-bindings, todos-unload-hook)
936         (todos-filter-items, todos-set-date-from-calendar)
937         (todos-comment-string-matcher, todos-after-find-file)
938         (todos-reset-nondiary-marker, todos-reset-done-string)
939         (todos-reset-comment-string, todos-show-current-file)
940         (todos-item-marked-p, todos-total-item-counts): New functions.
941         (todos-define-insertion-command): New macro.
942         (todos-toggle-mark-item, todos-mark-category)
943         (todos-unmark-category, todos-set-top-priorities)
944         (todos-merged-diary-items, todos-regexp-items)
945         (todos-merged-regexp-items, todos-custom-items)
946         (todos-merged-custom-items, todos-comment-done-item)
947         (todos-archive-category-done-items, todos-unarchive-items)
948         (todos-print-to-file): New commands.
949         (todos-done-separator): Change :set function.
950         (todos-done-string): Uncomment :initialize and :set functions.
951         (todos-files): Use file-truename.
952         (todos-show-current-file): Rename from
953         todos-auto-switch-todos-file and change :set function accordingly.
954         (todos-font-lock-keywords): Use todos-comment-string-matcher;
955         change names of other matcher functions to new *-matcher.
956         (todos-category-number): Change initial value.
957         (todos-insertion-map): Use todos-insertion-key-bindings to
958         generate key definitions.
959         (todos-mode-map): Don't suppress digit keys, so they can supply
960         prefix arguments; add new and change some existing bindings.
961         (todos-archive-mode-map): Change a key binding.
962         (todos-categories-mode-map): Comment out a key binding.
963         (todos-filter-items-mode-map): Rename from
964         todos-top-priorities-mode-map.
965         (todos-mode): Make todos-current-todos-file,
966         todos-categories-full, todos-categories, todos-first-visit,
967         todos-category-number, todos-show-done-only,
968         todos-categories-with-marks local variables and set them; add
969         todos-show-current-file to pre-command-hook, todos-after-find-file
970         to post-command-hook and todos-reset-global-current-todos-file to
971         kill-buffer-hook.
972         (todos-archive-mode): Make todos-current-todos-file,
973         todos-categories and todos-category-number local variables and set
974         them; add todos-after-find-file to post-command-hook.
975         (todos-raw-mode): New derived major mode.
976         (todos-categories-mode): Don't set font-lock-defaults and
977         buffer-read-only; make todos-current-todos-file and
978         todos-categories local variables and set them.
979         (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
980         (todos-quit): Don't reset todos-categories on quitting
981         todos-categories-mode; handle quitting todos-filter-items-mode.
982         (todos-show): Simplify; when visiting an archive file switch to
983         corresponding Todos file; use todos-first-visit.
984         (todos-view-archived-items): Simplify; call todos-category-number.
985         (todos-show-archive): Rename from todos-switch-to-archive and
986         adjust callers; simplify.
987         (todos-toggle-display-date-time): Add optional argument to toggle
988         display in entire file.
989         (todos-top-priorities): Use todos-filter-items, which now contains
990         the previous core of this command.
991         (todos-merged-top-priorities, todos-diary-items):
992         Use todos-filter-items.
993         (todos-forward-category): Add optional argument to go to the
994         previous category.
995         (todos-backward-category): Use todos-forward-category.
996         (todos-jump-to-category): Refine implementation.
997         (todos-forward-item, todos-backward-item): Fix movement from todo
998         to done item and vice versa.
999         (todos-add-file): Remove argument and simplify.
1000         (todos-rename-category): Use todos-current-todos-file and
1001         todos-mode-line-function; set todos-categories with
1002         todos-set-categories.
1003         (todos-delete-category): Ask what to do if category has archived items.
1004         (todos-raise-category): Ensure modified todos-categories is added
1005         to file's categories sexp.
1006         (todos-move-category): Improve implementation, especially handling
1007         of archived categories.
1008         (todos-merge-category): Tweak; set item counts.
1009         (todos-insert-item): Improve handling of various argument values;
1010         add new argument values to control marking of diary items and to
1011         use region for item body.
1012         (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1013         (todos-delete-item, todos-edit-item-header): Handle marked items.
1014         (todos-edit-item): Incorporate functionality of removed
1015         todos-string-multiline-p.
1016         (todos-edit-multiline): Use set-window-buffer instead of
1017         switch-to-buffer.
1018         (todos-edit-quit): Don't save on quitting; use todos-show instead
1019         of todos-category-select.
1020         (todos-raise-item-priority): Add argument to lower priority;
1021         improve handling of top priority items in todos-filter-items-mode;
1022         restore marks.
1023         (todos-lower-item-priority): Use todos-raise-item-priority.
1024         (todos-set-item-priority): Increment maximum number if item is new.
1025         (todos-move-item): Handle marked items; delay changing category
1026         moved from till after movement to avoid restoring if user cancels
1027         before insertion.
1028         (todos-item-done): Add optional argument to insert comment; fix
1029         item counts and update sexp.
1030         (todos-item-undo): Fix item counts and update.
1031         (todos-archive-done-item-or-items): Rename from
1032         todos-archive-done-items; add optional argument to archive all
1033         items in category; handle marked items.
1034         (todos-unarchive-category): Use todos-unarchive-items.
1035         (todos-toggle-diary-inclusion): Incorporate functionality of
1036         removed todos-toggle-item-diary-inclusion; handle marked items.
1037         (todos-print): Add optional argument to print to file.
1038         (todos-done-string-start): Don't use todos-nondiary-start.
1039         (todos-date-string-matcher, todos-time-string-matcher)
1040         (todos-done-string-matcher, todos-category-string-matcher): Rename
1041         from *-match and adjust callers.
1042         (todos-wrap-and-indent): Use set instead of setq for local variables.
1043         (todos-prefix-overlays): Improve overlay handling.
1044         (todos-reset-categories): Fix and complete implementation.
1045         (todos-toggle-show-current-file): Rename from
1046         todos-toggle-switch-todos-file-noninteractively.
1047         (todos-category-select): Use todos-mode-line-function.
1048         (todos-item-start): Comment out code used by removed function.
1049         (todos-remove-item): Handle presence of both prefix/number and
1050         mark overlays.
1051         (todos-get-count): Simplify.
1052         (todos-set-count): Change argument list and adjust callers; simplify.
1053         (todos-set-categories): Handle new archive files; use
1054         todos-categories-full and todos-ignore-archived-categories.
1055         (todos-truncate-categories-list): Use todos-categories-full.
1056         (todos-update-categories-sexp): Use kill-region instead of
1057         kill-line; use todos-categories-full.
1058         (todos-read-file-name): Add argument to require existing file and
1059         adjust callers; use file-truename.
1060         (todos-read-category): Remove argument to require existing
1061         category and delegate it to completing-read in function body.
1062         (todos-validate-category-name): Make empty string prompt only for
1063         initial category name.
1064         (todos-read-date): Use = instead of eq for testing if month = 13,
1065         and if it is, set monthname to *.
1066         (todos-display-categories): Use todos-global-current-todos-file;
1067         use set-window-buffer instead of switch-to-buffer; add a line
1068         showing item count totals.
1069         (todos-padded-string): Use the longest of category name or label.
1070         (todos-descending-counts): Rename from
1071         todos-descending-counts-store and adjust users.
1072         (todos-insert-category-line): Adjust format; use mapconcat; kill
1073         buffer after jumping to category.
1075 2012-09-18  Stephen Berman  <stephen.berman@gmx.net>
1077         Changes from 2011-05-16 (revision 109996).
1078         * calendar/todos.el Add and revise various doc strings, remove
1079         further commented out code; add further comments; further code
1080         rearrangement.
1081         (todos-file-do, todos-archive-file, todos-mode-hook)
1082         (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1083         (todos-view-archive, todos-search-string)
1084         (todos-jump-to-category-noninteractively, todos-initial-setup):
1085         Remove.
1086         (todos-files): Remove this defcustom.
1087         (todos-initial-category, todos-display-categories-first)
1088         (todos-auto-switch-todos-file, todos-default-todos-file)
1089         (todos-categories-category-label, todos-categories-todo-label)
1090         (todos-categories-diary-label, todos-categories-done-label)
1091         (todos-categories-archived-label)
1092         (todos-categories-number-separator, todos-categories-align)
1093         (todos-ignore-archived-categories, todos-nondiary-marker):
1094         New defcustoms.
1095         (todos-prefix, todos-done-separator, todos-file-top)
1096         (todos-categories-buffer, todos-archived-categories-buffer)
1097         (todos-edit-buffer, todos-always-add-time-string, todos-button):
1098         Change default value.
1099         (todos-done-string): Add todos-reset-done-string as :set function,
1100         but keep this commented out.
1101         (todos-files, todos-archives, todos-insertion-map)
1102         (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1103         (todos-show-done-only, todos-date-string-start)
1104         (todos-done-string-start): New variables.
1105         (todos-files-directory, todos-files-function, todos-merged-files)
1106         (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1107         (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1108         (todos-toggle-switch-todos-file-noninteractively)
1109         (todos-switch-todos-file, todos-counts, todos-get-count)
1110         (todos-set-count, todos-set-categories)
1111         (todos-truncate-categories-list, todos-update-categories-sexp)
1112         (todos-read-file-name, todos-sort, todos-display-sorted)
1113         (todos-label-to-key, todos-insert-sort-button): New functions.
1114         (todos-display-categories-sorted-by-todo)
1115         (todos-display-categories-sorted-by-diary)
1116         (todos-display-categories-sorted-by-done)
1117         (todos-display-categories-sorted-by-archived)
1118         (todos-update-merged-files, todos-switch-to-archive)
1119         (todos-choose-archive, todos-merged-top-priorities)
1120         (todos-jump-to-category-other-file, todos-clear-matches)
1121         (todos-add-file, todos-change-default-file, todos-move-category)
1122         (todos-merge-category, todos-merge-categories)
1123         (todos-edit-item-time, todos-move-item-to-file)
1124         (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1125         (todos-toggle-diary-nonmarking): New commands.
1126         (todos-toggle-show-done-only): New command replacing todos-view-archive.
1127         (todos-faces): New defgroup; use in all face definitions.
1128         (todos-sorted-column, todos-archived-only, todos-search): New faces.
1129         (todos-font-lock-keywords): Use subexpression 1 with matcher
1130         todos-category-string-match.
1131         (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1132         (todos-categories-mode-map): Add new key bindings; change some
1133         existing bindings.
1134         (todos-top-priorities-mode-map): New keymap.
1135         (todos-menu): Add submenues and new entries.
1136         (auto-mode-alist): Add extension of Todos and Todos archive files.
1137         (todos-mode, todos-archive-mode): Make derived mode; use
1138         todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1139         and todos-switch-todos-file; make todos-show-done-only local
1140         variable.
1141         (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1142         (todos-categories-mode): Make derived mode.
1143         (todos-top-priorities-mode): New derived major mode.
1144         (todos-save): Remove unused code.
1145         (todos-quit): Handle todos-categories-mode; save archive buffer.
1146         (todos-show): Add optional argument to prompt for a Todos file; if
1147         called interactively or with prefix arg or from an archive, don't
1148         make a no-op but reset todos-current-todos-file, todos-categories
1149         and todos-category-number; use todos-read-file-name,
1150         todos-display-categories-first, todos-ignore-archived-categories.
1151         (todos-display-categories): Change argument name; refactor code
1152         for inserting table labels and lines, using
1153         todos-ignore-archived-categories, todos-sort,
1154         todos-categories-number-separator, todos-insert-sort-button,
1155         todos-categories-*-labels, and todos-insert-category-line.
1156         (todos-display-categories-alphabetically): Use todos-display-sorted.
1157         (todos-toggle-view-done-items): Use todos-done-string-start and
1158         todos-get-count.
1159         (todos-toggle-display-date-time): Use todos-done-string-start.
1160         (todos-top-priorities): Remove autoload cookie; partially rewrite:
1161         new argument list; allow combining top priorities of multiple
1162         Todos files; change display to include category (and file) name as
1163         part of item header; use todos-top-priorities-mode.
1164         (todos-diary-items): Reimplement using only todos-top-priorities.
1165         (todos-forward-category, todos-backward-category): Adjust to
1166         1-based numbering of categories; move point to top of category.
1167         (todos-jump-to-category): Rewrite, adding optional arguments to
1168         provide a category in non-interactive uses and to prompt for which
1169         Todos file to jump to.
1170         (todos-search): Reimplement; highlight each match as found, say
1171         how many matches remain and prompt whether to go to next one; at
1172         end of search prompt whether to remove highlighting.
1173         (todos-add-category): Remove autoload cookie; assign new category
1174         the highest category number; associate zero-initialized vector of
1175         item counts, instead of property list, with new category; use
1176         todos-validate-category-name and todos-update-categories-sexp.
1177         (todos-rename-category): Use todos-validate-category-name and
1178         todos-update-categories-sexp; take archive files into account.
1179         (todos-delete-category): Use todos-get-count and
1180         todos-update-categories-sexp, let-bind variable that were
1181         mistakenly global; use delete-region instead of kill-region;
1182         adjust to 1-based numbering of categories; move point to top of
1183         category.
1184         (todos-raise-category): Handle item count vectors; use
1185         todos-insert-category-line and todos-update-categories-sexp.
1186         (todos-insert-item): Use nil time-string argument to omit time
1187         string; use todos-nondiary-start and todos-nondiary-end and
1188         todos-update-categories-sexp; if category named to insert into
1189         does not exist, add it; take new diary items into account.
1190         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1191         (todos-insert-item-ask-date-time-for-diary)
1192         (todos-insert-item-ask-date-time-for-diary-here)
1193         (todos-insert-item-ask-date-time-here)
1194         (todos-insert-item-ask-date-maybe-notime)
1195         (todos-insert-item-ask-date-maybe-notime-for-diary)
1196         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1197         (todos-insert-item-ask-date-maybe-notime-here)
1198         (todos-insert-item-ask-date-for-diary)
1199         (todos-insert-item-ask-date-for-diary-here)
1200         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1201         (todos-insert-item-ask-dayname-time)
1202         (todos-insert-item-ask-dayname-time-for-diary)
1203         (todos-insert-item-ask-dayname-time-for-diary-here)
1204         (todos-insert-item-ask-dayname-time-here)
1205         (todos-insert-item-ask-dayname-maybe-notime)
1206         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1207         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1208         (todos-insert-item-ask-dayname-maybe-notime-here)
1209         (todos-insert-item-ask-dayname-for-diary)
1210         (todos-insert-item-ask-dayname-for-diary-here)
1211         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1212         (todos-insert-item-ask-time-for-diary)
1213         (todos-insert-item-ask-time-for-diary-here)
1214         (todos-insert-item-ask-time-here)
1215         (todos-insert-item-maybe-notime)
1216         (todos-insert-item-maybe-notime-for-diary)
1217         (todos-insert-item-maybe-notime-for-diary-here)
1218         (todos-insert-item-maybe-notime-here)
1219         (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1220         New insertion commands.
1221         (todos-insert-item-from-calendar): Use todos-current-todos-file.
1222         (todos-delete-item): Handle diary items;
1223         use todos-update-categories-sexp.
1224         (todos-edit-item): Check if point is with item string;
1225         use read-string instead of read-from-minibuffer;
1226         use todos-date-string-start; after editing put point at start of
1227         item text.
1228         (todos-edit-multiline): Narrow to item before invoking
1229         todos-edit-mode; show key binding of todos-edit-quit in a message.
1230         (todos-edit-quit): Use todos-save; kill buffer.
1231         (todos-edit-item-header): Add optional argument to prompt for
1232         editing only date string or only time string;
1233         use todos-date-string-start.
1234         (todos-edit-item-date, todos-edit-item-date-is-today)
1235         (todos-raise-item-priority, todos-lower-item-priority): Rename
1236         from todos-{raise, lower}-item and make them DTRT in
1237         todos-top-priorities-mode.
1238         (todos-set-item-priority): Make interactive; use todos-get-count
1239         and todos-insert-with-overlays; interactively, just relocate the
1240         item within its category.
1241         (todos-move-item): Add optional argument to prompt for a category
1242         in another Todos file; handle diary items; fix restoration after
1243         cancelling before inserting.
1244         (todos-item-done): Handle diary items; simplify handling of
1245         insertion in done items section.
1246         (todos-item-undo): Handle diary items.
1247         (todos-archive-done-items): Adjust to new handling of archive
1248         files (in parallel with Todos files); handle diary items; use
1249         todos-done-string-start.
1250         (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1251         todos-nondiary-end and todos-item-counts.
1252         (todos-toggle-diary-inclusion): Use todos-category-done instead of
1253         todos-category-end.
1254         (todos-print): Remove autoload cookie; rewrite to make overlays,
1255         line wrapping and wrap prefixes printable.
1256         (todos-date-pattern): Make parenthesized groups shy.
1257         (todos-date-string-match): Use todos-date-string-start; make
1258         todos-date-pattern an explicitly numbered group.
1259         (todos-time-string-match): Use todos-date-string-start.
1260         (todos-done-string-match): Use todos-done-string-start.
1261         (todos-category-string-match): Rewrite to match new category and
1262         category+filename patterns in todos-top-priorities-mode.
1263         (todos-prefix-overlays): Use todos-done-string-start and
1264         todos-category-done.
1265         (todos-reset-prefix): Handle archive files; restore point after
1266         changing prefix.
1267         (todos-reset-separator): Handle archive files.
1268         (todos-category-number): Make category number one more than its
1269         list index.
1270         (todos-current-category): Adjust to 1-based numbering of categories.
1271         (todos-category-select): Simplify handling of done items and done
1272         separator string overlay.
1273         (todos-item-start): Use todos-date-string-start and
1274         todos-done-string-start.
1275         (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1276         (todos-item-string): Restore point after getting item bounds; use
1277         buffer-substring-no-properties.
1278         (todos-done-item-p): Use todos-done-string-start.
1279         (todos-make-categories-list): Add optional argument to force
1280         looping through file to get categories and their item counts,
1281         otherwise set todos-categories from sexp in first line; use
1282         vectors of item counts instead of plists; count diary items.
1283         (todos-item-counts): Use todos-counts, todos-set-counts,
1284         todos-get-counts, and todos-update-categories-sexp instead of
1285         getting and setting properties; handle diary items.
1286         (todos-read-category): Add argument to set prompt; don't offer
1287         default category.
1288         (todos-validate-category-name): Rename from
1289         todos-check-category-name; take into account whether there are
1290         already categories or not.
1291         (todos-read-date): Accept `*' as an unspecified month, day, or year.
1292         (todos-padded-string): Accommodate new structure of
1293         todos-categories as alists; use todos-categories-align.
1294         (todos-descending-counts-store): New variable.
1295         (todos-insert-category-line): Rename from
1296         todos-insert-category-name and reimplement using labels and
1297         todos-get-counts instead of properties; use
1298         todos-ignore-archived-categories; highlight sorted column.
1300 2012-09-14  Stephen Berman  <stephen.berman@gmx.net>
1302         Changes from 2010-07-09 (revision 109995).
1303         * calendar/todos.el Remove lots of commented out code; add various
1304         comments; further code rearrangement.
1305         (todos-insert-item-here-ask-date-time)
1306         (todos-insert-item-ask-date-time)
1307         (todos-insert-item-ask-dayname-time)
1308         (todos-insert-item-for-diary)
1309         (todos-insert-item-for-diary-ask-date-time)
1310         (todos-make-categories-alist, todos-categories-alist): Remove.
1311         (todos-categories-list): Comment out.
1312         (todos-make-categories-list): New function replacing
1313         todos-make-categories-alist, using category plists to get item
1314         counts and taking archive into account.
1315         (todos-current-todos-file): New variable.
1316         (todos-mode-map): Update key bindings.
1317         (todos-save): Add as comment code to make sure todos-categories
1318         sexp is current on saving.
1319         (todos-quit): Call todos-show on quitting Todos archive buffer.
1320         (todos-show): If todos-current-todos-file is not set to Todos
1321         file, set it as a new file; set todos-categories from
1322         todos-make-categories-alist.
1323         (todos-display-categories): Use a different display format for
1324         archive file; put point initially on the first button.
1325         (todos-toggle-view-done-items): Check the category's `done'
1326         property to determine if there are done items.
1327         (todos-view-archive): Set todos-current-todos-file to the archive
1328         file; jump from the Todos file to the same category in the
1329         archive, if it exists, else jump to the first category; use
1330         message instead of error.
1331         (todos-add-category): Intern a special symbol for the new category
1332         and set its property list to holds counts of the numbers of todo,
1333         done and archived items in the category; assign the new category
1334         the current highest category number.
1335         (todos-rename-category): Don't use todos-categories-alist.
1336         (todos-delete-category): Check the category's `todo' and `done'
1337         properties to determine if it is empty; ensure that the end of the
1338         last category is found; after deleting the category, empty its
1339         plist and unintern its special symbol.
1340         (todos-insert-item-here): Fix argument list of todos-insert-item.
1341         (todos-delete-item, todos-raise-item, todos-lower-item):
1342         Use message instead of error.
1343         (todos-move-item): If the category to be moved to does not exist,
1344         add it as a new category.
1345         (todos-item-done, todos-reset-separator):
1346         Use todos-category-select instead of todos-show.
1347         (todos-archive-done-items): Make buffer writeable; conditionalize
1348         search for end of category; save after adding to archive in case
1349         the file is new, so it can be found.
1350         (todos-category-select): Wrap search in if instead of or+and;
1351         don't hide done items in an archive.
1352         (todos-set-item-priority): Check the category's `todo'
1353         property to determine if there are not done todo items.
1354         (todos-jump-to-category-noninteractively): Just switch to buffer
1355         visiting todos-current-todos-file, since this can be either a
1356         Todos file or an archive.
1357         (todos-item-counts): Use category's plist instead of an alist.
1358         (todos-longest-category-name-length): Argument is now a list of
1359         category names, not an alist, so just test each element, not each
1360         element's the car.
1361         (todos-padded-string): Use todos-categories instead of
1362         todos-categories-alist.
1363         (todos-insert-category-name): Use category plist to get item
1364         counts; take archived items into account.
1366 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1368         Changes from 2010-06-18 (revision 109994).
1369         * calendar/todos.el: Numerous spelling and comment fixes, doc
1370         string fixes to conform with checkdoc, further rearrangement of
1371         definitions, etc.
1372         (todos-previous-line, todos-previous-answer)
1373         (todos-insert-item-ask-date, todos-change-date)
1374         (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1375         (todos-count-items-in-category, todos-count-all-items): Remove.
1376         (todos-update-numbered-prefix, todos-item-start-overlays)
1377         (todos-add-item-non-interactively): Comment out, also in uses.
1378         (todos-done-separator): Change default value.
1379         (todos-always-add-time-string): Rename from todos-add-time-string
1380         and adjust uses.
1381         (todos-read-category): Rename from todos-completing-read and
1382         adjust callers; use todos-current-category.
1383         (todos-make-categories-alist): Rename from function
1384         todos-categories-alist.
1385         (todos-categories-alist): New variable.
1386         (todos-indent-to-here): New defcustom.
1387         (todos-button): New face.
1388         (todos-display-categories-alphabetically, todos-raise-category)
1389         (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1390         (todos-insert-item-here-ask-date-time)
1391         (todos-insert-item-ask-date-time)
1392         (todos-insert-item-ask-dayname-time): New commands.
1393         (todos-edit-item-header): New command replacing todos-change-date.
1394         (todos-category-number, todos-indent, todos-item-counts)
1395         (todos-check-category-name, todos-read-date, todos-read-dayname)
1396         (todos-read-time, todos-padded-string)
1397         (todos-insert-category-name): New functions.
1398         (todos-set-item-priority): New function replacing
1399         todos-add-item-non-interactively.
1400         (todos-mode-map): Remap newline to newline-and-indent.
1401         (todos-edit-mode-map): Make sparse keymap; remap newline to
1402         newline-and-indent.
1403         (todos-categories-mode-map): New keymap.
1404         (todos-mode, todos-edit-mode): Make indent-line-function local
1405         variable and set to todos-indent.
1406         (todos-categories-mode): New major mode.
1407         (todos-display-categories): List categories initially in their
1408         numerical order; add optional argument to switch to alphabetical
1409         listing.
1410         (todos-toggle-view-done-items): Simplify implementation.
1411         (todos-toggle-display-date-time): Fix regexp search string.
1412         (todos-backward-item, todos-forward-item): Use variable
1413         todos-item-start.
1414         (todos-add-category): Use todos-check-category-name and
1415         todos-categories-alist.
1416         (todos-rename-category): Use todos-current-category,
1417         todos-check-category-name and todos-categories-alist.
1418         (todos-delete-category): Use todos-check-category-name and
1419         todos-categories-alist and take done items into account.
1420         (todos-insert-item): Use separate arguments to handle insertion of
1421         date/dayname and time strings, add new argument to mark item for
1422         diary inclusion, use new todos-read-* functions,
1423         todos-set-item-priority and todos-item-counts.
1424         (todos-insert-item-here, todos-insert-item-for-diary)
1425         (todos-insert-item-from-calendar): Adapt to new version of
1426         todos-insert-item.
1427         (todos-delete-item, todos-item-done): Use todos-item-counts.
1428         (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1429         char follows.
1430         (todos-lower-item): Ensure only not-done items can be lowered.
1431         (todos-move-item): Use todos-current-category, todos-read-category
1432         and todos-item-counts.
1433         (todos-archive-done-items): Use todos-current-category and
1434         todos-item-counts; fix regexp search string.
1435         (todos-item-undo): Use todos-current-category,
1436         todos-set-item-priority, todos-insert-with-overlays and
1437         todos-item-counts; restore if user quits before inserting undone
1438         item.
1439         (todos-date-pattern): Rewrite without using
1440         todos-date-nodayname-pattern and todos-dayname-date-pattern.
1441         (todos-date-string-match): Do not make todos-date-pattern an
1442         unnumbered group.
1443         (todos-time-string-match): Make todos-date-pattern a shy group.
1444         (todos-wrap-and-indent): Use todos-indent-to-here.
1445         (todos-reset-prefix): Revert to using todos-show instead of
1446         todos-category-select.
1447         (todos-prefix-overlays): Fix numbering of done items and updating
1448         of prefix.
1449         (todos-category-select): Use todos-current-category; fix display
1450         of separator string; don't move point to top of category.
1451         (todos-jump-to-category-noninteractively): Use todos-category-number.
1452         (todos-insert-with-overlays): Use todos-item-start unconditionally.
1453         (todos-item-start): New variable.
1454         (todos-item-start): Use it to define this function.
1455         (todos-item-end): Adjust if item is last unfinished one before
1456         displayed done items.
1457         (todos-remove-item): Use todos-item-start and todos-item-end
1458         instead of todos-forward-item and todos-backward-item.
1459         (todos-longest-category-name-length): Add argument for list of
1460         categories.
1462 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1464         Changes from 2010-05-25 (revision 109993).
1465         * calendar/todos.el: Comment out calendar require, since diary-lib
1466         requires calendar.  Rearrange file to group definitions according
1467         to their use (types of commands, internal functions, etc.)
1468         (todos-file-done, todos-insert-threshold, todos-remove-separator)
1469         (todos-date-string, todos-time-string, todos-check-overlay)
1470         (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1471         Comment out.
1472         (todos-current-date, todos-item-end-overlays)
1473         (todos-list-categories): Remove.
1474         (todos-item-end): Remove (the variable, not the function).
1475         (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1476         callers.
1477         (todos-done-separator, todos-done-string, todos-show-with-done)
1478         (todos-files, todos-archive-file, todos-categories-buffer)
1479         (todos-archived-categories-buffer, todos-wrap-lines)
1480         (todos-line-wrapping-function): New defcustoms.
1481         (todos-done, todos-done-sep): New faces.
1482         (todos-done-face, todos-done-sep-face): Corresponding new variables.
1483         (todos-search-string, todos-date-nodayname-pattern)
1484         (todos-dayname-date-pattern, todos-date-pattern): New variables.
1485         (todos-done-string-match, todos-category-string-match)
1486         (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1487         (todos-current-category, todos-count-items-in-category)
1488         (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1489         (todos-longest-category-name-length): New functions.
1490         (todos-categories-list): New buffer-specific function replacing
1491         todos-list-categories.
1492         (todos-toggle-item-numbering, todos-toggle-view-done-items)
1493         (todos-search, todos-view-archive, todos-diary-items)
1494         (todos-toggle-display-date-time, todos-insert-item-no-time)
1495         (todos-insert-item-ask-date, todos-insert-item-for-diary)
1496         (todos-insert-item-from-calendar, todos-edit-quit)
1497         (todos-change-date, todos-item-done, todos-archive-done-items)
1498         (todos-item-undo): New commands.
1499         (todos-archive-mode): New major mode.
1500         (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1501         (todos-category-beg): Change value.
1502         (todos-number-prefix): Change default value.
1503         (todos-edit-buffer): Change from defvar to defcustom.
1504         (todos-font-lock-keywords): Use todos-done-string-match and
1505         todos-category-string-match.
1506         (todos-backward-item, todos-forward-item): Use todos-done-string
1507         and todos-date-pattern.
1508         (todos-display-categories): Reimplement using buttons from
1509         button.el instead of widgets.
1510         (todos-top-priorities): Use with-current-buffer; take done items
1511         into account; ensure buffers gets fontified.
1512         (todos-add-category): Ensure new category does not begin with
1513         empty lines.
1514         (todos-jump-to-category): Use todos-category-select instead of
1515         todos-show.
1516         (todos-rename-category): Prompt for new name in body instead of in
1517         interactive spec.
1518         (todos-insert-item): Don't insert in done items section of
1519         category.  Add two optional arguments to control insertion: (i) to
1520         insert near point without prompting for priority; (ii) to use
1521         defaults for date and time strings, to prompt for these, or to
1522         choose date from the Calendar.
1523         (todos-insert-item-here): Reimplement using todos-insert-item.
1524         (todos-delete-item): Don't move point after deleting last item.
1525         (todos-raise-item, todos-lower-item): Take done items into account.
1526         (todos-move-item): Don't move done items; update item numbering;
1527         restore if user quits before inserting moved item.
1528         (todos-print): Prompt for confirmation to print.
1529         (todos-reset-prefix): Search backward from end of file instead of
1530         forward from top.
1531         (todos-jump-to-category-noninteractively): Take Todos archive into
1532         account.
1533         (todos-category-select): Show or hide done items according to
1534         todos-show-with-done; if shown, coordinate separator and prefix
1535         overlays.
1536         (todos-add-item-non-interactively): Replace binary insertion
1537         algorithm with prompting for numerical priority.
1538         (todos-insert-with-overlays): Remove use of variable todos-item-end.
1539         (todos-item-start): Take done items into account; use
1540         todos-date-pattern.
1541         (todos-item-end): Reimplement using todos-forward-item.
1542         (todos-remove-item): Reimplement using todos-forward-item and
1543         todos-backward-item; redo overlay handling.
1544         (todos-mode-map): Add some new key bindings and change numerous
1545         existing bindings; use "i" as prefix key for item insertion
1546         commands.
1547         (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1548         wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1549         spec; set buffer-read-only to t and consequently let-bind this
1550         variable in all Todos commands that change buffer content.
1551         (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1552         (todos-save): Don't save top priorities buffer.
1553         (todos-show): Make a no-op if called interactively in narrowed
1554         Todos mode, since, also to work around item prefix reduplication
1555         bug with show-paren-mode enabled; use todos-categories-list.
1557 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1559         Changes from 2009-11-07 (revision 109992).
1560         * calendar/todos.el: Comment out time-stamp require; require
1561         calendar and diary-lib.
1562         (todos-prefix): Change default value and doc string to reflect new
1563         meaning; add :initialize and :set functions.
1564         (todos-time-string-format, todos-entry-prefix-function)
1565         (todos-initials, todos-entry-timestamp-initials)
1566         (todos-prefix-face, todos-category-sep, todos-category-end)
1567         (todos-cp): Comment out.
1568         (todos-prefix-string): Inherit from font-lock-comment-face.
1569         (todos-item-header, todos-item-header-face): Remove.
1570         (todos-date, todos-time): New faces.
1571         (todos-date-face, todos-time-face): Corresponding new variables.
1572         (todos-add-time-string, todos-include-in-diary)
1573         (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1574         New defcustoms.
1575         (todos-item-end, todos-item-start-overlays)
1576         (todos-item-end-overlays): New variables.
1577         (todos-date-string-match, todos-time-string-match): New functions.
1578         (todos-font-lock-keywords): Use them.
1579         (todos-current-date, todos-date-string, todos-time-string)
1580         (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1581         (todos-reset-prefix, todos-update-numbered-prefix)
1582         (todos-check-overlay, todos-item-overlays)
1583         (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1584         (todos-highlight-item): New command.
1585         (todos-category-beg): Change value.
1586         (todos-category-select): Use todos-category-beg and todos-item-overlays.
1587         (todos-backward-item): Add optional count argument; use it and
1588         todos-item-start.
1589         (todos-forward-item): Use todos-check-overlay, todos-item-start
1590         and variable todos-item-end.
1591         (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1592         todos-update-numbered-prefix, todos-item-overlays.
1593         (todos-add-category, todos-rename-category)
1594         (todos-list-categories): Use new category format.
1595         (todos-delete-category): Allow deleting non-empty category;
1596         use new category format.
1597         (todos-add-item-non-interactively): Comment out unnecessary
1598         save-excursion; use todos-insert-with-overlays.
1599         (todos-insert-item): Comment out unnecessary save-excursion; use
1600         new item format for date/time header and diary inclusion marking.
1601         (todos-insert-item-here): Use new item format for date/time header
1602         and diary inclusion marking; use todos-insert-with-overlays.
1603         (todos-raise-item): Make a no-op if point is on an empty line; use
1604         todos-insert-with-overlays.
1605         (todos-lower-item): Use todos-insert-with-overlays.
1606         (todos-top-priorities): Move call to todos-show inside
1607         save-excursion; add save-current-buffer after save-restriction.
1608         (todos-item-start): Use variable todos-item-end.
1609         (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1610         (todos-remove-item): Take item overlays into account.
1611         (todos-mode): Change calculation of wrap-prefix; make
1612         hl-line-range-function a local variable and set it to highlight
1613         todo item.
1614         (todos-show): Ensure point stays at top of category.
1616 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1618         Changes from 2009-07-04 (revision 109991).
1619         * calendar/todos.el (todos-window-configuration): Comment out.
1620         (todos-display-categories): Comment out use of
1621         todos-window-configuration; use switch-to-buffer instead of
1622         pop-to-buffer.
1623         (todos-jump-to-category-noninteractively): Comment out use of
1624         todos-window-configuration.
1625         (todos-edit-item): Don't allow editing of date/time item header.
1626         (todos-insert-item, todos-insert-item-here): Insert date/time
1627         header in front of new item string.
1628         (todos-mode): Tweak wrap-prefix.
1630 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1632         Changes from 2009-06-26 (revision 109989).
1633         * calendar/todos.el (todos-file-do, todos-file-done):
1634         Change default location to directory "~/.emacs.d/".
1635         (todos-completion-ignore-case, todos-categories-buffer):
1636         New defcustoms.
1637         (todos-prefix-string, todos-item-header): New faces.
1638         (todos-prefix-face, todos-item-header-face): Corresponding
1639         new variables.
1640         (todos-rename-category, todos-delete-category)
1641         (todos-display-categories, todos-move-item): New commands.
1642         (todos-mode-map): Add key bindings for new commands and for
1643         todos-add-category, which had no key binding.
1644         (todos-jump-to-category-noninteractively): New function.
1645         (todos-top-priorities): Comment out code using a previously
1646         deleted variable.
1647         (todos-completing-read): Allow SPC to insert a space when entering
1648         a new category name; use todos-completion-ignore-case.
1649         (todos-font-lock-keywords, todos-window-configuration):
1650         New variables.
1651         (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1652         word-wrap, and wrap-prefix local variables.
1654 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1656         Changes from 2009-02-16 (revision 109988).
1657         * calendar/todos.el (todos-list-categories): Fix typos.
1658         (todos-show): Ensure file is in todos-mode.
1660 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1662         Changes from 2009-02-12 (revision 109987).
1663         * calendar/todos.el (todos-header): Remove defvar.
1664         (todos-add-category): Comment out code that inserts and updates
1665         the file local variables first line of the file todos-file-do.
1666         (todos-list-categories): New function.
1667         (todos-show): Use it; remove use of a previously deleted variable.
1669 2012-09-11  Stephen Berman  <stephen.berman@gmx.net>
1671         Changes from 2009-02-12 (revision 109986).
1672         * calendar/todos.el: New file.  This is a copy of todo-mode.el
1673         from revision 94343 except for the following changes: replace all
1674         occurrences of the namespace prefix "todo-" with "todos-", delete
1675         the defvar todo-cats (the old name of todo-categories) and its use
1676         in todos-add-category, delete all defaliases of old command names.
1678 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1680         * subr.el (set-temporary-overlay-map): Add a docstring.
1681         (bug#12346)
1683 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1685         * minibuffer.el (completion-table-subvert): Fix docstring.
1686         (bug#12347)
1688 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1690         * help-fns.el (describe-variable): Fix typo. (bug#12346)
1692 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
1694         * progmodes/sql.el: Version 3.1
1695         (sql-db2-escape-newlines): New variable.
1696         (sql-escape-newlines-filter): Use it.
1698 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
1700         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1702 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
1704         * vc/diff-mode.el (diff-mode-menu): Bind
1705         diff-remove-trailing-whitespace.
1707 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1709         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1710         (emacs-lisp-byte-code-comment)
1711         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1712         New functions.
1713         (eval-sexp-add-defvars): Don't skip defvars in column >0.
1714         (eval-defun-2): Remove bogus interactive spec.
1715         (lisp-indent-line): Remove redundant whole-exp code, now done in
1716         indent-according-to-mode.
1717         (save-match-data): Remove redundant indent data.
1719         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1720         Use `declare'.
1722 2012-09-09  Juri Linkov  <juri@jurta.org>
1724         * replace.el (replace-regexp-lax-whitespace): New defcustom.
1725         (replace-lax-whitespace, query-replace-regexp)
1726         (query-replace-regexp-eval, replace-regexp): Doc fix.
1727         (perform-replace, replace-highlight): Let-bind
1728         isearch-lax-whitespace to replace-lax-whitespace and
1729         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1731         * isearch.el (isearch-query-replace): Let-bind
1732         replace-lax-whitespace to isearch-lax-whitespace and
1733         replace-regexp-lax-whitespace to
1734         isearch-regexp-lax-whitespace.  (Bug#10885)
1736 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1738         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1740 2012-09-09  Alan Mackenzie  <acm@muc.de>
1742         * progmodes/cc-engine.el (c-state-cache-init):
1743         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1744         (c-record-parse-state-state):
1745         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1747 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
1749         * register.el (register-separator): Rename from
1750         separator-register.  All uses changed.  Doc fix.
1751         (register): Fix version.
1753 2012-09-09  Chong Yidong  <cyd@gnu.org>
1755         * replace.el (query-replace-map): Bind four new symbols for
1756         requesting window scrolling.
1758         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1759         query-replace-map (Bug#8948).
1761         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1763         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1764         since they are now in query-replace-map.
1766         * window.el (scroll-other-window-down): Make the arg optional.
1768 2012-09-09  Chong Yidong  <cyd@gnu.org>
1770         * files.el (hack-local-variables-confirm): Use quit-window to kill
1771         the *Local Variables* buffer.
1773 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1775         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1776         not just expect to be at its beginning.  Adjust callees.
1777         Succeed when do-end block has no space before the pipe character.
1778         (ruby-brace-to-do-end): When the original block is one-liner,
1779         convert to multiline.  Reindent the result.
1781 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
1783         * register.el (register): New group.
1784         (register-separator): New user option.
1785         (increment-register): Route it to `append-to-register', if
1786         register contains text.  Implication is that `C-x r +' can now be
1787         used for appending to a text register (bug#12217).
1788         (append-to-register, prepend-to-register): Add separator based on
1789         `register-separator.
1791 2012-09-08  Alan Mackenzie  <acm@muc.de>
1793         AWK Mode: make auto-newline work when there's "==" in the pattern.
1794         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1795         correctly.
1796         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1797         Test more rigorously for "=" token.
1799 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1801         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1802         Only fail when reached LIMIT.
1804 2012-09-08  Chong Yidong  <cyd@gnu.org>
1806         * dired.el (dired-mode-map): Don't bind M-=.
1808         * dired-aux.el (dired-diff): Use backup file as default.
1810 2012-09-08  Drew Adams  <drew.adams@oracle.com>
1812         * subr.el (add-to-history): Fix delete usage (Bug#12314).
1814 2012-09-08  Chong Yidong  <cyd@gnu.org>
1816         * subr.el (syntax-after, syntax-class): Doc fix.
1818 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
1820         * window.el (display-buffer-in-previous-window): New buffer
1821         display action function.
1823         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1824         (debugger-previous-window): New variable.
1825         (debug): Rewrite using display-buffer-in-previous-window,
1826         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
1828 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1830         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
1832 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
1834         * progmodes/python.el (python-shell-send-string):
1835         When default-directory is remote, create temp file on remote
1836         filesystem.
1837         (python-shell-send-file): When file is remote, pass local view of
1838         file paths to remote Python interpreter.  (Bug#12340)
1840 2012-09-07  Chong Yidong  <cyd@gnu.org>
1842         * window.el (switch-to-buffer): Doc fix (Bug#12181).
1844         * files.el (after-find-file): Don't fail on a read-only buffer if
1845         require-final-newline is `visit' or `visit-save' (Bug#11156).
1847         * subr.el (read-char-choice): Allow quitting via ESC ESC.
1849         * userlock.el (ask-user-about-supersession-threat):
1850         Use read-char-choice (Bug#12093).
1852 2012-09-07  Chong Yidong  <cyd@gnu.org>
1854         * subr.el (buffer-narrowed-p): New function.
1856         * ses.el (ses-widen):
1857         * simple.el (count-words--buffer-message):
1858         * net/browse-url.el (browse-url-of-buffer): Use it
1860         * simple.el (count-words-region): Don't signal an error if there
1861         is a non-nil prefix arg and the mark is not set.
1863         * help.el (describe-key-briefly): Allow the message to be seen
1864         when invoked from the minibuffer (Bug#7014).
1866 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1868         * progmodes/ruby-mode.el (ruby-end-of-defun)
1869         (ruby-beginning-of-defun): Simplify, allow indentation before
1870         block beginning and end keywords.
1871         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1872         (ruby-end-of-defun): Expect that the point is at the beginning of
1873         the defun.
1875 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1877         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1878         (bug#12367).
1879         (cl--make-usage-args): Strip _ from argument names.
1881 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1883         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1884         obsolete alias speedbar-key-map.
1885         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1886         (vhdl-index-menu-init): Don't use obsolete variable
1887         font-lock-maximum-size.
1889 2012-09-06  Chong Yidong  <cyd@gnu.org>
1891         * frame.el (window-system-version): Mark as obsolete.
1893         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1894         of obsolete variable speedbar-key-map.
1896 2012-09-06  Juri Linkov  <juri@jurta.org>
1898         * replace.el (replace-lax-whitespace): New defcustom.
1899         (query-replace, query-replace-regexp, query-replace-regexp-eval)
1900         (replace-string, replace-regexp): Mention it in docstrings.
1901         (perform-replace, replace-highlight): Let-bind
1902         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1903         to the values of replace-lax-whitespace and regexp-flag.
1904         Don't let-bind search-whitespace-regexp.  (Bug#10885)
1906         * isearch.el (isearch-query-replace): Let-bind
1907         replace-lax-whitespace instead of let-binding
1908         replace-search-function and replace-re-search-function.
1909         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1910         and isearch-regexp-lax-whitespace to lazy-highlight variables.
1911         (isearch-toggle-symbol): Set isearch-regexp to nil
1912         in isearch-word mode (like in isearch-toggle-word).
1914 2012-09-06  Juri Linkov  <juri@jurta.org>
1916         * replace.el (replace-search-function)
1917         (replace-re-search-function): Set default values to nil.
1918         (perform-replace): Let-bind isearch-related variables based on
1919         replace-related values, call `isearch-search-fun' and let-bind
1920         the result to `search-function'.  Remove code that sets
1921         `search-function' and `search-string' separately for
1922         `delimited-flag'.
1923         (replace-highlight): Add new argument `delimited-flag' and
1924         rename other arguments to the names used in `perform-replace'.
1925         Let-bind `isearch-word' to the argument `delimited-flag'.
1926         (Bug#10885, bug#10887)
1928 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1930         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1931         ruby-beginning-of-indent, simplify, allow all keywords to have
1932         indentation before them.
1933         (ruby-beginning-of-indent): Adjust for above.  Search until the
1934         found point is not inside a string or comment.
1935         (ruby-font-lock-keywords): Allow symbols to start with "@"
1936         character, give them higher priority than variables.
1937         (ruby-syntax-propertize-function)
1938         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1939         matchers.  Expression expansions are not comments when inside a
1940         string, and there comment syntax status is irrelevant.
1941         (ruby-match-expression-expansion): New function.  Check that
1942         expression expansion is inside a string, and it's not escaped.
1943         (ruby-font-lock-keywords): Use it.
1945 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
1947         * help.el (temp-buffer-max-height): New default value.
1948         (temp-buffer-resize-frames): New option.
1949         (resize-temp-buffer-window): Optionally resize frame.
1951         * window.el (fit-frame-to-buffer-bottom-margin): New option.
1952         (fit-frame-to-buffer): New function.
1954 2012-09-05  Glenn Morris  <rgm@gnu.org>
1956         * emulation/cua-rect.el (cua--init-rectangles):
1957         * textmodes/picture.el (picture-mode-map):
1958         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1959         like forward-char and backward-char.  (Bug#12317)
1961 2012-09-05  Leo Liu  <sdl.web@gmail.com>
1963         * progmodes/flymake.el (flymake-warning-re): New variable.
1964         (flymake-parse-line): Use it.
1966 2012-09-05  Glenn Morris  <rgm@gnu.org>
1968         * calendar/holidays.el (holiday-christian-holidays):
1969         Rename an entry.  (Bug#12289)
1971 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1973         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1974         (bug#12222).
1976 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1978         * loadup.el: Load macroexp.  Remove hack.
1979         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1980         (macroexp--expand-all): Use it to get better warnings.
1981         (macroexp--backtrace, macroexp--trim-backtrace-frame)
1982         (internal-macroexpand-for-load): New functions.
1983         (macroexp--pending-eager-loads): New var.
1984         (emacs-startup-hook): New hack to replace one in loadup.el.
1985         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1986         (cl--compiler-macro-cXXr): Move to top, before they can be used.
1987         (cl-psetf): Simplify.
1988         (cl-defstruct): Add indent rule.
1990 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
1992         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1993         over `user-mail-address' for the SMTP MAIL FROM envelope.
1994         (smtpmail-via-smtp): Ditto.
1996 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
1998         * progmodes/ruby-mode.el: Clean up keybindings.
1999         (ruby-mode-map): Don't bind ruby-electric-brace,
2000         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2001         backward-kill-word, reindent-then-newline-and-indent.
2002         (ruby-mark-defun): Remove.
2003         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
2004         (ruby-mode): Set local beginning-of-defun-function and
2005         end-of-defun-function values.
2007 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
2009         * window.el (temp-buffer-window-setup-hook)
2010         (temp-buffer-window-show-hook): New hooks.
2011         (temp-buffer-window-setup, temp-buffer-window-show)
2012         (with-temp-buffer-window): New functions.
2013         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2014         (special-display-popup-frame): Make sure the window used shows BUFFER.
2016         * help.el (temp-buffer-resize-mode): Fix doc-string.
2017         (resize-temp-buffer-window): New optional argument WINDOW.
2019         * files.el (recover-file, save-buffers-kill-emacs):
2020         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2022 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
2024         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2025         remote definition of `default-directory', ensure we can connect.
2027 2012-09-02  Juri Linkov  <juri@jurta.org>
2029         Toggle whitespace matching mode with M-s SPC.
2030         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2032         * isearch.el (search-whitespace-regexp): Doc fix.
2033         Remove cons cell customization.
2034         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2035         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2036         New variables.
2037         (isearch-forward, isearch-forward-regexp): Doc fix.
2038         (isearch-toggle-lax-whitespace): New command.
2039         (search-forward-lax-whitespace, search-backward-lax-whitespace)
2040         (re-search-forward-lax-whitespace)
2041         (re-search-backward-lax-whitespace): New functions.
2042         (isearch-whitespace-regexp): Remove function.
2043         (isearch-query-replace): Let-bind replace-search-function and
2044         replace-re-search-function.
2045         (isearch-occur): Let-bind search-spaces-regexp according to the
2046         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2047         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2048         condition for C-q SPC.
2049         (isearch-search-fun-default): Use new functions mentioned above.
2050         (isearch-search-forward, isearch-search-backward): Remove functions.
2051         (isearch-search): Don't let-bind search-spaces-regexp.
2052         (isearch-lazy-highlight-space-regexp): Remove variable.
2053         (isearch-lazy-highlight-lax-whitespace)
2054         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2055         (isearch-lazy-highlight-new-loop): Use them.
2056         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2058 2012-09-02  Chong Yidong  <cyd@gnu.org>
2060         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2062 2012-09-02  Glenn Morris  <rgm@gnu.org>
2064         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
2066 2012-09-01  Glenn Morris  <rgm@gnu.org>
2068         * term.el: Tidy up menu definitions.
2069         (term-mode-map): Use easymenu for In/Out, Complete menus.
2070         (term-pager-break-map): Initialize in the defvar.
2071         (term-terminal-menu, term-signals-menu): Define with easymenu.
2072         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
2073         (term-pager-menu): New, extracted from term-process-pager.
2074         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2075         (term-update-mode-line): Propertize line/char and page items.
2076         (term-process-pager): Move keymap initialization elsewhere.
2078 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
2080         * window.el (switch-to-prev-buffer): Handle additional values of
2081         BURY-OR-KILL argument.  Don't switch in minibuffer window.
2082         (switch-to-next-buffer): Don't switch in minibuffer window.
2083         (quit-restore-window): New function based on quit-window.
2084         Handle additional values of former KILL argument.
2085         (quit-window): Call quit-restore-window with appropriate
2086         interpretation of KILL argument.
2087         (display-buffer-below-selected): New buffer display action
2088         function.
2090 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2092         * minibuffer.el (completion-at-point-functions): Complete docstring
2093         (bug#12254).
2095 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2097         Better seed support for (random).
2098         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2099         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2100         * play/mpuz.el, play/tetris.el, play/zone.el:
2101         * calc/calc-comb.el (math-init-random-base):
2102         * play/blackbox.el (bb-init-board):
2103         * play/life.el (life):
2104         * server.el (server-use-tcp):
2105         * type-break.el (type-break):
2106         Remove unnecessary call to (random t).
2107         * net/sasl.el (sasl-unique-id-function):
2108         Change (random t) to (random), now that the latter is more random.
2109         * play/life.el (life-initialized): Remove no-longer-needed var.
2111 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
2113         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2114         Consider frame's buffer predicate when choosing the buffer.
2115         (Bug#12081)
2117 2012-08-30  Richard Stallman  <rms@gnu.org>
2119         * simple.el (special-mode-map): Delete binding for `z'.
2121 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
2123         * progmodes/compile.el (compilation-always-kill): Doc fix.
2125 2012-08-30  Chong Yidong  <cyd@gnu.org>
2127         * window.el (display-buffer-reuse-frames): Make the obsolescence
2128         message more informative.
2130 2012-08-30  Glenn Morris  <rgm@gnu.org>
2132         * paren.el (show-paren-delay):
2133         Add a :set function.  Doc fix.  (Bug#12297)
2135 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
2137         * progmodes/compile.el (compilation-always-kill): New var.
2138         (compilation-start): Use it.
2140 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2142         * simple.el (read-only-mode): Move from files.el for bootstrapping.
2143         * files.el (read-only-mode): Move to simple.el.
2145         * files.el (read-only-mode): New minor mode.
2146         (toggle-read-only): Use it and mark obsolete.
2147         (find-file--read-only):
2148         * vc/vc.el (vc-next-action, vc-checkout):
2149         * vc/vc-cvs.el (vc-cvs-checkout):
2150         * obsolete/vc-mcvs.el (vc-mcvs-update):
2151         * ffap.el (ffap--toggle-read-only): Update callers.
2153 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
2155         * eshell/esh-ext.el (eshell-external-command): Do not examine
2156         remote shell scripts.
2157         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2159         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2160         "/usr/local/sbin".
2162 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2164         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2166 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2168         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2169         completion-at-point.  (Bug#12220)
2171         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2173         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2175 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2177         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2178         be buffer-local; add delete-trailing-whitespace (bug#12259).
2180 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
2182         * progmodes/hideif.el (hif-compress-define-list):
2183         Fix typo.  (Bug#11951)
2185 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
2187         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2188         buffer local setting.
2190         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2191         rcirc-encode-coding-system.
2193 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2195         * net/rcirc.el (rcirc-split-message): New function.
2196         (rcirc-send-message): Use it.  (Bug#12051)
2198 2012-08-28  Juri Linkov  <juri@jurta.org>
2200         * info.el (Info-fontify-node): Hide empty lines at the end of
2201         the node.  (Bug#12272)
2203 2012-08-27  Drew Adams  <drew.adams@oracle.com>
2205         * dired.el (dired-pop-to-buffer): Make window start at beginning
2206         of buffer (Bug#12281).
2208 2012-08-26  Chong Yidong  <cyd@gnu.org>
2210         * window.el (special-display-regexps, special-display-frame-alist)
2211         (special-display-buffer-names, special-display-function)
2212         (display-buffer-reuse-frames): Mark as obsolete.
2214         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2216         * help.el (help-print-return-message): Don't treat
2217         display-buffer-reuse-frames specially.
2219 2012-08-26  Chong Yidong  <cyd@gnu.org>
2221         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2222         New variable, replacing gdb-frame-parameters.
2223         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2224         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2225         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2226         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2227         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
2228         the functions directly with gdb-display-buffer-other-frame-action.
2229         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2230         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2231         (gdb-display-stack-buffer, gdb-display-locals-buffer)
2232         (gdb-display-registers-buffer): Define directly.
2233         (def-gdb-display-buffer): Macro deleted.
2234         (gdb-display-buffer): Remove second and third args, callers don't
2235         use them.  Defer to the default display-buffer behavior, apart
2236         from making windows dedicated.
2237         (gdb-setup-windows): Don't call display-buffer unnecessarily.
2239         * progmodes/gud.el (gud-display-line): Just use display-buffer.
2241         * window.el (display-buffer-pop-up-frame): Handle a
2242         pop-up-frame-parameters alist entry.
2243         (display-buffer): Document it.
2245 2012-08-26  Chong Yidong  <cyd@gnu.org>
2247         * isearch.el (search-whitespace-regexp): Make string and nil
2248         values apply to both ordinary and regexp search.  Allow a cons
2249         cell value to distinguish between the two.
2250         (isearch-whitespace-regexp, isearch-search-forward)
2251         (isearch-search-backward): New functions.
2252         (isearch-occur, isearch-search-fun-default, isearch-search)
2253         (isearch-lazy-highlight-new-loop): Use them.
2254         (isearch-forward, isearch-forward-regexp): Doc fix.
2256 2012-08-26  Chong Yidong  <cyd@gnu.org>
2258         * faces.el (help-argument-name): Always inherit from italic
2259         (Bug#12213).
2261 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
2263         * window.el (window--even-window-heights): Even heights when
2264         WINDOW and the selected window form a vertical combination.
2265         (display-buffer-use-some-window): Provide that window used gets
2266         sized back by quit-window.  (Bug#11880) and (Bug#12091)
2268 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2270         Fix file time stamp problem with bzr and CVS (Bug#12001).
2271         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2272         in the file's time stamp, since the version control system loses
2273         that information.
2275 2012-08-22  Juri Linkov  <juri@jurta.org>
2277         * info.el (Info-fontify-node): Hide the suffix of the
2278         Info file name in the header line.  (Bug#12187)
2280 2012-08-22  Glenn Morris  <rgm@gnu.org>
2282         * calendar/cal-tex.el (cal-tex-weekly-common):
2283         Restore leading blank page.
2285 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
2287         * misc.el (forward-to-word, backward-to-word): Activate or extend
2288         the region under `shift-select-mode'.  (Bug#12231)
2290 2012-08-22  Bastien Guerry  <bzg@gnu.org>
2292         * progmodes/executable.el (executable-prefix): Set to "#!" instead
2293         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
2294         gives details on why the space is never needed.
2296 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2298         * window.el (walk-window-tree, window-with-parameter):
2299         New optional argument MINIBUF to control whether these functions
2300         should run on the minibuffer window.
2301         (window-at-side-list): Don't operate on minibuffer window.
2302         (window-in-direction): Simplify and rewrite doc-string.
2303         (window--size-ignore): Rename to window--size-ignore-p.
2304         Update callers.
2305         (display-buffer-in-atom-window, window--major-non-side-window)
2306         (window--major-side-window, display-buffer-in-major-side-window)
2307         (delete-side-window, display-buffer-in-side-window):
2308         New functions.
2309         (window--side-check, window-deletable-p, delete-window)
2310         (delete-other-windows, split-window): Handle side windows and
2311         atomic windows appropriately.
2312         (window--display-buffer): Call display-buffer-record-window also
2313         when the window buffer did not change.
2315 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
2317         * help-fns.el (help-fns--key-bindings):
2318         Abbreviate non-symbol remap targets.  (Bug#12174)
2320 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2322         * dired.el (dired-mark-remembered): Don't clobber point.
2323         (Bug#11795)
2325 2012-08-22  Glenn Morris  <rgm@gnu.org>
2327         * progmodes/bug-reference.el (bug-reference): New custom group.
2328         (bug-reference-bug-regexp): Make it a defcustom.
2330 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
2332         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2333         (js-paren-indent-offset, js-square-indent-offset)
2334         (js-curly-indent-offset): Add :safe (Bug#12257).
2336 2012-08-22  Edward O'Connor  <hober0@gmail.com>
2338         * json.el (json-key-format): Add error properties.
2339         (json-encode-key): New function.
2340         (json-encode-hash-table, json-encode-alist, json-encode-plist):
2341         Use json-encode-key.
2343 2012-08-22  Glenn Morris  <rgm@gnu.org>
2345         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2346         (cal-tex-leftday, cal-tex-rightday): Remove functions.
2347         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2348         Update for above change.
2350 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
2352         * cus-face.el (custom-face-attributes): Fix customize type for the
2353         :underline attribute.  (Bug#11805)
2355 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
2357         * window.el (window-point-1, set-window-point-1): Remove.
2358         (window-in-direction, record-window-buffer)
2359         (set-window-buffer-start-and-point, split-window-below)
2360         (window--state-get-1, display-buffer-record-window):
2361         Replace calls to window-point-1 and set-window-point-1 by calls to
2362         window-point and set-window-point respectively.
2364 2012-08-21  Glenn Morris  <rgm@gnu.org>
2366         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2367         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2368         Use it.
2370         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2371         (cal-tex-shortday): New function.
2372         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2373         (cal-tex-cursor-filofax-daily): Use the above.
2375         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2376         New functions.
2377         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2378         (cal-tex-cursor-filofax-week): Use them.
2380         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2381         New constants.
2382         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2383         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2385         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2386         (cal-tex-end-document): Don't rely on buffer name.
2388         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2389         Use cal-tex-vspace.
2390         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2391         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2392         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2393         Use cal-tex-arg.
2395         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2396         (cal-tex-cursor-week, cal-tex-cursor-week2)
2397         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2398         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2399         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2400         (cal-tex-insert-preamble, cal-tex-b-document)
2401         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2402         Improve cal-tex-cmd usage.
2404         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2405         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2406         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2407         (cal-tex-weekly-paper): New function.
2408         (cal-tex-cursor-week, cal-tex-cursor-week2)
2409         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2410         (cal-tex-cursor-day): Use it.
2412         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2413         (cal-tex-cursor-filofax-week): Remove leading blank page.
2415         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2416         Add autoload cookie.  For now at least, don't use color, since
2417         no other cal-tex function does.
2419         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2420         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2421         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2423 2012-08-21  Juri Linkov  <juri@jurta.org>
2425         * info.el (Info-file-attributes): New variable.
2426         (info-insert-file-contents): Add file attributes to
2427         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
2428         `Info-toc-nodes' when previous modtime of the Info file is less
2429         than new modtime.
2430         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2431         of info.el.  (Bug#12230)
2433 2012-08-20  Glenn Morris  <rgm@gnu.org>
2435         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2436         * calendar/holidays.el (calendar-holiday-list):
2437         Report errors with display-warning rather than beep'n'sleep.
2439 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
2441         * net/tramp.el (tramp-accept-process-output): Accept only output
2442         from PROC.  Otherwise, process filters and sentinels might be
2443         confused.  (Bug#12145)
2445 2012-08-20  Chong Yidong  <cyd@gnu.org>
2447         * descr-text.el (describe-text-properties-1): Use overlays-in to
2448         report on empty overlays (Bug#3322).
2450 2012-08-20  Glenn Morris  <rgm@gnu.org>
2452         * mail/rmailout.el (rmail-output-read-file-name):
2453         Trap and report errors in rmail-output-file-alist elements.
2455         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2456         since most non-font-lock faces are not also variables).
2458 2012-08-20  Edward Reingold  <reingold@iit.edu>
2460         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2461         New function.  (Bug12160)
2463 2012-08-19  Glenn Morris  <rgm@gnu.org>
2465         * mail/rmailout.el (rmail-output-read-file-name):
2466         Fix previous change (when the alist is nil or does not match).
2468 2012-08-19  Chong Yidong  <cyd@gnu.org>
2470         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2471         (Bug#12228).
2473 2012-08-18  Chong Yidong  <cyd@gnu.org>
2475         * simple.el (yank-handled-properties): New defcustom.
2476         (yank-excluded-properties): Add font-lock-face and category.
2477         (yank): Doc fix.
2479         * subr.el (remove-yank-excluded-properties):
2480         Obey yank-handled-properties.  The special handling of font-lock-face
2481         and category is now done this way, instead of being hard-coded.
2482         (insert-for-yank-1): Remove font-lock-face handling.
2483         (yank-handle-font-lock-face-property)
2484         (yank-handle-category-property): New function.
2486 2012-08-17  Glenn Morris  <rgm@gnu.org>
2488         * mail/rmailout.el (rmail-output-read-file-name):
2489         Check rmail-output-file-alist against the full message body
2490         in the correct rmail buffer.  (Bug#12214)
2492 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
2494         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2495         Eliminate superfluous prompt.  (Bug#12203)
2497 2012-08-17  Chong Yidong  <cyd@gnu.org>
2499         * mouse.el (mouse-appearance-menu): If x-select-font returns a
2500         font spec, set the font directly (Bug#3228).
2502 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
2504         * window.el (delete-window): Fix last fix.
2506 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
2508         * window.el (window-valid-p): Move to window.c.
2509         (window-child, window-child-count, window-last-child)
2510         (window-normalize-window, window-combined-p)
2511         (window-combinations, window-atom-root, window-min-size)
2512         (window-sizable, window-sizable-p, window-size-fixed-p)
2513         (window-min-delta, window-max-delta, window--resizable)
2514         (window--resizable-p, window-resizable, window-total-size)
2515         (window-full-height-p, window-full-width-p, window-body-size)
2516         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2517         (minimize-window, window-deletable-p, delete-window)
2518         (delete-other-windows, set-window-buffer-start-and-point)
2519         (next-buffer, previous-buffer, split-window, balance-windows-2)
2520         (set-window-text-height, window-buffer-height)
2521         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2522         (truncated-partial-width-window-p): Minor code adjustments.
2523         In doc-strings state whether the argument window has to denote a
2524         live, valid or any window.
2526 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
2528         * progmodes/subword.el (subword-forward-function)
2529         (subword-backward-function, subword-forward-regexp)
2530         (subword-backward-regexp): New variables.
2531         (subword-forward, subword-forward-internal, subword-backward-internal):
2532         Use new variables, eg so that different "word" definitions
2533         can be easily used.  (Bug#11411)
2535 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2537         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2538         for composite selectors.
2539         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2540         operation just because we can't find a previous revision.
2542 2012-08-15  Chong Yidong  <cyd@gnu.org>
2544         * frame.el (set-frame-font): Accept font objects.
2546 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2548         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2550 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
2552         * man.el (Man-overstrike-face, Man-underline-face)
2553         (Man-reverse-face): Remove variables.
2554         (Man-overstrike, Man-underline, Man-reverse): New faces.
2555         (Man-fontify-manpage): Use them instead of the variables.
2556         (Man-cleanup-manpage): Comment change.
2557         (Man-ansi-color-map): New variable.
2558         (Man-fontify-manpage): Use it.
2559         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2561         Implement ANSI SGR parameters 22-27 (bug#12146).
2562         * ansi-color.el (ansi-colors): Doc fix.
2563         (ansi-color-context, ansi-color-context-region): Doc fix.
2564         (ansi-color--find-face): New function.
2565         (ansi-color-apply, ansi-color-apply-on-region): Use it.
2566         Rename the local variable `face' to `codes' since it is now a list of
2567         ansi codes.  Doc fix.
2568         (ansi-color-get-face): Remove.
2569         (ansi-color-parse-sequence): New function, derived from
2570         ansi-color-get-face.
2571         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
2572         codes 22-27.
2574 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2576         * subr.el (read-passwd): Allow use from a minibuffer.
2578 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
2580         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2581         inside comments and strings as identifiers.
2583         * progmodes/gud.el (gud-tooltip-print-command): Quote the
2584         expression to evaluate.  This allows to evaluate expressions with
2585         embedded whitespace.
2586         (gud-tooltip-tips): Add a blank before the newline in the
2587         message-box text, for the benefit of message-box emulation on
2588         MS-Windows.
2590         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2591         messages from GDB, pop them up in a tooltip to give feedback to
2592         user.
2593         (gdb-tooltip-print-1): Quote the expression to evaluate.
2594         This allows to evaluate expressions with embedded whitespace.
2595         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2596         if the TTY name is nil or empty (which happens when communicating
2597         with the inferior via pipes, e.g. on MS-Windows).
2598         (gdb-internals): If GDB sends a "&\n" empty debugging message,
2599         don't send that to the GUD buffer.
2601 2012-08-14  Glenn Morris  <rgm@gnu.org>
2603         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2604         Optimize away setq-default with no args, as for setq.  (Bug#12195)
2606 2012-08-14  Chong Yidong  <cyd@gnu.org>
2608         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2610         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2611         (Bug#12085).
2613 2012-08-14  Glenn Morris  <rgm@gnu.org>
2615         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2617 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
2619         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2620         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2621         Use cached shell name.
2623 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2625         * progmodes/python.el (python-shell-send-string):
2626         (python-shell-send-setup-code): Do not use `format' with `message'.
2628 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
2630         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2631         (ruby-percent-literal-beg-re): New constant.
2632         (ruby-syntax-general-delimiters-goto-beg): Rename to
2633         `ruby-syntax-enclosing-percent-literal', improve literal type check.
2634         (ruby-syntax-propertize-general-delimiters): Rename to
2635         `ruby-syntax-propertize-percent-literal', it's a shorter and more
2636         popular term.  Adjust comments everywhere.
2637         (ruby-syntax-propertize-percent-literal): Only propertize when not
2638         inside a simple string or comment.  When the literal is unclosed,
2639         leave the text after it unpropertized.
2640         (ruby-syntax-methods-before-regexp): New constant.
2641         (ruby-syntax-propertize-function): Use it to recognize regexps.
2642         Don't look at the text after regexp, just use the whitelist.
2644 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
2646         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2647         non-nil always load the compiled file if it exists.  (Bug#12197)
2649 2012-08-14  Chong Yidong  <cyd@gnu.org>
2651         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2652         (hi-lock-set-pattern): When deciding whether to use font lock or
2653         overlays, look at font-lock-mode instead of font-lock-fontified
2654         (Bug#12168).
2655         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2656         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2658 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
2660         * subr.el (internal--after-with-selected-window): Fix typo
2661         (Bug#12193).
2663 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2665         Use `completion-table-dynamic' for completion functions.
2666         * progmodes/python.el
2667         (python-shell-completion--do-completion-at-point)
2668         (python-shell-completion--get-completions):
2669         Remove functions.
2670         (python-shell-completion-complete-at-point): New function.
2671         (python-completion-complete-at-point): Use it.
2673 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
2675         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2676         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2678 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2680         * subr.el (function-get): Refine `autoload' arg so it can also
2681         autoload functions for gv.el (bug#12191).
2682         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2683         autoloads macros.
2685         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2686         Prefer pcase-let over destructuring-bind.
2687         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2688         Also, remove whitespace as we go, rather than after accumulating the
2689         various places.
2691         * subr.el (internal--before-with-selected-window)
2692         (internal--after-with-selected-window): Fix typo seleted->selected.
2693         (with-selected-window): Adjust callers.
2694         Reported by Dmitry Gutov <dgutov@yandex.ru>.
2696 2012-08-13  Bastien Guerry  <bzg@gnu.org>
2698         * window.el (special-display-popup-frame): Minor docstring
2699         enhancement.  (Bug#12172)
2701 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
2703         * tar-mode.el (tar-header-data-end): Only ignore size for files of
2704         type 1-6.
2705         (tar-header-block-summarize, tar-get-descriptor): Handle pax
2706         extended headers.
2708         * files.el (hack-local-variables-filter): Remove useless eval.
2710 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
2712         * subr.el (with-selected-window): Fix last change.
2714 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2716         * subr.el (internal--before-with-seleted-window)
2717         (internal--after-with-seleted-window): New functions.
2718         (with-selected-window): Use them, to replace dependency on
2719         tty-top-frame.
2721 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2723         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2724         binding for `newline'.
2725         (ruby-move-to-block): When moving backward, stop at block opening,
2726         not indentation.
2727         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2728         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2729         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2730         `ruby-toggle-block'.
2732 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2734         * ibuffer.el (ibuffer-do-toggle-read-only):
2735         * dired.el (dired-toggle-read-only):
2736         * buff-menu.el (Buffer-menu-toggle-read-only):
2737         * bindings.el (mode-line-toggle-read-only):
2738         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2740 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
2742         * descr-text.el (describe-char): Put the overlays over the
2743         "displayed as" character.
2745 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
2747         * calc/calc-units.el (math-default-units-table): Give an
2748         initial value.
2749         (math-put-default-units): Add options to put composite units and
2750         unit systems in the default units table.
2751         (calc-convert-units): Send composite units to
2752         `math-put-default-units' when appropriate.
2754 2012-08-11  Glenn Morris  <rgm@gnu.org>
2756         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2758         * tutorial.el (help-with-tutorial):
2759         * emacs-lisp/copyright.el (copyright-update-directory):
2760         * emacs-lisp/autoload.el (autoload-find-generated-file)
2761         (autoload-find-file): Disable local eval: (for insurance).
2763         * files.el (hack-local-variables-filter): If an eval: form is not
2764         known to be safe, and enable-local-variables is :safe, then ignore
2765         the form totally, as is done for non-eval forms.  (Bug#12155)
2766         This is CVE-2012-3479.
2768 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2770         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2771         (rx-form): Simplify.
2773 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
2775         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2776         ?, _, and : are symbol constituents, ! is not (but kinda should be).
2777         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2778         (ruby-syntax-propertize-function): Adjust for changes in
2779         `ruby-syntax-propertize-heredoc'.
2781 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
2783         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2784         binding (use `M-;' instead).
2785         (ruby-singleton-class-p): New function.
2786         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2788 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2790         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2792 2012-08-10  Chong Yidong  <cyd@gnu.org>
2794         * progmodes/python.el (python-shell-get-process-name): Don't mess
2795         with same-window-buffer-names.
2797         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2798         (eshell-remove-from-window-buffer-names): Make obsolete.
2799         (eshell-buffer-name, eshell-unload-hook): Don't use them.
2800         (eshell): Just use pop-to-buffer-same-window instead.
2802 2012-08-10  Chong Yidong  <cyd@gnu.org>
2804         * bindings.el: Bind M-= back to count-words-region.
2806         * simple.el (count-words-region): Accept a prefix arg for acting
2807         on the entire buffer.
2808         (count-words--buffer-message): New helper function.
2810 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2812         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2813         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2814         (event-start, event-end): Use posn-at-point to return a more
2815         informative posn.
2816         (posnp): New function.
2817         * mouse.el (popup-menu-normalize-position): Use it.
2819 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
2821         * mouse.el (popup-menu-normalize-position): New function.
2822         (popup-menu): Use `popup-menu-normalize-position' to normalize
2823         the form for POSITION argument.
2825         * term/x-win.el (x-menu-bar-open):
2826         Use the value returend from (posn-at-point) as position
2827         passed to `popup-menu'.
2829 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2831         * calc/calccomp.el (math-compose-expr): Add extra argument
2832         indicating that parentheses should be put around products in
2833         denominators.  Give multiplication precedence over division during
2834         composition.
2836 2012-08-09  Chong Yidong  <cyd@gnu.org>
2838         * man.el (Man-switches, Man-sed-command, Man-awk-command)
2839         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2840         (Man-untabify-command, manual-program): Convert to defcustom
2841         (Bug#10429).
2843         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2845         * descr-text.el (describe-char): Don't insert extra newlines
2846         (Bug#10127).
2848         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2849         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2851         * align.el (align-region): Delete temporary markers (Bug#10047).
2852         Plus some code cleanups.
2854 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2856         * progmodes/python.el (python-pdbtrack-tracked-buffer)
2857         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2858         (python-shell-internal-last-output): Use make-local-variable
2859         instead of make-variable-buffer-local.
2861 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2863         * progmodes/python.el: Enhancements to forward-sexp.
2864         (python-nav-forward-sexp): Rename from
2865         python-nav-forward-sexp-function.
2866         (python-nav--forward-sexp, python-nav--backward-sexp):
2867         New functions.
2869 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2871         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2872         modes and simplification modes.
2874 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2876         * delsel.el (delete-selection-pre-hook): Don't propagate the
2877         file-supersession signals (bug#12161).
2879 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2881         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2882         (cl-map-extents): Add compatibility aliases (bug#12135).
2884 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
2886         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2887         tests by `ignore-error'.
2888         (tramp-find-shell): Open also a new shell, when cache is already
2889         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
2891 2012-08-08  Juri Linkov  <juri@jurta.org>
2893         * bookmark.el: Add `defaults' property to the bookmark record.
2894         (bookmark-current-buffer): Doc fix.
2895         (bookmark-make-record): Add `defaults' property with default values
2896         to the bookmark record.
2897         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2898         with `bookmark-insert-current-bookmark'.
2899         (bookmark-set): Get `defaults' property from the bookmark record
2900         and use it in `read-from-minibuffer'.
2901         (bookmark-insert-current-bookmark): Remove function.
2903         * info.el (Info-bookmark-make-record): Add `defaults' property
2904         with values of canonical Info node name, the current Info file
2905         name and the current Info node name.  (Bug#12107)
2907 2012-08-08  Juri Linkov  <juri@jurta.org>
2909         * files.el (basic-save-buffer): Use `buffer-name' as the default
2910         of `read-file-name' when buffer is not visiting a file (bug#12128).
2912 2012-08-08  Juri Linkov  <juri@jurta.org>
2914         * info.el (Info-isearch-search): Doc fix.
2915         (Info-search): Change search-failed message from "initial node" to
2916         "end of node" (bug#12078).
2917         (Info-isearch-search): Change `isearch-string-state' to
2918         `isearch--state-string'.
2920 2012-08-08  Glenn Morris  <rgm@gnu.org>
2922         * language/persian.el: Remove file.
2923         * language/misc-lang.el: Move unique part of persian.el here.
2924         * loadup.el: Remove language/persian.
2926 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
2928         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2930 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2932         * progmodes/python.el Fixed defsubst warning.
2933         (python-syntax-context) Rename from python-info-ppss-context.
2934         (python-syntax-context-type): Rename from
2935         python-info-ppss-context-type.
2936         (python-syntax-comment-or-string-p): Rename from
2937         python-info-ppss-comment-or-string-p.
2939 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2941         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2943 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
2945         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2946         a defcustom that is quoted with backquote.
2948         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2949         Fix handling of interactive spec when the body uses return.
2950         (math-do-arg-check, math-define-function-body): Use backquote forms.
2951         * calc/calc-ext.el (math-defcache): Likewise.
2952         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2953         * allout.el (allout-new-exposure): Likewise.
2954         * calc/calcalg2.el (math-tracing-integral): Likewise.
2955         * info.el (Info-last-menu-item): Likewise.
2956         * emulation/vip.el (vip-loop): Likewise.
2957         * textmodes/artist.el (artist-funcall): Likewise.
2958         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2959         Construct menu-item directly.
2961         * progmodes/autoconf.el (font-lock-syntactic-keywords):
2962         Don't declare.
2964 2012-08-07  Chong Yidong  <cyd@gnu.org>
2966         * simple.el (deactivate-mark): Preserve text properties when
2967         saving the primary selection (Bug#8384).
2969 2012-08-07  Kevin Ryde  <user42@zip.com.au>
2971         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2972         (woman-parse-numeric-value): On a bad .IP line, issue a warning
2973         and continue processing (Bug#12110).
2975 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2977         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2978         syntax-propertize-function (bug#10095).
2980 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2982         * help-fns.el (help-fns--key-bindings, help-fns--signature)
2983         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2984         describe-function-1.
2985         (describe-function-1): Use them.  Move compiler macro after sig.
2986         (help-fns--compiler-macro): Use function-get.  Assume we're already in
2987         standard-output.  Adjust layout to new call order.
2989         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2990         re-binding a symbol that has a symbol-macro (bug#12119).
2992 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
2994         * language/persian.el: New file.  (Bug#11812)
2995         * loadup.el: Add language/persian.el.
2997 2012-08-06  Chong Yidong  <cyd@gnu.org>
2999         * window.el (window--maybe-raise-frame): New function.
3000         (window--display-buffer): Split off from here.
3001         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3002         (display-buffer-pop-up-window, display-buffer-use-some-window):
3003         Obey an inhibit-switch-frame action alist entry.
3004         (display-buffer): Update doc.
3006         * replace.el (occur-after-change-function): Avoid losing focus by
3007         using the inhibit-switch-frame display parameter (Bug#12139).
3009 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
3011         Make internal shell process buffer names start with space.
3012         * progmodes/python.el (python-shell-make-comint): Add optional
3013         argument INTERNAL.
3014         (run-python-internal): Use it.
3015         (python-shell-internal-get-or-create-process): Check for new
3016         internal buffer names.
3018 2012-08-06  Glenn Morris  <rgm@gnu.org>
3020         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3021         Do less getting and setting of environment variables.
3023 2012-08-05  Chong Yidong  <cyd@gnu.org>
3025         * proced.el (proced): Add substitution string to docstring to
3026         trigger autoloading of the proced library on C-h f (Bug#1768).
3028         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3029         Don't show defvars which have no second argument (Bug#8638).
3031         * imenu.el (imenu-generic-expression): Move documentation here
3032         from imenu--generic-function.
3033         (imenu--generic-function): Refer to imenu-generic-expression.
3035 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
3037         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3038         indentation declaration.
3039         (viper-loop): Add indentation declaration (Bug#7025).
3041 2012-08-05  Chong Yidong  <cyd@gnu.org>
3043         * help-fns.el (describe-variable): Add hyperlink for
3044         directory-local variables files.  Improve buffer-local and
3045         permanent-local reporting; suggested by MON KEY (Bug#6644).
3047         * help-mode.el (help-dir-local-var-def): New button type.
3049         * files.el (kill-buffer-hook): Provide a defvar.
3051 2012-08-05  Glenn Morris  <rgm@gnu.org>
3053         * eshell/esh-ext.el (eshell/addpath):
3054         Also update eshell-path-env.  (Bug#12013)
3056 2012-08-05  Chong Yidong  <cyd@gnu.org>
3058         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3060         * fringe.el (fringe-styles): Add docstring.
3061         (fringe--check-mode): New function.
3062         (set-fringe-mode, set-fringe-style): Use it.
3063         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3065         * files.el (set-auto-mode): Fix invalid setq call.
3067 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3069         * isearch.el: Misc simplification; use defstruct.
3070         (isearch-mode-map): Dense maps now work like sparse ones.
3071         (isearch--state): New defstruct.
3072         (isearch-string-state, isearch-message-state, isearch-point-state)
3073         (isearch-success-state, isearch-forward-state)
3074         (isearch-other-end-state, isearch-word-state, isearch-error-state)
3075         (isearch-wrapped-state, isearch-barrier-state)
3076         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3077         replaced by defstruct's accessors.
3078         (isearch--set-state): Rename from isearch-top-state and change
3079         calling convention.
3080         (isearch-push-state): Use new isearch--get-state.
3081         (isearch-toggle-word): Disable regexp when enabling word.
3082         (isearch-message-prefix): Remove unused arg _c-q-hack.
3083         (isearch-message-suffix): Remove unused arg _ellipsis.
3085 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
3087         * simple.el (list-processes--refresh): For a server use :host or
3088         :local as the address.
3089         (list-processes): Doc fix.
3091 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
3093         * lisp/mpc.el: Support password in host argument.
3094         (mpc--proc-connect): Parse and use new password element.
3095         Set mpc-proc variable instead of returning process.
3096         (mpc-proc): Adjust accordingly.
3098 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
3100         * whitespace.el (whitespace-display-mappings): Use Unicode
3101         codepoints, instead of emacs-mule codepoints.  See
3102         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3103         for the details.
3105         * files.el (file-truename): Don't skip symlink-chasing part on
3106         windows-nt.  Incorporate the resolution of 8+3 short aliases on
3107         Windows into the loop that recursively chases symlinks.
3108         Compare directory and its parent case-insensitively on MS-Windows and
3109         MS-DOS.
3111 2012-08-03  Chong Yidong  <cyd@gnu.org>
3113         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3115         * sort.el (sort-regexp-fields): Doc fix.
3117 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
3119         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3120         labels regex position point at the expected place.
3122 2012-08-03  MON KEY  <monkey@sandpframing.com>
3124         * net/imap.el (imap-interactive-login, imap-authenticate)
3125         (imap-mailbox-lsub, imap-mailbox-list)
3126         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3127         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3128         (imap-parse-response): Doc fix.
3130 2012-08-03  João Távora  <joaotavora@gmail.com>
3132         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3133         if sexp scanning does not move point (Bug#5734).
3135 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
3137         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3138         Add listings, minted, and ctable packages.
3139         (reftex-label-alist-builtin): Move listings, minted, and ctable
3140         entries before LaTeX.
3141         (reftex-label-alist): Docfix.
3143 2012-08-02  Bastien Guerry  <bzg@gnu.org>
3145         * replace.el (occur): Fix docstring (bug#12122).
3147 2012-08-02  Glenn Morris  <rgm@gnu.org>
3149         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3151 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
3153         Obsolete alias inactivate-current-input-method-function (Bug#10150).
3154         * international/mule-cmds.el: Create
3155         inactivate-current-input-method-function as an obsolete alias for
3156         deactivate-current-input-method-function.  See Katsumi Yamaoka in
3157         <http://bugs.gnu.org/10150#46>.
3159 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
3161         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3162         of nested `if's.
3164 2012-08-01  Glenn Morris  <rgm@gnu.org>
3166         * progmodes/autoconf.el (autoconf-definition-regexp):
3167         Add AH_TEMPLATE, adjust submatch numbering.
3168         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3169         (autoconf-current-defun-function): Update for above change.
3170         (autoconf-current-defun-function): First skip to end of current word.
3172 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
3174         * calendar/cal-html.el (cal-html-insert-agenda-days):
3175         Fix typo.  (Bug#12018)
3177 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3179         Shell processes: enhancements to startup and CEDET compatibility.
3180         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3181         (python-shell-make-comint): accept-process-output at startup.
3182         (run-python-internal): Set inferior-python-mode-hook to nil.
3183         (python-shell-internal-get-or-create-process): call sit-for.
3184         (python-preoutput-result): Add obsolete alias.
3185         (python-shell-internal-send-string): Use it.
3186         (python-shell-send-setup-code): Remove call to
3187         accept-process-output.
3189 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
3191         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3192         (Bug#12108)
3194 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
3196         * calc-mode.el (calc-basic-simplification-mode): Rename from
3197         `calc-limited-simplification-mode'.
3198         (calc-alg-simplification-mode): New function.
3199         (calc-set-simplify-mode):  Adjust message.
3201         * calc.el (calc-set-mode-line): Adjust mode line display for
3202         basic simplification mode.
3204         * calc-help.el (calc-m-prefix-help): Update help message.
3206         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3207         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3209 2012-07-31  Bastien Guerry  <bzg@gnu.org>
3211         * man.el (man): Fix comment.  (bug#12101)
3213 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
3215         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3216         Don't return a non-nil value when no suitable buffer was found.
3218 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3220         * progmodes/python.el (run-python-internal): Disable font lock for
3221         internal shells.
3223 2012-07-30  Stefan Merten  <smerten@oekonux.de>
3225         * rst.el: Silence `checkdoc-ispell'.
3226         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3227         (rst-official-version, rst-official-cvs-rev)
3228         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3229         (rst-mode-map): New key binding.
3231 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
3233         Update .PHONY listings in makefiles.
3234         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3235         autoloads, update-subdirs, updates, bzr-update, update-authors,
3236         compile-onefile, compile-calc, backup-compiled-files,
3237         compile-after-backup, compile-one-process, mh-autoloads,
3238         bootstrap-clean, distclean, maintainer-clean.
3240 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
3242         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3243         (calc-set-mode-line): Don't display "AlgSimp ".
3245         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3246         (calc-lim-simplify-mode): New function.
3247         (calc-set-simplify-mode): Default to 'alg.
3248         (calc-default-simplify-mode): Make algebraic simplifications
3249         the default.
3251         * calc/calc-ext.el (calc-init-extensions): Remove binding for
3252         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
3254         * calc/calc-help.el (calc-m-prefix-help): Change messages to
3255         indicate new simplification modes.
3257         * calc/README: Mention new default simplification mode.
3259         * calc/calc.el (math-normalize-error): New variable.
3260         (math-normalize): Set `math-normalize-error' to t
3261         when there's an error.
3263         * calc/calc-alg.el (math-simplify): Don't simplify when
3264         `math-normalize' returns an error.
3266 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
3268         * international/mule-cmds.el (set-locale-environment): Revert last
3269         change, since display-graphic-p returns nil when this function is
3270         called during startup.  Instead...
3272         * term/w32console.el (terminal-init-w32console): ...setup the
3273         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
3275 2012-07-29  Juri Linkov  <juri@jurta.org>
3277         * simple.el (goto-line): Don't display default line number in the
3278         prompt because it should be displayed by `read-number' (bug#9952).
3279         Add the current line number to the defaults of `goto-line' to
3280         allow its easier modification by users with `M-n' (bug#9201).
3282         * subr.el (read-number): Support multiple default values like in
3283         other minibuffer reading functions.  Replace `read' with
3284         `string-to-number' for consistency with `number-to-string'.
3286 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
3288         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3289         * emulation/viper-init.el (viper-deactivate-input-method-action):
3290         Rename from viper-inactivate-input-method-action.
3291         (viper-deactivate-input-method):
3292         Rename from viper-inactivate-input-method.
3293         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3294         * international/mule-cmds.el (deactivate-input-method):
3295         Rename from inactivate-input-method.
3296         Also run input-method-deactivate-hook.
3297         (deactivate-current-input-method-function):
3298         Rename from inactivate-current-input-method-function.
3299         (input-method-deactivate-hook): New hook.
3300         (input-method-inactivate-hook): Mark obsolete.
3301         (inactivate-input-method): Mark obsolete.
3303         * international/quail.el (quail-activate):
3304         Also run quail-deactivate-hook.
3305         (quail-deactivate): Rename from quail-inactivate.
3306         * international/robin.el (robin-activate):
3307         Also run robin-deactivate-hook.
3308         (robin-deactivate): Rename from robin-inactivate.
3310 2012-07-29  Chong Yidong  <cyd@gnu.org>
3312         * simple.el (indicate-copied-region): New function.
3313         (kill-ring-save): Split off from here.
3315         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3316         (kill-rectangle): Set deactivate-mark to t on read-only error.
3318         * register.el (copy-to-register, copy-rectangle-to-register):
3319         Deactivate the mark, and use indicate-copied-region (Bug#10056).
3320         (append-to-register, prepend-to-register):
3321         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
3323         * simple.el (async-shell-command-buffer): New defcustom.
3324         (shell-command): Use it.  (Bug#4719)
3326 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3328         * international/mule-cmds.el (set-locale-environment): In a
3329         console session on MS-Windows, set up keyboard and terminal
3330         encoding from the OEM codepage, not the ANSI codepage.
3331         (Bug#12055)
3333 2012-07-28  Chong Yidong  <cyd@gnu.org>
3335         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3336         gdb-get-location.
3338 2012-07-28  Leo Liu  <sdl.web@gmail.com>
3340         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3341         the alist (bug#12029).
3343 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3345         * makefile.w32-in (custom-deps, finder-data, updates, compile)
3346         (compile-always, compile-first)
3347         ($(lisp)/calendar/cal-loaddefs.el)
3348         ($(lisp)/calendar/diary-loaddefs.el)
3349         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3350         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3351         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3352         instead of on update-subdirs.
3353         (bootstrap-clean): Delete $(lisp)/subdirs.el.
3355 2012-07-28  Chong Yidong  <cyd@gnu.org>
3357         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3358         directory if vc-deduce-backend returns nil (Bug#7350).
3360         * simple.el (delete-trailing-lines): New option.
3361         (delete-trailing-whitespace): Obey it (Bug#11879).
3363 2012-07-28  David Engster  <deng@randomsample.de>
3365         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3366         Explanation of new 'symbol-qnames feature in doc-strings.
3367         (xml-maybe-do-ns): Return expanded names as plain symbols if
3368         'symbol-qnames was provided in XML-NS argument (Bug#11916).
3369         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3371 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3373         Consistent completion in inferior python with emacs -nw.
3374         * progmodes/python.el (inferior-python-mode): replace "<tab>"
3375         binding in inferior-python-mode-map with "\t".
3376         (python-shell-completion-complete-at-point)
3377         (python-completion-complete-at-point): Remove interactive spec.
3379 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3381         * calc/calccomp.el (math-compose-expr): Undo previous change.
3383 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3385         * progmodes/python.el (python-mode-map): Add keybinding for
3386         run-python.
3387         (python-shell-make-comint): Fix pop-to-buffer call.
3388         (run-python): Autoload.  New arg SHOW.
3389         (python-shell-get-or-create-process): Do not pop python process
3390         buffer.
3392 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
3394         * notifications.el (notifications-on-action-signal)
3395         (notifications-on-closed-signal): Use also the bus address for the map.
3396         (notifications-notify, notifications-close-notification)
3397         (notifications-get-capabilities):  Add optional argument BUS.
3399 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
3401         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3402         Add support for the lstlisting and minted environments, and for the
3403         ctable macro.
3404         * textmodes/reftex.el (reftex-compile-variables): Also recognize
3405         labels written in keyvals syntax.
3407 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3409         * calc/calccomp.el (math-compose-expr): Use parentheses when
3410         there is a product in the denominator of a fraction.
3412 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
3414         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3415         ($(lisp)/calendar/diary-loaddefs.el)
3416         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3417         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3418         Fixes failures in parallel bootstrap because subdirs.el is being
3419         rewritten while the autoload files are built at the same time,
3420         which needs to load subdirs.el.
3422 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
3424         * mouse.el (popup-menu): Fix doc-string and re-indent code.
3425         (mouse-drag-line): Don't exit tracking when a switch-frame or
3426         switch-window event occurs (Bug#12006).
3428 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3430         * mouse.el (popup-menu): Fix last change.
3432 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3434         Autoload from Lisp with more care.  Follow aliases when looking for
3435         function properties.
3436         * subr.el (autoloadp): New function.
3437         (symbol-file): Use it.
3438         (function-get): New function.
3439         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3440         autoload-do-load.
3441         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3442         (lisp-indent-function):
3443         * emacs-lisp/gv.el (gv-get):
3444         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3445         * emacs-lisp/byte-opt.el (byte-optimize-form):
3446         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3447         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3448         Use function-get.
3449         * emacs-lisp/cl.el: Don't propagate function properties any more.
3451         * speedbar.el (speedbar-add-localized-speedbar-support):
3452         * emacs-lisp/disass.el (disassemble-internal):
3453         * desktop.el (desktop-load-file):
3454         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3455         (describe-function-1):
3456         * emacs-lisp/find-func.el (find-function-noselect):
3457         * emacs-lisp/elp.el (elp-instrument-function):
3458         * emacs-lisp/advice.el (ad-has-proper-definition):
3459         * apropos.el (apropos-safe-documentation, apropos-macrop):
3460         * emacs-lisp/debug.el (debug-on-entry):
3461         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3462         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3463         * calc/calc.el (name): Use autoloadp & autoload-do-load.
3465 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
3467         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3468         function, not an obsolete variable (Bug#12046).
3470 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3472         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
3474 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
3476         * emacs-lisp/pp.el (pp-display-expression): Select old selected
3477         window only if it is still live (Bug#12034).
3479 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
3481         * subr.el (redirect-frame-focus): Add advertised calling
3482         convention (Bug#12030).
3484 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3486         Prefer typical American spelling for "acknowledgment".
3487         * vc/add-log.el (change-log-acknowledgment): Rename from
3488         change-log-acknowledgement, with an alias for the old name.
3490 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
3492         * calc-alg.el (math-simplify-divide): Don't cross multiply
3493         in an equation when the lhs is a variable.
3495 2012-07-24  Julien Danjou  <julien@danjou.info>
3497         * net/netrc.el (netrc-find-service-number, netrc-store-data):
3498         Remove, unused.
3500 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
3502         * startup.el (command-line): Don't display an empty user name in
3503         the error message about non-existent home directory, when
3504         init-file-user was set to an empty string.  See
3505         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3506         for the details and context.
3508 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3510         * ses.el (ses-cell-formula-aset): New macro.
3511         (ses-cell-references-aset): New macro.
3512         (ses-cell-p): New function.
3513         (ses-rename-cell): Do no longer rely on complex operations like
3514         ses-cell-set-formula or ses-set-cell to change the cell and handle
3515         the undo at the same time, but rather use lower level new macros
3516         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3517         the undo directly. Refresh the mode line.
3519 2012-07-21  Leo Liu  <sdl.web@gmail.com>
3521         * progmodes/cc-cmds.el (c-defun-name):
3522         Use match-string-no-properties instead for consistency.
3524 2012-07-20  Leo Liu  <sdl.web@gmail.com>
3526         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3527         (Bug#7879)
3529         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3531 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3533         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3534         * progmodes/bug-reference.el, misearch.el: Provide themselves
3535         (bug#11915).
3537         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3538         of narrowed buffer (bug#11966).
3540 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3542         * ses.el (ses-rename-cell): Set new name also in reference list of
3543         cells of which the renamed cell depends.
3545 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
3547         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3548         to check whether menu-bar is shown or not.  If not shown,
3549         show the menu-bar as a popup menu instead of using tmm.
3550         * mouse.el (popup-menu): Accept `point' as `position' argument.
3552 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
3554         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3555         up inside string symbol literal (bug#11923).
3557 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
3559         * startup.el (fancy-startup-text): Read the whole tutorial, not
3560         just its first 256 bytes.  Prevents gibberish in display of the
3561         tutorial title.
3563 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
3565         Drop idle buffer compaction due to an absence of the
3566         proved efficiency.
3567         * compact.el: Remove.
3569 2012-07-19  Sam Steingold  <sds@gnu.org>
3571         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3572         vc-bzr-pull & vc-bzr-merge-branch.
3573         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3574         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3575         for consistency with compilation-error-regexp-alist.
3576         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3577         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3578         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3579         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3581 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3583         * emacs-lisp/chart.el: Use lexical-binding.
3584         (chart-emacs-storage): Don't hardcode the list of entries.
3586 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3588         Next round of tweaks caused by Fgarbage_collect changes.
3589         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3591 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3593         Compact buffers when idle.
3594         * compact.el: New file.
3596 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3598         * subr.el (eventp): Presume that if it looks vaguely like an event,
3599         it's an event (bug#10190).
3601 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
3603         Enhancements to ppss related code (thanks Stefan).
3604         * progmodes/python.el (python-indent-context)
3605         (python-indent-calculate-indentation, python-indent-dedent-line)
3606         (python-indent-electric-colon, python-nav-forward-block)
3607         (python-mode-abbrev-table)
3608         (python-info-assignment-continuation-line-p): Simplify checks
3609         for ppss context.
3610         (python-info-continuation-line-p): Cleanup.
3611         (python-info-ppss-context): Do not catch 'quote.
3612         (python-info-ppss-context-type)
3613         (python-info-ppss-comment-or-string-p): Simplify.
3615 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
3617         * progmodes/python.el: Enhancements to eldoc support.
3618         (python-info-current-symbol): New function.
3619         (python-eldoc-at-point): Use python-info-current-symbol.
3620         (python-info-current-defun): Fix cornercase on first defun scan.
3621         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3622         and signal error when no inferior python process is available.
3624 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
3626         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3627         assume it's always t.
3628         (vc-git-registered): Remove caching, the function is only called
3629         once.
3630         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3632 2012-07-18  Chong Yidong  <cyd@gnu.org>
3634         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3636         * simple.el (count-words): Report on narrowing (Bug#9959).
3638         * bindings.el: Bind M-= to count-words.
3640         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3642 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
3644         * progmodes/sh-script.el (sh-imenu-generic-expression):
3645         Capture a function with `function' keyword and without parentheses
3646         like "function FOO" (bug#11856).
3648 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
3650         * window.el (split-window-sensibly): Make WINDOW argument
3651         optional.
3653 2012-07-18  Chong Yidong  <cyd@gnu.org>
3655         * subr.el (keyboard-translate): Doc fix (Bug#7261).
3657         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3658         and make C-x 8 RET exit isearch (Bug#11439).
3660         * international/iso-transl.el: Move isearch-mode-map key
3661         definitions to isearch.el.
3663 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3665         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3666         (eieio-defclass): Use gv-define-setter when possible.
3668 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
3670         Reflect recent changes in Fgarbage_collect.
3671         * emacs-lisp/chart.el (chart-emacs-storage): Change to
3672         reflect new format of data returned by Fgarbage_collect.
3674 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3676         New utility functions + python-info-ppss-context fix (Bug#11910).
3677         * progmodes/python.el (python-info-beginning-of-block-statement-p)
3678         (python-info-ppss-comment-or-string-p): New functions.
3679         (python-info-ppss-context): Small fix for string check.
3681 2012-07-17  Juri Linkov  <juri@jurta.org>
3683         * dired-aux.el (dired-do-async-shell-command): Doc fix.
3684         (dired-do-async-shell-command): Don't add `*' at the end of the
3685         command (Bug#11815).
3686         (dired-do-shell-command): Doc fix.
3687         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3688         Join the individual commands using either "&" or ";" as the
3689         separator depending on the values of these trailing characters.
3690         At the end re-add the trailing "&".  (Bug#10598)
3692         * simple.el (async-shell-command): Sync the interactive spec with
3693         `shell-command'.  Doc fix.
3694         (shell-command): Doc fix.
3696 2012-07-17  Juri Linkov  <juri@jurta.org>
3698         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
3700 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3702         Final renames and doc fixes for movement commands (bug#11899).
3703         * progmodes/python.el (python-nav-beginning-of-statement):
3704         Rename from python-nav-statement-start.
3705         (python-nav-end-of-statement): Rename from
3706         python-nav-statement-end.
3707         (python-nav-beginning-of-block): Rename from
3708         python-nav-block-start.
3709         (python-nav-end-of-block): Rename from python-nav-block-end.
3711 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3713         * progmodes/python.el (python-shell-send-string-no-output):
3714         Allow accept-process-output to quit, keeping shell process ready for
3715         future interactions (Bug#11868).
3717 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3719         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3721         * emacs-lisp/elint.el (elint-find-args-in-code):
3722         Use help-function-arglist, so as to handle lexical byte-code.
3724         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3725         change (bug#11826).
3727 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3729         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3730         Avoid spuriously marking the buffer as modified because of c-is-sws.
3732         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3733         as not-a-comment (bug#11946).
3735         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3736         for uninterned vars.
3738         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3739         Use read-event since we don't really want to read chars but bytes.
3741         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3742         $$..$$ but also $..$ using regexps (bug#11953).
3743         Use tex-verbatim for \url and \path.
3744         (tex-font-lock-keywords): Define as defconst like the others.
3745         (tex-common-initialization): Don't use font-lock-syntax-table any more.
3747 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
3749         * international/mule-cmds.el (ucs-insert): Make it an obsolete
3750         alias for insert-char.
3752 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3754         * progmodes/python.el: Simplified imenu implementation.
3755         (python-nav-jump-to-defun): Remove command.
3756         (python-mode-map): Use `imenu' instead.
3757         (python-nav-list-defun-positions-cache)
3758         (python-imenu-include-defun-type, python-imenu-make-tree)
3759         (python-imenu-subtree-root-label, python-imenu-index-alist):
3760         Remove vars.
3761         (python-nav-list-defun-positions, python-nav-read-defun)
3762         (python-imenu-tree-assoc, python-imenu-make-element-tree)
3763         (python-imenu-make-tree, python-imenu-create-index):
3764         Remove functions.
3765         (python-mode): Update to interact with imenu by setting
3766         `imenu-extract-index-name-function' only.
3768 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3770         * progmodes/python.el: Enhancements to navigation commands.
3771         (python-nav-backward-sentence)
3772         (python-nav-forward-sentence): Remove.
3773         (python-nav-backward-statement, python-nav-forward-statement)
3774         (python-nav-statement-start, python-nav-statement-end)
3775         (python-nav-backward-block, python-nav-forward-block)
3776         (python-nav-block-start, python-nav-block-end)
3777         (python-nav-forward-sexp-function)
3778         (python-info-current-line-comment-p)
3779         (python-info-current-line-empty-p): New functions.
3780         (python-indent-context): Use `python-nav-statement-start'.
3782 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
3784         * eshell/em-ls.el (eshell/ls): Use `apply'.
3786         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3787         multi-hops, instead of Tramp internals.
3789         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3791         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3792         when F1 and F2 are located on different hosts.
3794 2012-07-14  Chong Yidong  <cyd@gnu.org>
3796         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3797         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3798         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3799         (xterm-mouse--read-event-sequence-1000)
3800         (xterm-mouse--read-event-sequence-1006): New functions.  For old
3801         mouse protocol, handle M-mouse-X events correctly.
3802         (xterm-mouse-event): New arg specifying mouse protocol.
3803         (turn-on-xterm-mouse-tracking-on-terminal)
3804         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3805         sequence to toggle extended coordinates on newer XTerms.
3806         This appears to be harmless on terminals which do not support this.
3808 2012-07-14  Leo Liu  <sdl.web@gmail.com>
3810         Add fringe bitmap indicators for flymake.  (Bug#11253)
3811         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3812         (flymake-make-overlay): New arg BITMAP.
3813         (flymake-error-bitmap, flymake-warning-bitmap)
3814         (flymake-fringe-indicator-position): New user variables.
3816         * fringe.el: New bitmap exclamation-mark.
3818 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3820         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3821         also (Bug#7879).
3823 2012-07-14  Chong Yidong  <cyd@gnu.org>
3825         * electric.el (electric-pair-post-self-insert-function): Fix pair
3826         insertion in empty-region case (Bug#11520).
3828 2012-07-14  Chong Yidong  <cyd@gnu.org>
3830         * bindings.el: Consolidate ctl-x-r-map bindings.
3831         Bind copy-rectangle-as-kill to C-x r w.
3833         * rect.el, register.el: Move bindings to bindings.el.
3835 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
3837         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3839 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3841         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
3843 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
3845         * bindings.el (top): Use `mapc' instead of `mapcar'.
3847         * loadup.el (top): Remove bogus `if' choice (brought by revno:88805).
3849 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
3851         * progmodes/sql.el (sql-comint): Suppress the check for program on
3852         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
3853         (Bug#11908)
3855 2012-07-13  Chong Yidong  <cyd@gnu.org>
3857         * bindings.el: Assign a non-nil permanent-local property to
3858         per-buffer variables which lack a default value (Bug#11930).
3860         * help-fns.el (describe-variable): In the "automatically becomes
3861         local" notice, take note of permanent-local variables.
3863 2012-07-13  Chong Yidong  <cyd@gnu.org>
3865         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
3866         to allow printing the message when called from Lisp.
3868         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3869         Remove toggle-read-only.
3871         * bs.el (bs-toggle-readonly):
3872         * buff-menu.el (Buffer-menu-toggle-read-only):
3873         Remove with-no-warnings around toggle-read-only.
3875         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3876         Remove with-no-warnings around toggle-read-only.
3877         (ffap-read-only, ffap-read-only-other-window)
3878         (ffap-read-only-other-frame): Callers changed.
3880         * help-mode.el: Don't require view package.
3881         (help-mode-finish): Set buffer-read-only instead of calling
3882         toggle-read-only.
3884         * bindings.el (mode-line-toggle-read-only):
3885         * dired.el (dired-toggle-read-only):
3886         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3887         with non-nil second arg.
3889         * emacs-lisp/eieio-custom.el (eieio-customize-object):
3890         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3891         directly.
3893 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
3895         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3896         not incf.
3898 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3900         More CL cleanups and reduction of use of cl.el.
3901         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3902         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3903         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3904         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3905         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3906         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3907         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3908         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3909         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3910         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3911         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3912         * eshell/em-cmpl.el, eshell/em-banner.el:
3913         * calendar/parse-time.el: Use cl-lib.
3914         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3915         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3916         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3917         * term/ns-win.el, term.el, shell.el, ps-samp.el:
3918         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3919         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3920         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3921         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3922         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3923         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3924         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3925         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3926         `lambda' rather than with `quote'.
3927         (eshell-do-opt): Adjust accordingly.
3928         (eshell-process-option): Simplify.
3929         * eshell/esh-var.el:
3930         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3931         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3932         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3933         to `pcase--dontcare'.
3934         * emacs-lisp/cl.el (labels): Mark obsolete.
3935         (cl--letf, letf): Move to cl-lib.
3936         (cl--letf*, letf*): Remove.
3937         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3938         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3939         (cl-progv): Rewrite.
3940         (cl--letf, cl-letf): Move from cl.el.
3941         (cl-letf*): New macro.
3942         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3944 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
3946         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3948 2012-07-11  Chong Yidong  <cyd@gnu.org>
3950         * vc/log-edit.el (log-edit-vc-backend): New variable.
3951         (log-edit): Doc fix.
3953         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
3954         argument of log-edit to set up all local variables.
3955         (vc-start-logentry): New optional arg specifying VC backend.
3957         * vc/vc.el (vc-checkin): Use it.
3958         (vc-deduce-fileset): Handle Log Edit buffers.
3959         (vc-diff): Make first argument optional too.
3961         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3963 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
3965         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3966         command, just in case.  The function is not needed anymore.
3967         (eshell-external-command): Do not call `eshell-remote-command'.
3969 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3971         Reduce use of (require 'cl).
3972         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3973         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3974         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3975         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3976         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3977         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3978         * battery.el, avoid.el, abbrev.el: Use cl-lib.
3979         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3980         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3981         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3982         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3983         * calculator.el, autorevert.el, apropos.el: Don't require CL.
3984         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3985         (byte-compile-unfold-bcf, byte-compile-check-variable):
3986         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3987         (byte-compile-nilconstp):
3988         * emacs-lisp/autoload.el (make-autoload): Use pcase.
3989         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3991         * emacs-lisp/gv.el (cond): Make it a valid place.
3992         (if): Simplify slightly.
3994         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3995         (pcase--self-quoting-p): New function.
3996         (pcase--u1): Use it.
3998 2012-07-10  Glenn Morris  <rgm@gnu.org>
4000         * emacs-lisp/authors.el (authors-fixed-entries):
4001         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4003 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
4005         Rename configure.in to configure.ac (Bug#11603).
4006         * emacs-lisp/authors.el (authors-canonical-file-name):
4007         * progmodes/autoconf.el (autoconf-mode):
4008         Prefer configure.ac to configure.in.
4010 2012-07-08  Chong Yidong  <cyd@gnu.org>
4012         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4013         Implement the mouse-1-click-follows-link handling properly.
4015         * info.el (Info-link-keymap): Use follow-link mechanism for
4016         header-line links (Bug#374).
4018         * simple.el (deactivate-mark): Do not set the primary selection
4019         if another program has acquired it (Bug#11772).
4021 2012-07-07  Kevin Ryde  <user42@zip.com.au>
4023         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4024         (woman-decode-region): Replace escaped-escapes without destroying
4025         bold or underline (Bug#11552).
4026         (woman2-process-escapes): Handle nofill regions (Bug#11591).
4028 2012-07-07  Chong Yidong  <cyd@gnu.org>
4030         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4031         (interprogram-cut-function, interprogram-paste-function):
4032         Mention that we typically mean the clipboard.
4034 2012-07-06  Glenn Morris  <rgm@gnu.org>
4036         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
4038         * files.el (toggle-read-only): Restrict message to interactive use.
4040 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
4042         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4044         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4046 2012-07-06  Glenn Morris  <rgm@gnu.org>
4048         * Makefile.in (compile-one-process): Rename from "recompile".
4050         * Makefile.in (bzr-update): "compile" is the same as "recompile
4051         autoloads", but parallelizable, so use that instead.
4053 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
4055         * window.el (quit-window): Always restore window height when
4056         it's saved in quit-restore parameter (Bug#11810).
4058 2012-07-06  Glenn Morris  <rgm@gnu.org>
4060         * simple.el (kill-whole-line): Doc tweak.
4062 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
4064         * files.el (file-relative-name): Compare file names
4065         case-insensitively if on MS-Windows or MS-DOS, or if
4066         read-file-name-completion-ignore-case is non-nil.  Don't use
4067         case-fold-search for this purpose.  (Bug#11827)
4069 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
4071         * calendar/cal-dst.el (calendar-current-time-zone):
4072         Return calendar-current-time-zone-cache if non-nil.
4074 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
4075 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4077         * calendar/cal-dst.el (calendar-current-time-zone):
4078         Return calendar-current-time-zone-cache if non-nil.
4080 2012-07-06  Glenn Morris  <rgm@gnu.org>
4082         * Makefile.in (cvs-update): Remove old alias.
4084 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
4086         Sync with Tramp 2.2.6-pre.
4088         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4089         compatible declaration.
4091         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4092         Protect `list-load-path-shadows' call.
4094         * net/tramp-compat.el (top): Require packages, which aren't
4095         autoloaded anymore for XEmacs.  Protect call of
4096         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4097         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
4098         it hurts at least for SXEmacs.
4099         (tramp-compat-temporary-file-directory): In XEmacs, there is no
4100         standard-value for `temporary-file-directory'.
4102         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4103         Redirect stderr to /dev/null.
4104         (tramp-sh-handle-write-region): uid and gid can be floats.
4105         Reported by Russell Sim <russell.sim@gmail.com>.
4106         (tramp-sh-handle-vc-registered): Hide errors.
4107         (tramp-vc-file-name-handler): Use dummy results for `process-file'
4108         and `start-file-process'.
4109         (tramp-maybe-open-connection): Check also whether `non-essential'
4110         is bound.
4112 2012-07-04  Chong Yidong  <cyd@gnu.org>
4114         * xml.el (xml--parse-buffer): Use xml-syntax-table.
4115         (xml-parse-tag): Likewise, and avoid changing entity tables.
4116         (xml-syntax-table): Define from scratch, making sure not to give
4117         x2000 and other Unicode spaces whitespace syntax, since those are
4118         not spaces in XML.
4119         (xml-parse-fragment): Delete unused function.
4120         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4121         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4122         (xml-entity-ref, xml-pe-reference-re)
4123         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4124         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4125         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4126         (xml-entity-value-re): Use syntax references in regexps where
4127         possible; no need to define inside a let-binding.
4128         (xml-parse-dtd): Use xml-pe-reference-re.
4129         (xml-entity-or-char-ref-re): New defconst.
4130         (xml-parse-string, xml-substitute-special): Use it.
4132 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4134         * files.el (locate-dominating-file): Allow `name' to be a predicate.
4135         (find-file--read-only): New function.
4136         (find-file-read-only, find-file-read-only-other-window)
4137         (find-file-read-only-other-frame): Use it.
4138         (insert-file-contents-literally): Don't `fset'.
4139         (get-free-disk-space): Use locate-dominating-file.
4141         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4142         function is already compiled.
4144         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
4146 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
4148         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4149         files on the same host.
4151 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4153         * help-fns.el (describe-function-1): Only call
4154         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
4156 2012-07-03  Chong Yidong  <cyd@gnu.org>
4158         * xml.el: Protect parser against XML bombs.
4159         (xml-entity-expansion-limit): New variable.
4160         (xml-parse-string, xml-substitute-special): Use it.
4161         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4163 2012-07-03  Glenn Morris  <rgm@gnu.org>
4165         * progmodes/bug-reference.el (bug-reference-bug-regexp):
4166         Allow linking to specific messages in debbugs reports (eg 123#5).
4168 2012-07-02  Chong Yidong  <cyd@gnu.org>
4170         * xml.el: Fix entity and character reference expansion, allowing
4171         them to expand into markup as per XML spec.
4172         (xml-default-ns): New variable.
4173         (xml-entity-alist): Use XML spec definitions for lt and amp.
4174         (xml-parse-region): Make first two arguments optional.
4175         Discard text properties.
4176         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4177         All callers changed.
4178         (xml-parse-tag): Call xml-parse-tag-1.  For backward
4179         compatibility, this function should not modify buffer contents.
4180         (xml-parse-tag-1): Fix opening-tag regexp.
4181         (xml-parse-string): Rewrite, handling entity and character
4182         references properly.
4183         (xml--entity-replacement-text): Signal an error if a parameter
4184         entity is undefined.
4186 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4188         * comint.el (comint-output-filter): Filter out repeated prompts.
4190         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4191         and file-name-absolute-p.
4192         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4193         internal calls.
4195 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4197         Spelling fixes.
4198         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4199         Rename from byte-compile--refiy-function.  All uses changed.
4201 2012-07-01  Chong Yidong  <cyd@gnu.org>
4203         * xml.el (xml--parse-buffer): New function.  Move most of
4204         xml-parse-region here.
4205         (xml-parse-region): Copy region into a temporary buffer, since
4206         parameter entity substitution requires changing buffer contents.
4207         Use xml--parse-buffer.
4208         (xml-parse-file): Use xml--parse-buffer.
4209         (xml-parse-dtd): Make parameter entity substitution work right.
4210         Use proper regexps for ELEMENT declarations (Bug#7172).
4212 2012-06-30  Glenn Morris  <rgm@gnu.org>
4214         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4216         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4217         Remove outdated and unnecessary dbus declarations.
4219 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
4221         * emacs-lisp/timer.el (timer-until): Subtract results of
4222         float-time, instead of taking float-time of the result of
4223         time-subtract, since float-time signals an error for negative time
4224         arguments.
4226 2012-06-30  Chong Yidong  <cyd@gnu.org>
4228         * xml.el (xml-*-re): Convert defvars into defconsts, and
4229         eval-and-compile them so eval-and-compile works on derivatives.
4230         (xml--entity-replacement-text): Use eval-and-comple.
4232 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
4234         * vc/vc-git.el (vc-git-registered): Use cache property
4235         `git-registered'.
4236         (vc-git-mode-line-string): Call `vc-working-revision' instead of
4237         `vc-git-working-revision' in order to benefit from the cache.
4238         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
4240 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4242         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4243         removed (likely outside Emacs).  (Bug#11757)
4245 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         * emacs-lisp/cl-lib.el: Require macroexp.
4249 2012-06-30  Chong Yidong  <cyd@gnu.org>
4251         * xml.el: Implement XML parameter entities.
4252         (xml-parameter-entity-alist): New variable.
4253         (xml-parse-region, xml-parse-fragment): Preserve previous values
4254         of xml-entity-alist and xml-parameter-entity-alist, so that
4255         repeated calls on different documents do not change them.
4256         (xml-parse-tag): Fix doctype regexp.
4257         (xml--entity-replacement-text): New function.
4258         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
4259         properly requires url retrieval which is unimplemented.
4260         (xml-escape-string): Doc fix.
4262 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4264         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4266 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
4268         * fringe.el (fringe-mode): Doc fix.
4270 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
4272         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4273         is non-nil.
4274         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4275         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
4277 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
4279         * calendar/cal-dst.el (calendar-current-time-zone):
4280         Return calendar-current-time-zone-cache if non-nil.
4282 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
4284         * progmodes/which-func.el (which-func-format):
4285         Add mouse-face.  (Bug#11698)
4287 2012-06-29  Leo Liu  <sdl.web@gmail.com>
4289         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4291 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * minibuffer.el (minibuffer-confirm-exit-commands):
4294         Add completion-at-point (bug#11725).
4296 2012-06-29  Glenn Morris  <rgm@gnu.org>
4298         * progmodes/f90.el (f90-font-lock-keywords-2):
4299         Add some preprocessor elements.  (Bug#10499)
4301 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4303         * progmodes/cperl-mode.el (cperl-update-syntaxification):
4304         Use syntax-propertize (bug#11739).
4306 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
4308         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4310 2012-06-28  Julien Danjou  <julien@danjou.info>
4312         * term.el (term-handle-colors-array): Use a set of new faces to
4313         color the terminal.  Also uses :inverse-video property.
4314         (term-default-fg-color): Set to nil by default, deprecate in favor
4315         of `term-face'.
4316         (term-default-bg-color): Set to nil by default, deprecate in favor
4317         of `term-face'.
4318         (term-current-face): Use `term-face' by default.
4319         (term-bold-attribute): Variable deleted.
4321 2012-06-28  Glenn Morris  <rgm@gnu.org>
4323         * simple.el (completion-list-mode-finish):
4324         Don't use toggle-read-only.  (Since completion-list-mode has
4325         a special mode-class, it wasn't doing anything extra anyway.)
4327 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4329         Make inlining of other-mode interpreted functions work (bug#11799).
4330         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4331         (byte-compile): Use it to fix compilation of lexical-binding closures.
4332         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4333         function, if needed.
4335 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4337         * help-mode.el (help-make-xrefs): Don't just withstand
4338         cyclic-variable-indirection but any error in documentation-property.
4340         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4341         memory use.
4342         * bindings.el (bindings--define-key): New function.
4343         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4344         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4345         * bindings.el: Use it to purecopy define-key bindings.
4347         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4349         * emacs-lisp/cl.el (flet): Mark obsolete.
4350         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4351         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4352         * progmodes/js.el (js-c-fill-paragraph):
4353         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4354         (ebrowse-switch-member-buffer-to-derived-class):
4355         * play/5x5.el (5x5-solver): Use cl-flet.
4357         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
4358         (cl--symbol-function): New macro.
4359         (cl--letf, cl--letf*): Use it.
4361         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4362         Strip "toggle-" if any.
4364 2012-06-27  Glenn Morris  <rgm@gnu.org>
4366         * info.el (Info-default-directory-list): Move here from paths.el.
4367         * paths.el: Remove file, which is now empty.
4368         * loadup.el: No longer load "paths".
4370         * custom.el (custom-initialize-delay): Doc fix.
4372         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4373         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4374         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4375         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4376         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4377         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4378         * eshell/eshell.el (eshell-defgroup): Remove alias.
4380 2012-06-27  Chong Yidong  <cyd@gnu.org>
4382         * help.el (help-enable-auto-load): New variable.
4384         * help-fns.el (help-fns--autoloaded-p): New function.
4385         (describe-function-1): Refer to a function as "autoloaded" if it
4386         was autoloaded at any time in the past.  Perform autoloading if
4387         help-enable-auto-load is non-nil.
4389 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
4391         * makefile.w32-in (compile, compile-always): Depend on
4392         update-subdirs, not on subdirs.el.  Otherwise, several different
4393         sub-targets of 'bootstrap' running in parallel could
4394         simultaneously write to subdirs.el, producing a garbled file.
4396 2012-06-26  Sam Steingold  <sds@gnu.org>
4398         * files.el (file-name-base): New convenience function.
4399         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4400         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4401         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4402         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4403         * textmodes/ispell.el, textmodes/reftex-ref.el:
4404         * textmodes/tex-mode.el: Use it.
4405         Did not touch cedet and org because they are maintained elsewhere.
4407 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
4409         * calendar/calendar.el (calendar-exit): Don't try to delete or
4410         iconify last frame.  See:
4411         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4413 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
4415         * server.el (server-process-filter): Remember dir in the
4416         process's `server-client-directory' properties.
4418 2012-06-24  Chong Yidong  <cyd@gnu.org>
4420         * xml.el (xml-parse-tag): Correctly handle comment embedded in
4421         non-tag text.
4423 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
4425         * makefile.w32-in (COMPILE_FIRST): Synch with changes in revno:108688.
4427 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4429         * help-fns.el (describe-variable): Don't croak when doc is not found.
4430         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4431         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4432         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4433         * emacs-lisp/smie.el (smie-next-sexp): CSE.
4434         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4435         ((lambda ..) ..).
4436         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4438 2012-06-23  Chong Yidong  <cyd@gnu.org>
4440         * info.el (Info-mouse-follow-link): Accept symbol values of
4441         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
4442         (Info-fontify-node): Use Info-link-keymap for all navigation
4443         buttons, with link-args property to perform the desired action.
4444         (Info-link-keymap): Doc fix.
4445         (Info-next-link-keymap, Info-prev-link-keymap)
4446         (Info-up-link-keymap): Delete now-unused keymaps.
4448 2012-06-23  Chong Yidong  <cyd@gnu.org>
4450         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4452         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4453         system abbrevs.
4455         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4457 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4459         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4460         (bug#11719).
4462         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4463         the requote function doesn't work properly (bug#11714).
4465 2012-06-23  Glenn Morris  <rgm@gnu.org>
4467         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4469 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4471         Further GV/CL cleanups.
4472         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4473         gv-expander.
4474         (gv--defun-declaration): New function.
4475         (defun-declarations-alist): Use it.
4476         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4477         (gv-place): Autoload.
4478         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4479         original definition of dotimes and dolist.
4480         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4481         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4482         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4483         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4484         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4485         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4486         to the function's definition.
4487         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4488         * window.el:
4489         * files.el:
4490         * faces.el:
4491         * env.el: Don't use CL.
4493 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4495         Support higher-resolution time stamps (Bug#9000).
4497         * calendar/time-date.el (with-decoded-time-value): New arg
4498         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
4499         (encode-time-value): New optional arg PICO.  New type 3.
4500         (time-to-seconds) [!float-time]: Support the new picoseconds
4501         component if it's used.
4502         (seconds-to-time, time-subtract, time-add):
4503         Support ps-resolution time stamps as well.
4505         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
4506         (timerp): Timer vectors now have length 9, not 8.
4507         (timer--time): Support new-style (4-part) time stamps.
4508         (timer-next-integral-multiple-of-time): Time stamps now have
4509         picosecond resolution, so take a bit more care about rounding.
4510         (timer-relative-time, timer-inc-time): New optional arg psecs.
4511         (timer-set-time-with-usecs): Set psecs to 0.
4512         (timer--activate): Check psecs component, too.
4514         * proced.el (proced-time-lessp): Support ps-resolution stamps.
4516 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4518         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4519         Move the non-essential binding to the post/pre-command-hook where it is
4520         more obviously correct.
4522         * subr.el (read-passwd): Don't use a history at all.
4523         * savehist.el (savehist-save): Remove password saved accidentally
4524         because of the above bug.
4526 2012-06-22  Bastien Guerry  <bzg@gnu.org>
4528         * files.el (toggle-read-only): Display a message telling whether
4529         the buffer is read-only or not (bug#11726).
4531 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4533         * emacs-lisp/gv.el: New file.
4534         * subr.el (push, pop): Extend to generalized variables.
4535         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4536         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4537         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
4538         gv-define-simple-setter, and gv-define-expander.
4539         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
4540         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4541         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4542         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4543         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4544         gv-letplace.
4545         (cl-defstruct): Don't define setf-method any more.
4546         * emacs-lisp/cl.el (flet): Don't autoload.
4547         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4548         (define-setf-expander, defsetf, define-modify-macro)
4549         (cl-struct-setf-expander): Move from cl-lib.el.
4550         * emacs-lisp/syntax.el:
4551         * emacs-lisp/ewoc.el:
4552         * emacs-lisp/smie.el:
4553         * emacs-lisp/cconv.el:
4554         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4555         (timer--time): Use gv-define-simple-setter.
4556         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4557         to avoid coding-system problems in subr.el.  Adjust all users.
4558         (macroexp--maxsize, macroexp-small-p): New functions.
4559         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4560         * scroll-bar.el (scroll-bar-mode):
4561         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4562         (normal-erase-is-backspace-mode): Don't use the `eq' place.
4563         * winner.el (winner-configuration, winner-make-point-alist)
4564         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4565         * files.el (locate-file-completion-table): Avoid list*.
4567 2012-06-22  Chong Yidong  <cyd@gnu.org>
4569         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4570         (dired-create-files): Doc fix (Bug#11329).
4571         (dired-do-copy): Doc fix (Bug#11334).
4572         (dired-mark-read-string): Doc fix (Bug#11553).
4574         * dired.el (dired-recursive-copies, dired-recursive-deletes):
4575         Doc fix (Bug#11326).
4576         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
4577         (dired-dwim-target): Doc fix.
4579         * wdired.el (wdired-mode): Doc fix.
4581 2012-06-22  Glenn Morris  <rgm@gnu.org>
4583         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4584         (pcmpl-rpm-cache-stamp-file): New constant.
4585         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4586         (pcmpl-rpm-packages): Optionally cache list of packages.
4588         * pcmpl-rpm.el (pcmpl-rpm): New group.
4589         (pcmpl-rpm-query-options): New option.
4590         (pcmpl-rpm-packages): No need to inline it.
4591         Use pcmpl-rpm-query-options.
4593         * calendar/calendar.el (calendar-in-read-only-buffer):
4594         Avoid some needless mode changes.
4596 2012-06-21  Chong Yidong  <cyd@gnu.org>
4598         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4599         (desktop-path): Remove . from the default value (Bug#10977).
4600         (desktop-read): Use user-emacs-directory if desktop-path is nil.
4602 2012-06-20  Chong Yidong  <cyd@gnu.org>
4604         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4606 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
4608         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4609         (bug#11201).
4611 2012-06-20  Chong Yidong  <cyd@gnu.org>
4613         * term.el (term-window-width): Handle the case of a missing right
4614         fringe (Bug#8837).
4615         (term-check-size): Use window-text-height (Bug#5445).
4616         (term-mode): Use define-derived-mode.  Minor cleanups.
4617         Set font-lock-defaults (Bug#7692).
4618         (term-move-columns, term-insert-char, term-emulate-terminal)
4619         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4621 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
4623         * net/ange-ftp.el (ange-ftp-get-passwd):
4624         Bind `enable-recursive-minibuffers'.
4625         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4627 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
4629         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4631 2012-06-19  Glenn Morris  <rgm@gnu.org>
4633         * progmodes/python.el (python-mode): Derive from prog-mode.
4635 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
4637         * emulation/edt.el (edt-default-menu-bar-update-buffers)
4638         (edt-user-menu-bar-update-buffers): New functions.
4639         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4641 2012-06-19  Chong Yidong  <cyd@gnu.org>
4643         * subr.el (with-selected-window): Preserve the selected window's
4644         terminal's top-frame (Bug#4702).
4646         * window.el (save-selected-window): Likewise.
4648 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4650         * progmodes/python.el (python-rx-constituents): Move backquote.
4651         (python-skeleton-define, python-define-auxiliary-skeleton):
4652         Use `declare'.
4654 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
4656         * minibuffer.el (read-file-name-default): Revert the patch from
4657         2012-06-17.
4659 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4661         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4662         (pcase--u1, pcase--q1): Don't use apply-partially.
4664 2012-06-18  Glenn Morris  <rgm@gnu.org>
4666         * progmodes/python.el (python-proc, python-buffer)
4667         (python-send-receive, python-send-string): Fix obsolete versions.
4669 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
4671         * window.el (special-display-p): Completely remove stringp
4672         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4674 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
4676         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4678         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4680         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4681         * net/tramp-sh.el (tramp-maybe-open-connection):
4682         Throw if `non-essential' is non-nil.
4684 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
4686         * window.el (special-display-p): Signal an error if BUFFER-NAME
4687         is not a string (Bug#11713).
4689 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4691         * progmodes/python.el (python-info-beginning-of-backslash):
4692         Rename from python-info-beginning-of-backlash, as a spelling fix.
4694 2012-06-17  Chong Yidong  <cyd@gnu.org>
4696         * term.el (term-emulate-terminal): If term-check-size is called,
4697         move point to the process mark without resetting point (Bug#4635).
4699 2012-06-17  Glenn Morris  <rgm@gnu.org>
4701         * international/mule-cmds.el (mule-menu-keymap)
4702         (set-language-environment, set-locale-environment): Doc tweaks.
4704 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
4706         * cus-face.el (custom-face-attributes): Add wave-style underline
4707         attribute.
4708         * faces.el (set-face-attribute): Update docstring to describe
4709         wave-style underline attribute.
4711 2012-06-16  Chong Yidong  <cyd@gnu.org>
4713         * term/xterm.el (terminal-init-xterm): Discard input before
4714         querying background mode (Bug#10959).
4716 2012-06-16  Stefan Merten  <smerten@oekonux.de>
4718         * textmodes/rst.el: Added and corrected some comments.
4719         (rst-re-alist-def): Improve symbol syntax.
4720         (rst-mode-syntax-table): Correct syntax entries.
4721         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4722         (rst-official-version, rst-official-cvs-rev): Update version
4723         information.
4725 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
4727         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4728         in revno:88864.
4730 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
4732         * progmodes/python.el: New python.el merge.
4733         (python-guess-indent): Obsolete var.
4734         (python-indent-guess-indent-offset): New defcustom.
4735         (python-indent): Obsolete var.
4736         (python-indent-offset): New defcustom.
4737         (python-python-command, python-jython-command): Delete var.
4738         (python-shell-interpreter): New defcustom.
4739         (python-pdbtrack-do-tracking-p): Delete var.
4740         (python-pdbtrack-activate): New defcustom.
4741         (python-use-skeletons): Obsolete var.
4742         (python-skeleton-autoinsert): New defcustom.
4743         (inferior-python-filter-regexp, python-continuation-offset)
4744         (python-honour-comment-indentation, python-indent-string-contents)
4745         (python-jython-packages, python-mode-hook)
4746         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4747         (python-shell-prompt-alist)
4748         (python-source-modes): Delete defcustoms.
4749         (python-check-buffer-name, python-eldoc-setup-code)
4750         (python-eldoc-string-code, python-ffap-setup-code)
4751         (python-ffap-string-code, python-fill-comment-function)
4752         (python-fill-decorator-function, python-fill-paren-function)
4753         (python-fill-string-function, python-imenu-include-defun-type)
4754         (python-imenu-make-tree, python-imenu-subtree-root-label)
4755         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4756         (python-shell-compilation-regexp-alist)
4757         (python-shell-completion-module-string-code)
4758         (python-shell-completion-pdb-string-code)
4759         (python-shell-completion-setup-code)
4760         (python-shell-completion-string-code)
4761         (python-shell-enable-font-lock, python-shell-exec-path)
4762         (python-shell-extra-pythonpaths)
4763         (python-shell-internal-buffer-name, python-shell-interpreter-args)
4764         (python-shell-process-environment)
4765         (python-shell-prompt-block-regexp)
4766         (python-shell-prompt-output-regexp)
4767         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4768         (python-shell-send-setup-max-wait, python-shell-setup-codes)
4769         (python-shell-virtualenv-path): New defcustoms.
4770         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4771         (inferior-python-mode-syntax-table, python--prompt-regexp)
4772         (python-buffer, python-command python-python-command)
4773         (python-default-template, python-imports, python-indent-index)
4774         (python-indent-list, python-indent-list-length)
4775         (python-mode-running, python-pdbtrack-is-tracking-p)
4776         (python-preoutput-continuation, python-preoutput-leftover)
4777         (python-preoutput-result, python-preoutput-skip-next-prompt)
4778         (python-prev-dir/file, python-recursing)
4779         (python-saved-check-command, python-version-checked)
4780         (python-which-func-length-limit)
4781         (view-return-to-alist): Delete vars.
4782         (python-check-custom-command, python-dotty-syntax-table)
4783         (python-imenu-index-alist, python-indent-current-level)
4784         (python-indent-dedenters, python-indent-levels)
4785         (python-nav-beginning-of-defun-regexp)
4786         (python-nav-list-defun-positions-cache)
4787         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4788         (python-shell-internal-buffer)
4789         (python-skeleton-available): New vars.
4790         (def-python-skeleton): Delete macro.
4791         (python-skeleton-define): New macro.
4792         (python-define-auxiliary-skeleton, python-rx): New macros.
4793         (python-insert-class): Delete command.
4794         (python-skeleton-class): New command.
4795         (python-insert-def): Delete command.
4796         (python-skeleton-def): New command.
4797         (python-insert-for): Delete command.
4798         (python-skeleton-for): New command.
4799         (python-insert-if): Delete command.
4800         (python-skeleton-if): New command.
4801         (python-insert-try/except, python-insert-try/finally): Delete commands.
4802         (python-skeleton-try): New command.
4803         (python-insert-while): Delete command.
4804         (python-skeleton-while): New command.
4805         (python-backspace): Delete command.
4806         (python-indent-dedent-line-backspace): New command.
4807         (python-electric-colon): Delete command.
4808         (python-indent-electric-colon): New command.
4809         (python-guess-indent): Delete command.
4810         (python-indent-guess-indent-offset): New command.
4811         (python-shift-left): Delete command.
4812         (python-indent-shift-left): New command.
4813         (python-shift-right): Delete command.
4814         (python-indent-shift-right): New command.
4815         (python-find-function): Delete command.
4816         (python-nav-jump-to-defun): New command.
4817         (python-next-statement): Delete command.
4818         (python-nav-forward-sentence): New command.
4819         (python-previous-statement): Delete command.
4820         (python-nav-backward-sentence): New command.
4821         (python-fill-paragraph): Delete command.
4822         (python-fill-paragraph-function): New command.
4823         (python-send-buffer): Delete command.
4824         (python-shell-send-buffer): New command.
4825         (python-send-defun): Delete command.
4826         (python-shell-send-defun): New command.
4827         (python-send-region, python-send-region-and-go): Delete commands.
4828         (python-shell-send-region)
4829         (python-shell-switch-to-shell): New commands.
4830         (python-send-string): Delete command.
4831         (python-shell-send-string): New command.
4832         (python-switch-to-python): Delete command.
4833         (python-shell-switch-to-shell): New command.
4834         (python-describe-symbol): Delete command.
4835         (python-eldoc-at-point): New command.
4836         (python--set-prompt-regexp, python-args-to-list)
4837         (python-after-info-look, python-check-version)
4838         (python-check-comint-prompt, python-find-imports)
4839         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4840         (python-unload-function, python-expand-template)
4841         (python-maybe-jython, python-preoutput-filter)
4842         (python-pdbtrack-get-source-buffer)
4843         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4844         (python-pdbtrack-toggle-stack-tracking)
4845         (python-pdbtrack-track-stack-file, python-initial-text)
4846         (python-first-word, python-comment-line-p, python-send-command)
4847         (python-setup-brm, python-sentinel, python-set-proc)
4848         (python-skip-out, python-input-filter, python-outdent-p)
4849         (python-outline-level, python-backslash-continuation-line-p)
4850         (python-end-of-block, python-end-of-statement, python-mark-block)
4851         (python-beginning-of-block, python-beginning-of-statement)
4852         (python-blank-line-p, python-beginning-of-string)
4853         (python-open-block-statement-p): Delete functions.
4854         (python-indent-line, python-indent-line-1): Delete functions.
4855         (python-indent-line): New function.
4856         (python-indentation-levels): Delete function.
4857         (python-indent-calculate-levels): New function.
4858         (python-proc): Delete function.
4859         (python-shell-get-process): New function.
4860         (python-send-receive): Delete function.
4861         (python-shell-send-string-no-output): New function.
4862         (python-module-path): Delete function.
4863         (python-ffap-module-path): New function.
4864         (python-completion-at-point)
4865         (python-symbol-completions): Delete functions.
4866         (python-completion-complete-at-point): New function.
4867         (python-load-file): Delete function.
4868         (python-shell-send-file): New function.
4869         (python-calculate-indentation): Delete function.
4870         (python-indent-calculate-indentation): New function.
4871         (python-skip-comments/blanks): Delete function.
4872         (python-util-forward-comment): New function.
4873         (python-continuation-line-p): Delete function.
4874         (python-info-continuation-line-p): New function.
4875         (python-which-func, python-current-defun): Delete function.
4876         (python-info-current-defun): New function.
4877         (python-beginning-of-defun): Delete function.
4878         (python-nav-beginning-of-defun): New function.
4879         (python-close-block-statement-p)
4880         (python-block-end-p): Delete function.
4881         (python-info-closing-block): New function.
4882         (python-comint-output-filter-function)
4883         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4884         (python-fill-comment, python-fill-decorator, python-fill-paren)
4885         (python-fill-string, python-imenu-make-element-tree)
4886         (python-imenu-make-tree, python-imenu-tree-assoc)
4887         (python-indent-context, python-indent-dedent-line)
4888         (python-indent-line-function)
4889         (python-indent-post-self-insert-function)
4890         (python-indent-toggle-levels)
4891         (python-info-assignment-continuation-line-p)
4892         (python-info-beginning-of-backlash)
4893         (python-info-block-continuation-line-p)
4894         (python-info-closing-block-message)
4895         (python-info-line-ends-backslash-p)
4896         (python-info-looking-at-beginning-of-defun)
4897         (python-info-ppss-context, python-info-ppss-context-type)
4898         (python-nav-list-defun-positions, python-nav-read-defun)
4899         (python-nav-sentence-end, python-nav-sentence-start)
4900         (python-pdbtrack-comint-output-filter-function)
4901         (python-pdbtrack-set-tracked-buffer)
4902         (python-shell-calculate-exec-path)
4903         (python-shell-calculate-process-environment)
4904         (python-shell-completion--do-completion-at-point)
4905         (python-shell-completion--get-completions)
4906         (python-shell-completion-complete-at-point)
4907         (python-shell-completion-complete-or-indent)
4908         (python-shell-get-or-create-process)
4909         (python-shell-get-process-name)
4910         (python-shell-internal-get-or-create-process)
4911         (python-shell-internal-get-process-name)
4912         (python-shell-internal-send-string, python-shell-make-comint)
4913         (python-shell-parse-command, python-shell-send-setup-code)
4914         (python-skeleton-add-menu-items)
4915         (python-util-clone-local-variables, python-util-position)
4916         (run-python-internal, python-indentation-levels)
4917         (python-nav-beginning-of-defun)
4918         (python-completion-complete-at-point): New functions.
4919         (run-python): Change arguments.  New API requirements.
4921 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4923         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4924         (bug#11649).
4926         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4927         (macroexp--expand-all): Use it.
4929         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4930         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4931         Use `cl-function' instead.
4933 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
4935         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4936         Suggested by Stefan Monnier while discussing bug#11657.
4938 2012-06-14  Sam Steingold  <sds@gnu.org>
4940         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4942 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4944         * play/doctor.el (doctor-doc): Remove parameter and use
4945         doctor-sent instead of sent.
4946         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
4948 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4950         * files.el: Require cl-lib.
4951         (file-name-non-special): Replace case -> cl-case.
4953         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4955         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4956         mapping from #' to function*.
4958 2012-06-13  Chong Yidong  <cyd@gnu.org>
4960         * mouse.el (mouse-drag-track): Do not set the mark if the user
4961         releases the mouse without selecting anything (Bug#11588).
4963 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4965         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4966         as well (bug#11646).
4968         * loadup.el: Count byte-code functions as well.
4970         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4971         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4973         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4974         (bug#11649).  Add cl-defun and cl-defmacro.
4976 2012-06-13  Drew Adams  <drew.adams@oracle.com>
4978         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4979         Fix last change.
4981 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
4983         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4984         Otherwise, it blocks in batch mode.
4986 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
4988         * help-mode.el (bookmark-make-record-default): Declare.
4990 2012-06-13  Chong Yidong  <cyd@gnu.org>
4992         * emacs-lisp/package.el (list-packages): Compute a list of
4993         packages that are newly-available since the last list-packages
4994         invocation.
4995         (package-menu--new-package-list): New var.
4996         (package-menu--generate, package-menu--print-info)
4997         (package-menu--status-predicate, package-menu-mark-install):
4998         Handle new status label "new".
5000 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5002         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5003         conversion to backquotes.
5005 2012-06-12  Chong Yidong  <cyd@gnu.org>
5007         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5008         Rename from gud-inhibit-global-bindings.
5010         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5012         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5013         hook from nxml-glyph-set-hook.
5015         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5016         declaration.
5018         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5020         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5021         Convert to defcustom.
5023 2012-06-12  Drew Adams  <drew.adams@oracle.com>
5025         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5026         New functions.
5027         (help-mode): Use them.
5029 2012-06-11  Glenn Morris  <rgm@gnu.org>
5031         * progmodes/fortran.el (fortran-font-lock-keywords-3):
5032         Use preprocessor face for directives.
5033         (fortran-directive-re): Doc fix.
5035 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5037         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5038         conversion to backquotes (bug#11652).
5040         Fix compiler-expansion of CL's cXXr functions (bug#11673).
5041         * emacs-lisp/cl-lib.el (cl--defalias): New function.
5042         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5043         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5044         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5045         (cl-ninth, cl-tenth): Mark them as inlinable.
5046         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5047         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5048         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5049         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5050         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5051         (cl-list*, cl-adjoin): Don't put an autoload manually.
5052         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5053         (cl--compiler-macro-list*): Add autoload cookie.
5054         (cl--compiler-macro-cXXr): New function.
5056         * help-fns.el (help-fns--compiler-macro): New function extracted from
5057         describe-function-1; follow aliases and use `compiler-macro' property.
5058         (describe-function-1): Use it.
5060 2012-06-11  Chong Yidong  <cyd@gnu.org>
5062         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5063         is uninstalled, if imagemagick is installed.
5065 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5067         * emacs-lisp/cl-lib.el: Use lexical-binding.
5068         (cl-map-extents, cl-maclisp-member): Remove.
5069         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5070         (cl--set-substring, cl--block-wrapper, cl--block-throw)
5071         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5072         * emacs-lisp/cl-extra.el: Use lexical-binding.
5073         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5074         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5075         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5076         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5077         * emacs-lisp/cl-seq.el: Use lexical-binding.
5078         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5079         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5080         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5081         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5082         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5083         CL's internals.
5085 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
5087         Sync with Tramp 2.2.6-pre.
5089         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5090         `print-length' and `print-level' to nil, in order to avoid
5091         truncation.  Reported by Christopher Schmidt
5092         <christopher@ristopher.com>.
5094         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5096         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5097         New defmacro.
5098         (tramp-compat-copy-directory): Add optional argument
5099         COPY-CONTENTS.  It is not handled yet.
5101         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5102         (tramp-ftp-file-name-p): Simplify.
5104         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5105         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5106         connection vector.
5108         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5109         (tramp-methods): Do not use `tramp-password-end-of-line'.
5110         (tramp-completion-function-alist-putty): Handle UNIX case.
5111         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5112         (tramp-do-file-attributes-with-stat)
5113         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5114         gid as real numbers.  They could run out of integer range on cygwin.
5115         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5116         (tramp-sh-handle-expand-file-name): Handle hops.
5117         (tramp-open-connection-setup-interactive-shell):
5118         Use `tramp-cleanup'.  Move check for busyboxes ...
5119         (tramp-find-shell): ... here.  Simplify implementation.
5120         Set "remote-shell" property also for alternative shells.
5121         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5122         If failing, a regular file would be written otherwise.
5123         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5124         (tramp-find-inline-encoding): Cache the coding commands in the
5125         process cache.  Apply test command on the remote side, if defined.
5126         (tramp-find-inline-compress): Cache the compress commands in the
5127         process cache.
5128         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5129         when requested.  Handle hops.
5130         (tramp-current-connection): New defvar.
5131         (tramp-maybe-open-connection): Use `tramp-cleanup'.
5132         Throw `suppress', if there was a failed connection shortly before.
5133         Handle user interrupt.  (Bug#10187)
5134         (tramp-get-inline-compress, tramp-get-inline-coding):
5135         Read connection properties from the process cache.
5137         * net/tramp-smb.el (tramp-smb-server-version)
5138         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5139         New defconsts.
5140         (tramp-smb-prompt): Extend for powershell prompt.
5141         (tramp-smb-file-name-handler-alist): Add handlers for
5142         `process-file', `shell-command' and `start-file-process'.
5143         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5144         (tramp-smb-winexe-shell-command-switch): New defcustoms.
5145         (tramp-smb-file-name-p): Simplify.
5146         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5147         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5148         (tramp-smb-shell-quote-argument): New defuns.
5149         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5150         Implement using "tar".  By this, time-stamps are preserved.
5151         (tramp-smb-handle-copy-file): Handle also the case of directories.
5152         (tramp-smb-do-file-attributes-with-stat)
5153         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5154         Use `tramp-get-connection-buffer').
5155         (tramp-smb-handle-rename-file): Use "rename", when source and
5156         target are on the same share.
5157         (tramp-smb-maybe-open-connection): Handle wrong passwords.
5158         Use `tramp-smb-server-version'.
5159         (tramp-smb-wait-for-output): Remove prompt.
5161         * net/tramp.el (top): Require 'cl.
5162         (tramp-methods, tramp-rsh-end-of-line):
5163         Remove `tramp-password-end-of-line' from docstring.
5164         (tramp-save-ad-hoc-proxies): New defcustom.
5165         (tramp-completion-function-alist): Adapt docstring.
5166         (tramp-default-password-end-of-line): Remove defcustom.
5167         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
5168         (tramp-user-regexp, tramp-file-name-regexp-unified)
5169         (tramp-file-name-regexp-url): Extend regexp by hop separator.
5170         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5171         (tramp-remote-file-name-spec-regexp): New defconst.
5172         (tramp-file-name-structure): Extend structure for hops.
5173         (tramp-get-method-parameter): Move up.
5174         (tramp-file-name-p, tramp-dissect-file-name)
5175         (with-parsed-tramp-file-name): Handle hops.
5176         (tramp-file-name-hop): New defun.
5177         (tramp-make-tramp-file-name): New optional arg HOP.
5178         (tramp-message-show-progress-reporter-message): New defvar.
5179         (tramp-with-progress-reporter): Use it.  We cannot use
5180         `tramp-message-show-message' here, because this suppresses also
5181         error buffers.
5182         (tramp-error-with-buffer): Suppress buffer view, if
5183         `tramp-message-show-message' is nil.
5184         Use `tramp-get-connection-buffer'.
5185         (tramp-cleanup): New defun.
5186         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5187         (tramp-file-name-handler): If `debug-on-error' is set, propagate
5188         an error unchanged.
5189         (tramp-completion-handle-file-name-all-completions): Handle hops.
5190         Fix an error when called from ido.
5191         (tramp-completion-dissect-file-name): Use better local variable
5192         name.  Add hop to the vector.
5193         (tramp-handle-insert-file-contents): Use progress-reporter for the
5194         whole scenario.
5195         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5196         to `t'.
5197         (tramp-check-for-regexp): Simplify search.
5198         (tramp-enter-password): Remove it.  Move implementation ...
5199         (tramp-action-password): ... here.
5200         (tramp-mode-string-to-int, tramp-local-host-p)
5201         (tramp-make-tramp-temp-file, tramp-read-passwd)
5202         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5203         Set tramp-autoload cookie.
5205         * net/trampver.el: Update release number.
5207 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5208             Michael Albinus  <michael.albinus@gmx.de>
5210         * net/tramp.el (tramp-set-completion-function): Fix docstring.
5211         (tramp-parse-group, tramp-parse-file)
5212         (tramp-parse-shostkeys-sknownhosts): New defuns.
5213         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5214         (tramp-parse-shosts-group, tramp-parse-sconfig)
5215         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5216         (tramp-parse-sknownhosts, tramp-parse-hosts)
5217         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5218         Use them.
5219         (tramp-parse-passwd-group, tramp-parse-netrc-group)
5220         (tramp-parse-putty-group): Don't narrow.
5221         (tramp-parse-putty): Make a loop.
5222         (tramp-file-name-handler): Catch the `suppress' signal.
5224 2012-06-11  Chong Yidong  <cyd@gnu.org>
5226         * image.el (imagemagick-register-types): Put the ImageMagick entry
5227         at the end of image-type-file-name-regexps.
5229 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
5231         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5232         (pcase, pcase-let*, pcase-dolist): Use them.
5234 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5236         * emacs-lisp/pcase.el (pcase--let*): New function.
5237         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
5238         (pcase--expand): Use macroexp-let².
5240 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5242         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5243         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5244         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5245         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5246         * emacs-lisp/derived.el: Use pcase instead of `cl'.
5247         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5249 2012-06-10  Glenn Morris  <rgm@gnu.org>
5251         * mail/rmail.el (rmail-yank-current-message): Leave point at
5252         correct position.  (Bug#11660)
5254 2012-06-10  Chong Yidong  <cyd@gnu.org>
5256         * allout-widgets.el: Fix code header.
5258 2012-06-10  Chong Yidong  <cyd@gnu.org>
5260         * cus-edit.el (customize-changed-options-previous-release):
5261         Bump to 24.1.
5263 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
5265         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5267 2012-06-09  Chong Yidong  <cyd@gnu.org>
5269         * ebuff-menu.el (electric-buffer-list): Preserve header line.
5271 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
5273         * window.el (special-display-popup-frame): Don't use
5274         window--display-buffer (Bug#11651).
5276 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
5278         Fix parallel builds: make sure loaddefs.el is not being written
5279         while Lisp files are compiled.
5280         (compile): Don't depend on 'mh-autoloads'.
5281         (compile-CMD, compile-SH): Depend on 'autoloads'.
5282         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5284         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
5286 2012-06-09  Chong Yidong  <cyd@gnu.org>
5288         * face-remap.el (face-remap-add-relative, face-remap-set-base)
5289         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5290         Doc fixes (Bug#11225).
5292 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5294         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5295         a function if there's a clear indication that it has a compiler-macro.
5296         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5297         (macro-declarations-alist): Add arglist to declaration functions.
5298         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5299         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5300         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5301         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5302         Also add autoload to find the compiler macro.
5303         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5304         (cl--compiler-macro-member, cl--compiler-macro-assoc)
5305         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5306         (cl--compiler-macro-get): New functions, replacing calls to
5307         cl-define-compiler-macro.
5308         (cl-typep) [compiler-macro]: Use macroexp-let².
5310 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
5312         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5313         string properly, fixes Bug#11473.
5315 2012-06-08  Chong Yidong  <cyd@gnu.org>
5317         * faces.el (set-face-attribute): Doc fix.
5318         (modify-face): Don't use :bold and :italic.
5319         (error, warning, success): Tweak definitions.
5321         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5322         (custom-modified, custom-set, custom-changed, custom-themed)
5323         (custom-saved, custom-button, custom-button-mouse)
5324         (custom-button-pressed, custom-state, custom-comment-tag)
5325         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5326         (custom-group-subtitle): Use new-style face specs.
5327         (custom-invalid-face, custom-rogue-face, custom-modified-face)
5328         (custom-set-face, custom-changed-face, custom-saved-face)
5329         (custom-button-face, custom-button-pressed-face)
5330         (custom-documentation-face, custom-state-face)
5331         (custom-comment-face, custom-comment-tag-face)
5332         (custom-variable-tag-face, custom-variable-button-face)
5333         (custom-face-tag-face, custom-group-tag-face-1)
5334         (custom-group-tag-face): Remove obsolete face alias.
5336         * epa.el (epa-validity-high, epa-validity-medium)
5337         (epa-validity-low, epa-mark, epa-field-name, epa-string)
5338         (epa-field-name, epa-field-body):
5339         * font-lock.el (font-lock-comment-face, font-lock-string-face)
5340         (font-lock-keyword-face, font-lock-builtin-face)
5341         (font-lock-function-name-face, font-lock-variable-name-face)
5342         (font-lock-type-face, font-lock-constant-face):
5343         * ido.el (ido-first-match, ido-only-match, ido-subdir)
5344         (ido-virtual, ido-indicator, ido-incomplete-regexp):
5345         * speedbar.el (speedbar-button-face, speedbar-file-face)
5346         (speedbar-directory-face, speedbar-tag-face)
5347         (speedbar-selected-face, speedbar-highlight-face)
5348         (speedbar-separator-face):
5349         * whitespace.el (whitespace-newline, whitespace-space)
5350         (whitespace-hspace, whitespace-tab, whitespace-trailing)
5351         (whitespace-line, whitespace-space-before-tab)
5352         (whitespace-space-after-tab, whitespace-indentation)
5353         (whitespace-empty):
5354         * emulation/cua-base.el (cua-global-mark):
5355         * eshell/em-prompt.el (eshell-prompt):
5356         * net/newst-plainview.el (newsticker-new-item-face)
5357         (newsticker-old-item-face, newsticker-immortal-item-face)
5358         (newsticker-obsolete-item-face, newsticker-date-face)
5359         (newsticker-statistics-face, newsticker-default-face):
5360         * net/newst-reader.el (newsticker-feed-face)
5361         (newsticker-extra-face, newsticker-enclosure-face):
5362         * net/newst-treeview.el (newsticker-treeview-face)
5363         (newsticker-treeview-new-face, newsticker-treeview-old-face)
5364         (newsticker-treeview-immortal-face)
5365         (newsticker-treeview-obsolete-face)
5366         (newsticker-treeview-selection-face):
5367         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5368         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5369         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5370         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5371         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5372         (nxml-outline-active-indicator, nxml-outline-ellipsis):
5373         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5374         (mpuz-text):
5375         * progmodes/vera-mode.el (vera-font-lock-number)
5376         (vera-font-lock-function, vera-font-lock-interface):
5377         * textmodes/table.el (table-cell): Use new-style face specs, and
5378         don't use the old :bold and :italic attributes.
5380         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5381         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5382         (ebrowse-member-class, ebrowse-progress): Likewise.
5383         (ebrowse-tree-mark-face, ebrowse-root-class-face)
5384         (ebrowse-file-name-face, ebrowse-default-face)
5385         (ebrowse-member-attribute-face, ebrowse-member-class-face)
5386         (ebrowse-progress-face): Remove obsolete faces.
5388         * progmodes/flymake.el (flymake-errline, flymake-warnline):
5389         Inherit from error and warning faces respectively.
5391         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5392         Likewise.
5393         (flyspell-incorrect-face, flyspell-duplicate-face):
5394         Remove obsolete aliases.
5396 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
5398         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5399         Avoid infloop.
5401 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5403         * startup.el (argv, argi): Make lexically scoped.
5404         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5405         * emacs-lisp/cl-macs.el: Use lexical-binding.
5406         Rename cl-bind-* to cl--bind-*.
5407         * files.el: Don't require `cl' since it doesn't use it.
5408         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5410 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
5412         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of revno:89810).
5413         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5414         instead of calling external sort utility.
5415         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5417 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
5419         * descr-text.el (describe-char): Mention how to insert the
5420         character, if the current input method doesn't support it.
5421         See the discussion in this thread for the details:
5422         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5424 2012-06-08  Sam Steingold  <sds@gnu.org>
5426         * bindings.el (global-map): Bind XF86Forward to next-buffer and
5427         XF86Back to previous-buffer.
5428         (minibuffer-local-map): Bind them to next-history-element and
5429         previous-history-element respectively.
5430         * help-mode.el (help-mode-map): Bind them to help-go-forward and
5431         help-go-back respectively.
5432         * info.el (Info-mode-map): Bind them to Info-history-forward and
5433         Info-history-back respectively.
5434         These are the keys next to Up on the ThinkPad keyboard.
5436 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5438         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5439         * emacs-lisp/cl-macs.el: Provide itself.
5440         (cl--labels-convert-cache): New var.
5441         (cl--labels-convert): New function.
5442         (cl-flet, cl-labels): New implementation with new semantics, relying on
5443         lexical-binding.
5444         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5445         (cl-closure-vars, cl--function-convert-cache)
5446         (cl--function-convert): Move from cl-macs.el.
5447         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5448         rename by removing the "cl-" prefix.
5449         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5451 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5453         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5454         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5455         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5456         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5457         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5458         (cl-hash-table-count): Add old compatibility aliases.
5460         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5461         Use macroexpand-all-environment instead.
5462         (cl--old-macroexpand): New var.
5463         (cl--sm-macroexpand): New function.
5464         (cl-symbol-macrolet): Use it during macro expansion.
5465         (cl--function-convert-cache): New var.
5466         (cl--function-convert): New function, extracted from
5467         cl-macroexpand-all.
5468         (cl-lexical-let): Use it.
5470         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5471         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5472         (cl-member): Remove old alias.
5474         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5475         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5476         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5477         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5478         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5479         (cl-macroexpand-cmacs): Remove var.
5480         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5481         Use macroexpand-all instead.
5483 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5485         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5486         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5487         (macroexp-copyable-p): New functions and macros.
5488         * emacs-lisp/edebug.el (edebug-unwrap):
5489         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5490         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5491         (pcase--let*): Remove.
5492         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5493         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
5494         macroexp-const-p instead.
5495         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5497         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5498         instead of "cl-" for internal definitions.  Use macroexp-const-p.
5499         (cl-old-bc-file-form): Remove var.
5500         (cl-const-exprs-p): Remove fun.
5501         (cl-labels, cl-macrolet): Use backquote.
5502         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
5503         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5504         (cl-define-setf-expander): Rename from cl-define-setf-method.
5505         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5507         * international/mule-cmds.el: Don't require CL.
5508         (view-hello-file): Don't use `letf'.
5510 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5512         * tmm.el (tmm-prompt): Use string-prefix-p.
5513         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5514         (tmm-add-prompt): Use minibuffer-completion-help.
5515         (tmm-delete-map): Remove.
5517         * subr.el (kbd): Make it its own function.
5519 2012-06-07  Stefan Merten  <smerten@oekonux.de>
5521         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5522         Silence compiler warnings.  Fix versions.
5523         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5524         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5525         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5526         (rst-package-emacs-version-alist): Correct Emacs version to
5527         represent major merge with upstream.
5528         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5530 2012-06-06  Glenn Morris  <rgm@gnu.org>
5532         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5533         Only print environment variables if set.
5535 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5537         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5538         (macroexp--cons): Rename from maybe-cons.
5539         (macroexp--accumulate): Rename from macroexp-accumulate.
5540         (macroexp--all-forms): Rename from macroexpand-all-forms.
5541         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5542         (macroexp--expand-all): Rename from macroexpand-all-1.
5544 2012-06-06  Sam Steingold  <sds@gnu.org>
5546         * calendar/calendar.el (calendar-in-read-only-buffer):
5547         Call `special-mode' to enable the standard read-only keybindings.
5549 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5551         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5552         with "loading" messages (bug#11635).
5554 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
5556         * files.el (enable-remote-dir-locals): New option.
5557         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
5559         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5560         Ensure, that the temp directory is local.
5562         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5563         `temporary-file-directory'.
5565         * progmodes/python.el (python-send-region): Ensure, that the
5566         temporary file is created also in the remote case.
5568 2012-06-06  Glenn Morris  <rgm@gnu.org>
5570         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5571         (vc-rcs-update-changelog): Use it.
5573         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5575         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5576         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5577         (vc-sccs-diff): Replace use of the external vcdiff script.
5579 2012-06-05  Glenn Morris  <rgm@gnu.org>
5581         * ledit.el: Move to obsolete/.
5583 2012-06-05  Sam Steingold  <sds@gnu.org>
5585         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5586         patch (Bug#11140).
5588 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5590         * emacs-lisp/cust-print.el: Move to obsolete.
5592         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5593         compiler-macro expansion.
5595         Add native compiler-macro support.
5596         * emacs-lisp/macroexp.el (macroexpand-all-1):
5597         Support compiler-macros directly.  Properly follow aliases and apply
5598         the compiler macros more thoroughly.
5599         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5600         macroexpand now properly follows aliases.
5601         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5602         (cl-compiler-macroexpand): Use new prop.
5603         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5605         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5607 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
5609         * window.el (get-lru-window, get-mru-window, get-largest-window):
5610         New argument NOT-SELECTED to avoid picking the selected window.
5611         (window--display-buffer-1, window--display-buffer-2): Replace by
5612         new function window--display-buffer
5613         (display-buffer-same-window, display-buffer-reuse-window)
5614         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5615         Use window--display-buffer.
5616         (display-buffer-use-some-window): Remove temporary dedication
5617         hack by calling get-lru-window and get-largest-window with
5618         NOT-SELECTED argument non-nil.  Call window--display-buffer.
5620 2012-06-05  Glenn Morris  <rgm@gnu.org>
5622         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5623         Replace external vcdiff script.
5625 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5627         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5629 2012-06-04  Chong Yidong  <cyd@gnu.org>
5631         * image.el (imagemagick-types-inhibit): Revert last change.
5632         Add INFO and M.
5633         (imagemagick-enabled-types): Remove CIN and EPS*.
5635 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5637         * emacs-lisp/cl-lib.el: Rename from cl.el.
5638         * emacs-lisp/cl.el: New compatibility file.
5639         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5640         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5641         to obey the "cl-" prefix.
5642         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5644 2012-06-03  Glenn Morris  <rgm@gnu.org>
5646         * emacs-lisp/authors.el (authors-aliases): Addition.
5648         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5649         Fix :version.
5651 2012-06-03  Stefan Merten  <smerten@oekonux.de>
5653         * textmodes/rst.el: Add comments.
5654         (rst-transition, rst-adornment): New faces.
5655         (rst-adornment-faces-alist): Make default safe to reevaluate.
5656         Fixes
5657         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5658         Improve customization tags.
5659         (rst-define-level-faces): Clarify meaning.
5661 2012-06-03  Chong Yidong  <cyd@gnu.org>
5663         * progmodes/compile.el (compilation-mode-line-fail)
5664         (compilation-mode-line-run, compilation-mode-line-exit):
5665         New faces.
5666         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5668 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
5670         * progmodes/which-func.el (which-func-update-ediff-windows):
5671         New function.  Use it in ediff-select-hook (Bug#11478).
5673 2012-06-03  Chong Yidong  <cyd@gnu.org>
5675         * bindings.el: Remove explicit help text from format-mode-line.
5676         It is now supplied by mode-line-default-help-echo.
5677         (mode-line-front-space, mode-line-end-spaces)
5678         (mode-line-misc-info): New variables.
5679         (mode-line-modes, mode-line-position): Move the default value to
5680         the variable definition.
5681         (mode-line-default-help-echo): New defcustom.
5682         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5683         (mode-line-modified-help-echo): New functions.
5684         (mode-line-mule-info, mode-line-modified): Use them.
5685         (mode-line-eol-desc, propertized-buffer-identification):
5686         Consistency fixes for help text.
5687         (mode-line-coding-system-map): Allow using mouse-3 to invoke
5688         set-buffer-file-coding-system (Bug#289).
5689         (mode-line-mule-info-help-echo): Update help text.
5691 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5693         * simple.el (execute-extended-command): Set real-this-command
5694         (bug#11506).
5696 2012-06-02  Chong Yidong  <cyd@gnu.org>
5698         Remove incorrect uses of "modeline" in comments, docstrings, and
5699         function/variable names (Bug#10329).
5701         * cus-edit.el (mode-line):
5702         * dframe.el (dframe-mouse-hscroll):
5703         * emacs-lisp/re-builder.el:
5704         * emacs-lisp/easy-mmode.el (define-minor-mode):
5705         * frame.el (set-frame-name):
5706         * help.el (lookup-minor-mode-from-indicator):
5707         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5708         * progmodes/cc-cmds.el (c-toggle-auto-newline)
5709         (c-toggle-hungry-state):
5710         * progmodes/antlr-mode.el (antlr-language-alist):
5711         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5712         * progmodes/vhdl-mode.el (vhdl-mode):
5713         * progmodes/which-func.el (which-func, which-func-cleanup-function):
5714         * term/ns-win.el (ns-face-at-pos):
5715         * term/sup-mouse.el (sup-mouse-report):
5716         * textmodes/flyspell.el (flyspell-mode-line-string):
5717         * textmodes/ispell.el (ispell-highlight-face):
5718         * textmodes/reftex-global.el:
5719         * vc/vc-arch.el (vc-arch-mode-line-string):
5720         * vc/vc-cvs.el (vc-cvs-mode-line-string):
5721         * vc/vc-git.el (vc-git-mode-line-string):
5722         * vc/vc-hooks.el (vc-display-status)
5723         (vc-default-mode-line-string):
5724         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5726         * ansi-color.el (ansi-color-faces-vector): Change default faces.
5728         * dired.el (dired-sort-set-mode-line): Rename from
5729         dired-sort-set-modeline.  All callers changed.
5731         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5732         eshell-status-in-modeline.
5734         * foldout.el (foldout-mode-line-string): Rename from
5735         foldout-modeline-string.  All callers changed.
5736         (foldout-update-mode-line): Rename from foldout-update-modeline.
5738         * subr.el (redraw-modeline): Make into obsolete alias.
5740         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5741         timeclock-modeline-display.  Make old name an alias.
5742         (timeclock-update-mode-line): Likewise.  All callers changed.
5743         (timeclock-mode-line-display): No need to check before using
5744         add-hook.
5745         (timeclock-relative, timeclock-day-over-hook)
5746         (timeclock-use-elapsed, timeclock-mode-string)
5747         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5749         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5750         crisp-mode-modeline-string.
5752         * play/solitaire.el (solitaire-build-mode-line): Rename from
5753         solitaire-build-modeline.  All callers changed.
5755         * play/zone.el (zone-hiding-mode-line): Rename from
5756         zone-hiding-modeline.  All callers changed.
5757         (zone): Remove unusued `modeline-hidden-level' property.
5759         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5760         xscheme-modeline-initialize.  All callers changed.
5762         * strokes.el (strokes-lighter): Rename from
5763         strokes-modeline-string.
5765         * textmodes/sgml-mode.el (html-face-tag-alist)
5766         (html-tag-face-alist): Use mode-line face instead of obsolete
5767         alias modeline.
5769 2012-06-02  Stefan Merten  <smerten@oekonux.de>
5771         * textmodes/rst.el: Always require `cl'.
5772         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5774 2012-06-02  Chong Yidong  <cyd@gnu.org>
5776         * image.el (imagemagick-enabled-types): Rename from
5777         imagemagick-types-enable.  Add many more types.
5778         (imagemagick-types-inhibit): Change default to nil.
5779         (imagemagick-filter-types): Caller changed.
5781 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5783         * emacs-lisp/cl-macs.el: Use backquotes.
5784         (cl-transform-function-property): Use eval-and-compile rather than
5785         abusing `require'.
5786         (defstruct): Use declare-function instead of with-no-warnings.
5788         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5789         (byte-compile-output-docform): Re-add the print-circle bindings.
5790         (byte-compile-fix-header): Use #$ just because it's shorter.
5791         (byte-compile-output-file-form): Remove defun/defmacro.
5793 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
5795         * simple.el (choose-completion): Remove now obsolete binding for
5796         owindow.
5798 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
5800         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5801         in order to avoid "Stack overflow in regexp matcher".
5803 2012-05-31  Glenn Morris  <rgm@gnu.org>
5805         * image.el: For clarity, call imagemagick-register-types at
5806         top-level, rather than relying on a custom :initialize.
5807         (imagemagick-types-enable): New option.  (Bug#11557)
5808         (imagemagick-filter-types): New function.  (Bug#7406)
5809         (imagemagick-register-types): Use imagemagick-filter-types.
5810         If disabling support, remove elements altogether rather
5811         than using an impossible regexp.
5812         (imagemagick-types-inhibit): Give it the default init function.
5814 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5816         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5817         Handle arbitrary file name lengths (Bug#11585).
5819 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
5821         * desktop.el (desktop-read): Clear previous and next buffers for
5822         all windows and bury *Messages* buffer (bug#11556).
5824 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5826         Add `declare' for `defun'.  Align `defmacro's with it.
5827         * emacs-lisp/easy-mmode.el (define-minor-mode)
5828         (define-globalized-minor-mode): Don't autoload the var definitions.
5829         * emacs-lisp/byte-run.el: Use lexical-binding.
5830         (defun-declarations-alist, macro-declarations-alist): New vars.
5831         (defmacro, defun): Use them.
5832         (make-obsolete, define-obsolete-function-alias)
5833         (make-obsolete-variable, define-obsolete-variable-alias):
5834         Use `declare'.
5835         (macro-declaration-function): Mark obsolete.
5836         * emacs-lisp/autoload.el: Use lexical-binding.
5837         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
5839 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5841         * textmodes/ispell.el (ispell-with-no-warnings):
5842         Define as a macro.
5843         (ispell-kill-ispell, ispell-change-dictionary):
5844         Use `called-interactively-p' for Emacs instead of obsolete
5845         `interactive-p'.
5847 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5849         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5850         (macro-declaration-function): Move var from C code.
5851         (macro-declaration-function): Define function with defalias.
5852         * emacs-lisp/macroexp.el (macroexpand-all-1):
5853         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5854         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5855         defun/defmacro any more.
5856         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5857         Provide fallback for unknown arglist.
5858         (byte-compile-arglist-warn): Change calling convention.
5859         (byte-compile-output-file-form): Move print-vars binding.
5860         (byte-compile-output-docform): Simplify accordingly.
5861         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5862         (byte-compile-defmacro-declaration): Remove.
5863         (byte-compile-file-form-defmumble): Generalize to defalias.
5864         (byte-compile-output-as-comment): Return byte-positions.
5865         Simplify callers accordingly.
5866         (byte-compile-lambda): Use `assert'.
5867         (byte-compile-defun, byte-compile-defmacro): Remove.
5868         (byte-compile-file-form-defalias):
5869         Use byte-compile-file-form-defmumble.
5870         (byte-compile-defalias-warn): Remove.
5872 2012-05-29  Stefan Merten  <smerten@oekonux.de>
5874         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5875         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
5877         (rst-mode-abbrev-table): Merge definition.
5878         (rst-mode): Make sure `font-lock-defaults' is buffer local.
5879         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5881 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
5883         * calendar/icalendar.el
5884         (icalendar-export-region): Export UID properly.
5886 2012-05-29  Leo Liu  <sdl.web@gmail.com>
5887         * calendar/icalendar.el (icalendar-import-format):
5888         Add `icalendar-import-format-uid' (Bug#11525).
5889         (icalendar-import-format-uid): New.
5890         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5891         Export UID.
5893 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5895         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5896         different alternative patterns.
5897         (pcase-codegen): Be more careful to preserve identity.
5898         (pcase--u1): Don't forget to mark vars as used.
5900         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5901         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5902         (byte-compile-from-buffer): ...rather than here.
5904         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5905         functions from byte-compile-function-environment.
5907 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
5909         * window.el (window-deletable-p): Avoid deleting the root window
5910         of a frame with an active minibuffer.
5912 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
5914         * simple.el (choose-completion): Use quit-window (Bug#11567).
5916 2012-05-29  Chong Yidong  <cyd@gnu.org>
5918         * whitespace.el (whitespace-cleanup): Fix usage of
5919         whitespace-empty-at-bob-regexp (Bug#11492).
5921 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5923         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5924         revert (Bug#11488).
5926 2012-05-29  Juri Linkov  <juri@jurta.org>
5928         * isearch.el (isearch-mode-map): Bind `M-s _' to
5929         `isearch-toggle-symbol'.  Bind `M-s c' to
5930         `isearch-toggle-case-fold'.
5931         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5932         (isearch-forward): Add `M-s _' to the docstring.
5933         (isearch-forward-symbol, isearch-toggle-case-fold)
5934         (isearch-symbol-regexp): New functions.  (Bug#11381)
5936 2012-05-29  Juri Linkov  <juri@jurta.org>
5938         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
5939         (isearch-occur, isearch-search-and-update): If `isearch-word' is
5940         a function, call it to get the regexp.
5941         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5942         property `isearch-message-prefix' instead of the string "word ".
5943         (isearch-search-fun-default): For the case of `isearch-word',
5944         return a lambda that calls re-search-forward/re-search-backward
5945         with a regexp returned by `word-search-regexp' or by the function
5946         in `isearch-word'.
5948 2012-05-29  Juri Linkov  <juri@jurta.org>
5950         * isearch.el (isearch-search-fun-default): New function.
5951         (isearch-search-fun): Move default part to the new function
5952         `isearch-search-fun-default'.
5953         (isearch-search-fun-function): Set the default value to
5954         `isearch-search-fun-default'.  (Bug#11381)
5956         * comint.el (comint-history-isearch-end):
5957         Use `isearch-search-fun-default'.
5958         (comint-history-isearch-search): Use `isearch-search-fun-default'
5959         and remove spacial case for `isearch-word'.
5960         (comint-history-isearch-wrap): Remove spacial case for
5961         `isearch-word'.
5963         * hexl.el (hexl-isearch-search-function):
5964         Use `isearch-search-fun-default'.
5966         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5967         Use `word-search-regexp' for `isearch-word'.
5969         * misearch.el (multi-isearch-search-fun):
5970         Use `isearch-search-fun-default'.
5972         * simple.el (minibuffer-history-isearch-search):
5973         Use `isearch-search-fun-default' and remove spacial case for
5974         `isearch-word'.
5975         (minibuffer-history-isearch-wrap): Remove spacial case for
5976         `isearch-word'.
5978         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5979         Remove spacial case for `isearch-word'.
5980         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5982 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5984         Decrease XEmacs incompatibilities.
5985         * textmodes/flyspell.el (flyspell-check-pre-word-p):
5986         Use `string-match'.
5987         (flyspell-delete-region-overlays): Use alternative definition for
5988         XEmacs.
5989         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5990         (flyspell-word): Use `process-kill-without-query' if XEmacs.
5991         (flyspell-mode-on): Use `interactive-p' if XEmacs.
5992         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5993         `define-obsolete-face-alias' under XEmacs, but old method.
5995         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5996         `with-no-warnings' definition or Emacs alias.
5997         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5998         (ispell-word): Do not use `region-p' if XEmacs.
6000 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6002         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6003         Check for `ispell-dictionary-base-alist' instead of full
6004         `ispell-dictionary-alist'.
6005         (ispell-init-process): Show spellchecker when starting new Ispell
6006         process.
6008 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6010         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6011         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6013 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
6015         * version.el (motif-version-string, gtk-version-string)
6016         (ns-version-string): Declare.
6018 2012-05-27  Juri Linkov  <juri@jurta.org>
6020         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6021         after the `eval-defun-1' specialcaseing
6022         like in `edebug-eval-defun' (bug#10181).
6024         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6025         like in `eval-defun-1'.
6027 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
6029         * mail/sendmail.el (mail-yank-region):
6030         Recognize rmail-yank-current-message in addition to insert-buffer.
6031         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6032         a *mail* buffer created through rmail-start-mail with sendmail as
6033         mail-user-agent.
6035 2012-05-27  Chong Yidong  <cyd@gnu.org>
6037         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6038         Default to 256 (Bug#11267).
6040         * help.el (describe-mode): Doc fix.
6042 2012-05-26  Glenn Morris  <rgm@gnu.org>
6044         * w32-fns.el (w32-init-info): Remove.
6045         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6047         * info.el (info-initialize): For self-contained NS builds, put the
6048         included info/ directory at the front.  (Bug#2791)
6050         * paths.el (Info-default-directory-list): Make it a defcustom,
6051         mainly so that we can use custom-initialize-delay.
6053 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6055         * subr.el (buffer-has-markers-at): Mark obsolete.
6057         * subr.el (lambda): Use declare.
6059         * emacs-lisp/lisp-mode.el (lambda):
6060         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6062 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6064         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
6066 2012-05-26  Glenn Morris  <rgm@gnu.org>
6068         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6070 2012-05-25  Glenn Morris  <rgm@gnu.org>
6072         * paths.el: Remove no-byte-compile.
6073         * loadup.el: No need to load paths.el uncompiled.
6075         * image.el (imagemagick-types-inhibit): Doc fix.
6077         * version.el: Remove no-byte-compile and associated formatting.
6078         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
6079         is ancient code from when there was an "inc-vers.el".
6081 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6083         * progmodes/gdb-mi.el: Minor style changes.
6084         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6085         Turn into minor modes.
6086         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6087         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6088         (gdb-shell): Remove unneeded let-binding.
6089         (gdb-get-many-fields): Eliminate O(n²) behavior.
6091 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
6093         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6094         platforms that don't link in fontset.c.
6096 2012-05-25  Juri Linkov  <juri@jurta.org>
6098         Use the same diff color scheme as in modern VCSes (bug#10181).
6100         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6101         to avoid confusion with `diff-added' that now uses green colors.
6102         (diff-removed): Use shades of red.
6103         (diff-added): Use shades of green.
6104         (diff-changed): Leave just the yellow color.
6105         (diff-use-changed-face): New variable.
6106         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6107         how to highlight context diff changes.
6108         (diff-refine-change): Use shades of yellow.
6109         (diff-refine-removed): New face that uses shades of red.
6110         (diff-refine-added): New face that uses shades of green.
6111         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6112         `diff-refine-removed' in the call to `smerge-refine-subst'
6113         depending on the value of `diff-use-changed-face'.
6115         * vc/smerge-mode.el (smerge-mine): Use shades of red.
6116         (smerge-other): Use shades of green.
6117         (smerge-base): Use shades of yellow.
6118         (smerge-refined-change): Empty face.
6119         (smerge-refined-removed): New face that uses shades of red.
6120         (smerge-refined-added): New face that uses shades of green.
6121         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
6122         args `props-r' and `props-a', and use them.  Doc fix.
6123         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6124         on its value use different faces `smerge-refined-change',
6125         `smerge-refined-removed', `smerge-refined-added' in the call to
6126         `smerge-refine-subst'.
6128         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6129         Add face condition `min-colors 88' with shades of red.
6130         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6131         `min-colors 88' with shades of green.
6132         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6133         `min-colors 88' with shades of yellow.
6135 2012-05-24  Glenn Morris  <rgm@gnu.org>
6137         * paths.el (prune-directory-list, remote-shell-program): Move to...
6138         * files.el (prune-directory-list, remote-shell-program): ...here.
6139         For the latter, delay initialization, prefer ssh, just search PATH.
6141         * paths.el (term-file-prefix): Move to faces.el (the only user).
6142         * faces.el (term-file-prefix): Move here, make it a defcustom.
6144         * paths.el (news-directory, news-path, news-inews-program):
6145         Move to gnus/nnspool.el.
6147         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6149         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6150         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6151         Make the latter a defcustom, with a delayed initialization.
6153         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6154         These were deleted from Gnus itself late 2010.
6156 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
6158         * progmodes/which-func.el (which-func-ff-hook):
6159         Check against user-error, not error.
6161         * emacs-lisp/edebug.el (top): Do not load or set up loading of
6162         cl-specs.el, which no longer exists.
6164 2012-05-22  Glenn Morris  <rgm@gnu.org>
6166         * info.el (info-emacs-bug): New command.
6167         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6168         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6170 2012-05-21  Glenn Morris  <rgm@gnu.org>
6172         * makefile.w32-in (update-subdirs-SH):
6173         * Makefile.in (update-subdirs): Update for moved update-subdirs.
6175 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6177         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6179         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6180         Simplify Maven regexp, and make sure the file can't start with a space
6181         (bug#11517).
6183 2012-05-21  Glenn Morris  <rgm@gnu.org>
6185         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6186         Scrap superfluous subshells.
6188 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6190         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6191         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6193 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
6195         * calc/calc.el (calc-ensure-consistent-units): New variable.
6197         * calc/calc-units.el (math-consistent-units-p)
6198         (math-check-unit-consistency): New functions.
6199         (calc-quick-units, calc-convert-units):
6200         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6201         is non-nil.
6202         (calc-extract-units): Fix typo.
6204 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6206         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6208         * textmodes/flyspell.el: Commenting style, plus code simplifications.
6209         (flyspell-default-deplacement-commands): Don't spell check after
6210         repeated window/frame switches (e.g. triggered by mouse-movement).
6211         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6212         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6213         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6214         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6215         Remove unused vars.
6216         (flyspell-get-casechars, flyspell-get-not-casechars):
6217         Simplify; Don't bother removing a ] just to add it back.
6218         * textmodes/ispell.el (ispell-program-name): Use executable-find.
6220 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6222         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6223         New functions.
6224         (math-function-table): Add support for more C functions.
6226 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6228         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6229         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6230         Protect delay handling for otherchars against empty otherchars.
6232 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6235         their respective macro declarations.
6236         * skeleton.el (define-skeleton):
6237         * progmodes/compile.el (define-compilation-mode):
6238         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6239         (define-ibuffer-filter):
6240         * emacs-lisp/generic.el (define-generic-mode):
6241         * emacs-lisp/easy-mmode.el (define-minor-mode)
6242         (define-globalized-minor-mode):
6243         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6244         * emacs-lisp/byte-run.el (defsubst):
6245         * custom.el (deftheme): Add doc-string metadata.
6247 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6249         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6251 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6253         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6255         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6256         * emacs-lisp/cl-macs.el: Idem.
6257         * emacs-lisp/cl-specs.el: Remove.
6259 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6261         Minor renaming of internal CL functions and variables.
6262         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6263         (cl--position): Rename from cl-position.
6264         (cl--delete-duplicates): Rename from cl-delete-duplicates.
6265         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6266         (cl--random-state): Rename from *random-state*.
6268 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6270         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6271         parens around the arg list (bug#11499).
6273 2012-05-17  Juri Linkov  <juri@jurta.org>
6275         * isearch.el (word-search-regexp, word-search-backward)
6276         (word-search-forward, word-search-backward-lax)
6277         (word-search-forward-lax): Move functions from search.c
6278         (bug#10145, bug#11381).
6280 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6282         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6283         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6284         Delay for otherchars as for normal word components.
6286 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6288         * minibuffer.el (completion--sifn-requote): Fix last change.
6289         (minibuffer-local-must-match-filename-map):
6290         Move define-obsolete-variable-alias before its var.
6292 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6294         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6296         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6297         behavior.
6298         (completion--string-equal-p): New function.
6299         (completion--twq-all): Use it to get better assertion failure data.
6301         Only handle ".." and '..' quoting in shell-mode (bug#11466).
6302         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6303         (shell--requote-argument): New functions.
6304         (shell-completion-vars): Use them.
6305         (shell--parse-pcomplete-arguments): Rename from
6306         shell-parse-pcomplete-arguments.
6307         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
6308         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6309         Obey comint-file-name-quote-list.
6311         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6312         (smie-indent-keyword): Use it.
6314 2012-05-14  Stefan Merten  <smerten@oekonux.de>
6316         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6318 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6320         * net/rlogin.el (rlogin-mode-map): Fix last change.
6322 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
6324         * mail/smtpmail.el (smtpmail-send-command): Send the command and
6325         the following \r\n using a single `process-send-string', since the
6326         Lotus SMTP server refuses to accept any commands if they are sent
6327         with two `process-send-string's (Bug#11444).
6329 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6331         * shell.el (shell-parse-pcomplete-arguments):
6332         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6334 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6336         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6337         (image-transform-scale, image-transform-right-angle-fudge): New vars.
6338         (image-transform-width, image-transform-fit-width): New functions.
6339         (image-transform-properties): Use them.
6340         (image-transform-check-size): New function.
6341         (image-toggle-display-image): Use it (for testing).
6342         (image-transform-set-rotation): Reduce angle mod 360.
6343         Delete obsolete comment.
6345 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6347         * image-mode.el: Fix scaling (bug#11399).
6348         (image-transform-resize): Doc fix.
6349         (image-transform-properties): Default scale is 1 and height should
6350         be an integer.
6352 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6354         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6355         than hard-coding `car', to fix misbehavior when moving forward.
6357 2012-05-13  Chong Yidong  <cyd@gnu.org>
6359         * emacs-lisp/tabulated-list.el (tabulated-list-format)
6360         (tabulated-list-entries, tabulated-list-padding)
6361         (tabulated-list-sort-key): Make permanent-local.
6363         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6364         (electric-buffer-list): Put electric buffer menu
6365         command descriptions in this docstring, instead of the docstring
6366         of electric-buffer-menu-mode.  Code cleanups.
6367         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
6368         Electric-buffer-menu-mode.
6369         (electric-buffer-update-highlight): Minor code cleanup.
6371 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
6373         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6374         (Bug#11447)
6376 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6378         Move define-obsolete-variable-alias before the var's definition.
6379         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6380         * tooltip.el (tooltip-hook):
6381         * textmodes/reftex-toc.el (reftex-toc-map):
6382         * textmodes/reftex-sel.el (reftex-select-label-map)
6383         (reftex-select-bib-map):
6384         * textmodes/reftex-index.el (reftex-index-map)
6385         (reftex-index-phrases-map):
6386         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6387         * progmodes/meta-mode.el (meta-mode-map):
6388         * novice.el (disabled-command-hook):
6389         * loadhist.el (unload-hook-features-list):
6390         * frame.el (blink-cursor):
6391         * files.el (find-file-not-found-hooks, write-file-hooks)
6392         (write-contents-hooks):
6393         * emulation/tpu-edt.el (GOLD-map):
6394         * emacs-lock.el (emacs-lock-from-exiting):
6395         * emacs-lisp/generic.el (generic-font-lock-defaults):
6396         * emacs-lisp/chart.el (chart-map):
6397         * dos-fns.el (register-name-alist):
6398         * dired-x.el (dired-omit-files-p):
6399         * desktop.el (desktop-enable):
6400         * cus-edit.el (custom-mode-hook):
6401         * buff-menu.el (buffer-menu-mode-hook):
6402         * bookmark.el (bookmark-read-annotation-text-func)
6403         (bookmark-exit-hooks):
6404         * allout.el (allout-mode-deactivate-hook)
6405         (allout-exposure-change-hook, allout-structure-added-hook)
6406         (allout-structure-deleted-hook, allout-structure-shifted-hook):
6407         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6408         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6409         comes before the corresponding variable's definition.
6411 2012-05-12  Chong Yidong  <cyd@gnu.org>
6413         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6414         (Buffer-menu-mouse-select): Restore function (Bug#11459).
6415         (Buffer-menu-mode-map): Bind it.
6416         (Buffer-menu--pretty-name): Add a mouse-face property.
6418 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6420         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
6421         (prolog-upper-case-string, prolog-lower-case-string)
6422         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6423         (prolog-use-smie, prolog-smie-grammar): New vars.
6424         (prolog-smie-forward-token, prolog-smie-backward-token)
6425         (prolog-smie-rules): New funs.
6426         (prolog-comment-indent): Remove.
6427         (prolog-mode-variables): Use default comment indentation instead.
6428         Setup SMIE.
6429         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6430         (prolog-mode): Don't call them any more.
6431         (prolog-electric-colon, prolog-electric-dash)
6432         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6434         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6436         * minibuffer.el (completion--twq-all): Again, allow case differences.
6438         * term.el: Move keymap initialization code to be more idiomatic.
6439         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6440         (term-terminal-menu): Move initialization into declaration.
6441         (term-escape-char): Let the user set it in her .emacs.
6443         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6444         Provide SMIE-based indentation (not enabled by default yet).
6445         (sh-mode-map): Don't bind electric keys.
6446         Use electric-pair-mode instead of skeleton-pair.
6447         (sh-assignment-regexp): Fit within 80 columns.
6448         (sh-indent-supported): Specify actual shell name instead of boolean.
6449         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6450         (sh-maybe-here-document): Use it.  Make obsolete.
6451         (sh-electric-here-document-mode) New minor mode.
6452         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
6453         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6454         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6455         (sh-smie-rc-grammar, sh-use-smie): New vars.
6456         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6457         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6458         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6459         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6460         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6461         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6462         (sh-set-shell): Use smie-setup if requested.
6464         * term.el (term-set-escape-char): Properly set term-escape-char.
6465         See http://stackoverflow.com/questions/10524656.
6467 2012-05-10  Chong Yidong  <cyd@gnu.org>
6469         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6470         Use url-generic-parse-url, and handle host names and Windows
6471         filenames properly.
6472         (ffap-url-unwrap-remote): Use url-generic-parse-url.
6473         (ffap-url-unwrap-remote): Accept list values, specifying a list of
6474         URL schemes to work on.
6475         (ffap--toggle-read-only): New function.
6476         (ffap-read-only, ffap-read-only-other-window)
6477         (ffap-read-only-other-frame): Use it.
6478         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6479         necessary for ffap-url-unwrap-remote.
6481 2012-05-10  Dave Abrahams  <dave@boostpro.com>
6483         * cus-start.el (create-lockfiles): Add it.
6485 2012-05-09  Chong Yidong  <cyd@gnu.org>
6487         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6488         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6490 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6492         * shell.el (shell-completion-vars): Fix last change (bug#11348).
6494 2012-05-09  Chong Yidong  <cyd@gnu.org>
6496         * ansi-color.el (ansi-color-process-output): Check for validity of
6497         comint-last-output-start before using it.  This avoids a bad
6498         interaction with gdb-mi's input/output buffer.
6500 2012-05-09  Glenn Morris  <rgm@gnu.org>
6502         * files.el (dir-locals-read-from-file):
6503         Mention dir-locals in any error message.
6505 2012-05-09  Chong Yidong  <cyd@gnu.org>
6507         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6508         package (Bug#11410).
6510         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6511         variables into description.
6513 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6515         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6516         shell-delimiter-argument-list (bug#11348).
6517         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6519 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
6521         * textmodes/rst.el: Silence byte-compiler warnings.
6522         (rst-re-alist, rst-reset-section-caches): Move around.
6523         (rst-re): Use `characterp', not `char-valid-p'.
6524         (font-lock-beg, font-lock-end): Declare.
6526         * progmodes/idlw-shell.el (specs): Remove reference to deleted
6527         variable `idlwave-shell-activate-alt-keybindings' and simplify.
6529         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6531 2012-05-08  Glenn Morris  <rgm@gnu.org>
6533         * files.el (auto-mode-alist): Treat ".make" like ".mk".
6535 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6537         * vc/log-edit.el: Add GNU coding standards highlighting.
6538         (log-edit-font-lock-gnu-style)
6539         (log-edit-font-lock-gnu-keywords): New vars.
6540         (log-edit-font-lock-keywords): New fun.
6541         (log-edit-mode): Don't fold case in font-lock.
6542         (log-edit-font-lock-keywords): Do not assume case-folding.
6544         * imenu.el: Misc cleanup.  Make docstrings out of comments.
6545         Use lexical-binding.
6546         (imenu--index-alist, imenu--last-menubar-index-alist)
6547         (imenu-menubar-modified-tick): Use defvar-local.
6548         (imenu--split-menu): Remove unused var.
6549         (imenu--cleanup-seen): Declare as global.
6550         (imenu--cleanup): Use dolist.
6552         * subr.el (defvar-local): Add debug spec and doc-string position.
6554 2012-05-08  Glenn Morris  <rgm@gnu.org>
6556         * language/burmese.el, language/cham.el, language/czech.el:
6557         * language/english.el, language/georgian.el, language/greek.el:
6558         * language/japanese.el, language/khmer.el, language/korean.el:
6559         * language/lao.el, language/misc-lang.el, language/romanian.el:
6560         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6561         * language/thai.el, language/utf-8-lang.el:
6562         Remove no-byte-compile setting.
6564         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
6566 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6568         * progmodes/make-mode.el (makefile-browse):
6569         Remove unnecessary interactive.  (Bug#11324)
6571 2012-05-07  Glenn Morris  <rgm@gnu.org>
6573         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6575         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6577 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6579         * loadup.el: Preload newcomment.el.
6580         * newcomment.el: Move autoload-only code to toplevel.
6582         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6583         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6584         Handle new :right-align column property.
6585         (tabulated-list-print-col): Idem, plus use `display' text-property to
6586         try and preserve alignment for variable pitch fonts.
6588 2012-05-07  Chong Yidong  <cyd@gnu.org>
6590         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6591         (tabulated-list-use-header-line): New var.
6592         (tabulated-list-init-header): Use it.
6593         (tabulated-list-print-fake-header): New function.
6594         (tabulated-list-print): Use it.
6595         (tabulated-list-sort-button-map): Add non-header-line commands.
6596         (tabulated-list-init-header): Add column name property to basic
6597         labels as well.
6598         (tabulated-list-col-sort): Handle non-header-line button case.
6599         (tabulated-list--sort-by-column-name): Fix a corner case.
6601         * buff-menu.el (list-buffers--refresh):
6602         Handle Buffer-menu-use-header-line.
6604 2012-05-06  Chong Yidong  <cyd@gnu.org>
6606         * buff-menu.el: Convert to Tabulated List mode.
6607         (Buffer-menu-buffer+size-width): Make obsolete.
6608         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6609         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6610         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
6611         documentation into docstring of buffer-menu.
6612         (Buffer-menu-toggle-files-only): Add an informative message.
6613         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6614         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6615         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6616         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6617         (Buffer-menu-execute, Buffer-menu-select)
6618         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6619         (Buffer-menu-bury): Use Tabulated List machinery.
6620         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6621         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6622         Delete.
6623         (list-buffers--refresh): New function.
6624         (list-buffers-noselect): Use it.
6625         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6626         (Buffer-menu--pretty-file-name): New helper functions.
6628         * loadup.el: Preload tabulated-list.
6630         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6631         tabulated-list-sort-column.
6632         (tabulated-list-init-header): Add the initial aligning space even
6633         if tabulated-list-padding is zero.
6635 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
6637         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6638         whose cdr is not a cons cell correctly (bug#11038).
6640 2012-05-06  Chong Yidong  <cyd@gnu.org>
6642         * emacs-lisp/tabulated-list.el (tabulated-list-format):
6643         Accept additional plist in column descriptors.
6644         (tabulated-list-init-header): Obey it.
6645         (tabulated-list-get-entry): New function.
6646         (tabulated-list-put-tag): Use it.  Use string-width instead of
6647         length.
6648         (tabulated-list--column-number): New function.
6649         (tabulated-list-print): Use it.
6650         (tabulated-list-print-col): New function.
6651         Set `tabulated-list-column-name' property on each column's text.
6652         (tabulated-list-print-entry): Use it.
6653         (tabulated-list-delete-entry, tabulated-list-set-col):
6654         New functions.
6655         (tabulated-list-sort-column): New command (Bug#11337).
6657         * buff-menu.el (list-buffers): Move C-x C-b binding from
6658         buff-menu.el to bindings.el.
6660         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6661         :advertised-binding feature.
6663 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
6665         * progmodes/compile.el (compilation-internal-error-properties):
6666         Calculate start position correctly when end-col is set but
6667         end-line is not (Bug#11382).
6669 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
6671         * man.el (Man-unindent): Use text-property-default-nonsticky to
6672         prevent untabify from inheriting face properties (Bug#11408).
6674 2012-05-05  Stefan Merten  <smerten@oekonux.de>
6676         * textmodes/rst.el: Major merge with upstream development up to
6677         Docutils SVN r7399 / rst.el V1.2.1.
6679         Clarify maintainership and authors.
6681         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6682         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6683         (rst-official-version, rst-official-cvs-rev, rst-version)
6684         (rst-package-emacs-version-alist): New functions and variables
6685         for version information.
6687         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6688         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6689         (rst-mode-syntax-table, rst-mode): New and corrected functions
6690         and variables representing reStructuredText features.
6692         (rst-re): New function for reStructuredText regexes.  Use in
6693         many places.
6695         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6696         (rst-mode-map): Rebind keys.
6698         (rst-mode-lazy, rst-font-lock-keywords)
6699         (rst-font-lock-extend-region)
6700         (rst-font-lock-extend-region-internal)
6701         (rst-font-lock-extend-region-extend)
6702         (rst-font-lock-find-unindented-line-limit)
6703         (rst-font-lock-find-unindented-line-match)
6704         (rst-adornment-level, rst-font-lock-adornment-level)
6705         (rst-font-lock-adornment-match)
6706         (rst-font-lock-handle-adornment-pre-match-form)
6707         (rst-font-lock-handle-adornment-matcher): Major revision of
6708         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
6710         (rst-preferred-adornments, rst-adjust-hook)
6711         (rst-new-adornment-down, rst-preferred-bullets)
6712         (rst-preferred-bullets, rst-indent, rst-indent-width)
6713         (rst-indent-field, rst-indent-literal-normal)
6714         (rst-indent-literal-minimized, rst-indent-comment): Change,
6715         extend and improve customization.
6717         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6718         (rst-normalize-cursor-position, rst-get-decoration)
6719         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6720         (rst-rstrip, rst-toc-insert-find-delete-contents)
6721         (rst-shift-fill-region, rst-compute-bullet-tabs)
6722         (rst-debug-print-tabs, rst-debug-mark-found)
6723         (rst-shift-region-guts, rst-shift-region-right)
6724         (rst-shift-region-left, rst-use-char-classes)
6725         (rst-font-lock-keywords-function)
6726         (rst-font-lock-indentation-point)
6727         (rst-font-lock-find-unindented-line-begin)
6728         (rst-font-lock-find-unindented-line-end)
6729         (rst-font-lock-find-unindented-line)
6730         (rst-font-lock-adornment-point, rst-font-lock-level)
6731         (rst-adornment-level-alist): Remove functions and variables.
6733         (rst-compare-adornments, rst-get-adornment-match)
6734         (rst-suggest-new-adornment, rst-get-adornments-around)
6735         (rst-adornment-complete-p, rst-get-next-adornment)
6736         (rst-adjust-adornment, rst-display-adornments-hierarchy)
6737         (rst-straighten-adornments): Standardize function names to
6738         use "adornment" instead of "decoration".  Correct callers.
6739         Similar standardizing in many places.
6741         (rst-update-section, rst-adjust, rst-promote-region)
6742         (rst-enumerate-region, rst-bullet-list-region)
6743         (rst-repeat-last-character): Correct use of `interactive'.
6745         (rst-classify-adornment, rst-find-all-adornments)
6746         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6747         (rst-find-leftmost-column, rst-repeat-last-character):
6748         Refactor functions.
6750         (rst-find-title-line, rst-reset-section-caches)
6751         (rst-get-adornments-around, rst-adjust-adornment-work)
6752         (rst-arabic-to-roman, rst-roman-to-arabic)
6753         (rst-insert-list-pos, rst-insert-list-new-item)
6754         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6755         New functions.
6757         (rst-all-sections, rst-section-hierarchy)
6758         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6759         New variables.
6761         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6762         configuration instead of only buffer.  Change where necessary.
6764         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6765         (rst-shift-region, rst-adaptive-fill): New functions for
6766         indentation and filling.
6768         (rst-comment-line-break, rst-comment-indent)
6769         (rst-comment-insert-comment, rst-comment-region)
6770         (rst-uncomment-region): New functions for handling comments.
6772         (rst-compile): Quote shell arguments.
6774         (rst-compile-pdf-preview, rst-compile-slides-preview):
6775         Delete temporary files after use.
6777 2012-05-05  Glenn Morris  <rgm@gnu.org>
6779         * calendar/cal-html.el: Optionally include holidays in the output.
6780         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6781         (cal-html-holidays): New option.
6782         (cal-html-css-default): Add holiday entry.
6783         (holiday-in-range): Autoload it.
6784         (cal-html-htmlify-entry): Add optional class argument.
6785         (cal-html-htmlify-list): Add optional holidays argument.
6786         (cal-html-insert-agenda-days): Include holidays in the output.
6787         (cal-html-one-month): Maybe include holidays.
6789         * calendar/holidays.el (holiday-in-range):
6790         Move here from cal-tex-list-holidays.
6791         * calendar/cal-tex.el (cal-tex-list-holidays):
6792         Make it an obsolete alias for holiday-in-range.  Update all callers.
6794 2012-05-05  Chong Yidong  <cyd@gnu.org>
6796         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6797         Nextstep.
6799 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
6801         * files.el (file-auto-mode-skip): New var.
6802         (set-auto-mode-1): Use it.
6804 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6806         * repeat.el: Use lexical-binding.
6807         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6808         (repeat-undo-count): Remove.
6809         (repeat):
6810         * progmodes/octave-mod.el (octave-abbrev-start):
6811         * progmodes/f90.el (f90-abbrev-start):
6812         * face-remap.el (text-scale-adjust):
6813         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6815         * emacs-lisp/pcase.el (pcase--let*): New function.
6816         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6817         a bit more.
6818         (pcase--split-pred): Be more clever about ruling out overlap between
6819         a predicate and some constant pattern.
6820         (pcase--q1): Use `null' instead of (eq foo nil).
6822         * subr.el (setq-local, defvar-local): New macros.
6823         (kbd): Redefine as an alias.
6824         (with-selected-window): Leave unrelated frames alone.
6825         (set-temporary-overlay-map): New function.
6827 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6829         * subr.el (user-error): New function.
6830         * window.el (switch-to-buffer):
6831         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6832         (smerge-match-conflict):
6833         * simple.el (previous-matching-history-element)
6834         (next-matching-history-element, goto-history-element, undo-more)
6835         (undo-start):
6836         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6837         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6838         (next-file, tags-loop-scan, list-tags, complete-tag):
6839         * progmodes/compile.el (compilation-loop):
6840         * mouse.el (mouse-minibuffer-check):
6841         * man.el (Man-bgproc-sentinel, Man-goto-page):
6842         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6843         (Info-history-forward, Info-follow-reference, Info-menu)
6844         (Info-extract-menu-item, Info-extract-menu-counting)
6845         (Info-forward-node, Info-backward-node, Info-next-menu-item)
6846         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6847         (Info-next-reference, Info-prev-reference, Info-index)
6848         (Info-index-next, Info-follow-nearest-node)
6849         (Info-copy-current-node-name):
6850         * imenu.el (imenu--make-index-alist)
6851         (imenu-default-create-index-function, imenu-add-to-menubar):
6852         * files.el (basic-save-buffer, recover-file):
6853         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6854         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6855         (checkdoc-message-text, checkdoc-defun):
6856         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6857         * cus-edit.el (customize-changed-options, customize-rogue)
6858         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6859         (custom-variable-mark-to-reset-standard)
6860         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6861         (custom-file):
6862         * completion.el (check-completion-length):
6863         * comint.el (comint-search-arg)
6864         (comint-previous-matching-input-string-position)
6865         (comint-previous-matching-input)
6866         (comint-replace-by-expanded-history-before-point, comint-send-input)
6867         (comint-copy-old-input, comint-backward-matching-input)
6868         (comint-goto-process-mark, comint-set-process-mark):
6869         * calendar/calendar.el (calendar-cursor-to-date): Use it.
6870         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6872 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6874         * dabbrev.el (dabbrev--ignore-case-p): New function.
6875         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6876         Use it.
6878         * files.el (automount-dir-prefix): Mark as obsolete.
6880 2012-05-04  Glenn Morris  <rgm@gnu.org>
6882         * patcomp.el, play/bruce.el: Move to obsolete/.
6884 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
6886         Fix minor Y10k bugs.
6887         * arc-mode.el (archive-unixdate):
6888         * autoinsert.el (auto-insert-alist):
6889         * calc/calc-forms.el (math-this-year):
6890         * emacs-lisp/copyright.el (copyright-current-year)
6891         (copyright-update-year, copyright):
6892         * tar-mode.el (tar-clip-time-string):
6893         * time.el (display-time-update):
6894         Don't assume years have 4 digits.
6896 2012-05-04  Chong Yidong  <cyd@gnu.org>
6898         * dos-w32.el (file-name-buffer-file-type-alist)
6899         (direct-print-region-use-command-dot-com):
6900         * ffap.el (ffap-menu-regexp):
6901         * find-file.el (ff-special-constructs):
6902         * follow.el (follow-debug):
6903         * forms.el (forms--debug):
6904         * iswitchb.el (iswitchb-all-frames):
6905         * ido.el (ido-all-frames):
6906         * emacs-lisp/timer.el (timer-max-repeats):
6907         * mail/feedmail.el (feedmail-mail-send-hook)
6908         (feedmail-mail-send-hook-queued):
6909         * mail/footnote.el (footnote-signature-separator):
6910         * mail/mailabbrev.el (mail-alias-separator-string)
6911         (mail-abbrev-mode-regexp):
6912         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6913         * progmodes/idlwave.el (idlwave-libinfo-file)
6914         (idlwave-default-completion-case-is-down)
6915         (idlwave-library-routines): Convert defvars to defcustoms.
6917         * mail/rmail.el (rmail-decode-mime-charset):
6918         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6919         (idlwave-shell-fix-inserted-breaks)
6920         (idlwave-shell-activate-alt-keybindings)
6921         (idlwave-shell-use-breakpoint-glyph):
6922         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6924 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6926         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6928 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
6930         * progmodes/verilog-mode.el (font-lock-keywords):
6931         Fix mis-highligting auto.  Reported by Craig Barner.
6932         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6933         defines from global name space. Reported by Dan Dever.
6934         (verilog-auto-reset, verilog-auto-reset-widths)
6935         (verilog-auto-tieoff): Support using unbased numbers for
6936         AUTORESET and AUTOTIEOFF.
6937         (verilog-submit-bug-report): Update variable list.
6938         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6939         parenthesis from not matching. Reported by Michael Rytting.
6940         (verilog-auto-template-lint): Fix hash error when linting modules
6941         with no used templates.
6942         (verilog-warn, verilog-warn-error)
6943         (verilog-warn-fatal): When non-interactive report multiple
6944         warnings before exiting.  Suggested by Brad Dobbie.
6945         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6946         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6947         to report unused template errors.  Reported by Brad Dobbie.
6948         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6949         nets, bug438. Reported by Vns Blore.
6950         (verilog-auto-inout-module, verilog-auto-reg)
6951         (verilog-read-decls, verilog-read-sub-decls-sig)
6952         (verilog-signals-edit-wire-reg, verilog-signals-with):
6953         Fix passing of Verilog data types in ANSI input/output ports
6954         such as "output logic" into the AUTOs. Special case "wire" and
6955         "reg" for backwards compatibility presuming Verilog 2001.
6956         (verilog-auto-ascii-enum): Add "auto enum" as alias.
6957         (verilog-preprocess): Fix replication of preprocess output.
6958         Reported by Brad Dobbie.
6959         (verilog-auto-inst-interfaced-ports):
6960         Create verilog-auto-inst-interfaced-ports, bug429.
6961         Reported by Julian Gorfajn.
6962         (verilog-after-save-font-hook)
6963         (verilog-before-save-font-hook): New variable.
6964         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6965         (verilog-save-font-mods): Wrap disabling fontification, reported
6966         by David Rogoff.
6967         (verilog-do-indent, verilog-pretty-declarations-auto)
6968         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6969         Reported by Pierre-David Pfister.
6970         (verilog-set-auto-endcomments): Fix endtask auto comments outside
6971         of class declarations, bug292.  Reported by Kevin Heilman.
6972         (verilog-read-decls): Fix 'parameter type' not appearing in
6973         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
6974         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6975         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6976         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6977         Reported by David Kravitz.
6979 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
6981         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6982         assignment with tests in ifs and for loops.
6983         (verilog-extended-complete-re, verilog-complete-reg): Change so
6984         that DPI inport functions don't look like fuction declarations.
6985         (verilog-pretty-expr): Don't line up assignment
6986         operations to the test and increment in if and for loops
6987         (verilog-extended-complete-re, verilog-complete-reg): Change so
6988         that DPI inport functions don't look like fuction declarations.
6990 2012-05-03  Kenichi Handa  <handa@m17n.org>
6992         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6993         decoding, and show a warning message without signaling an error
6994         (Bug#11282).
6996 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6998         * emacs-lisp/bytecomp.el
6999         (byte-compile-file-form-custom-declare-variable): Compile all elements,
7000         since cconv.el might have introduced :fun-body, internal-make-closure,
7001         and friends for bytecomp to handle (bug#11391).
7002         * custom.el (defcustom): Avoid ((λ ..) ..).
7004 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7006         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7008 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
7010         * notifications.el (dbus-debug):
7011         * term/linux.el (gpm-mouse-enable):
7012         * term/screen.el (xterm-register-default-colors): Declare.
7014 2012-05-02  Chong Yidong  <cyd@gnu.org>
7016         * cus-start.el (gc-cons-percentage, exec-suffixes)
7017         (dos-display-scancodes, dos-hyper-key, dos-super-key)
7018         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7019         (make-cursor-line-fully-visible, void-text-area-pointer)
7020         (font-list-limit): Add customization data.
7022         * allout.el (allout-exposure-change-functions)
7023         (allout-structure-added-functions)
7024         (allout-structure-deleted-functions)
7025         (allout-structure-shifted-functions): Rename abnormal hooks from
7026         *-hook, and convert to defcustoms.
7027         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7028         Convert to defcustoms.
7029         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7031         * allout-widgets.el: Hook callers changed.
7033 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
7035         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7036         the yanked message in preference to the default value of
7037         buffer-file-coding-system.
7039 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
7041         * window.el (display-buffer--action-function-custom-type):
7042         Fix entry.
7044 2012-05-02  Alan Mackenzie  <acm@muc.de>
7046         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7048 2012-05-01  Glenn Morris  <rgm@gnu.org>
7050         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7052         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
7054         * cus-edit.el (custom-variable-documentation): Simplify with format.
7056 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7057             Stefan Monnier  <monnier@iro.umontreal.ca>
7059         * simple.el (suggest-key-bindings, execute-extended-command):
7060         Move from keyboard.c.
7062 2012-05-01  Chong Yidong  <cyd@gnu.org>
7064         * follow.el: Eliminate advice.
7065         (set-process-filter, process-filter, sit-for): Advice deleted.
7066         (follow-mode-off-hook): Obsolete hook removed.
7067         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7068         Vars deleted.
7069         (follow-auto): Use a :set function.
7070         (follow-mode): Rewritten.  Don't advise process filters.
7071         (follow-switch-to-current-buffer-all, follow-scroll-up)
7072         (follow-scroll-down): Assume follow-mode is bound.
7073         (follow-comint-scroll-to-bottom)
7074         (follow-align-compilation-windows): New functions.
7075         (follow--window-sorter): New function.
7076         (follow-all-followers): Use it to explicitly sort windows by their
7077         positions; don't make assumptions about next-window order.
7078         (follow-windows-start-end, follow-delete-other-windows-and-split)
7079         (follow-calc-win-start): Doc fix.
7080         (follow-windows-aligned-p, follow-select-if-visible): Don't call
7081         vertical-motion unnecessarily.
7082         (follow-adjust-window): New function.
7083         (follow-post-command-hook): Use it.
7084         (follow-call-set-process-filter, follow-call-process-filter)
7085         (follow-intercept-process-output, follow-tidy-process-filter-alist)
7086         (follow-stop-intercept-process-output, follow-generic-filter):
7087         Functions deleted.
7088         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7089         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7090         New functions, replacing advice on scroll-bar-* commands.
7091         (follow-mwheel-scroll): New function (Bug#4112).
7093         * comint.el (comint-adjust-point): New function.
7094         (comint-postoutput-scroll-to-bottom): Use it.
7095         Call follow-comint-scroll-to-bottom for Follow mode buffers.
7097 2012-05-01  Glenn Morris  <rgm@gnu.org>
7099         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7100         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7101         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7102         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7103         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7104         Remove no-byte-compile setting.
7106 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7108         * minibuffer.el (completion-table-with-quoting): Fix compatibility
7109         all-completions code to not return a number in the last cdr.
7111 2012-04-30  Leo Liu  <sdl.web@gmail.com>
7113         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7114         read-only error.
7116 2012-04-29  Chong Yidong  <cyd@gnu.org>
7118         * follow.el (follow-calc-win-end): Rewrite to handle partial
7119         screen lines correctly (Bug#8390).
7120         (follow-avoid-tail-recenter): Minor cleanup.
7122 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7124         Avoid the obsolete `assoc' package.
7125         * speedbar.el (speedbar-refresh): Avoid adelete.
7126         (speedbar-file-lists): Simplify and avoid aput.
7127         * man.el (Man--sections, Man--refpages): New vars, replacing
7128         Man-sections-alist and Man-refpages-alist.
7129         (Man-build-section-alist, Man-build-references-alist):
7130         Use them; avoid aput.
7131         (Man--last-section, Man--last-refpage): New vars.
7132         (Man-follow-manual-reference): Use them.
7133         Use the `default' arg of completing-read.
7134         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
7136 2012-04-27  Chong Yidong  <cyd@gnu.org>
7138         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7140         * startup.el (x-apply-session-resources): New function.
7142         * term/ns-win.el (ns-initialize-window-system):
7143         * term/w32-win.el (w32-initialize-window-system):
7144         * term/x-win.el (x-initialize-window-system): Use it to properly
7145         set menu-bar-mode and other vars from X resources, even if the
7146         initial frame is not a window-system frame (Bug#2299).
7148         * subr.el (read-key): Avoid running filter function when setting
7149         up temporary tool bar entries (Bug#9922).
7151 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7153         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7154         (Bug#11344)
7156 2012-04-27  Chong Yidong  <cyd@gnu.org>
7158         * select.el (xselect--encode-string): New function, split from
7159         xselect-convert-to-string.
7160         (xselect-convert-to-string): Use it.
7161         (xselect-convert-to-filename, xselect-convert-to-os)
7162         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7163         returned strings are properly encoded (Bug#11315).
7165 2012-04-27  Chong Yidong  <cyd@gnu.org>
7167         * simple.el (delete-active-region): Move to killing custom group.
7169 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7171         * progmodes/which-func.el (which-func-current): Quote %
7172         characters for mode-line processing.
7174 2012-04-27  Chong Yidong  <cyd@gnu.org>
7176         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7177         reaching eob (Bug#11286).
7179 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
7181         * progmodes/gdb-mi.el (gdb-control-level): New variable.
7182         (gdb): Make it buffer-local and init to zero.
7183         (gdb-control-commands-regexp): New variable.
7184         (gdb-send): Don't wrap in "-interpreter-exec console" if
7185         gdb-control-level is positive.  Increment gdb-control-level
7186         whenever the command matches gdb-control-commands-regexp, and
7187         decrement it each time the command is "end".  (Bug#11279)
7189 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
7191         * window.el (adjust-window-trailing-edge, enlarge-window)
7192         (shrink-window, window-resize):
7193         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7194         windows (Bug#11276).
7196 2012-04-27  Chong Yidong  <cyd@gnu.org>
7198         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7199         fix "missing prefix" warning.  All callers changed.
7201 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7203         * emacs-lisp/assoc.el: Move to obsolete/.
7205 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7207         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7209         * term/ns-win.el (ns-define-service):
7210         * progmodes/pascal.el (pascal-goto-defun):
7211         * progmodes/js.el (js--read-tab):
7212         * progmodes/etags.el (tags-lazy-completion-table):
7213         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7214         * emacs-lisp/ewoc.el (ewoc--wrap):
7215         * emacs-lisp/assoc.el (aput, adelete, amake):
7216         * doc-view.el (doc-view-convert-current-doc):
7217         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7219 2012-04-26  Chong Yidong  <cyd@gnu.org>
7221         * image.el (image-type-from-buffer): Only return supported image
7222         type (Bug#9045).
7224         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7225         value, for symmetry with diff-end-of-hunk.
7226         (diff-split-hunk, diff-find-source-location)
7227         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7228         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7229         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7230         compute the relevant hunk or file properly (Bug#6005).
7231         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7233 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7235         * vc/vc-mtn.el:
7236         * vc/vc-hg.el:
7237         * vc/vc-git.el:
7238         * vc/vc-dir.el:
7239         * vc/vc-cvs.el:
7240         * vc/vc-bzr.el:
7241         * vc/vc-arch.el:
7242         * vc/vc.el: Replace lexical-let by lexical-binding.
7243         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7244         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7245         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7247 2012-04-26  Chong Yidong  <cyd@gnu.org>
7249         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7250         (diff-mode-shared-map): Bind it to / and [remap undo].
7252         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7253         (ediff-window-setup-function): Use it as the default, to set up
7254         windows based on whether the current frame is graphical (Bug#2138).
7255         (ediff-choose-window-setup-function-automatically): Make obsolete.
7257         * vc/ediff-init.el: Always define ediff-pixel-width/height.
7259 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7261         * ffap.el: Remove old code for obsolete package.
7262         (ffap-complete-as-file-p): Remove.
7264         Use completion-table-with-quoting for comint and pcomplete.
7265         * comint.el (comint--unquote&requote-argument)
7266         (comint--unquote-argument, comint--requote-argument): New functions.
7267         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7268         (comint-quote-filename): Use regexp-opt-charset.
7269         (comint--common-suffix, comint--common-quoted-suffix)
7270         (comint--table-subvert): Remove.
7271         (comint-unquote-function, comint-requote-function): New vars.
7272         (comint--complete-file-name-data): Use them with
7273         completion-table-with-quoting.
7274         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7275         * pcomplete.el (pcomplete-arg-quote-list)
7276         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7277         (pcomplete-unquote-argument-function): Default to non-nil.
7278         (pcomplete-unquote-argument): Simplify.
7279         (pcomplete--common-quoted-suffix): Remove.
7280         (pcomplete-requote-argument-function): New var.
7281         (pcomplete--common-suffix): New function.
7282         (pcomplete-completions-at-point): Use completion-table-with-quoting
7283         and completion-table-subvert.
7285         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7286         (minibuffer--double-dollars): Preserve properties.
7287         (completion--sifn-requote): New function.
7288         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7290         * minibuffer.el: Add support for completion of quoted/escaped data.
7291         (completion-table-with-quoting, completion-table-subvert): New funs.
7292         (completion--twq-try, completion--twq-all): New functions.
7293         (completion--nth-completion): New function.
7294         (completion-try-completion, completion-all-completions): Use it.
7296 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7298         * progmodes/python.el (python-pdbtrack-get-source-buffer):
7299         Use compilation-message if available to find real filename.
7301 2012-04-25  Chong Yidong  <cyd@gnu.org>
7303         * vc/diff-mode.el (diff-setup-whitespace): New function.
7304         (diff-mode): Use it.
7306         * vc/diff.el (diff-sentinel):
7307         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7308         Whitespace mode variables based on diff style (Bug#8612).
7310 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7312         * progmodes/python.el (python-send-region): Add suffix .py to the
7313         temp file.
7315         * files.el (auto-mode-alist): Use javascript-mode instead.
7317 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
7319         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
7321         * net/soap-client.el (soap-resolve-references-for-sequence-type)
7322         (soap-resolve-references-for-array-type): Hack to prevent self
7323         references, see Bug#9.
7324         (soap-parse-envelope): Report the contents of the 'detail' node
7325         when receiving a fault reply.
7326         (soap-parse-envelope): Report the contents of the entire 'detail' node.
7328         * net/soap-inspect.el (soap-sample-value-for-simple-type)
7329         (soap-inspect-simple-type): New function.
7331         * net/soap-client.el (soap-simple-type): New struct.
7332         (soap-default-xsd-types, soap-default-soapenc-types)
7333         (soap-decode-basic-type, soap-encode-basic-type):
7334         support unsignedInt and double basic types.
7335         (soap-resolve-references-for-simple-type)
7336         (soap-parse-simple-type, soap-encode-simple-type): New function.
7337         (soap-parse-schema): Parse xsd:simpleType declarations.
7339         * net/soap-client.el (soap-default-xsd-types)
7340         (soap-default-soapenc-types): Add integer, byte and anyURI types.
7341         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7342         the local name of "soapenc:Array".
7343         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7344         decoding integer, byte and anyURI xsd types.
7346 2012-04-25  Chong Yidong  <cyd@gnu.org>
7348         * cus-edit.el (custom-buffer-create-internal): Update header text.
7350 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7352         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7353         settings on 'system-type', not on 'window-system'.  On MS-Windows,
7354         set interactive-mode on in GDB.
7356 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7358         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7359         (ruby-syntax-propertize-regexp): Remove.
7360         (ruby-syntax-propertize-function): Split regexp into chunks.
7361         Match following code directly.
7363 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
7365         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7366         (ruby-syntax-propertize-regexp): New function.
7367         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7368         by a special keyword.
7370         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7371         (ruby-syntax-general-delimiters-goto-beg)
7372         (ruby-syntax-propertize-general-delimiters): New functions.
7373         (ruby-syntax-propertize-function): Use them to handle GDL.
7374         (ruby-font-lock-keywords): Move old handling of GDL...
7375         (ruby-font-lock-syntactic-keywords): .. to here.
7376         (ruby-calculate-indent): Adjust indentation for GDL.
7378 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
7380         * notifications.el (top): Remove unneeded declarations.
7381         (notifications-specification-version): Change to "1.2".
7382         (notifications-interface, notifications-notify-method)
7383         (notifications-close-notification-method): Fix docstring.
7384         (notifications-get-capabilities-method): New defconst.
7385         (notifications-notify): Add :action-items, :resident and
7386         :transient hints.  Change "image_data" to "image-data" and
7387         "image_path" to "image-path".
7388         (notifications-get-capabilities): New defun.
7390 2012-04-24  Leo Liu  <sdl.web@gmail.com>
7392         * progmodes/python.el: Move hideshow setup to the end.
7394 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
7396         * window.el (handle-select-window): Clear echo area since this is
7397         no more done by read_char (Bug#11304).
7399 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7401         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7402         and `/ M' to filter-derived-mode.
7403         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7404         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7405         (ibuffer-mark-by-mode): Use default rather than initial-input.
7406         (ibuffer-filter-by-derived-mode): Autoload and require-match.
7408 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
7410         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7411         (ibuffer-filter-by-derived-mode): New filter.
7412         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7414 2012-04-23  Andreas Politz  <politza@fh-trier.de>
7416         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7418 2012-04-23  Chong Yidong  <cyd@gnu.org>
7420         * cus-edit.el (customize-apropos, customize-apropos-options):
7421         Disable matching of non-option variables (Bug#11176).
7422         (customize-option, customize-option-other-window)
7423         (customize-changed-options): Doc fix.
7424         (customize-apropos-options, customize-apropos-faces)
7425         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7427         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7428         Fix word list splitting (Bug#11132).
7429         (apropos-symbol, apropos-keybinding, apropos-label)
7430         (apropos-property, apropos-function-button)
7431         (apropos-variable-button, apropos-misc-button): New faces.
7432         (apropos-symbol-face, apropos-keybinding-face)
7433         (apropos-label-face, apropos-property-face, apropos-match-face):
7434         Variables removed (Bug#8396).
7435         (apropos-library-button, apropos-format-plist, apropos-print)
7436         (apropos-print-doc, apropos-describe-plist): Callers changed.
7438 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
7440         * net/xesam.el (xesam-mode-map): Use let-bound map in
7441         initialization.  (Bug#11292)
7443 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7445         Preserve ispell session localwords when switching back to
7446         original buffer.
7448         * textmodes/ispell.el (ispell-buffer-session-localwords):
7449         New buffer-local variable to hold buffer session localwords.
7450         (ispell-kill-ispell): Add option 'clear to delete session
7451         localwords.
7452         (ispell-command-loop, ispell-change-dictionary)
7453         (ispell-buffer-local-words): Preserve session localwords when
7454         needed.
7456         * textmodes/flyspell.el (flyspell-process-localwords)
7457         (flyspell-do-correct): Preserve session localwords when needed.
7459 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7461         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7462         using obsolete `translation-table-for-input'.
7463         (ispell-word, ispell-process-line, ispell-complete-word):
7464         Use plain `insert' instead of removed `ispell-insert-word'.
7466 2012-04-22  Chong Yidong  <cyd@gnu.org>
7468         * cus-edit.el (custom-variable-menu)
7469         (custom-variable-reset-saved, custom-face-menu)
7470         (custom-face-reset-saved): If there is no saved value, make the
7471         "reset-saved" operation bring back the default (Bug#9509).
7472         (custom-face-state): Properly detect themed faces.
7474         * faces.el (face-spec-set): Stop supporting deprecated form of
7475         third arg.
7477 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
7479         Move functions from C to Lisp.  Make non-blocking method calls
7480         the default.  Implement further D-Bus standard interfaces.
7482         * net/dbus.el (dbus-message-internal): Declare function.
7483         Remove unneeded function declarations.
7484         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7485         (dbus-message-type-method-return, dbus-message-type-error)
7486         (dbus-message-type-signal): Declare variables.  Remove local
7487         definitions.
7488         (dbus-interface-dbus, dbus-interface-peer)
7489         (dbus-interface-introspectable, dbus-interface-properties)
7490         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7491         Adapt docstring.
7492         (dbus-interface-objectmanager): New defconst.
7493         (dbus-call-method, dbus-call-method-asynchronously)
7494         (dbus-send-signal, dbus-method-return-internal)
7495         (dbus-method-error-internal, dbus-register-service)
7496         (dbus-register-signal, dbus-register-method): New defuns, moved
7497         from dbusbind.c
7498         (dbus-call-method-handler, dbus-setenv)
7499         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7500         New defuns.
7501         (dbus-call-method-non-blocking): Make it an obsolete function.
7502         (dbus-unregister-object, dbus-unregister-service)
7503         (dbus-handle-event, dbus-register-property)
7504         (dbus-property-handler): Obey the new structure of
7505         `bus-registered-objects'.
7506         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
7507         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7508         Use `dbus-call-method'.
7510 2012-04-22  Chong Yidong  <cyd@gnu.org>
7512         * cus-edit.el (custom-commands, custom-reset-menu)
7513         (Custom-reset-standard): Tweak labels.
7514         (custom-reset-button-menu): Change default to t.
7515         (custom-buffer-create-internal): For the custom-reset-button-menu
7516         case, put the revert button first.
7517         (custom-group-subtitle): New face.
7518         (custom-group-value-create): Align docstring to a specific column.
7520         * wid-edit.el (widget-documentation-link-add): Don't handle
7521         indentation in this function.
7522         (widget-documentation-string-indent-to): New function.
7523         (widget-documentation-string-value-create): Use it.
7525         * autorevert.el (auto-revert):
7526         * epg-config.el (epg):
7527         * ibuffer.el (ibuffer):
7528         * mpc.el (mpc):
7529         * ses.el (ses):
7530         * eshell/eshell.el (eshell):
7531         * net/ange-ftp.el (ange-ftp):
7532         * progmodes/ebnf2ps.el (postscript):
7533         * progmodes/flymake.el (flymake):
7534         * progmodes/prolog.el (prolog):
7535         * progmodes/verilog-mode.el (verilog-mode):
7536         * progmodes/which-func.el (which-func):
7537         * term/xterm.el (xterm):
7538         * textmodes/picture.el (picture):
7539         * textmodes/tildify.el (tildify):
7540         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7541         customization buffers.
7543 2012-04-22  Alan Mackenzie  <acm@muc.de>
7545         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7546         Adding a ) can hide the resulting (..) from searches.  Fix it.
7547         Bound the backward search to the position of the existing (.
7549 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
7551         * progmodes/verilog-mode.el (verilog-mode): Check whether
7552         which-func-modes is t before adding verilog-mode.
7553         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7555 2012-04-21  Leo Liu  <sdl.web@gmail.com>
7557         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7559 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
7561         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7562         filling of the last column of a table (Bug#5635).
7563         (woman-find-next-control-line): New arg, specifying an additional
7564         regexp component for the control line.
7565         (woman2-roff-buffer): Use it.
7566         (woman-break-table): New function.
7567         (woman2-TS): Use it.
7569 2012-04-21  Chong Yidong  <cyd@gnu.org>
7571         * woman.el (woman-set-buffer-display-table, woman-decode-region)
7572         (woman-horizontal-escapes, woman-negative-vertical-space)
7573         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7574         (WoMan-warn-ignored): Use ?\s instead of ?\ .
7576 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * minibuffer.el (completion-file-name-table): Complete user names.
7580 2012-04-20  Leo Liu  <sdl.web@gmail.com>
7582         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7583         and pcase-let*.
7585 2012-04-20  Chong Yidong  <cyd@gnu.org>
7587         * server.el (server-execute): Respect initial-buffer-choice if it
7588         is a string and there are no files to open (Bug#2825).
7589         (server-create-window-system-frame, server-create-tty-frame):
7590         Don't switch buffers here.
7591         (server-process-filter): Only try to open a window system frame if
7592         compiled with graphical support (Bug#8314).
7594 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
7596         * battery.el (battery-echo-area-format): Display remaining time
7597         for sysfs backend too (Bug#11269).
7598         (battery-linux-sysfs): Fix conditional for the charge.
7600 2012-04-20  Chong Yidong  <cyd@gnu.org>
7602         * progmodes/gdb-mi.el (gdb): Revert previous change.
7603         (gdb-inferior-io--init-proc): New function.
7604         (gdb-init-1): Use it.
7605         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7606         responsible for allocating a new pty and hooking it to gdb when
7607         the old pty gets an EIO due to process exit.
7608         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
7609         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7610         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7612 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7614         * window.el (window-min-size, window-sizable, window-min-delta)
7615         (window-max-delta, window--resizable, window-resizable)
7616         (window-total-size, window-full-height-p, window-full-width-p)
7617         (window-in-direction, window--resize-mini-window, window-resize)
7618         (window--resize-child-windows-normal)
7619         (window--resize-child-windows, window--resize-siblings)
7620         (window--resize-this-window, adjust-window-trailing-edge)
7621         (enlarge-window, shrink-window): Doc fixes.
7623 2012-04-20  Chong Yidong  <cyd@gnu.org>
7625         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7626         New function to call delete-process on the gdb-inferior buffer's pty.
7627         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7628         pty process (Bug#11273).
7629         (gdb-update): New arg to suppress talking to the gdb process.
7630         (gdb-done-or-error): Use it.
7631         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7632         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7633         sentinel not being called.
7635         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7637         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7639 2012-04-20  Glenn Morris  <rgm@gnu.org>
7641         * net/network-stream.el (open-network-stream): Doc fix.
7643 2012-04-20  Chong Yidong  <cyd@gnu.org>
7645         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7647 2012-04-20  Alan Mackenzie  <acm@muc.de>
7649         Ensure searching for keywords is case sensitive.
7651         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7652         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7653         (c-defun-name, c-mark-function, c-cpp-define-name)
7654         (c-comment-indent, c-scan-conditionals, c-indent-defun)
7655         (c-context-line-break): Bind case-fold-search to nil.
7657         * progmodes/cc-mode.el (c-font-lock-fontify-region):
7658         Bind case-fold-search to nil.
7660 2012-04-20  Chong Yidong  <cyd@gnu.org>
7662         * mail/sendmail.el (mail-bury): Call return action with the right
7663         Rmail buffer (Bug#11242).
7665         * server.el (server-process-filter): Handle corner case where both
7666         tty and nowait options are present (Bug#11102).
7668 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7670         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7671         (top level): Put into the executable the ident-style '$Id:' tag on
7672         windows-nt as well.
7674 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7676         * electric.el (electric-indent-post-self-insert-function): Check that
7677         electric-indent-mode is enabled in current buffer.
7679 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7681         * imenu.el (imenu-progress-message): Restore; it is "used" in
7682         erc/erc-imenu.el and net/snmp-mode.el.
7684 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7686         * avoid.el (mouse-avoidance-mode): Mark unused arg.
7687         (mouse-avoidance-nudge-mouse): Remove unused binding.
7689         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7691         * descr-text.el (describe-char):
7692         * progmodes/python.el (python-describe-symbol):
7693         Don't call `toggle-read-only', set `buffer-read-only'.
7695         * imenu.el (imenu-default-goto-function): Mark unused args.
7696         (imenu-progress-message): Remove obsolete macro; all callers changed.
7698         * subr.el (keymap-canonicalize): Remove unused binding.
7699         (read-passwd): Mark unused arg.
7701         * tutorial.el (tutorial--display-changes): Remove unused binding.
7702         (tutorial--save-tutorial-to): Remove unused variable.
7704         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7705         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7706         (package-generate-autoloads, package-menu--generate)
7707         (package-menu--find-upgrades): Remove unused bindings.
7709         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7710         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
7711         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7712         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7713         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7714         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7715         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7716         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7717         (cua-delete-char-rectangle): Mark unused args.
7718         (cua-align-rectangle): Remove unused binding.
7720         * mail/rmail.el (compilation--message->loc)
7721         (epa--find-coding-system-for-mime-charset): Declare.
7723         * net/dbus.el (dbus-register-service): Declare.
7724         (dbus-name-owner-changed-handler): Remove unused binding.
7726         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7727         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7728         (nxml-scan-backward-within): Mark unused arg.
7729         (nxml-dynamic-markup-word): Remove unused binding.
7731         * mouse.el (mouse-menu-major-mode-map):
7732         * emacs-lisp/authors.el (authors-scan-change-log)
7733         (authors-add-to-author-list):
7734         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7735         * emacs-lisp/smie.el (smie-auto-fill):
7736         * mail/sendmail.el (mail-bury):
7737         * mail/unrmail.el (unrmail):
7738         * net/tls.el (open-tls-stream):
7739         * textmodes/picture.el (picture-mouse-set-point):
7740         Remove unused bindings.
7742 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
7744         * net/tramp.el (tramp-action-password): Let-bind
7745         `enable-recursive-minibuffers' to t.
7747 2012-04-18  Sam Steingold  <sds@gnu.org>
7749         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7750         instead of 'string to accommodate values like [f11].
7751         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7752         * progmodes/gdb-mi.el: Likewise.
7754 2012-04-18  Leo Liu  <sdl.web@gmail.com>
7756         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7757         current buffer.
7758         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7759         LOCAL is nil.
7761 2012-04-18  Chong Yidong  <cyd@gnu.org>
7763         * simple.el (line-move): Use forward-line if in batch mode
7764         (Bug#11053).
7766 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
7768         * files.el (after-find-file): Do not try to add a final newline if
7769         the buffer is read-only (Bug#11156).
7771 2012-04-17  Richard Stallman  <rms@gnu.org>
7773         * mail/rmail.el (rmail-start-mail):
7774         Pass (rmail-mail-return...) for the return-action.
7775         Pass (rmail-yank-current-message...) for the yank-action.
7776         (rmail-yank-current-message): New function.
7777         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7778         (rmail-reply): Likewise.
7779         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7781         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7782         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
7783         buffer, not newbuf.
7785 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
7787         * server.el (server-ensure-safe-dir): Simplify.
7789 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7791         * emacs-lisp/smie.el: Provide smarter auto-filling.
7792         (smie-auto-fill): New function.
7793         (smie-setup): Use it.
7795         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7797 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
7799         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7800         (comment-indent): Use it.
7802 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7804         * ses.el: The overall change is to add cell renaming, that is
7805         setting fancy names for cell symbols other than name matching
7806         "\\`[A-Z]+[0-9]+\\'" regexp .
7807         (ses-localvars): Add ses--renamed-cell-symb-list.
7808         (ses-create-cell-variable): New defun.
7809         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7810         (ses-relocate-formula): Relocate formulas only for cells the
7811         symbols of which are not renamed, i.e. symbols whose names do not
7812         match regexp "\\`[A-Z]+[0-9]+\\'".
7813         (ses-relocate-all): Relocate values only for cells the symbols of
7814         which are not renamed.
7815         (ses-load): Create cells variables as the (ses-cell ...) are read,
7816         in order to check row col consistency with cell symbol name only
7817         for cells that are not renamed.
7818         (ses-replace-name-in-formula): New defun.
7819         (ses-rename-cell): New defun.
7821 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
7823         * progmodes/perl-mode.el (perl-indent-parens-as-block):
7824         New option (bug#11118).
7825         (perl-calculate-indent): Respect it.
7827 2012-04-17  Glenn Morris  <rgm@gnu.org>
7829         * dired-aux.el (dired-mark-read-string): Doc fix.
7831 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
7833         * dired-aux.el (dired-mark-read-string): Offer optional completion.
7834         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
7836 2012-04-17  Glenn Morris  <rgm@gnu.org>
7838         * mouse.el (mouse-drag-track):
7839         * speedbar.el (speedbar-frame-mode):
7840         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7842 2012-04-16  Leo Liu  <sdl.web@gmail.com>
7844         * progmodes/python.el: Trivial cleanup.
7846 2012-04-16  Glenn Morris  <rgm@gnu.org>
7848         * vc/vc.el (vc-string-prefix-p):
7849         * vc/pcvs-util.el (cvs-string-prefix-p):
7850         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7851         * mpc.el (mpc-string-prefix-p):
7852         Make all of these into obsolete aliases for string-prefix-p.
7853         Update callers.
7854         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7856         * textmodes/two-column.el: Move custom options to the start.
7857         (frame-width): Remove compat definition.
7858         (2C-associate-buffer, 2C-dissociate):
7859         Use with-current-buffer rather than save-excursion.
7860         (2C-dissociate): Force a mode-line update.
7861         (2C-autoscroll): Use ignore-errors.
7863         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7864         Autoload trivia.
7866         * emacs-lisp/cl-extra.el (*random-state*):
7867         Remove unnecessary declaration.
7869         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7871         * play/cookie1.el (cookie-snarf):
7872         Give an explicit error if input file cannot be read.
7874         * play/yow.el (yow-file): Use expand-file-name rather than concat.
7876         * progmodes/perl-mode.el (c-macro-expand):
7877         Remove unnecessary autoload (it is in loaddefs.el).
7879         * textmodes/picture.el (picture-desired-column)
7880         (picture-update-desired-column): Convert comments to doc-strings.
7881         (picture-substitute): Remove function.
7882         (picture-mode-map): Initialize in the defvar.
7884         * woman.el: Remove eval-after-load for tar-mode.
7885         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7886         (woman-tar-extract-file): Autoload it.
7888         * frame.el (automatic-hscrolling): Make this alias obsolete.
7890 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7892         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7893         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7894         (ispell-dictionary-base-alist): Revert to original XEmacs
7895         friendly version for default.  [:alpha:] will be added in
7896         `ispell-set-spellchecker-params' if needed.
7898 2012-04-16  Chong Yidong  <cyd@gnu.org>
7900         * image.el (imagemagick--file-regexp): New variable.
7901         (imagemagick-register-types): Use it.
7902         (imagemagick-types-inhibit): Add :set function.  Allow new value
7903         of t to inhibit all types.
7905         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7906         so we can preload it.
7908         * loadup.el (fboundp): Preload regexp-opt, needed by
7909         imagemagick-register-types.
7911 2012-04-15  Chong Yidong  <cyd@gnu.org>
7913         * frame.el (scrolling): Remove nearly unused customization group.
7915         * scroll-all.el (scroll-all-mode): Move to windows group.
7917 2012-04-15  Chong Yidong  <cyd@gnu.org>
7919         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7921 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7923         Avoid the use of ((lambda ...) ...) in lexical-binding code.
7924         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7926 2012-04-15  Glenn Morris  <rgm@gnu.org>
7928         * simple.el (process-file-side-effects): Doc fix.
7930 2012-04-15  Glenn Morris  <rgm@gnu.org>
7932         * international/mule-cmds.el (set-language-environment): Doc fix.
7934 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7936         * server.el (server-auth-key, server-generate-key): Doc fixes.
7937         (server-get-auth-key): Doc fix.  Use `string-match-p'.
7938         (server-start): Reflow docstring.
7940 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
7942         * server.el (server-generate-key): `called-interactively-p'
7943         requires a parameter.
7945 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
7947         * server.el (server-auth-key): New variable.
7948         (server-generate-key, server-get-auth-key): New function.
7949         (server-start): Use the new variable and functions to allow
7950         setting a permanent server key (bug#9423).
7952 2012-04-14  Leo Liu  <sdl.web@gmail.com>
7954         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7956 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
7958         Spelling fixes.
7959         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7960         Emacs uses American spelling.
7962 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7964         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7965         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
7966         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7967         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
7969 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7971         * progmodes/which-func.el (which-func-modes): Change default.
7973 2012-04-14  Kim F. Storm  <storm@cua.dk>
7975         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7976         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7978 2012-04-14  Chong Yidong  <cyd@gnu.org>
7980         * custom.el (custom-theme-set-variables): Doc fix.
7982 2012-04-14  Glenn Morris  <rgm@gnu.org>
7984         * international/mule.el (set-auto-coding-for-load): Doc fix.
7986 2012-04-14  Alan Mackenzie  <acm@muc.de>
7988         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7989         imenu work again for Objective C Mode.  Correct the *-index values,
7990         these having been disturbed by a previous change in 2011-08.
7992         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7993         Correct two search limits.
7995 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7997         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7999 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
8001         * international/characters.el: Fix sorting.
8003 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8005         * international/characters.el: Add more missing Latin case pairs.
8007 2012-04-14  Glenn Morris  <rgm@gnu.org>
8009         * files.el (dir-locals-set-class-variables): Doc fix.
8011 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8013         * international/characters.el: Add set-case-syntax-pair call for
8014         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8015         counterpart.  (Bug#11209)
8017         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
8019 2012-04-14  Glenn Morris  <rgm@gnu.org>
8021         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8023 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8025         * textmodes/ispell.el (ispell-dictionary-base-alist):
8026         Add data for Hebrew.
8028 2012-04-14  Chong Yidong  <cyd@gnu.org>
8030         * net/rcirc.el (rcirc-cmd-quit):
8031         Revert 2012-03-18 change (Bug#11192).
8033 2012-04-14  Glenn Morris  <rgm@gnu.org>
8035         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8037 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8039         * minibuffer.el (completion-in-region-mode-map):
8040         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
8042 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
8044         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8046 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
8048         * minibuffer.el (minibuffer-local-filename-syntax): New variable
8049         to allow `C-M-f' and `C-M-b' to move to the nearest path
8050         separator (bug#9511).
8052 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
8054         * avoid.el: Require cl when compiling.  And also move the
8055         `provide' to the end.
8057 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8059         * avoid.el (mouse-avoidance-banish-position): New variable.
8060         (mouse-avoidance-banish-destination): Use it (bug#10165).
8062 2012-04-13  Leo Liu  <sdl.web@gmail.com>
8064         * progmodes/which-func.el (which-func-modes): Add objc-mode.
8066 2012-04-13  Ken Brown  <kbrown@cornell.edu>
8068         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8069         this is no longer needed now that cygstart understands file:// URLs.
8070         (browse-url-filename-alist): For the same reason, don't modify
8071         file:// URLs on Cygwin.
8073 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8075         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8076         the region on shift if the binding is already shifted (bug#11221).
8078 2012-04-12  Glenn Morris  <rgm@gnu.org>
8080         * mail/mailpost.el: Move to obsolete/.
8082 2012-04-12  Drew Adams  <drew.adams@oracle.com>
8084         * imenu.el (imenu--generic-function): Ignore invisible definitions
8085         (bug#10123).
8087 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
8089         * hexl.el (hexl-bits): New variable.
8090         (hexl-options): Mention the variable in the doc string.
8091         (hexl-rulerise, hexl-line-displen): New functions.
8092         (hexl-mode): Mention the new variable.
8093         (hexl-mode, hexl-current-address, hexl-current-address):
8094         Use the displen.
8095         (hexl-ascii-start-column): New function.
8096         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8097         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8099 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8101         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8102         '("-i" ENCODING), in 2 separate command-line arguments, to specify
8103         the encoding, as expected by hunspell.
8105 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8107         * battery.el (battery--linux-sysfs-regexp): New const.
8108         (battery-status-function): Use it.  Remove yeeloong special case.
8109         (battery-yeeloong-sysfs): Remove.
8110         (battery-echo-area-format): Remove yeeloong special case.
8112 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8114         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8115         Reported by Noah Friedman.
8117         * subr.el (read-passwd): Use read-string.
8119 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8121         * vcursor.el (vcursor-move): Increase the priority of the overlay
8122         (bug#9663).
8124 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8126         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8127         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8129 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
8131         * textmodes/artist.el (artist-mode): Convert artist-mode to use
8132         define-minor-mode (bug#10760).
8134 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8136         * progmodes/grep.el (rgrep): Tweak the find command line so
8137         that directories matching `grep-find-ignored-files' won't be
8138         pruned (bug#10351).
8140 2012-04-11  Chong Yidong  <cyd@gnu.org>
8142         * startup.el (command-line): Remove support for long-obsolete
8143         variable font-lock-face-attributes.
8145 2012-04-11  Glenn Morris  <rgm@gnu.org>
8147         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8149 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8151         * window.el (window--state-get-1): Obey window-point-insertion-type.
8153 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
8155         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8156         to previous function when point is on the first character of a
8157         function.  Take care of that in `narrow-to-defun' (bug#6157).
8159 2012-04-11  Glenn Morris  <rgm@gnu.org>
8161         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8162         not just file-errors.
8164         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8165         (vc-bzr-sha1): Use internal sha1.
8167 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8169         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8171 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
8173         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8174         that start in the middle of the line (bug#10496).
8176 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
8178         * battery.el (battery-linux-proc-acpi): Only one battery is
8179         discharged at a time, but that seems to confuse battery.el when
8180         computing `rate-type' for the battery not being discharged
8181         (bug#10332).
8183 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8185         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8187         * international/quail.el: Use dolist and simplify.
8188         (quail-define-package, quail-update-keyboard-layout)
8189         (quail-define-rules): Use dolist.
8190         (quail-insert-kbd-layout, quail-get-translation): CSE.
8192         * tmm.el: Use dolist, remove left over hook.
8193         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8194         Use dolist.
8195         (calendar-load-hook): Don't mess with it.
8197         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8198         Use derived-mode-p.  Run the diff asynchronously.
8200 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8202         * obsolete/mouse-sel.el: Add an Obsolete-since header.
8204 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
8206         * misc.el: Display absolute path of loaded DLLs (bug#10424).
8207         (list-dynamic-libraries--loaded): New function.
8208         (list-dynamic-libraries--refresh): Use it.
8210 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
8212         * progmodes/python.el (python-fill-paragraph):
8213         Make python-fill-region in a multiline string work when font-lock is
8214         disabled (bug#7018).
8216 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
8218         * language/european.el (cp775): Add oem/legacy (en)coding on
8219         DOS/MS Windows for the Baltic languages.  There are still plenty
8220         of texts written in this encoding/codepage (bug#6519).
8222 2012-04-10  Glenn Morris  <rgm@gnu.org>
8224         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8225         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8227 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
8229         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8230         next-line "n" and previous-line "p" in order to make recentf more
8231         consistent with ibuffer, dired or org-mode (bug#9387).
8233 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8235         * image.el (put-image): Return the overlay created instead of the
8236         optional input string (bug#7834).  Note that this may break code
8237         that is (for some reason or other) depending on `put-image'
8238         returning the string.
8240         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8242         * simple.el (zap-to-char): Allow zapping using input methods
8243         (bug#1580).
8245         * textmodes/fill.el (fill-region): Leave point and mark where they
8246         were before filling (bug#5399).
8248 2012-04-09  Glenn Morris  <rgm@gnu.org>
8250         * version.el (emacs-bzr-get-version):
8251         Handle lightweight checkouts of local branches.
8253 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
8255         * international/characters.el: Recover lost case pairs.  (Bug#11209)
8257 2012-04-09  Chong Yidong  <cyd@gnu.org>
8259         * custom.el (custom-variable-p): Return nil for non-symbol
8260         arguments instead of signaling an error.
8261         (user-variable-p): Obsolete alias for custom-variable-p.
8263         * apropos.el (apropos-variable):
8264         * files-x.el (read-file-local-variable):
8265         * simple.el (set-variable):
8266         * woman.el (woman-mini-help):
8267         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8269 2012-04-09  Glenn Morris  <rgm@gnu.org>
8271         * startup.el (normal-top-level): Don't look for leim-list.el
8272         in places where it will not be found.  (Bug#910)
8274         * international/mule-cmds.el (set-default-coding-systems):
8275         * files.el (normal-mode):
8276         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
8277         This function was removed with ucs-tables.el in 2008.
8279 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
8281         * textmodes/ispell.el (ispell-check-version): For hunspell, set
8282         ispell-encoding8-command to "-i", without a trailing space.
8283         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8284         separate command-line arguments, to specify the encoding, since
8285         that's how hunspell expects it.
8287 2012-04-08  Glenn Morris  <rgm@gnu.org>
8289         * loadup.el: Load bindings before cus-start.
8290         This reduces somewhat the number of "rogue" settings in emacs -Q.
8292 2012-04-07  Glenn Morris  <rgm@gnu.org>
8294         * version.el (emacs-bzr-get-version): New function.
8295         (emacs-bzr-version): New variable.
8296         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
8297         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8299 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8301         * international/uni-bidi.el, international/uni-category.el:
8302         * international/uni-combining.el, international/uni-decimal.el:
8303         * international/uni-decomposition.el, international/uni-digit.el:
8304         * international/uni-lowercase.el, international/uni-mirrored.el:
8305         * international/uni-name.el, international/uni-numeric.el:
8306         * international/uni-titlecase.el, international/uni-uppercase.el:
8307         Update for Unicode 6.1.
8309 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8311         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8313 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8315         * window.el (shrink-window): Mention the `window-min-height'
8316         variable in the doc string.
8318 2012-04-05  Bastien Guerry  <bzg@altern.org>
8320         * color.el (color-lighten-name): Fix typo.
8322 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8324         * server.el (server--on-display-p): New function.
8325         (server--on-display-p): Use it.
8327 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
8329         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8330         (bug#11145).
8332 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8334         * comint.el (comint--common-quoted-suffix): Check string boundary
8335         before comparing (bug#11158).
8336         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8338 2012-04-04  Chong Yidong  <cyd@gnu.org>
8340         * minibuffer.el (completion-extra-properties): Doc fix.
8342         * subr.el (delayed-warnings-hook): Doc fix.
8344 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
8346         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8347         selection (Bug#11159).
8348         (epa-insert-keys): Inform that the default public key will be
8349         exported if no key is selected.
8351 2012-04-04  Richard Stallman  <rms@gnu.org>
8353         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8355 2012-04-03  Chong Yidong  <cyd@gnu.org>
8357         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8358         mail-insert-file, not its obsolete alias mail-attach-file.
8360 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
8362         * notifications.el (notifications-notify): Fix docstring.
8364 2012-04-02  Glenn Morris  <rgm@gnu.org>
8366         * emacs-lisp/authors.el (authors-aliases): Another addition.
8368 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
8370         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8371         `tramp-compat-call-process' instead of `tramp-local-call-process'.
8372         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8374 2012-04-01  Chong Yidong  <cyd@gnu.org>
8376         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8377         Handle root directory properly.
8378         (copy-directory): Caller changed.
8380         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8381         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8383 2012-03-31  Glenn Morris  <rgm@gnu.org>
8385         * term/xterm.el (xterm-extra-capabilities): Doc fix.
8387         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
8389         * calendar/calendar.el (calendar-window-list)
8390         (calendar-hide-window): Restore.  (Bug#11140)
8391         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8393         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8395 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8397         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8398         Check if file is a symlink (Bug#10489).
8400         * files.el (copy-directory): Likewise.
8402 2012-03-30  Chong Yidong  <cyd@gnu.org>
8404         * image.el (imagemagick-types-inhibit)
8405         (imagemagick-register-types): Doc fix.
8407 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8409         * textmodes/ispell.el (ispell-get-extended-character-mode):
8410         Disable extended-char-mode for hunspell.  hunspell does not support it
8411         and treats ~word as ordinary words in pipe mode.
8413 2012-03-30  Glenn Morris  <rgm@gnu.org>
8415         * tutorial.el (help-with-tutorial): Ensure local variables don't
8416         happen to make the buffer read-only.  (Bug#11127)
8418 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8420         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8421         (perl-calculate-indent): Return `noindent' in strings.
8423 2012-03-28  Sam Steingold  <sds@gnu.org>
8425         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8426         instead of the broken adhockery which does not prevent calendar
8427         buffers from being displayed at random after exit.
8428         (calendar-window-list, calendar-hide-window): Remove the broken
8429         adhockery.
8431 2012-03-28  Glenn Morris  <rgm@gnu.org>
8433         * replace.el (query-replace-map): Doc fix.
8435 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8437         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8438         contents.  (Bug#11109)
8440 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8442         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8443         (bug#11077).
8444         (avl-tree--check, avl-tree--check-node): New funs.
8446 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
8448         * window.el (switch-to-visible-buffer): New option.
8449         (switch-to-prev-buffer, switch-to-next-buffer):
8450         Observe switch-to-visible-buffer.  Make sure that checking for a window
8451         showing a buffer already is done on the same frame.
8453 2012-03-27  Glenn Morris  <rgm@gnu.org>
8455         * startup.el (mail-host-address): Doc fix.
8457 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8459         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8460         than 197 variables.
8462 2012-03-26  Ami Fischman  <ami@fischman.org>
8464         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8466 2012-03-26  Glenn Morris  <rgm@gnu.org>
8468         * files.el (save-buffers-kill-emacs): Doc fix.
8470         * startup.el (normal-top-level, command-line, command-line-1):
8471         Give them doc strings.
8473 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
8475         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8476         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8478 2012-03-25  Chong Yidong  <cyd@gnu.org>
8480         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8481         theme if it was previously enabled before (Bug#11031).
8483         * cus-theme.el (custom-theme-write-faces): Retrieve current face
8484         spec with custom-face-get-current-spec if its :shown-value is not
8485         determined yet (Bug#9337).
8486         (customize-create-theme, custom-theme-revert): Doc fixes.
8488         * button.el (button-at): Minor addition to docstring.
8490 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
8492         * vc/vc.el (vc-merge): Fix a prompt.
8494 2012-03-24  Chong Yidong  <cyd@gnu.org>
8496         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8497         point (Bug#9623).
8499         * button.el (button-at): Minor addition to docstring.
8501 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8503         * newcomment.el (comment-choose-indent): No space after BOL.
8505 2012-03-22  Sam Steingold  <sds@gnu.org>
8507         * window.el (switch-to-prev-buffer): Revert last patch because the
8508         bug turned out to be an advertised feature (Elisp manual 28.14).
8510 2012-03-22  Glenn Morris  <rgm@gnu.org>
8512         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
8513         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8515 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8517         * net/network-stream.el (network-stream-open-starttls): Make error
8518         message under Windows be less misleading.
8520 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
8522         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8523         understands (bug#9942).
8525 2012-03-22  Chong Yidong  <cyd@gnu.org>
8527         * simple.el (end-of-visible-line): Handle return value of
8528         next-single-property-change properly (Bug#9371).
8530 2012-03-22  Kenichi Handa  <handa@m17n.org>
8532         * international/quail.el (quail-insert-kbd-layout): Fix previous
8533         change.  To avoid unwanted bidi reordering, use
8534         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8536 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
8538         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8539         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8540         (ruby-beginning-of-indent): Be more careful with the difference
8541         between word-boundary and symbol boundary.
8542         (ruby-mode-syntax-table): Make : a symbol constituent.
8544 2012-03-21  Andreas Politz  <politza@fh-trier.de>
8546         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8548 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8550         * progmodes/etags.el (tags-completion-at-point-function):
8551         Improve last fix.
8553         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8555 2012-03-21  Sam Steingold  <sds@gnu.org>
8557         * progmodes/etags.el (tags-completion-at-point-function):
8558         Avoid the error when point is inside the pattern.
8560 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
8562         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8563         line (Bug#10855).
8565 2012-03-21  Drew Adams  <drew.adams@oracle.com>
8567         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8569 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
8571         * ido.el (ido-set-current-directory, ido-read-internal)
8572         (ido-choose-completion-string, ido-completion-help): Handle nil
8573         value of ido-completion-buffer (Bug#11008).
8575 2012-03-21  Sam Steingold  <sds@gnu.org>
8577         * window.el (switch-to-prev-buffer): Do not switch to a visible
8578         window previous buffer, just like with the frame previous buffers.
8580 2012-03-21  Chong Yidong  <cyd@gnu.org>
8582         * faces.el (make-face, make-empty-face, copy-face):
8583         * face-remap.el (face-remap-add-relative, face-remap-set-base):
8584         Doc fixes.
8586 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8588         * wid-edit.el (widget-complete-field): Remove (bug#11051).
8589         (widget-complete): Remove broken use of it.
8591 2012-03-20  Chong Yidong  <cyd@gnu.org>
8593         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8594         Use string-width and truncate-string-width to handle arbitrary
8595         characters.
8597 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
8599         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8600         to draw rectangles, not squares.  (Regression introduced by revno
8601         103471)
8603 2012-03-18  Chong Yidong  <cyd@gnu.org>
8605         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8606         it is not yet defined (for temacs).
8608 2012-03-18  Leo Liu  <sdl.web@gmail.com>
8610         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8612 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8614         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8615         (ispell-choices-win-default-height, ispell-silently-savep)
8616         (ispell-dictionary-alist, ispell-encoding8-command)
8617         (ispell-check-version, ispell-aspell-find-dictionary)
8618         (ispell-valid-dictionary-list, ispell-words-keyword)
8619         (ispell-get-word, ispell-internal-change-dictionary)
8620         (ispell-region, ispell-skip-region-list)
8621         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8622         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8623         (ispell-message-text-end, ispell-message)
8624         (ispell-buffer-local-parsing): Doc fix.
8626 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
8628         * htmlfontify.el: Add support for code block fontification for ODT
8629         export (Bug #9914).
8630         (hfy-optimisations): Define new option
8631         `body-text-only'
8632         (hfy-fontify-buffer): Honor above setting.
8633         (hfy-begin-span, hfy-end-span): New routines factored out form
8634         `hfy-fontify-buffer'.
8635         (hfy-begin-span-handler, hfy-end-span-handler): New variables
8636         that permit insertion of custom tags.
8637         (hfy-fontify-buffer): Use above handlers.
8638         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8639         (hfy-face-to-css): Re-defined to be a variable.
8640         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
8641         over multiple runs.  This is made possible by having the caller let
8642         bind a special variable `hfy-user-sheet-assoc'.
8643         (htmlfontify-string): New defun.
8644         (hfy-compile-face-map): Make sure that the last char in the
8645         buffer is correctly fontified.
8646         (hfy-face-resolve-face): Whitespace only change.
8648 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8650         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8651         message more clear.
8653 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8655         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8657 2012-03-16  Alan Mackenzie  <acm@muc.de>
8659         Further optimise the handling of large macros.
8661         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8662         limit to a call of `c-literal-limits'.
8663         (c-determine-+ve-limit): New function.
8664         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8665         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8666         In CASE 5B, restrict a search limit to 500.
8667         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8669         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8670         Restrict macro bounds to +-500 from after-change's BEG END.
8672 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8674         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8676 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
8678         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8679         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
8681 2012-03-16  Glenn Morris  <rgm@gnu.org>
8683         * view.el (view-buffer, view-buffer-other-window)
8684         (view-buffer-other-frame): Doc fixes re special mode-class.
8686         * subr.el (eval-after-load): If named feature is provided not from
8687         a file, run after-load forms.  (Bug#10946)
8689         * calendar/calendar.el (calendar-insert-at-column):
8690         Handle non-unit-width characters a bit better.  (Bug#10978)
8692 2012-03-15  Chong Yidong  <cyd@gnu.org>
8694         * emacs-lisp/ring.el (ring-extend): New function.
8695         (ring-insert+extend): Extend the ring correctly (Bug#11019).
8697         * comint.el (comint-read-input-ring)
8698         (comint-add-to-input-history): Grow comint-input-ring lazily.
8700 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8703         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8705         * imenu.el: Fix multiple inheritance breakage (bug#9199).
8706         (imenu-add-to-menubar): Don't add a redundant index.
8707         (imenu-update-menubar): Handle a dynamically composed keymap.
8709 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
8711         * mail/sendmail.el (mail-encode-header):
8712         Bind rfc2047-encode-encoded-words to nil.
8714 2012-03-13  Glenn Morris  <rgm@gnu.org>
8716         * calendar/calendar.el (calendar-string-spread):
8717         Handle non-unit-width characters a bit better.  (Bug#10978)
8719 2012-03-13  Leo Liu  <sdl.web@gmail.com>
8721         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8722         directory and file as argument (Bug#10822).
8724 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8726         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8727         For dynamically generated code, follow $PC.
8728         (gdb-disassembly-handler-custom): Handle no function name case.
8730 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
8732         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8733         * emulation/ws-mode.el (ws-query-replace):
8734         * sort.el (sort-regexp-fields):
8735         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
8737 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8739         * dabbrev.el: Fix cycle completion order (bug#10963).
8740         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8741         (dabbrev-completion): Don't use an obarray; provide
8742         a cycle-sort-function.
8744 2012-03-12  Leo Liu  <sdl.web@gmail.com>
8746         * simple.el (kill-new): Use equal-including-properties for comparison.
8747         (kill-do-not-save-duplicates): Doc fix.
8749 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8751         * dabbrev.el: Fix cycle completion (bug#10963).
8752         Use lexical binding and wrap to 80 columns.
8753         (dabbrev-completion): Delay computing the list of completions.
8755 2012-03-12  Kenichi Handa  <handa@m17n.org>
8757         * international/quail.el (quail-insert-kbd-layout): Surround each
8758         row by LRO and PDF instead of inserting many LRMs.  Pad the left
8759         and right of each non-spacing marks.  Insert invisible space
8760         between lower and upper characters to prevent composition.
8762 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8764         * minibuffer.el (minibuffer-complete): Don't get confused when the
8765         function is run twice via different commands (bug#10958).
8766         (complete-with-action): Fix docstring.
8768 2012-03-12  Chong Yidong  <cyd@gnu.org>
8770         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8771         (nxml-completion-at-point-function): New function.
8772         (nxml-mode): Use it.
8773         (nxml-bind-meta-tab-to-complete-flag): Default to t.
8775         * emacs-lisp/package.el (package-unpack, package-unpack-single):
8776         Load generated autoloads file before byte compiling (Bug#10970).
8777         (package--make-autoloads-and-compile): New helper fun.
8779 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
8781         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8783 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
8785         * autorevert.el (auto-revert-handler): Ensure, that
8786         file-readable-p is applied only for local files or in
8787         auto-revert-tail-mode.
8789 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
8791         * server.el (server-eval-at): Handle non-tcp connections.
8792         Decode result string.
8794         * server.el (server-msg-size): New constant.
8795         (server-reply-print): New function.
8796         (server-eval-and-print): Use it.
8797         (server-eval-at): Use server-quote-arg and server-unquote-arg.
8798         Handle -print-nonl.
8800 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
8802         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8803         (Bug#10987).
8805 2012-03-11  Chong Yidong  <cyd@gnu.org>
8807         * simple.el (goto-line): Doc fix (Bug#9938).
8809         * subr.el (save-window-excursion): Doc fix (Bug#9979).
8811         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8812         when finished (Bug#10963).
8814 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
8816         * window.el (split-window-below): Fix bug in case where
8817         split-window-keep-point is nil (Bug#10971).
8819 2012-03-11  Juri Linkov  <juri@jurta.org>
8821         * replace.el (replace-highlight): Set isearch-word to nil
8822         unconditionally.  (Bug#10887)
8824 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
8826         * net/mairix.el (mairix-replace-invalid-chars): Rename from
8827         mairix-replace-illegal-chars; all callers changed.  Don't remove
8828         ^, ~, and = characters: they are meaningful in mairix search specs.
8829         (mairix-widget-create-query): Add usage information about mairix
8830         search forms: negating words, searching for substrings, etc.
8832 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
8834         * international/fontset.el (font-encoding-alist): Add an entry for
8835         ksx1001 (Bug#5667).
8837 2012-03-10  Richard Stallman  <rms@gnu.org>
8839         * mail/sendmail.el (mail-encode-header):
8840         Set rfc2047-encode-encoded-words.
8842         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8844         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8845         view buffer means not swapped.
8846         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8847         (rmail-write-region-annotate): Error if real text has disappeared.
8849         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8851 2012-03-10  Chong Yidong  <cyd@gnu.org>
8853         * emulation/cua-rect.el (cua--init-rectangles):
8854         * emulation/cua-base.el (cua--init-keymaps):
8855         Add delete-forward-char to remappings (Bug#9666).
8857 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
8859         * speedbar.el (speedbar-unhighlight-one-tag-line):
8860         Avoid unhighlighting due to frame switching (Bug#10275).
8862 2012-03-10  Chong Yidong  <cyd@gnu.org>
8864         * minibuffer.el (completion-in-region, completion-help-at-point):
8865         Give the completion field overlay a high priority (Bug#6830).
8867         * dired.el (dired-goto-file): Recognize absolute file name
8868         listings (Bug#7126).
8869         (dired-goto-file-1): New helper function.
8870         (dired-toggle-read-only): Inhibit warnings.
8872 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
8874         * net/dbus.el (dbus-property-handler): Return empty array if
8875         there are no properties.
8877 2012-03-09  Leo Liu  <sdl.web@gmail.com>
8879         * savehist.el (savehist-printable): Stricter check for string
8880         value (Bug#10937).
8882 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
8884         * mail/smtpmail.el (smtpmail-send-it):
8885         Bind coding-system-for-write to *-unix, so that FCC files are kept in
8886         valid mbox format.
8888 2012-03-09  Glenn Morris  <rgm@gnu.org>
8890         * files.el (dir-locals-find-file):
8891         Don't check result is regular, readable.
8892         (dir-locals-read-from-file): Demote errors.
8894 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
8896         * international/quail.el (quail-insert-kbd-layout):
8897         Insert invisible LRM characters before each character in a keyboard
8898         layout cell, to prevent their reordering by bidi display engine.
8899         For details, see the discussion in
8900         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8902 2012-03-08  Alan Mackenzie  <acm@muc.de>
8904         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8905         the starting position; make it extend the marked region when
8906         invoked repeatedly - all under appropriate circumstances.
8907         Fixes bugs #5525, #10906.
8909 2012-03-08  Glenn Morris  <rgm@gnu.org>
8911         * files.el (locate-dominating-file, dir-locals-find-file):
8912         Undo 2012-03-06 change.
8914 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
8916         * international/quail.el (quail-help):
8917         Force bidi-paragraph-direction be left-to-right.  See discussion in
8918         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8919         for the reason.
8921 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
8923         Avoid superfluous registering of signals.  (Bug#10807)
8925         * notifications.el (notifications-on-action-object)
8926         (notifications-on-close-object): New defvars.
8927         (notifications-on-action-signal, notifications-on-closed-signal):
8928         Unregister the signal if not needed any longer.
8929         (notifications-notify): Register `notifications-action-signal' or
8930         `notifications-closed-signal', if :on-action or :on-close has been
8931         passed as argument.
8933 2012-03-07  Chong Yidong  <cyd@gnu.org>
8935         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8936         non-X platforms.
8938 2012-03-06  Glenn Morris  <rgm@gnu.org>
8940         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8941         (x-disown-selection-internal, x-get-selection-internal):
8942         Doc fix (add arglist signatures).  (Bug#10783)
8944 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8946         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8947         Handle breakpoints with no "type".
8949 2012-03-06  Glenn Morris  <rgm@gnu.org>
8951         * files.el (locate-dominating-file): Add optional predicate argument.
8952         (dir-locals-find-file): Make use of above change.
8954 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
8956         * info.el (Info-insert-dir): Also try "dir.gz".
8958 2012-03-06  Glenn Morris  <rgm@gnu.org>
8960         * files.el (dir-locals-find-file):
8961         Ignore non-readable or non-regular files.  (Bug#10928)
8963         * files.el (locate-dominating-file): Doc fix.
8965 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
8967         * calendar/calendar.el (calendar-set-mode-line):
8968         `getenv' returns a string.  (Bug#10951)
8970 2012-03-05  Leo Liu  <sdl.web@gmail.com>
8972         * simple.el (backward-delete-char-untabify): Constrain point to
8973         field (Bug#10939).
8975         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8977 2012-03-05  Chong Yidong  <cyd@gnu.org>
8979         * simple.el (count-words): If called from Lisp, return the word
8980         count, for symmetry with `count-lines'.  Arglist changed.
8981         (count-words--message): Args changed.  Consolidate counting code
8982         from count-words and count-words-region.
8983         (count-words-region): Caller changed.
8984         (count-lines-region): Make it an obsolete alias.
8986 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
8988         * saveplace.el (save-place-to-alist)
8989         (save-place-ignore-files-regexp): Allow value nil to disable this
8990         feature.
8992 2012-03-04  Chong Yidong  <cyd@gnu.org>
8994         * faces.el (face-spec-reset-face): For the default face, reset the
8995         attributes to default values (Bug#10748).
8997 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8999         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9000         previous patch: Check `message-send-mail-function', and not the
9001         default function (bug#10897).
9003 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
9005         * notifications.el (notifications-on-action-signal)
9006         (notifications-on-closed-signal): Check for unique service name of
9007         incoming event.  Fix error in removing entry.
9008         (top): Register for signals with wildcard service name.
9009         (notifications-notify): Use daemon unique service name for map entries.
9011 2012-03-04  Chong Yidong  <cyd@gnu.org>
9013         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9015 2012-03-04  Glenn Morris  <rgm@gnu.org>
9017         * abbrev.el (copy-abbrev-table, abbrev-table-p)
9018         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9019         (expand-abbrev, define-abbrev-table): Doc fixes.
9021 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9023         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9024         `message-default-send-mail-function' and not `send-mail-function'
9025         when doing the prompting for `sendmail-query-once' before sending
9026         in Message buffers (bug#10897).
9028         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9029         This is inconsistent with all the other stream functions, which leave
9030         the setting up to the higher levels (if so wanted) (bug#10931).
9032 2012-03-02  Alan Mackenzie  <acm@muc.de>
9034         Depessimize the handling of very large macros.
9036         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9037         (c-macro-cache-syntactic): New variables to implement a one
9038         element macro cache.
9039         (c-invalidate-macro-cache): New function.
9040         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9041         Adapt to use the new cache.
9042         (c-state-safe-place): Use better the cache of safe positions.
9043         (c-state-semi-nonlit-pos-cache)
9044         (c-state-semi-nonlit-pos-cache-limit):
9045         New variables for...
9046         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
9047         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9048         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9049         Use c-state-semi-safe-place.
9051         * progmodes/cc-langs.el (c-get-state-before-change-functions):
9052         Add c-invalidate-macro-cache to the C, C++, Obj entries.
9054 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
9056         * jka-compr.el (jka-compr-call-process):
9057         Apply `file-accessible-directory-p' only when the default directory is
9058         not remote.
9060 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
9062         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
9063         access of FILE2, if FILE1 does not exist.
9065         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9066         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9068         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9069         Add "PAGER=" to `process-environment'.
9071 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
9073         * progmodes/sql.el: Bug fix
9074         (sql-get-login-ext): Save login values in globals.
9075         (sql-get-login): Use new version of `sql-get-login-ext'.
9076         (sql-interactive-mode): Set global `sql-connection' to nil.
9077         (sql-connect): Set global values for connection.
9078         (sql-product-interactive): Save global values as buffer local.
9080 2012-02-29  Leo Liu  <sdl.web@gmail.com>
9082         * abbrev.el (define-abbrevs): Reset sys to nil.
9084 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9086         * files.el (file-equal-p): Rename from `files-equal-p'.
9087         Return nil when one or both files don't exist.
9088         (file-subdir-of-p): Now only top directory must exists,
9089         return nil if it doesn't.
9090         (copy-directory): No need to test with `file-subdir-of-p' after
9091         creating dir.
9092         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9093         to `file-equal-p'.
9095 2012-02-28  Glenn Morris  <rgm@gnu.org>
9097         * shell.el (shell-mode):
9098         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9099         * play/landmark.el (landmark-font-lock-face-O):
9100         * play/handwrite.el (handwrite):
9101         * play/gomoku.el (gomoku-O):
9102         * net/browse-url.el (browse-url-browser-display):
9103         * international/mule.el (define-charset):
9104         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9105         * filesets.el (filesets-find-file-delay):
9106         * eshell/em-xtra.el (eshell-xtra):
9107         * eshell/em-unix.el (eshell-grep):
9108         * emulation/viper.el (viper-mode):
9109         * emacs-lisp/regexp-opt.el (regexp-opt-group):
9110         * emacs-lisp/easymenu.el (easy-menu-define):
9111         * calendar/timeclock.el (timeclock-use-display-time):
9112         * bs.el (bs-mode):
9113         * bookmark.el (bookmark-save-flag):
9114         Doc fix (standardize possessive apostrophe usage).
9116 2012-02-27  Chong Yidong  <cyd@gnu.org>
9118         * emulation/viper-cmd.el (viper-intercept-ESC-key):
9119         Fix key-binding lookup for ESC key (Bug#9146).
9121         * font-lock.el (font-lock-specified-p): Rename from
9122         font-lock-spec-present.  Callers changed.
9124 2012-02-27  Daniel Hackney  <dan@haxney.org>
9126         * emacs-lisp/package.el (package-compute-transaction):
9127         Handle holding a package version to t in package-load-list.
9129 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
9131         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9132         (tramp-get-inode, tramp-get-device): Use cached values.
9134 2012-02-26  Alan Mackenzie  <acm@muc.de>
9136         Check there is a font-lock specification before doing initial
9137         fontification.
9139         * font-core.el (font-lock-mode): Move the conditional from
9140         :after-hook to font-lock-initial-fontify.
9141         (font-lock-default-function): Move the check for a specification
9142         to font-lock-spec-present.
9144         * font-lock.el (font-lock-initial-fontify): Call ...
9145         (font-lock-spec-present): New function.
9147 2012-02-26  Jim Blandy  <jimb@red-bean.com>
9149         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9150         (gdb-send): Apply it to the operand of the '-interpreter-exec
9151         console' command, so that we can pass arguments with (say) quotes
9152         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
9154 2012-02-26  Chong Yidong  <cyd@gnu.org>
9156         * help-fns.el (describe-function-1): Clarify description of
9157         remapping (Bug#10844).
9159         * files.el (files-equal-p): Doc fix.
9160         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
9161         and quit the loop once a mismatch is found.
9163 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
9165         * bs.el (bs--show-with-configuration): Don't throw an error
9166         if the window cannot be split; otherwise, subsequent calls to
9167         bs-show fail, restoring a stale window config.  (Bug#10882)
9169 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
9171         * term/ns-win.el (global-map): Bind ns-drag-file to
9172         ns-find-file (Bug#5855, Bug#10050).
9174 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
9176         * calendar/parse-time.el (parse-time-string): Allow extractor to
9177         return nil.
9179 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
9181         * net/tramp.el (tramp-file-name-for-operation):
9182         Add `files-equal-p' and `file-subdir-of-p'.
9184         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9185         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9186         Add COPY-CONTENTS argument.
9188 2012-02-25  Chong Yidong  <cyd@gnu.org>
9190         Add custom groups for VC backends, for consistency with vc-bzr.
9192         * vc/vc-arch.el (vc-arch):
9193         * vc/vc-cvs.el (vc-cvs):
9194         * vc/vc-git.el (vc-git):
9195         * vc/vc-hg.el (vc-hg):
9196         * vc/vc-mtn.el (vc-mtn):
9197         * vc/vc-rcs.el (vc-rcs):
9198         * vc/vc-sccs.el (vc-sccs):
9199         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9200         All relevant defcustoms reassigned.
9202 2012-02-25  Chong Yidong  <cyd@gnu.org>
9204         * newcomment.el (comment-styles): Add autoload (Bug#10868).
9206         * term/x-win.el (x-initialize-window-system): Reduce default for
9207         x-selection-timeout to 5 seconds (Bug#8869).
9209 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9211         * files.el (files-equal-p, file-subdir-of-p): New functions.
9212         (copy-directory): Error when trying to copy a directory on itself.
9213         Add missing copy-contents arg to tramp handler.
9214         * dired-aux.el (dired-copy-file-recursive): Same.
9215         (dired-create-files): Modify destination when source is equal to
9216         dest when copying files.
9217         Return also when dest is a subdir of source.  (Bug#10489)
9219 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
9221         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9222         (Bug#10874)
9224 2012-02-23  Alan Mackenzie  <acm@muc.de>
9226         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9227         parameter "after-hook:" to allow the expansion to run code after
9228         the execution of the mode hooks.
9230         * font-lock.el (font-lock-initial-fontify): New function extracted
9231         from font-lock-mode-internal.
9233         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9234         :after-hook.
9236 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9238         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9239         (completion--cache-all-sorted-completions): New function.
9240         (completion-all-sorted-completions): Use it.
9241         (completion--do-completion, minibuffer-force-complete):
9242         Use it to re-instate the flush hook.
9244         * icomplete.el (icomplete-completions): Replace last fix with a better
9245         one (bug#10850).
9247 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
9249         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9250         when it might call us back infinitely (bug#10797).
9252 2012-02-23  Glenn Morris  <rgm@gnu.org>
9254         * minibuffer.el (completion-category-overrides): Doc fix.
9256 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9258         * minibuffer.el (completion-table-with-context): Fix inf-loop.
9259         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9261 2012-02-23  Glenn Morris  <rgm@gnu.org>
9263         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9264         (authors-obsolete-files-regexps, authors-ignored-files)
9265         (authors-ambiguous-files, authors-renamed-files-alist):
9266         Add more entries.
9268 2012-02-23  Juri Linkov  <juri@jurta.org>
9270         * isearch.el (isearch-occur): Sync interactive spec with occur's
9271         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
9273         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9275 2012-02-22  Juri Linkov  <juri@jurta.org>
9277         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9278         (ucs-insert): Doc fix.  Check for hex digits in the string.
9279         Don't display `nil' in the error message.  (Bug#10857)
9281 2012-02-22  Alan Mackenzie  <acm@muc.de>
9283         * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
9285 2012-02-22  Glenn Morris  <rgm@gnu.org>
9287         * ffap.el (ffap-c-path):
9288         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
9290 2012-02-22  Chong Yidong  <cyd@gnu.org>
9292         * custom.el (load-theme): Doc fix.
9294 2012-02-22  Glenn Morris  <rgm@gnu.org>
9296         * dired-x.el (dired-guess-shell-alist-default):
9297         Remove escape sequences from nroff output.  (Bug#172)
9299 2012-02-21  Glenn Morris  <rgm@gnu.org>
9301         * vc/emerge.el (emerge-defvar-local):
9302         Set `permanent-local' property rather than unused `preserved'.
9304         * textmodes/picture.el (picture-delete-char): New alias.
9305         (picture-mode-map): Use it.  (Bug#10860)
9306         (picture-mode): Doc fix.
9308 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
9310         * newcomment.el (uncomment-region-default): Remove unused binding.
9312 2012-02-21  Glenn Morris  <rgm@gnu.org>
9314         * textmodes/picture.el (picture-motion, picture-motion-reverse)
9315         (picture-self-insert, picture-tab-chars): Doc fix.
9316         (picture-mode-map): Fix C-a, C-e.
9318 2012-02-20  Glenn Morris  <rgm@gnu.org>
9320         * emacs-lisp/authors.el (authors-aliases): Add another entry.
9322 2012-02-20  Leo Liu  <sdl.web@gmail.com>
9324         * icomplete.el (icomplete-completions): Check FROM arg before
9325         passing to substring (Bug#10850).
9327 2012-02-19  Chong Yidong  <cyd@gnu.org>
9329         * comint.el: Require ansi-color.
9330         (comint-output-filter-functions): Add ansi-color-process-output.
9332         * ansi-color.el: Don't set comint-output-filter-functions; it is
9333         now in the initial value defined in comint.el.
9334         (ansi-color-apply-face-function): New variable.
9335         (ansi-color-apply-on-region): Use it.
9336         (ansi-color-apply-overlay-face): New function.
9338         * shell.el (shell): No need to require ansi-color.
9339         (shell-mode): Use ansi-color-apply-face-function to highlight
9340         color escapes using font-lock-face property (Bug#10835).
9342 2012-02-19  Chong Yidong  <cyd@gnu.org>
9344         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9345         mode-line formats (Bug#10839).
9347 2012-02-18  Glenn Morris  <rgm@gnu.org>
9349         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9351         * mail/undigest.el (unforward-rmail-message): Doc fix.
9353         * saveplace.el (save-place-ignore-files-regexp): Add :version.
9355 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
9357         * international/characters.el (script-list): Sync with the latest
9358         Unicode Character Database.
9360 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
9362         * international/titdic-cnv.el: Remove duplicate coding tag.
9363         * language/cham.el: Likewise.
9364         * language/tai-viet.el: Likewise.
9366 2012-02-18  Glenn Morris  <rgm@gnu.org>
9368         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9369         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9370         (calendar-bahai-all-holidays-flag, calendar-other-dates):
9371         * calendar/diary-lib.el (diary-abbreviated-year-flag):
9372         * calendar/holidays.el (holiday-bahai-holidays)
9373         (calendar-holidays, list-holidays):
9374         Use utf-8 Bahá'í in doc-strings, menus, etc.
9376 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
9378         * saveplace.el (save-place-ignore-files-regexp): New variable
9379         allowing for excluding files from saving their location of point.
9380         The default value matches the temporary commit message editing
9381         files from Git, SVN, Bazaar, and Mercurial.
9382         (save-place-to-alist): Use it.
9384 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
9385             Stefan Monnier  <monnier@iro.umontreal.ca>
9387         * newcomment.el (uncomment-region-default): Don't leave extra space
9388         when an arg is provided (bug#8150).
9390 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
9392         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9394 2012-02-17  Glenn Morris  <rgm@gnu.org>
9396         * net/socks.el: Require network-stream.  (Bug#10599)
9398 2012-02-17  Kenichi Handa  <handa@m17n.org>
9400         * international/charprop.el:
9401         * international/uni-name.el:
9402         * international/uni-old-name.el:
9403         * international/uni-comment.el: Regenerate.
9405 2012-02-16  Glenn Morris  <rgm@gnu.org>
9407         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9408         Interactively in calendar buffer, give an error if not on a date.
9410 2012-02-15  Glenn Morris  <rgm@gnu.org>
9412         * shell.el (shell-delimiter-argument-list):
9413         Revert 2011-02-17 change.  (Bug#8027)
9415 2012-02-15  Chong Yidong  <cyd@gnu.org>
9417         * minibuffer.el (completion-at-point-functions): Doc fix.
9419         * custom.el (defcustom): Doc fix; note use of defvar.
9421 2012-02-15  Glenn Morris  <rgm@gnu.org>
9423         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9424         Doc fixes.
9426 2012-02-14  Glenn Morris  <rgm@gnu.org>
9428         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9430 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
9432         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9433         way the ports list is computed.
9434         (smtpmail-query-smtp-server): Prompt the user for a port number if
9435         we can't connect to any of the standard ports (bug#10810).
9437 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
9439         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9441 2012-02-13  Glenn Morris  <rgm@gnu.org>
9443         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
9445 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
9447         * net/gnutls.el (gnutls-trustfiles): New variable.
9448         (gnutls-negotiate): Use it.
9450 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
9452         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9453         does its stuff if Gnus is running.
9455 2012-02-13  Alan Mackenzie  <acm@muc.de>
9457         Fix a loop in c-set-fl-decl-start.
9459         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9460         c-backward-syntactic-ws actually moves backwards.
9462 2012-02-13  Leo Liu  <sdl.web@gmail.com>
9464         * net/rcirc.el (rcirc-markup-attributes): Move point to the
9465         beginning so that all \C-o chars are removed.
9467 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
9469         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9471 2012-02-12  Alan Mackenzie  <acm@muc.de>
9473         Fix infinite loop with long macros.
9474         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9476 2012-02-12  Chong Yidong  <cyd@gnu.org>
9478         * window.el (display-buffer): Doc fix (Bug#10785).
9480 2012-02-12  Glenn Morris  <rgm@gnu.org>
9482         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9483         (x-disown-selection-internal, x-get-selection-internal):
9484         Sync docs with the xselect.c versions.
9486         * allout-widgets.el: Add missing license notice.
9488 2012-02-11  Glenn Morris  <rgm@gnu.org>
9490         * select.el (x-get-selection-internal, x-own-selection-internal)
9491         (x-disown-selection-internal):
9492         * x-dnd.el (x-get-selection-internal): Update declarations.
9494         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9496         * window.el (window-sides-slots):
9497         * tool-bar.el (tool-bar-position):
9498         * term/xterm.el (xterm-extra-capabilities):
9499         * ses.el (ses-self-reference-early-detection):
9500         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9501         (verilog-auto-wire-type)
9502         (verilog-auto-delete-trailing-whitespace)
9503         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9504         (verilog-auto-tieoff-declaration):
9505         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9506         (sql-oracle-statement-starters, sql-oracle-scan-on):
9507         * progmodes/prolog.el (prolog-align-comments-flag)
9508         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9509         (prolog-left-indent-regexp, prolog-paren-indent-p)
9510         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9511         (prolog-types, prolog-mode-specificators)
9512         (prolog-determinism-specificators, prolog-directives)
9513         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9514         (prolog-electric-dot-flag)
9515         (prolog-electric-dot-full-predicate-template)
9516         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9517         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9518         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9519         (prolog-program-switches, prolog-prompt-regexp)
9520         (prolog-debug-on-string, prolog-debug-off-string)
9521         (prolog-trace-on-string, prolog-trace-off-string)
9522         (prolog-zip-on-string, prolog-zip-off-string)
9523         (prolog-use-standard-consult-compile-method-flag)
9524         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9525         (prolog-imenu-max-lines, prolog-info-predicate-index)
9526         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9527         (prolog-char-quote-workaround):
9528         * progmodes/cc-vars.el (c-defun-tactic):
9529         * net/tramp.el (tramp-encoding-command-interactive)
9530         (tramp-local-end-of-line):
9531         * net/soap-client.el (soap-client):
9532         * net/netrc.el (netrc-file):
9533         * net/gnutls.el (gnutls):
9534         * minibuffer.el (completion-category-overrides)
9535         (completion-cycle-threshold)
9536         (completion-pcm-complete-word-inserts-delimiters):
9537         * man.el (Man-name-local-regexp):
9538         * mail/feedmail.el (feedmail-display-full-frame):
9539         * international/characters.el (glyphless-char-display-control):
9540         * eshell/em-ls.el (eshell-ls-date-format):
9541         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9542         (lisp-lambda-list-keyword-parameter-indentation)
9543         (lisp-lambda-list-keyword-parameter-alignment):
9544         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9545         * dired-x.el (dired-omit-verbose):
9546         * cus-theme.el (custom-theme-allow-multiple-selections):
9547         * calc/calc.el (calc-highlight-selections-with-faces)
9548         (calc-lu-field-reference, calc-lu-power-reference)
9549         (calc-note-threshold):
9550         * battery.el (battery-mode-line-limit):
9551         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9552         (archive-7z-update):
9553         * allout.el (allout-prefixed-keybindings)
9554         (allout-unprefixed-keybindings)
9555         (allout-inhibit-auto-fill-on-headline)
9556         (allout-flattened-numbering-abbreviation):
9557         * allout-widgets.el (allout-widgets-auto-activation)
9558         (allout-widgets-icons-dark-subdir)
9559         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9560         (allout-widgets-theme-dark-background)
9561         (allout-widgets-theme-light-background)
9562         (allout-widgets-item-image-properties-emacs)
9563         (allout-widgets-item-image-properties-xemacs)
9564         (allout-widgets-run-unit-tests-on-load)
9565         (allout-widgets-time-decoration-activity)
9566         (allout-widgets-hook-error-post-time)
9567         (allout-widgets-track-decoration):
9568         Add missing :version tags to new defcustoms and defgroups.
9570         * progmodes/sql.el (sql-ansi-statement-starters)
9571         (sql-oracle-statement-starters): Add custom type.
9573         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9574         (prolog-system-version): Give it a type.
9576 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
9578         * term/pc-win.el (x-select-text, x-selection-owner-p)
9579         (x-own-selection-internal, x-disown-selection-internal)
9580         (x-get-selection-internal): Sync doc strings and argument lists
9581         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
9583 2012-02-11  Leo Liu  <sdl.web@gmail.com>
9585         * progmodes/python.el (python-end-of-statement): Fix infinite
9586         loop.  (Bug#10788)
9588 2012-02-10  Glenn Morris  <rgm@gnu.org>
9590         * international/mule-cmds.el (unify-8859-on-encoding-mode)
9591         (unify-8859-on-decoding-mode): Properly mark as obsolete.
9593 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
9595         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9596         about SMTP before checking the From header.
9598         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9599         into own function for reuse by emacsbug.el.
9601 2012-02-10  Leo Liu  <sdl.web@gmail.com>
9603         * subr.el (condition-case-unless-debug): Rename from
9604         condition-case-no-debug.  All callers changed.
9605         (with-demoted-errors): Fix caller.
9607         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9608         * nxml/rng-valid.el (rng-do-some-validation):
9609         * emacs-lisp/package.el (package-refresh-contents)
9610         (package-menu-execute):
9611         * desktop.el (desktop-create-buffer):
9612         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9614 2012-02-10  Glenn Morris  <rgm@gnu.org>
9616         * textmodes/bibtex.el:
9617         Add missing :version tags for new/changed defcustoms.
9619         * files.el (remote-file-name-inhibit-cache): Doc fixes.
9621 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
9623         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9624         (smtpmail-via-smtp): Use it, or fall back on the From address.
9625         (smtpmail-send-it): Ditto.
9627 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9629         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9630         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
9631         (byte-compile-tmp-var): New const.
9632         (byte-compile-defvar): Use it to minimize .elc size.
9633         Just use `defvar' rather than simulate it (bug#10761).
9635 2012-02-09  Glenn Morris  <rgm@gnu.org>
9637         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
9639         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9640         Add :version tags.
9642         * progmodes/compile.el (compilation-error-screen-columns)
9643         (compilation-first-column, compilation-filter-start): Doc fixes.
9645         * vc/log-view.el (log-view-toggle-entry-display):
9646         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9648         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9649         (report-emacs-bug-can-use-xdg-email):
9650         (report-emacs-bug-insert-to-mailer): Doc fixes.
9651         (report-emacs-bug): Message fix.
9653         * net/browse-url.el (browse-url-can-use-xdg-open)
9654         (browse-url-xdg-open): Doc fixes.
9656         * electric.el (electric-indent-mode, electric-pair-mode)
9657         (electric-layout-rules, electric-layout-mode): Doc fixes.
9658         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9660 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
9662         * server.el (server-unselect-display): Don't inadvertently kill
9663         the current buffer.  (Bug#10729)
9665 2012-02-08  Glenn Morris  <rgm@gnu.org>
9667         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9668         (sql-list-table): Doc fixes.
9670         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9671         Comment out (does nothing).
9673         * completion.el (dynamic-completion-mode):
9674         * dirtrack.el (dirtrack-debug-mode):
9675         * electric.el (electric-layout-mode):
9676         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9677         * face-remap.el (text-scale-mode, buffer-face-mode):
9678         * iimage.el (iimage-mode):
9679         * image-mode.el (image-transform-mode):
9680         * minibuffer.el (completion-in-region-mode):
9681         * scroll-lock.el (scroll-lock-mode):
9682         * simple.el (next-error-follow-minor-mode):
9683         * tar-mode.el (tar-subfile-mode):
9684         * tooltip.el (tooltip-mode):
9685         * vcursor.el (vcursor-use-vcursor-map):
9686         * wid-browse.el (widget-minor-mode):
9687         * emulation/tpu-edt.el (tpu-edt-mode):
9688         * emulation/tpu-extras.el (tpu-cursor-free-mode):
9689         * international/iso-ascii.el (iso-ascii-mode):
9690         * language/thai-util.el (thai-word-mode):
9691         * mail/supercite.el (sc-minor-mode):
9692         * net/goto-addr.el (goto-address-mode):
9693         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9694         * progmodes/cwarn.el (cwarn-mode):
9695         * progmodes/flymake.el (flymake-mode):
9696         * progmodes/glasses.el (glasses-mode):
9697         * progmodes/hideshow.el (hs-minor-mode):
9698         * progmodes/pascal.el (pascal-outline-mode):
9699         * textmodes/enriched.el (enriched-mode):
9700         * vc/smerge-mode.el (smerge-mode):
9701         Doc fixes (minor mode argument).
9703 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
9705         * ls-lisp.el (ls-lisp-sanitize): New function.
9706         (ls-lisp-insert-directory): Use it to fix or remove any elements
9707         in file-alist with missing attributes.  (Bug#4673)
9709 2012-02-07  Alan Mackenzie  <acm@muc.de>
9711         Fix spurious recognition of c-in-knr-argdecl.
9713         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9714         putative K&R region.
9716 2012-02-07  Alan Mackenzie  <acm@muc.de>
9718         * progmodes/cc-engine.el (c-forward-objc-directive):
9719         Prevent looping in "#pragma mark @implementation".
9721 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
9723         * notifications.el (notifications-on-closed-signal): Make `reason'
9724         optional.  (Bug#10744)
9726 2012-02-07  Glenn Morris  <rgm@gnu.org>
9728         * emacs-lisp/easy-mmode.el (define-minor-mode):
9729         Doc fixes for the macro and the mode it defines.
9731         * image.el (imagemagick-types-inhibit): Doc fix.
9733         * cus-start.el (imagemagick-render-type): Add it.
9735 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
9737         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9738         Set the default at load time, too, so that `font-lock-fontify-buffer'
9739         can be called without setting up the entire mode first.  This fixes
9740         a bug in `mm-inline-text' with C MIME parts.
9742 2012-02-06  Chong Yidong  <cyd@gnu.org>
9744         * simple.el (list-processes--refresh): Delete exited processes
9745         (Bug#8094).
9747         * comint.el (comint-next-prompt): next-single-char-property-change
9748         and prev-single-char-property-change never return nil (Bug#8657).
9750         * custom.el (defcustom): Doc fix (Bug#9711).
9752 2012-02-05  Chong Yidong  <cyd@gnu.org>
9754         * cus-edit.el (custom-variable-reset-backup): Quote the value
9755         before storing it in the customized-value property (Bug#6712).
9756         (custom-display): Add a customization type tag.
9757         (custom-buffer-create-internal): Improve tooltip message.
9759         * wid-edit.el (widget-field-value-get): New optional arg to
9760         suppress trailing whitespace truncation.
9761         (character): Use it (Bug#2689).
9763 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
9765         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9766         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9768 2012-02-05  Chong Yidong  <cyd@gnu.org>
9770         * cus-edit.el (custom-variable-value-create): For mismatched
9771         types, show the current value (Bug#7600).
9773         * custom.el (defcustom): Doc fix.
9775 2012-02-05  Glenn Morris  <rgm@gnu.org>
9777         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9779 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
9781         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9782         (pp-buffer): Use `ignore-errors', `looking-at-p'.
9783         (pp-last-sexp): Use `looking-at-p'.
9785 2012-02-04  Glenn Morris  <rgm@gnu.org>
9787         * files.el (revert-buffer):
9788         Doc fix (mention revert-buffer-in-progress-p).
9790         * emacs-lisp/ert-x.el (ert-simulate-command):
9791         Check deferred-action-list (which is obsolete) is bound.
9793         * subr.el (with-wrapper-hook): Doc fixes.
9795         * simple.el (filter-buffer-substring-functions)
9796         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9798 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
9800         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9801         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
9803 2012-02-04  Leo Liu  <sdl.web@gmail.com>
9805         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9807 2012-02-04  Glenn Morris  <rgm@gnu.org>
9809         * image.el (image-extension-data): Add obsolete alias.
9811         * isearch.el (isearch-update): Doc fix.
9813         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9815         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9817 2012-02-03  Glenn Morris  <rgm@gnu.org>
9819         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
9820         (image-animate-timeout): Doc fix.
9822         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9824 2012-02-02  Glenn Morris  <rgm@gnu.org>
9826         * server.el (server-auth-dir): Doc fix.
9827         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
9829         * subr.el (run-mode-hooks): Doc fix.
9831 2012-02-02  Juri Linkov  <juri@jurta.org>
9833         * image-mode.el (image-toggle-display-image): Remove tautological
9834         `major-mode' from the `derived-mode-p' test.
9836 2012-02-02  Kenichi Handa  <handa@m17n.org>
9838         * composite.el (compose-region): Cancel previous change.
9840 2012-02-02  Kenichi Handa  <handa@m17n.org>
9842         * composite.el (compose-region, compose-string): Signal error for
9843         a null string component (Bug#6988).
9845 2012-02-01  Chong Yidong  <cyd@gnu.org>
9847         * view.el (view-buffer-other-window, view-buffer-other-frame):
9848         Handle special modes like view-buffer (Bug#10650).
9849         (view-buffer): Simplify.
9851         * frame.el (set-frame-font): Tweak meaning of third argument.
9853         * dynamic-setting.el (font-setting-change-default-font):
9854         Use set-frame-font (Bug#9982).
9856 2012-02-01  Glenn Morris  <rgm@gnu.org>
9858         * progmodes/compile.el (compilation-internal-error-properties):
9859         Respect compilation-first-column in the "*compilation*" buffer.
9861         * emacs-lisp/easy-mmode.el (define-minor-mode):
9862         Relax :variable's test for a named function.
9864 2012-01-31  Alan Mackenzie  <acm@muc.de>
9866         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9867         off by one error.
9869 2012-01-31  Chong Yidong  <cyd@gnu.org>
9871         * frame.el (set-frame-font): New arg ALL-FRAMES.
9873         * menu-bar.el (menu-set-font): Use set-frame-font.
9875         * faces.el (face-spec-reset-face): Don't apply unspecified
9876         attribute values to the default face.
9878 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
9880         * progmodes/cwarn.el (cwarn): Remove dead link.
9881         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9882         Remove * from defcustom docstrings.
9883         (turn-on-cwarn-mode): Make obsolete.
9884         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9885         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9887 2012-01-31  Glenn Morris  <rgm@gnu.org>
9889         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9890         Fix :variable handling of mode a symbol not equal to modefun.
9891         Allow named functions to be used as the cdr of :variable.
9893 2012-01-30  Glenn Morris  <rgm@gnu.org>
9895         * emacs-lisp/authors.el (authors-fixed-entries):
9896         Remove reference to deleted file rnewspost.el.
9898 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
9900         * window.el (window-with-parameter): Remove unused variable `windows'.
9901         (window--side-check): Remove unused variable `code'.
9902         (window--resize-siblings): Remove unused variable `first'.
9903         (adjust-window-trailing-edge): Remove unused variable `failed'.
9904         (window-deletable-p, window--delete): Remove unused variable `buffer'.
9905         Use `let', not `let*'.
9906         (balance-windows-2): Remove unused variable `found'.
9907         (window--state-put-2): Remove unused variable `splits'.
9908         (window-state-put): Remove unused variable `selected'.
9909         (same-window-p): Use `string-match-p'.
9910         (display-buffer-assq-regexp): Remove unused variable `value'.
9911         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9912         Mark argument ALIST as ignored.
9913         (pop-to-buffer): Remove unused variable `old-window'.
9915 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
9917         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9918         and .lzma compressed files.
9920 2012-01-29  Chong Yidong  <cyd@gnu.org>
9922         * frame.el (window-system-default-frame-alist): Doc fix.
9924         * dynamic-setting.el (font-setting-change-default-font): Don't
9925         change the default face if SET-FONT argument is non-nil (Bug#9982).
9927 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
9929         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9931 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
9933         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9934         breakpoints in files outside current directory (Bug#6098).
9936 2012-01-29  Chong Yidong  <cyd@gnu.org>
9938         * progmodes/python.el: Require ansi-color at top-level.
9940         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9941         Define and use in Emacs Lisp mode (Bug#9360).
9942         (lisp-mode-abbrev-table): Add doc.
9943         (lisp-mode-variables): Don't set local-abbrev-table.
9944         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9946 2012-01-28  Roland Winkler  <winkler@gnu.org>
9948         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9950 2012-01-28  Roland Winkler  <winkler@gnu.org>
9952         * textmodes/bibtex.el (bibtex-entry-alist): New function.
9953         (bibtex-set-dialect): Use it.  Either set global values of
9954         dialect-dependent variables or bind these variables buffer-locally
9955         (Bug#10254).
9956         (bibtex-mode): Call bibtex-set-dialect via
9957         hack-local-variables-hook.
9958         (bibtex-dialect): Update docstring.
9959         Add safe-local-variable predicate.
9960         (bibtex-entry-alist, bibtex-field-alist): Initialize via
9961         bibtex-set-dialect.
9962         (bibtex-mode-map): Define menu for each dialect.
9963         (bibtex-entry): Fix docstring.
9965 2012-01-28  Chong Yidong  <cyd@gnu.org>
9967         * eshell/esh-arg.el (eshell-quote-argument): New function.
9969         * eshell/esh-ext.el (eshell-invoke-batch-file):
9970         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9971         first arg to eshell-parse-command (Bug#10523).
9973 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9975         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9976         `default-directory' is non-nil.
9978 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9980         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9981         line that displays system-configuration-options.  (Bug#9924)
9983 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9985         * descr-text.el (describe-char): Show information about POS, in
9986         addition to information about the character at POS.  Improve and
9987         update the doc string.  Change "code point" to "code point in
9988         charset", to avoid confusion with the character's Unicode code
9989         point shown above that.  (Bug#10129)
9991 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9993         * descr-text.el (describe-char): Show the raw character, not only
9994         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
9995         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9996         for the reasons.
9998 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
10000         * emacs-lisp/package.el (package-install):
10001         Run package-refresh-contents if there is no archive yet (Bug#9798).
10003 2012-01-28  Chong Yidong  <cyd@gnu.org>
10005         * emacs-lisp/package.el (package-maybe-load-descriptor):
10006         New function, split from package-maybe-load-descriptor.
10007         (package-maybe-load-descriptor): Use it.
10008         (package-download-transaction): Fully load required packages
10009         inside the loop, so that `require' calls work (Bug#10593).
10010         (package-install): No need to call package-initialize now.
10012 2012-01-28  Chong Yidong  <cyd@gnu.org>
10014         * simple.el (deactivate-mark): Doc fix (Bug#8614).
10016         * tooltip.el (tooltip-mode): Doc fix.
10017         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10019         * frame.el (set-cursor-color): Doc fix (Bug#352).
10021         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10022         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10024         * cus-edit.el (custom-buffer-create-internal): Fix search button
10025         action (Bug#10542).
10026         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10028 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
10030         * dired.el (dired-mark-files-regexp):
10031         Include any subdirectory components.  (Bug#10445)
10033 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10035         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10036         Handle [host]:port syntax.  (Bug#10533)
10038 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
10040         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10042 2012-01-26  Glenn Morris  <rgm@gnu.org>
10044         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10045         * term.el (term-raw-escape-map): Use Control-X-prefix.
10046         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
10048 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
10050         * window.el (window-state-get, window--state-get-1): Don't deal
10051         with fixed-sizeness of windows.  Simplify code.
10053 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
10055         * window.el (window--state-get-1, window--state-put-2):
10056         Don't save and restore the mark.
10058 2012-01-25  Chong Yidong  <cyd@gnu.org>
10060         * custom.el (custom-variable-p): Doc fix.
10062 2012-01-25  Glenn Morris  <rgm@gnu.org>
10064         * dired.el (dired-goto-file): Handle some of the more common
10065         characters that `ls -b' escapes.  (Bug#10596)
10067         * progmodes/compile.el (compilation-next-error-function):
10068         Respect compilation-first-column in the "*compilation*" buffer.
10069         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
10071         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
10073 2012-01-24  Glenn Morris  <rgm@gnu.org>
10075         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
10077 2012-01-24  Julien Danjou  <julien@danjou.info>
10079         * color.el (color-rgb-to-hsl): Fix value computing.
10080         (color-hue-to-rgb): New function.
10081         (color-hsl-to-rgb): New function.
10082         (color-clamp, color-saturate-hsl, color-saturate-name)
10083         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10084         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10086 2012-01-24  Glenn Morris  <rgm@gnu.org>
10088         * vc/vc-rcs.el (vc-rcs-create-tag):
10089         * vc/vc-sccs.el (vc-sccs-create-tag):
10090         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
10092 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10094         * eshell/esh-util.el (eshell-read-hosts-file):
10095         Skip comment lines.  (Bug#10549)
10097         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
10099 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
10101         * subr.el (display-delayed-warnings): Doc fix.
10102         (collapse-delayed-warnings): New function to collapse identical
10103         adjacent warnings.
10104         (delayed-warnings-hook): Add it.
10106 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
10108         * net/tramp.el (tramp-action-login): Set connection property "login-as".
10110         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10111         (tramp-default-user-alist): Don't add "pscp".
10112         (tramp-do-copy-or-rename-file-out-of-band): Use connection
10113         property "login-as", if set.  (Bug#10530)
10115 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
10117         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10118         "plink1" and "psftp".  (Bug#10530)
10120 2012-01-21  Kenichi Handa  <handa@m17n.org>
10122         * international/mule-cmds.el (prefer-coding-system): Show a
10123         warning message if the default value of file-name-coding-system
10124         was not changed.
10126 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10128         * windmove.el (windmove-reference-loc):
10129         Fix windmove-reference-loc miscalculation.
10131 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
10133         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10134         default unit.
10136 2012-01-21  Glenn Morris  <rgm@gnu.org>
10138         * international/mule.el (auto-coding-alist): Add .tbz.
10140         * files.el (local-enable-local-variables): Doc fix.
10141         (inhibit-local-variables-regexps): Rename from
10142         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
10143         Doc fix.  Add some extensions from auto-coding-alist.
10144         (inhibit-local-variables-suffixes):
10145         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
10146         (inhibit-local-variables-p):
10147         New function, extracted from set-auto-mode-1.
10148         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
10149         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
10150         (hack-local-variables): Doc fix.  Make the mode-only case
10151         respect enable-local-variables and friends.
10152         Respect inhibit-local-variables-regexps for file-locals, but
10153         not for directory-locals.
10154         (set-visited-file-name):
10155         Take account of inhibit-local-variables-regexps.
10156         Whether it applies may change as the file name is changed.
10157         * jka-cmpr-hook.el (jka-compr-install):
10158         * jka-compr.el (jka-compr-uninstall):
10159         Update for inhibit-first-line-modes-suffixes name change.
10161 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
10163         * help-macro.el (make-help-screen): Temporarily restore original
10164         binding for minor-mode-map-alist (Bug#10454).
10166 2012-01-19  Julien Danjou  <julien@danjou.info>
10168         * color.el (color-name-to-rgb): Use the white color to find the max
10169         color component value and return correctly computed values.
10170         (color-name-to-rgb): Add missing float conversion for max value.
10172 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
10174         * window.el (window--state-get-1, window-state-get): Do not use
10175         special state value for window-persistent-parameters.
10176         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
10177         (window--state-put-2): Reset all window parameters to nil before
10178         assigning values of persistent parameters.
10180 2012-01-18  Alan Mackenzie  <acm@muc.de>
10182         Eliminate sluggishness and hangs in fontification of "semicolon
10183         deserts".
10185         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10186         Change value 10000 -> 3000.
10187         (c-state-safe-place): Reformulate so it doesn't stack up an
10188         infinite number of wrong entries in c-state-nonlit-pos-cache.
10189         (c-determine-limit-get-base, c-determine-limit): New functions to
10190         determine backward search limits disregarding literals.
10191         (c-find-decl-spots): Amend commenting.
10192         (c-cheap-inside-bracelist-p): New function which detects "={".
10194         * progmodes/cc-fonts.el
10195         (c-make-font-lock-BO-decl-search-function): Give a limit to a
10196         backward search.
10197         (c-font-lock-declarations): Fix an occurrence of point being
10198         undefined.  Check additionally for point being in a bracelist or
10199         near a macro invocation without a semicolon so as to avoid a
10200         fruitless time consuming search for a declarator.  Give a more
10201         precise search limit for declarators using the new
10202         c-determine-limit.
10204 2012-01-18  Glenn Morris  <rgm@gnu.org>
10206         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10207         (set-auto-mode): Doc fixes.
10209 2012-01-17  Glenn Morris  <rgm@gnu.org>
10211         * isearch.el (search-nonincremental-instead): Fix doc typo.
10213         * dired.el (dired-insert-directory): Handle newlines in directory name.
10214         (dired-build-subdir-alist): Unescape newlines in directory name.
10216 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
10218         * net/tramp.el (tramp-local-end-of-line): New defcustom.
10219         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10220         (tramp-action-terminal): Use it.  (Bug#10530)
10222 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10224         * minibuffer.el (completion--replace): Strip properties (bug#10062).
10226 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
10228         * window.el (window-state-ignored-parameters): Remove variable.
10229         (window--state-get-1): Rename argument MARKERS to IGNORE.
10230         Handle persistent window parameters.  Make copy of clone-of
10231         parameter only if requested.  (Bug#10348)
10232         (window--state-put-2): Install a window parameter only if it has
10233         a non-nil value or an existing parameter shall be overwritten.
10235 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
10237         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10239 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
10241         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10242         don't pass the (nil) value of `upnode' to string-match.
10244 2012-01-14  Chong Yidong  <cyd@gnu.org>
10246         * startup.el (command-line): Fix X resource class for cursorColor.
10247         Fix values recognized by the cursorBlink resource.
10249 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
10251         * epg.el (epg--make-temp-file): Avoid permission race condition
10252         when running on old Emacs versions (bug#10403).
10254 2012-01-14  Glenn Morris  <rgm@gnu.org>
10256         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10258 2012-01-13  Alan Mackenzie  <acm@muc.de>
10260         Fix filling for when filladapt mode is enabled.
10262         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10263         c-mask-paragraph, pass in `fill-paragraph' rather than
10264         `fill-region-as-paragraph'.  (This is a reversion of a previous
10265         change.)
10266         * progmodes/cc-mode.el (c-basic-common-init):
10267         Make fill-paragraph-handle-comment buffer local and set it to nil.
10269 2012-01-13  Glenn Morris  <rgm@gnu.org>
10271         * dired.el (dired-switches-escape-p): New function.
10272         (dired-insert-directory): Use dired-switches-escape-p.
10273         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
10275         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
10277 2012-01-12  Glenn Morris  <rgm@gnu.org>
10279         * mail/sendmail.el (mail-mode): Update paragraph-separate for
10280         changes in adaptive-fill-regexp.  (Bug#10276)
10282 2012-01-11  Alan Mackenzie  <acm@muc.de>
10284         Fix Emacs bug #10463 - put `widen's around the critical spots.
10286         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10287         widen around each invocation of c-state-pp-to-literal.  Remove an
10288         unused let variable.
10290 2012-01-11  Glenn Morris  <rgm@gnu.org>
10292         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
10293         Doc fix.
10295 2012-01-10  Chong Yidong  <cyd@gnu.org>
10297         * net/network-stream.el (network-stream-open-starttls):
10298         Avoid emitting a confusing error message when the server gives a bad
10299         response to the capability command.
10301 2012-01-10  Glenn Morris  <rgm@gnu.org>
10303         * mail/unrmail.el (unrmail): Tweak previous change.
10305 2012-01-09  Chong Yidong  <cyd@gnu.org>
10307         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10309 2012-01-08  Alan Mackenzie  <acm@muc.de>
10311         Optimise font locking in long enum definitions.
10313         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10314         arm to a cond form to handle enums.
10315         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10316         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10318 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10320         * files.el (move-file-to-trash): Preserve default file modes on error.
10321         (Bug#10401)
10323 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10325         * faces.el (set-face-attribute): Clarify the meaning of the nil
10326         frame (bug#10294).
10328         * subr.el (with-selected-frame): Mention that the selected frame
10329         is restored (bug#9980).
10331         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10332         (bug#9759).
10334         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10335         (password-read): Don't autoload unused function.
10337 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
10339         * progmodes/which-func.el (which-func-mode): Turn into a
10340         non-interactive function and mark as obsolete (bug#10428).
10342 2012-01-06  Chong Yidong  <cyd@gnu.org>
10344         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10345         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10346         functions, along with 1 and -1.
10348 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
10350         * time.el (display-time-load-average)
10351         (display-time-default-load-average): Doc fixes.  See the thread
10352         starting at
10353         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10354         for the details.
10356 2012-01-06  Glenn Morris  <rgm@gnu.org>
10358         * mail/unrmail.el (unrmail): Give an explicit error if the input file
10359         has no messages.  (Bug#10377)
10361         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10362         than Info-edit.  (Bug#10385)
10364         * time.el (display-time-load-average, display-time-next-load-average):
10365         Doc fixes.
10367         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10368         local setting of buffer-read-only to the input buffer.  (Bug#10419)
10370         * calendar/calendar.el (calendar-mode):
10371         Locally set scroll-margin to 0.  (Bug#10379)
10373 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
10375         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
10377 2012-01-05  Glenn Morris  <rgm@gnu.org>
10379         * eshell/em-unix.el (diff-no-select): Autoload it.
10380         (eshell/diff): Use diff-no-select.  (Bug#10420)
10382 2012-01-05  Chong Yidong  <cyd@gnu.org>
10384         * shell.el (shell-dynamic-complete-functions): Revert last change.
10385         (shell-command-completion-function): New function.
10386         (shell-completion-vars): Use it to implement
10387         shell-completion-execonly (Bug#10417).
10389         * custom.el (enable-theme): Don't set custom-safe-themes.
10391         * cus-theme.el (custom-theme-merge-theme):
10392         Ignore custom-enabled-themes and custom-safe-themes.
10394 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
10396         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10397         first prompt in `sql-interacive-mode'.
10398         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10399         keywords.
10400         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10401         (sql-product-interactive): Bug fix: Set `sql-buffer' in
10402         context of original buffer.  Invoke `sql-login-hook'.
10404 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
10406         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10407         letters in cite-prefix.
10409 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10411         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10413 2012-01-03  Chong Yidong  <cyd@gnu.org>
10415         * shell.el (shell-dynamic-complete-functions):
10416         Put pcomplete-completions-at-point, so as to try
10417         comint-filename-completion first (Bug#10417).
10419 2012-01-02  Richard Stallman  <rms@gnu.org>
10421         * battery.el (battery-status-function):
10422         Detect when to use battery-yeeloong-sysfs.
10423         (battery-echo-area-format): Add string for Yeeloong.
10424         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10425         (battery-yeeloong-sysfs): New function.
10427 2012-01-02  Chong Yidong  <cyd@gnu.org>
10429         * dirtrack.el (dirtrack-list): Eliminate unused third element.
10430         (dirtrack): Merge code for handling relative filenames in prompt
10431         from shell-dir-cookie-watcher.
10432         (dirtrack-debug-message): New arg to avoid excess format calls.
10434         * shell.el (shell-dir-cookie-re): Variable deleted.
10435         (shell-dir-cookie-watcher): Function deleted.
10436         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10437         with dirtrack-mode.
10439 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
10441         * term/w32-win.el (dynamic-library-alist) <gnutls>:
10442         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10443         libgnutls-26.dll.
10445 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
10447         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10449 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
10451         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10452         headers of non-MIME messages, when rmail-enable-mime is non-nil.
10454 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
10456         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10457         also for alternative shells.
10458         (tramp-open-connection-setup-interactive-shell): Check, whether
10459         the shell is a busybox.
10460         (tramp-send-command): Don't suppress multiple prompts for
10461         busyboxes, it hurts.
10463 2011-12-28  Chong Yidong  <cyd@gnu.org>
10465         * progmodes/gdb-mi.el (gdb-get-source-file-list)
10466         (gdb-get-source-file): Move mode line update to
10467         gdb-get-source-file (Bug#10087).
10469 2011-12-25  Chong Yidong  <cyd@gnu.org>
10471         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10472         gud-gdb-marker-filter without taking it as an argument.
10473         (gud-gdb-run-command-fetch-lines): Caller changed.
10474         (gud-gdb-completion-function): New variable.
10475         (gud-gdb-completion-at-point): Use it.
10476         (gud-gdb-completions-1): Split from gud-gdb-completions.
10478         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10479         function as separate arguments.
10480         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10481         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10482         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10483         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10484         (gdb-stopped, def-gdb-auto-update-trigger)
10485         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10486         (gdb-get-changed-registers, gdb-get-main-selected-frame):
10487         Callers changed.
10488         (gud-gdbmi-completions): New function.
10489         (gdb): Use it for generating the completion table.
10491 2011-12-24  Alan Mackenzie  <acm@muc.de>
10493         Introduce a mechanism to widen the region used in context font
10494         locking.  Use this to protect declarations from losing their contexts.
10496         * progmodes/cc-langs.el (c-before-font-lock-functions):
10497         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10498         (c-before-context-fontification-functions): New defvar, a list of
10499         functions to be run just before context (etc.) font locking.
10501         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10502         New, functionality extracted from
10503         c-neutralize-syntax-in-and-mark-CPP.
10504         (c-in-after-change-fontification): New variable.
10505         (c-after-change): Set c-in-after-change-fontification.
10506         (c-set-fl-decl-start): Rejig its interface, so it can be called
10507         from both after-change and context fontifying.
10508         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10509         New functions.
10510         (c-standard-font-lock-fontify-region-function): New variable.
10511         (c-font-lock-fontify-region): New function.
10513 2011-12-24  Juri Linkov  <juri@jurta.org>
10515         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10516         (Bug#10348)
10518 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
10520         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10521         existence of source file.  (Bug#10325)
10523 2011-12-23  Alan Mackenzie  <acm@muc.de>
10525         Fix unstable fontification inside templates.
10527         * progmodes/cc-langs.el (c-before-font-lock-functions):
10528         Newly created from the singular version.  The (c c++ objc) entry now
10529         additionally has c-set-fl-decl-start.  The other languages (apart
10530         from AWK) have that as a single entry.
10532         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10533         The functionality for "local" declarations has been extracted to
10534         c-set-fl-decl-start.
10536         * progmodes/cc-mode.el (c-common-init, c-after-change):
10537         Changes due to pluralisation of c-before-font-lock-functions.
10538         (c-set-fl-decl-start): New function, extracted from
10539         c-font-lock-enclosing-decls and enhanced.
10541 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
10543         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10545 2011-12-22  Juri Linkov  <juri@jurta.org>
10547         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
10549 2011-12-22  Chong Yidong  <cyd@gnu.org>
10551         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10553 2011-12-21  Drew Adams  <drew.adams@oracle.com>
10555         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
10557 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10559         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10561 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
10563         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
10564         highlighting and support.  Fix up comments for capitalization.
10565         (cfengine-mode-debug): New var.
10566         (cfengine3-mode): Change the modeline indicator to "CFE3".
10567         (cfengine3-font-lock-keywords): Improve defun highlighting.
10568         (cfengine2-actions): Rename from `cfengine-actions'.
10569         (cfengine2-font-lock-keywords): Rename from
10570         `cfengine-font-lock-keywords'.
10571         (cfengine2-imenu-expression): Rename from
10572         `cfengine-imenu-expression'.
10573         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10574         (cfengine2-beginning-of-defun): Rename from
10575         `cfengine-beginning-of-defun'.
10576         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10577         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10578         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
10579         modeline indicator to "CFE2".
10580         (cfengine-mode): Defalias to `cfengine-auto-mode'.
10581         (cfengine-mode-abbrevs): Mark obsolete.
10583 2011-12-21  Chong Yidong  <cyd@gnu.org>
10585         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10586         filename argument.
10588 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
10590         * window.el (window-normalize-buffer-to-display): Remove.
10591         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10593 2011-12-19  Chong Yidong  <cyd@gnu.org>
10595         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10596         Don't signal an error in a predicate function; return non-nil.
10597         (vc-dir-mark-file): Move the error here.
10598         (vc-dir-mark-unmark): If acting on the region, keep going if one
10599         of the entries cannot be marked/unmarked.
10600         (vc-dir-mark-all-files): If current entry is a directory, mark
10601         only child files, as documented.
10603 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10605         * ses.el: Ooops... undo changes of revision 106664, as trunk
10606         branch is feature frozen, and revision 106664 was a feature
10607         addition.
10609 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
10611         * term/ns-win.el (ns-get-selection-internal)
10612         (ns-store-selection-internal): Declare.
10613         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10614         Declare as obsolete.
10615         (ns-get-pasteboard, ns-paste-secondary):
10616         Use ns-get-selection-internal.
10617         (ns-set-pasteboard,  ns-copy-including-secondary):
10618         Use ns-store-selection-internal.
10620 2011-12-17  Chong Yidong  <cyd@gnu.org>
10622         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10623         (vc-deduce-fileset): Doc fix.
10625 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
10627         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10629 2011-12-13  Sam Steingold  <sds@gnu.org>
10631         * man.el (Man-getpage-in-background): When running under a
10632         window-system, ignore $MANWIDTH and $COLUMNS.
10634 2011-12-15  Kenichi Handa  <handa@m17n.org>
10636         * language/ethio-util.el: Change coding tag to utf-8-emacs.
10637         (setup-ethiopic-environment-internal): Comment out key-binding for
10638         ethio-toggle-punctuation.
10640 2011-12-13  Alan Mackenzie  <acm@muc.de>
10642         Add the switch statement to AWK Mode.
10644         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10645         "default" to the keywords regexp.
10647         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10648         expression as the rest.
10649         (c-nonlabel-token-key): Allow string literals for AWK.
10650         Refactor for the other modes.
10652         Large brace-block initialisation makes CC Mode slow: Fix.
10653         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10654         routines.  Limit backward searching in c-font-lock-enclosing.decl.
10656         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10657         pp-state and literal type in addition to the limits.
10658         (c-state-safe-place): New defun, extracted from c-state-literal-at.
10659         (c-state-literal-at): Use the above new defun.
10660         (c-slow-in-literal, c-fast-in-literal): Remove.
10661         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10663         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10664         being in a literal.  Add a limit for backward searching.
10666         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10667         c-slow-in-literal.
10669 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10671         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10673 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
10675         * window.el (delete-other-windows): Use correct frame in call to
10676         window-with-parameter.
10678 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
10680         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10681         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10682         (makefile-gmake-statements, makefile-makepp-statements):
10683         Use it and add new makepp keywords.
10684         (makefile-makepp-font-lock-keywords): Add new patterns.
10685         (makefile-match-function-end): Match new [...] and [[...]].
10687 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
10689         * ses.el (ses-call-printer-return, ses-cell-property-get)
10690         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10691         (ses-create-cell-variable, ses-reset-header-string)
10692         (ses-cell-set-formula, ses-repair-cell-reference-all)
10693         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10694         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10695         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10696         (ses-aset-with-undo, ses-load, ses-truncate-cell)
10697         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10698         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10699         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10700         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10701         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10702         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10703         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10704         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10706 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10708         * ses.el: The overall change is to add cell renaming, that is
10709         setting fancy names for cell symbols other than name matching
10710         "\\`[A-Z]+[0-9]+\\'" regexp .
10711         (ses-create-cell-variable): New defun.
10712         (ses-relocate-formula): Relocate formulas only for cells the
10713         symbols of which are not renamed, i.e. symbols whose names do not
10714         match regexp "\\`[A-Z]+[0-9]+\\'".
10715         (ses-relocate-all): Relocate values only for cells the symbols of
10716         which are not renamed.
10717         (ses-load): Create cells variables as the (ses-cell ...) are read,
10718         in order to check row col consistency with cell symbol name only
10719         for cells that are not renamed.
10720         (ses-replace-name-in-formula): New defun.
10721         (ses-rename-cell): New defun.
10723 2011-12-11  Chong Yidong  <cyd@gnu.org>
10725         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10726         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10728 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
10730         * window.el (other-window): Fix docstring.
10732 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10734         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10735         `from' or `to' address before taking its substring.
10736         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10737         encoded name is chopped in the middle of the encoded string, and
10738         thus displayed encoded.
10740 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
10742         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10744 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10746         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
10747         to use texinfo-update-node and commands that call it if the
10748         Texinfo file uses @node lines without next/prev/up pointers.
10749         Correct outdated description about texinfo-master-menu.
10750         (texinfo-all-menus-update, texinfo-master-menu)
10751         (texinfo-update-node, texinfo-every-node-update)
10752         (texinfo-multiple-files-update): Doc fix.  Warn against updating
10753         all the @node lines.
10754         (texinfo-master-menu): Only call texinfo-update-node if the prefix
10755         argument is numeric.  Explain better in the doc string what the
10756         function really does.
10757         (texinfo-insert-master-menu-list): Improve the error message
10758         displayed if there's no menu in the Top node.
10759         (Bug#2975)  See also this thread:
10760         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10762 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
10764         * speedbar.el (speedbar-supported-extension-expressions):
10765         Add .adb and .ads, commonly used for Ada source code (bug#10256).
10767 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
10769         * printing.el (pr-mode-alist):
10770         * simple.el (filter-buffer-substring-functions)
10771         (completion-list-insert-choice-function):
10772         * window.el (window-with-parameter, window-atom-root)
10773         (window-sides-slots, window-size-fixed, window-min-delta)
10774         (window-max-delta, window--resize-mini-window)
10775         (window--resize-child-windows-normal, window-tree)
10776         (delete-other-windows, quit-window, split-window)
10777         (display-buffer-record-window, special-display-buffer-names)
10778         (special-display-regexps, special-display-popup-frame)
10779         (same-window-p, split-window-sensibly)
10780         (display-buffer-overriding-action, display-buffer-alist)
10781         (display-buffer-base-action, display-buffer, switch-to-buffer)
10782         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10783         (fit-window-to-buffer, recenter-positions)
10784         (mouse-autoselect-window-state, mouse-autoselect-window-select):
10785         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10786         and remove unneeded backslashes in docstrings.
10788 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10790         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10792         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10793         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10794         end in ".mk".
10795         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10796         when reading the makefile (bug#10116).
10798 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10800         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10801         (bug#10116).
10803 2011-12-06  Glenn Morris  <rgm@gnu.org>
10805         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10807 2011-12-06  Chong Yidong  <cyd@gnu.org>
10809         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10811 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
10813         * textmodes/table.el (table-shorten-cell): Fix typo.
10815 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
10817         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10819 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
10821         * descr-text.el (describe-char): Fix display of strong
10822         right-to-left characters and directional embeddings and overrides.
10824         * simple.el (what-cursor-position): Fix display of codepoints of
10825         strong right-to-left characters.
10827 2011-12-05  Chong Yidong  <cyd@gnu.org>
10829         * faces.el (read-color): Doc fix.
10831 2011-12-05  Glenn Morris  <rgm@gnu.org>
10833         * align.el (align--set-marker): Add doc-string.
10834         Don't try to move something that is not a marker.  (Bug#10216)
10836 2011-12-04  Glenn Morris  <rgm@gnu.org>
10838         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10839         overly zealous deletion of trailing whitespace.
10841 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
10843         * server.el (server-delete-client): On Windows, do not try to delete
10844         the only terminal.
10845         (server-process-filter): On Windows, treat requests for a tty frame as
10846         if they were for a GUI frame if the running server is in GUI mode.
10848 2011-12-03  Glenn Morris  <rgm@gnu.org>
10850         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
10852 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10854         * electric.el: Streamline electric-indent's hook.
10855         (electric-indent-chars): Revert to simple list.
10856         (electric-indent-functions): New var.
10857         (electric-indent-post-self-insert-function): Use it.
10859         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10860         there's no inferior buffer (bug#10196).
10861         (prolog-consult-compile): Don't use toggle-read-only.
10863 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
10865         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10866         interrupt.  (Bug#10187)
10868 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10870         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10871         (bug#9160).
10873         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10874         (bug#10191).
10876 2011-12-02  Juri Linkov  <juri@jurta.org>
10878         * info.el (Info-search): Display "end of manual" when Isearch
10879         reaches the end of single-file Info manual.  (Bug#9918)
10881 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
10883         * isearch.el (isearch-message-prefix): Run the input method part
10884         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
10886 2011-12-02  Juri Linkov  <juri@jurta.org>
10888         * isearch.el (isearch-occur): Use `word-search-regexp' for
10889         `isearch-word'.
10890         (isearch-search-and-update): Add condition for `isearch-word' and
10891         call `word-search-regexp'.  (Bug#10145)
10893 2011-12-01  Glenn Morris  <rgm@gnu.org>
10895         * eshell/em-hist.el (eshell-hist-initialize):
10896         Handle eshell-history-size nil and HISTSIZE set or unset.
10897         (eshell-history-file-name, eshell-history-size): Fix custom type.
10899 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10901         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10903 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
10905         * progmodes/verilog-mode.el (verilog-pretty-expr):
10906         Rework verilog-pretty-expr to handle new assignment operators in system
10907         verilog, such as += *= and the like.
10908         (verilog-assignment-operator-re): Regular expression to find the
10909         assigment operator in a verilog assignment.
10910         (verilog-assignment-operation-re): Regular expression to find an
10911         assignment statement for pretty-expr.
10912         (verilog-in-attribute-p): Query returns true if point is in an
10913         attribute context; used to skip these for expression line up from
10914         pretty-expr.
10915         (verilog-in-parameter-p): Query returns true if point is in an
10916         parameter definition context; used to skip these for expression
10917         line up from pretty-expr.
10918         (verilog-in-parenthesis-p): Query returns true if point is in a
10919         parenthetical expression, specifically ( ) but not [ ] or { };
10920         used by pretty-expr.
10921         (verilog-just-one-space): If there is no space, don't add one.
10922         (verilog-get-lineup-indent-2): Specifically skip just attribute
10923         contexts for expression lineup, rather than skipping all
10924         parenthetical expressions.
10925         (verilog-calculate-indent): Fix comment, and fix indent.
10926         (verilog-do-indent): Indent declarations in lists (suggested by
10927         Joachim Lechner).
10928         (verilog-mode-abbrev-table): Populate abbrev mode with the various
10929         skeleton items.
10930         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10931         by Alain Mellan).
10933 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
10935         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10936         parameters with embedded comments.  Reported by Ray Stevens.
10937         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10938         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10939         Reported by Tim Holt.
10940         (verilog-auto): Fix AUTOing a upper module then AUTOing module
10941         instantiated by upper module causing wrong expansion until AUTOed a
10942         second time.  Reported by K C Buckenmaier.
10943         (verilog-diff-auto): Fix showing .* as a difference when
10944         `verilog-auto-star-save' off.  Reported by Dan Dever.
10945         (verilog-auto-reset, verilog-read-always-signals)
10946         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10947         temporary signals in reset list if
10948         verilog-auto-reset-blocking-in-non is nil, and match assignment
10949         style to each signal's assignment type, bug381.
10950         Reported by Thomas Esposito.
10951         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10952         (verilog-uvm-statement-re): Support UVM indentation and
10953         highlighting, with old OVM keywords only.
10954         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10955         Support AUTOTIEOFF creating non-wire data types.
10956         Suggested by Jonathan Greenlaw.
10957         (verilog-auto-insert-lisp, verilog-delete-to-paren)
10958         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10959         (verilog-inject-sense, verilog-read-inst-pins)
10960         (verilog-read-sub-decls, verilog-read-sub-decls-line):
10961         Fix mismatching parenthesis inside commented out code when deleting
10962         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
10963         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10964         non-numeric vector width.  Reported by Alex Reed.
10965         (verilog-auto-ascii-enum): Add "onehot" option to work around not
10966         detecting signals with parameter widths.  Reported by Alex Reed.
10967         (verilog-auto-delete-trailing-whitespace):
10968         With `verilog-auto-delete-trailing-whitespace' remove trailing
10969         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
10970         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10971         Fix verilog-scan-cache corruption when running user AUTO expansion
10972         hooks that call indentation routines.
10973         (verilog-simplify-range-expression): Fix typo ignoring lower case
10974         identifiers.
10975         (verilog-delete-auto): Fix delete-autos to also remove user created
10976         automatics, as long as they start with AUTO.
10977         (verilog-batch-diff-auto, verilog-diff-auto)
10978         (verilog-diff-function): Add `verilog-diff-auto' and bind to
10979         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
10980         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10981         (verilog-in-paren-quick, verilog-re-search-backward-quick)
10982         (verilog-re-search-forward-quick, verilog-syntax-ppss):
10983         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10984         is disabled and its cache will get corrupt, causing AUTOS not to
10985         expand.  Instead use only -quick functions.
10986         (verilog-scan-region): Fix scanning over escaped quotes.
10987         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10988         (verilog-re-search-backward-quick)
10989         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10990         related functions now ignore strings, to fix misparsing of strings
10991         with magic comments embedded in them.
10992         (verilog-read-auto-template):
10993         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10994         Reported by Brad Dobbie.
10995         (verilog-read-auto-template):
10996         Fix 'verilog-auto-inst-template-numbers' with comments.
10997         Reported by Brad Dobbie.
10998         (verilog-auto-inst, verilog-auto-inst-param)
10999         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11000         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
11001         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11002         debugging templates without merge conflicts, bug357.
11003         Reported by Brad Dobbie.
11004         (verilog-read-auto-template):
11005         Fix verilog-auto-inst-template-numbers with multiple templates.
11006         Reported by Brad Dobbie.
11007         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11008         abbrevs so user won't be asked to save.
11009         (verilog-read-auto-lisp-present): Fix to start at beginning of
11010         buffer in case called outside of verilog-auto.
11011         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11012         to "X-2".  Reported by Matthew Myers.
11013         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11014         all inputs from module templates.  Reported by Leith Johnson.
11015         (verilog-module-inside-filename-p): Fix locating programs as with
11016         modules.
11017         (verilog-auto-inst-port): Fix vl-width expressions when using
11018         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
11019         (verilog-decls-get-regs, verilog-decls-get-signals,
11020         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11021         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11022         verilog-read-decls): Combine reg and wire structures into one var
11023         structure to represent SystemVerilog concepts.
11024         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11025         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11026         (verilog-auto-wire-type, verilog-insert-definition):
11027         Add verilog-auto-wire-type and AUTOLOGIC to support using
11028         SystemVerilog "logic" keyword instead of "wire"/"reg".
11029         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11030         to declares outputs that also have assignments (presumably in an
11031         ifdef or generate if so there's not a driver conflict).
11032         Reported by Matthew Myers.
11033         (verilog-auto-declare-nettype, verilog-insert-definition):
11034         Add verilog-auto-declare-nettype to fix declarations using
11035         `default_nettype none.  Reported by Julian Gorfajn.
11036         (verilog-read-always-signals-recurse, verilog-read-decls)
11037         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11038         malformed end statement, bug325.  Reported by Joshua Wise and
11039         Andrew Drake.
11040         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11041         (verilog-inst-comment-re): Fix not deleting Interfaced comment
11042         when expanding .* in interfaces, bug320.
11043         Reported by Pierre-David Pfister.
11044         (verilog-read-module-name): Fix import statements between module
11045         name and open parenthesis, bug317.
11046         Reported by Pierre-David Pfister.
11047         (verilog-simplify-range-expression): Fix simplification of
11048         multiplications inside AUTOWIRE connections, bug303.
11049         (verilog-auto-inst-port): Support parameter expansion in
11050         multidimensional arrays.
11051         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11052         after "assert property".  Reported by Julian Gorfajn.
11053         (verilog-simplify-range-expression): Fix "couldn't merge" errors
11054         with multiplication, bug303.
11055         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11056         Reported by Jan Frode Lonnum.
11058 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
11060         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11061         (hfy-shell-file-name, hfy-shell):
11062         * international/fontset.el (x-decompose-font-name): Fix typos.
11064 2011-11-29  Ken Brown  <kbrown@cornell.edu>
11066         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11067         (gdb-version): Remove defvar.
11068         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11069         (gdb-gud-context-command, gdb-non-stop-handler)
11070         (gdb-current-context-command, gdb-stopped): Use it.
11071         (gdb-init-1): Enable pretty printing here.
11072         (gdb-non-stop-handler): Don't enable pretty-printing here.
11073         Check to see if the target supports non-stop mode; if not, turn off
11074         non-stop mode.  Use the following.
11075         (gdb-check-target-async): New defun.
11076         (gud-watch, gdb-stopped): Fix whitespace.
11077         (gdb-get-source-file): Don't try to display the source file if
11078         `gdb-main-file' is nil.
11080 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11082         * align.el: Try to generate fewer markers (bug#10047).
11083         (align--set-marker): New macro.
11084         (align-region): Use it.
11086 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11088         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11090 2011-11-29  Chong Yidong  <cyd@gnu.org>
11092         * indent.el (indent-for-tab-command, indent-according-to-mode):
11093         Doc fix.
11094         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
11096 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
11098         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11099         aware of remote file names.  (Bug#10124)
11101 2011-11-29  Chong Yidong  <cyd@gnu.org>
11103         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11105 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11107         * files.el (find-file): Don't use force-same-window (bug#10144).
11108         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11109         use pop-to-buffer if the selected window can't be used.
11110         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11112 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
11114         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11115         special-mode-map.
11117 2011-11-28  Chong Yidong  <cyd@gnu.org>
11119         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11121 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
11123         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11124           gdb-get-source-file-list on gdb-create-source-file-list.
11126 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
11128         * whitespace.el (whitespace-newline): Use a different foreground
11129         color for 16-color light-background displays.
11131 2011-11-24  Chong Yidong  <cyd@gnu.org>
11133         * window.el (display-buffer--special-action): Doc fix.
11135 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
11137         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11138         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11139         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11140         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11141         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11142         (avl-tree-stack-first):
11143         * emacs-lisp/cconv.el (cconv--analyse-use):
11144         * net/gnutls.el (gnutls-negotiate): Fix typos.
11146 2011-11-24  Glenn Morris  <rgm@gnu.org>
11148         * lpr.el (lpr-windows-system, lpr-lp-system):
11149         * mail/binhex.el (binhex-begin-line):
11150         * progmodes/grep.el (grep-history, grep-find-history):
11151         * textmodes/flyspell.el:
11152         * vc/pcvs-defs.el (cvs-global-menu):
11153         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11154         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11155         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11157         * net/tls.el: Fix case of "GnuTLS".
11159         * paths.el (rmail-file-name): Format doc-string for make-docfile.
11161         * version.el (emacs-build-system): Give it a doc-string.
11163 2011-11-24  Juri Linkov  <juri@jurta.org>
11165         * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
11167 2011-11-24  Glenn Morris  <rgm@gnu.org>
11169         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11170         if called on a non-mime message just toggle the headers.  (Bug#8006)
11172 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
11174         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11175         (allout-lead-with-comment-string, allout-structure-deleted-hook)
11176         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11177         (allout-rebullet-heading, allout-open-sibtopic)
11178         (allout-toggle-current-subtree-encryption)
11179         (allout-toggle-subtree-encryption, allout-encrypt-string)
11180         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11181         (allout-distinctive-bullets-string, allout-auto-activation):
11182         * window.el (window-normalize-buffer-to-display):
11183         * progmodes/verilog-mode.el (verilog-batch-indent):
11184         * textmodes/bibtex.el (bibtex-field-braces-opt)
11185         (bibtex-field-strings-opt):
11186         * vc/cvs-status.el (cvs-tree-merge):
11187         Fix typos.
11189 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
11191         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11192         `non-essential' to t, in order to avoid remote connections.
11194 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
11196         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11197         On MS-DOS and MS-Windows, compare with loaddefs.el
11198         case-insensitively.
11200 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11202         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
11204 2011-11-23  Glenn Morris  <rgm@gnu.org>
11206         * paths.el (rmail-file-name): Reformat the doc-string so that it
11207         is picked up.
11209         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11210         (rmail-auto-file): Ignore case in the "special" field names,
11211         as mail-fetch-field does for all others.
11213         * mail/rmail.el (rmail-forward):
11214         * mail/rmailkwd.el (rmail-set-label):
11215         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11216         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
11218         * mail/rmail.el (rmail-current-message): Doc fix.
11220         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
11222 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11224         * server.el (server-eval-and-print): Allow C-g (bug#6585).
11226 2011-11-22  Glenn Morris  <rgm@gnu.org>
11228         * mail/rmailmm.el (test-rmail-mime-handler)
11229         (test-rmail-mime-bulk-handler)
11230         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11232 2011-11-21  Juri Linkov  <juri@jurta.org>
11234         * calc/calc.el (calc-read-key-sequence):
11235         Let-bind `input-method-function' to nil.  (Bug#10018)
11237 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11239         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11240         Tell the caller that the next line needs recomputation, even
11241         though it doesn't start a sexp (bug#10094).
11243 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11245         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11247 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11249         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11250         Use force-same-window.
11252 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11254         * descr-text.el (describe-char-unicode-data):
11255         * json.el (json-string-escape):
11256         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11257         (Footnote-unicode, Footnote-style-p):
11258         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11260 2011-11-20  Chong Yidong  <cyd@gnu.org>
11262         * window.el (replace-buffer-in-windows): Restore interactive spec.
11264 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11266         * electric.el (electric-indent-mode): Fix last change (too optimistic).
11268         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11269         (byte-compile-global-not-obsolete-vars): New var.
11270         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11271         Use it.
11272         (byte-compile-warn-obsolete): Align text with the one in *Help*.
11274 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11276         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11277         * progmodes/pascal.el (electric-pascal-equal):
11278         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11279         * xml.el (xml-substitute-special): Fix typos.
11281 2011-11-20  Glenn Morris  <rgm@gnu.org>
11283         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11284         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11285         Doc fixes.
11286         (rmail-decode-mime-charset): Mark as obsolete.
11288         * mail/rmailsum.el (rmail-message-regexp-p-1):
11289         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11290         Before using mime functions, check they are set.  (Bug#10077)
11292 2011-11-19  Juri Linkov  <juri@jurta.org>
11294         * info.el (Info-finder-find-node): Use `package--builtins' instead
11295         of `package-alist'.  Use node names formed by the pattern "Keyword "
11296         and the keyword name.
11298 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11300         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11302 2011-11-19  Juri Linkov  <juri@jurta.org>
11304         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11305         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
11306         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11307         `old-history', `old-history-forward'.  Add let-binding
11308         `window-selected'.  Remove calls to `kill-buffer',
11309         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
11310         before calling `Info-find-node', so `Info-find-node-2' will reread
11311         the Info file.  Restore window positions only when `window-selected'
11312         is non-nil.
11314 2011-11-19  Juri Linkov  <juri@jurta.org>
11316         * isearch.el (isearch-lazy-highlight-new-loop):
11317         Remove condition `(not isearch-error)'.  (Bug#9918)
11319         * misearch.el (multi-isearch-search-fun): Add condition
11320         `(not bound)' to ignore lazy-highlighting search.
11321         Add the search-failed message "end of multi" when the end of
11322         multi-sequence is reached.  Uncapitalize the search-failed
11323         message "Repeat for next buffer".
11325         * info.el (Info-search): Add the search-failed message
11326         "end of the manual" when the end of the manual is reached
11327         in Isearch mode.
11329 2011-11-19  Juri Linkov  <juri@jurta.org>
11331         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11332         Use non-destructive `remove' instead of `delete' because
11333         `Info-history-list' stored to `Info-isearch-initial-history-list' in
11334         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11336 2011-11-19  Juri Linkov  <juri@jurta.org>
11338         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11339         to nil instead of binding `search-ring' and `regexp-search-ring'.
11340         (Bug#9185)
11342 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11344         * simple.el (line-move): Force movement by logical lines for any
11345         hscrolled window, not only when auto-hscroll-mode is on.
11346         (line-move-visual): Update doc string to that effect.  (Bug#10076)
11348 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11350         * language/european.el (macintosh): Define as alias for mac-roman.
11352 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11354         * mail/rmailmm.el (rmail-mime-display-header)
11355         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11356         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11357         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11358         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11359         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11360         of a raw aref.
11361         (rmail-mime-entity-segment): To get past the tagline, move forward
11362         2 more lines, to account for the 2 empty lines that precede and
11363         follow the line with the buttons.
11364         (rmail-mime-update-tagline): Move one more line, to get past the
11365         empty line that follows the buttons in the tagline.  (Bug#9520)
11367 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
11369         * window.el (window-max-delta-1, window-min-delta-1)
11370         (window-min-size-1, window-state-get-1, window-state-put-1)
11371         (window-state-put-2): Use "window--" prefix.
11373 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11375         * emacs-lisp/smie.el: Improve warnings and conflict detection.
11376         (smie-warning-count): New var.
11377         (smie-set-prec2tab): Use it.
11378         (smie-bnf->prec2): Improve warnings.  Add docstring.
11379         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11380         (smie-bnf--set-class): New function.
11381         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
11382         corner case.
11384         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11385         (compilation-error-properties, compilation-move-to-column):
11386         Handle compilation-first-column while in the target buffer.
11388         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11389         Don't hardcode point-min==1.
11391         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11392         (eshell-rewrite-for-command): Remove workaround.
11393         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11394         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11395         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11397         * files-x.el (modify-file-local-variable): Obey commenting conventions.
11399 2011-11-17  Glenn Morris  <rgm@gnu.org>
11401         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11402         Ignore buffer-local generated-autoload-file if it is the same
11403         as the global value.  (Bug#10049)
11405 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
11407         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11408         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11409         (reftex-toc-previous-heading, reftex-toc-max-level)
11410         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11411         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11412         (reftex-toc-do-promote, reftex-toc-promote-prepare)
11413         (reftex-toc-promote-action, reftex-toc-extract-section-number)
11414         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11415         (reftex-toc-rename-label, reftex-toc-visit-location)
11416         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11417         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11418         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11419         leaving "*toc*" only for references to the buffer.
11421 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
11423         * window.el (window-resize, delete-window, split-window):
11424         Replace window-splits by window-combination-resize.
11425         * cus-start.el (window-splits): Replace by window-combination-resize.
11427 2011-11-17  Glenn Morris  <rgm@gnu.org>
11429         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11430         Make bash entry derive from sh entry, not shell entry.
11432 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
11434         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11435         local file name.
11437 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11439         * menu-bar.el (menu-bar-file-menu):
11440         * printing.el (pr-ps-utility):
11441         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11442         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11443         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11444         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11445         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11446         (icalendar--convert-cyclic-to-ical)
11447         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11448         (icalendar--convert-ical-to-diary)
11449         (icalendar--convert-recurring-to-diary)
11450         (icalendar--convert-non-recurring-all-day-to-diary)
11451         (icalendar-import-format-sample):
11452         * progmodes/idlw-shell.el (idlwave-shell-mode):
11453         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11454         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11455         (vhdl-ps-print-init): Fix typos.
11457 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
11459         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11460         FSF and collapse date sequence, obscure author/maintainer email address
11461         better, remove extra version line, track relocation of author's webpage.
11463         * progmodes/python.el (python-pdbtrack-input-prompt)
11464         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11465         regular python pdb prompts.  Adjustments shamelessly taken exactly as
11466         suggested in EmacsWiki page (tiny change):
11467         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11469 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11471         * expand.el (expand-pos, expand-index, expand-point):
11472         Remove redundant info from docstring.
11473         (expand-add-abbrevs): Doc fix.
11474         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11475         (expand-sample-perl-mode-expand-list): Fix typos.
11477         * net/dbus.el (dbus-event-member-name):
11478         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11479         * term/pc-win.el (msdos-create-frame-with-faces):
11480         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11482 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
11484         * window.el (split-window, window-state-get-1)
11485         (window-state-put-1, window-state-put-2): Rename occurrences of
11486         window-nest to window-combination-limit.
11487         * cus-start.el (window-nest): Rename to window-combination-limit.
11489 2011-11-16  Chong Yidong  <cyd@gnu.org>
11491         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11492         regexp (Bug#10033).
11494 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11496         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11497         `completing-read' will remove *Completions* and will preserve
11498         current-buffer for us.
11499         (tmm-add-prompt): Users of *Completions* will always (re)set its
11500         major mode.
11501         (tmm-old-comp-map): Remove.
11503 2011-11-16  Glenn Morris  <rgm@gnu.org>
11505         * mail/rmailedit.el: Require rmailmm when compiling.
11506         (rmail-old-mime-state): New declaration.
11507         (rmail-edit-current-message): If editing a mime message,
11508         edit the "raw" message from the mbox buffer.
11509         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
11511 2011-11-15  Glenn Morris  <rgm@gnu.org>
11513         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11514         which wasn't being used.  Add optional arg to force given state.
11515         (rmail-mime): Add optional arg to force given state.
11517 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11519         * allout.el (allout-encryption-plaintext-sanitization-regexps):
11520         * frame.el (display-mm-dimensions-alist):
11521         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11522         (outline-move-subtree-down):
11523         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11524         (newsticker--treeview-do-get-node):
11525         * net/quickurl.el (quickurl-list-buffer-name):
11526         * progmodes/dcl-mode.el (dcl-mode):
11527         * progmodes/gdb-mi.el (gdb-mapcar*):
11528         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11530 2011-11-15  Glenn Morris  <rgm@gnu.org>
11532         * mail/rmail.el (rmail-file-coding-system): It's only ever used
11533         in a boolean sense, so just make it a boolean, and fix the doc.
11534         (rmail-show-mime-function, rmail-mime-feature)
11535         (rmail-require-mime-maybe): Doc fixes.
11536         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11538         * mail/rmailmm.el (rmail-show-mime): Doc fix.
11540 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11542         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11543         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11544         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11545         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11547 2011-11-15  Glenn Morris  <rgm@gnu.org>
11549         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11550         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11551         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11552         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11553         (rmail-mime, rmail-show-mime): Doc fixes.
11555         * term/ns-win.el (mode-line-frame-identification):
11556         Leave it alone.  (Bug#10051)
11558         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
11560         * mail/rmailout.el (rmail-output-to-rmail-buffer):
11561         Handle empty buffers.  (Bug#9978)
11563 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
11565         * international/mule.el (define-charset):
11566         * mail/rmailmm.el (rmail-mime-find-header-encoding):
11567         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11568         * progmodes/verilog-mode.el (verilog-backward-token):
11569         * textmodes/ispell.el (lookup-words):
11570         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11572 2011-11-14  Glenn Morris  <rgm@gnu.org>
11574         * progmodes/executable.el
11575         (executable-make-buffer-file-executable-if-script-p):
11576         Handle file-modes returning nil.
11578         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11579         message - not necessary, and causes problems.  (Bug#9831)
11581         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11583         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11585         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11586         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
11587         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11589 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
11591         * window.el (window-resize, delete-window): Use window-splits
11592         variable instead of function.
11593         (window-state-get-1, window-state-put-2, window-state-put):
11594         Don't deal with windows' splits status.
11596 2011-11-12  Glenn Morris  <rgm@gnu.org>
11598         * apropos.el (apropos-do-all, apropos-library, apropos-value)
11599         (apropos-documentation): Doc fixes.
11601 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
11603         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11604         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11606 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11608         * electric.el (electric-indent-post-self-insert-function): Make it
11609         possible for a char to only indent in some circumstances.
11610         (electric-indent-mode): Simplify.
11612 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
11614         * window.el (windows-with-parameter): Remove unused function.
11615         (windows-at-side): Rename to window-at-side-list.
11616         (window-check, window-atom-check, window-atom-check-1)
11617         (window-side-check, window-size-ignore, window-size-fixed-1)
11618         (window-in-direction-2): Prefix with "window--".
11619         (window-tree-1): Rename to window--subtree, fix doc-string.
11621 2011-11-11  Glenn Morris  <rgm@gnu.org>
11623         * subr.el (eval-after-load): If FILE is already loaded,
11624         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
11626 2011-11-10  Glenn Morris  <rgm@gnu.org>
11628         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11629         Call svn via vc-svn-command rather than vc-do-command.
11630         (vc-svn-command): Add --non-interactive.  (Bug#9993)
11631         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11633         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11634         Add toggle-read-only.  (Bug#7292)
11635         * files.el (toggle-read-only): Mention that it should only
11636         be used interactively.  (Bug#10006)
11638 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11641         Adjust regexp for OCaml warnings.
11643         * electric.el (electric-pair-post-self-insert-function): Let user
11644         turn it off buffer-locally (bug#9932).
11646         * progmodes/python.el (python-beginning-of-statement):
11647         Rewrite (bug#2703).
11649         * progmodes/compile.el: Better handle TABs (bug#9749).
11650         (compilation-internal-error-properties)
11651         (compilation-next-error-function): Obey the target buffer's
11652         compilation-error-screen-columns.
11654 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
11656         * progmodes/meta-mode.el: Remove obsolete comments.
11657         (meta-right-comment-regexp, meta-ignore-comment-regexp):
11658         Fix typos in docstrings.
11660 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
11662         * window.el (window-size-fixed-p): Rewrite doc-string.
11663         (window-resizable-p): Rename to window--resizable-p.  Update callers.
11664         (window--resizable): New function.  Make all callers of
11665         window-resizable call window--resizable instead.
11666         (window-resizable): Rewrite in terms of window--resizable.
11668 2011-11-08  Glenn Morris  <rgm@gnu.org>
11670         * progmodes/delphi.el (delphi-mode-syntax-table):
11671         Let define-derived-mode define a proper syntax table.  (Bug#9994)
11673 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11675         * window.el: Stay away from defsubst.
11676         (window-list-no-nils): Remove.
11677         (window-state-get-1, window-state-get): Use backquote instead.
11679 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11681         * emacs-lisp/find-func.el (find-function-read):
11682         Fix incorrect use of default argument in `completing-read'.
11684 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
11686         * window.el (display-buffer-function, special-display-function):
11687         Mention display-buffer-record-window but do not mention
11688         help-setup parameter in doc-strings.
11689         (window-min-delta): Fix doc-string typo.
11691 2011-11-08  Chong Yidong  <cyd@gnu.org>
11693         * window.el (window-total-height, window-total-width): Doc fix.
11694         (window-body-size): Move from C.
11695         (window-body-height, window-body-width): Move to C.
11697 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11699         * window.el: Make special-display like display-buffer-alist (bug#9532).
11700         (display-buffer--special-action): New function, morphed
11701         from display-buffer--special.
11702         (display-buffer): Use it to handle special-display-buffers at higher
11703         priority (just after display-buffer-alist).
11704         (display-buffer-fallback-action, display-buffer--other-frame-action)
11705         (pop-to-buffer-same-window): Remove display-buffer--special.
11707 2011-11-07  Glenn Morris  <rgm@gnu.org>
11709         * calendar/cal-menu.el (cal-menu-set-date-title):
11710         Do nothing if not in a calendar.  (Bug#9976)
11712 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11714         * files.el (find-file): Always use selected-window.
11716 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
11718         * window.el (window-combinations): Make WINDOW argument
11719         mandatory.  Rewrite doc-string.
11720         (walk-window-subtree, window-atom-check, window-min-delta)
11721         (window-max-delta, window--resize-this-window)
11722         (window--resize-root-window-vertically, window-tree)
11723         (balance-windows, window-state-put): Rewrite doc-strings as to
11724         not mention the term "subwindow".
11725         (window--resize-subwindows-skip-p): Rename to
11726         window--resize-child-windows-skip-p.
11727         (window--resize-subwindows-normal): Rename to
11728         window--resize-child-windows-normal.
11729         (window--resize-subwindows): Rename to
11730         window--resize-child-windows.
11731         (window-or-subwindow-p): Rename to window--in-subtree-p.
11733 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11735         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11736         Ensure that mbox format messages end in two newlines (Bug#9974).
11738 2011-11-06  Chong Yidong  <cyd@gnu.org>
11740         * window.el (window-combination-p): Function deleted; its
11741         side-effect is not used in any existing code.
11742         (window-combinations, window-combined-p): Call window-*-child
11743         directly.
11745 2011-11-05  Chong Yidong  <cyd@gnu.org>
11747         * window.el (window-valid-p): Rename from window-any-p.
11748         (window-size-ignore, window-state-get): Callers changed.
11749         (window-normalize-window): Rename from window-normalize-any-window.
11750         New arg LIVE-ONLY, replacing window-normalize-live-window.
11751         (window-normalize-live-window): Delete.
11752         (window-combination-p, window-combined-p, window-combinations)
11753         (walk-window-subtree, window-atom-root, window-min-size)
11754         (window-sizable, window-sizable-p, window-size-fixed-p)
11755         (window-min-delta, window-max-delta, window-resizable)
11756         (window-resizable-p, window-full-height-p, window-full-width-p)
11757         (window-current-scroll-bars, window-point-1, set-window-point-1)
11758         (window-at-side-p, window-in-direction, window-resize)
11759         (adjust-window-trailing-edge, maximize-window, minimize-window)
11760         (window-deletable-p, delete-window, delete-other-windows)
11761         (record-window-buffer, unrecord-window-buffer)
11762         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11763         (quit-window, split-window, window-state-put)
11764         (set-window-text-height, fit-window-to-buffer)
11765         (shrink-window-if-larger-than-buffer): Callers changed.
11767 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
11769         * mail/rmail.el (rmail-simplified-subject): Decode subject with
11770         rfc2047-decode-string.
11771         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11772         warnings.
11774         * window.el (window-body-height, window-body-width): Mention in
11775         the doc string that the return values are in frame's canonical
11776         units.  (Bug#9949)
11778 2011-11-03  Alan Mackenzie  <acm@muc.de>
11780         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11781         change in cc-engine.el.
11783 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11785         * window.el (switch-to-buffer): Use `force-same-window' interactively.
11787 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
11789         * window.el (quit-window): Call unrecord-window-buffer after
11790         showing another buffer in the window.  (Bug#9937)
11791         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11793 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
11795         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11796         Accept status with more than 9 shelves.  (Bug#9935)
11797         Reported by Colin D Bennett <colin@gibibit.com>.
11799 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
11801         * help.el (with-help-window): Don't reference
11802         temp-buffer-show-specifiers in doc-string.
11804 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11806         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11807         menu-item.
11809 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11811         * whitespace.el: New version 13.2.2.
11812         (whitespace-newline-mode): Disable properly.  Reported by Sarah
11813         <EmacsWiki>.
11815 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
11817         * net/newst-treeview.el: Remove "Time-stamp".
11818         (newsticker--group-manage-orphan-feeds): Do not call
11819         newsticker--treeview-tree-update.
11820         (newsticker-treeview-update, newsticker-treeview):
11821         Call newsticker--treeview-tree-update if necessary.
11823 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
11825         * window.el (window-iso-combination-p, window-iso-combined-p)
11826         (window-iso-combinations): Remove "iso-" infix.
11827         Suggested by Chong Yidong.
11828         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11829         (window-max-delta-1, window-resize, window--resize-siblings)
11830         (window--resize-this-window, adjust-window-trailing-edge)
11831         (split-window, balance-windows-1)
11832         (shrink-window-if-larger-than-buffer):
11833         * calendar/calendar.el (calendar-generate-window):
11834         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11836 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11838         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11839         in place (bug#9907).
11840         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11841         (eshell-rewrite-if-command, eshell-rewrite-for-command)
11842         (eshell-structure-basic-command, eshell-rewrite-while-command)
11843         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11844         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11845         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11846         (eshell-do-pipelines-synchronously, eshell-eval-command):
11847         Use backquotes and prefer setq to set.
11848         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11849         (eshell-macrop): Use functionp.
11850         (eshell-do-eval): Handle multiple expressions in `while' body.
11852 2011-10-30  Chong Yidong  <cyd@gnu.org>
11854         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11855         instead of set-mark (Bug#9810).
11857 2011-10-30  Chong Yidong  <cyd@gnu.org>
11859         * window.el (split-window-below, split-window-right): Rename from
11860         split-window-above-each-other and split-window-side-by-side
11861         respectively.  All callers changed.
11862         (split-window-sensibly, split-window-sensibly): Use them.
11863         (split-window-keep-point): Doc fix.
11865         * isearch.el: Add isearch-scroll property to split-window-below
11866         and split-window-right.
11868         * follow.el (follow-mode):
11869         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11870         * progmodes/ada-xref.el (ada-gdb-application):
11871         * emulation/vip.el (vip-buffer-in-two-windows):
11872         * image-dired.el (image-dired-dired-with-window-configuration):
11873         * dired-x.el (dired-do-find-marked-files):
11874         * dired.el (dired-pop-to-buffer):
11875         * bs.el (bs--show-with-configuration):
11876         * vc/emerge.el (emerge-setup-windows):
11877         * textmodes/two-column.el (2C-two-columns):
11878         * textmodes/reftex-toc.el (reftex-toc):
11879         * progmodes/gdb-mi.el (gdb-setup-windows):
11880         * progmodes/fortran.el (fortran-window-create):
11881         * net/newst-treeview.el (newsticker--treeview-window-init):
11882         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11883         * emulation/tpu-edt.el (tpu-gold-map):
11884         * emulation/crisp.el (crisp-mode-map):
11885         * calendar/calendar.el (calendar-basic-setup): Callers changed.
11887 2011-10-29  Chong Yidong  <cyd@gnu.org>
11889         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11891         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11893         * textmodes/flyspell.el (flyspell-word): Fix char offset for
11894         forged Ispell output (Bug#7904).
11896         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11898 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11900         * doc-view.el: Avoid ugly errors about not finding nil.
11901         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11902         (doc-view-dvipdf-program, doc-view-unoconv-program)
11903         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11904         Avoid nil or absolute file name as default value.
11905         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11907 2011-10-28  Alan Mackenzie  <acm@muc.de>
11909         * progmodes/cc-defs.el (c-version): -> 5.32.2.
11911 2011-10-28  Alan Mackenzie  <acm@muc.de>
11913         Amend the handling of c-beginning/end-of-defun in nested declaration
11914         scopes.
11916         * progmodes/cc-vars.el (c-defun-tactic): Move here from
11917         cc-langs.el.  Change it to a defcustom.
11919         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11920         cc-vars.el.
11922         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11923         Prevent "class foo : bar" being spuriously recognized as a label.
11925         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11926         Add parameter `inclusive' (to include enclosing braces in the region).
11927         (c-widen-to-enclosing-decl-scope): New function.
11928         (c-while-widening-to-decl-block): New macro.
11929         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11930         outward for defun boundaries, and correspondingly change symbol
11931         `respect-enclosure' to `go-outward'.
11932         (c-declaration-limits): Change algorithm to report only the "innermost"
11933         defun's boundaries.
11935 2011-10-28  Deniz Dogan  <deniz@dogan.se>
11937         * net/rcirc.el (rcirc-mode): Use hard newlines.
11939 2011-10-28  Alan Mackenzie  <acm@muc.de>
11941         Amend to indent and fontify macros "which include their own semicolon"
11942         correctly, using the "virtual semicolon" mechanism.
11944         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11946         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11947         Recode to scan one line at a time rather than having \n and \r
11948         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11949         (c-forward-label): Amend for virtual semicolons.
11950         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11952         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11953         of the new C macros.
11955         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11956         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11957         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11958         (c-opt-cpp-macro-define): Make into a full language variable.
11959         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11960         AWK Mode (including \n, \r) removed, no longer needed.
11962         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11963         Invoke c-make-macro-with-semi-re.
11965         * progmodes/cc-vars.el (c-macro-with-semi-re):
11966         (c-macro-names-with-semicolon): New variables.
11967         (c-make-macro-with-semi-re): New function.
11969 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11971         * vc/log-edit.el: Fill empty field rather than adding new one.
11972         (log-edit-add-field): New function.
11973         (log-edit-insert-changelog): Use it.
11975 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11977         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11979 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11981         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11982         (gdb--check-interpreter): New function.
11983         (gdb): Use it.
11985 2011-10-27  Glenn Morris  <rgm@gnu.org>
11987         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11988         (least-positive-float, least-negative-float)
11989         (least-positive-normalized-float, least-negative-normalized-float)
11990         (float-epsilon, float-negative-epsilon):
11991         Remove unnecessary declarations.
11993         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11994         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11995         (least-positive-float, least-negative-float)
11996         (least-positive-normalized-float, least-negative-normalized-float)
11997         (float-epsilon, float-negative-epsilon): Add doc-strings,
11998         based on those in cl.texi.
12000         * files.el (set-visited-file-name): If the major-mode changed,
12001         reload the local variables.  (Bug#9796)
12003 2011-10-27  Chong Yidong  <cyd@gnu.org>
12005         * subr.el (change-major-mode-after-body-hook): New hook.
12006         (run-mode-hooks): Run it.
12008         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12009         Use change-major-mode-before-body-hook.
12011         * simple.el (fundamental-mode):
12012         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12013         change introducing fundamental-mode-hook.
12015 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
12017         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12019 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
12021         * ido.el (ido-file-name-all-completions-1): Do not require
12022         tramp.el explicitly.  (Bug#7583)
12024 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12026         * progmodes/octave-mod.el:
12027         * progmodes/octave-inf.el: Update maintainer.
12029 2011-10-26  Chong Yidong  <cyd@gnu.org>
12031         * subr.el (with-wrapper-hook): Rewrite doc.
12033 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
12035         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12036         filenames "/method:foo:".  (Bug#9793)
12038 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12040         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12041         (bug#9865).
12043 2011-10-24  Glenn Morris  <rgm@gnu.org>
12045         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
12047 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
12049         * notifications.el: Add the requirement of a running D-Bus session
12050         bus to the Commentary.
12052 2011-10-24  Juri Linkov  <juri@jurta.org>
12054         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12055         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12056         (Bug#9364)
12058 2011-10-24  Juri Linkov  <juri@jurta.org>
12060         * info.el (Info-following-node-name-re): Add newline to the list
12061         of allowed characters for leading space.  (Bug#9824)
12063 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12065         * progmodes/octave-inf.el (inferior-octave-mode-map):
12066         Fix C-c C-h binding.
12067         * progmodes/octave-mod.el (octave-help): Remove.
12069 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
12071         Sync with Tramp 2.2.3.
12073         * net/tramp-cache.el (top): Pacify byte-compiler using
12074         `init-file-user' and `site-run-file'.
12076         * net/trampver.el: Update release number.
12078 2011-10-23  Chong Yidong  <cyd@gnu.org>
12080         * files.el (toggle-read-only): Remove obsolete comment about
12081         version control.
12083         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12084         for toggle-read-only.  Note that this hasn't called vc-next-action
12085         since 2008-05-02, though it wasn't documented at the time.
12087         * vc/ediff-init.el (ediff-toggle-read-only-function):
12088         Use toggle-read-only.
12090 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
12092         Fix bug #9560, sporadic wrong indentation; improve instrumentation
12093         of c-parse-state.
12095         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12096         correct faulty logical expression.
12097         (c-parse-state-state, c-record-parse-state-state):
12098         (c-replay-parse-state-state): New defvar/defuns.
12099         (c-debug-parse-state): Use new functions.
12101 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
12103         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12104         last fix.  Use window-in-direction correctly.
12106 2011-10-21  Chong Yidong  <cyd@gnu.org>
12108         * progmodes/idlwave.el (idlwave-mode):
12109         * progmodes/vera-mode.el (vera-mode): No need to set
12110         require-final-newline; that's done in prog-mode.
12111         Suggested by Stefan Monnier.
12113 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
12115         * mouse.el (mouse-drag-window-above)
12116         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12117         (mouse-drag-mode-line-1, mouse-drag-header-line)
12118         (mouse-drag-vertical-line-rightward-window): Remove.
12119         (mouse-drag-line): New function.
12120         (mouse-drag-mode-line, mouse-drag-header-line)
12121         (mouse-drag-vertical-line): Call mouse-drag-line.
12122         * window.el (window-at-side-p, windows-at-side): New functions.
12124 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
12126         * tar-mode.el (tar-grind-file-mode):
12127         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
12129 2011-10-21  Chong Yidong  <cyd@gnu.org>
12131         * progmodes/idlwave.el (idlwave-mode):
12132         * progmodes/vera-mode.el (vera-mode):
12133         Use mode-require-final-newline.
12135 2011-10-20  Glenn Morris  <rgm@gnu.org>
12137         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
12139 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
12141         * emulation/cua-base.el (cua-set-mark): Fix case of string.
12143 2011-10-20  Chong Yidong  <cyd@gnu.org>
12145         * emulation/cua-base.el (cua-mode):
12146         * mail/footnote.el (footnote-mode):
12147         * mail/mailabbrev.el (mail-abbrevs-mode):
12148         * net/xesam.el (xesam-minor-mode):
12149         * progmodes/bug-reference.el (bug-reference-mode):
12150         * progmodes/cap-words.el (capitalized-words-mode):
12151         * progmodes/compile.el (compilation-minor-mode)
12152         (compilation-shell-minor-mode):
12153         * progmodes/gud.el (gud-tooltip-mode):
12154         * progmodes/hideif.el (hide-ifdef-mode):
12155         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12156         * progmodes/subword.el (subword-mode):
12157         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12158         * progmodes/which-func.el (which-function-mode):
12159         * term/tvi970.el (tvi970-set-keypad-mode):
12160         * term/vt100.el (vt100-wide-mode):
12161         * textmodes/flyspell.el (flyspell-mode):
12162         * textmodes/ispell.el (ispell-minor-mode):
12163         * textmodes/nroff-mode.el (nroff-electric-mode):
12164         * textmodes/paragraphs.el (use-hard-newlines):
12165         * textmodes/refill.el (refill-mode):
12166         * textmodes/reftex.el (reftex-mode):
12167         * textmodes/rst.el (rst-minor-mode):
12168         * textmodes/sgml-mode.el (html-autoview-mode)
12169         (sgml-electric-tag-pair-mode):
12170         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12171         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12172         * emulation/crisp.el (crisp-mode):
12173         * emacs-lisp/eldoc.el (eldoc-mode):
12174         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12175         minor mode behavior.
12177 2011-10-19  Juri Linkov  <juri@jurta.org>
12179         * descr-text.el (describe-char): Add #x2010 and #x2011 to
12180         the list of hard-coded chars with escape-glyph face.
12182 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12184         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12186 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
12188         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12189         running process.
12191 2011-10-19  Glenn Morris  <rgm@gnu.org>
12193         * vc/vc-bzr.el (vc-bzr-after-dir-status):
12194         Ignore ignored files.  (Bug#9726)
12196 2011-10-19  Chong Yidong  <cyd@gnu.org>
12198         Doc fix for minor modes, stating that an omitted argument enables
12199         the mode unconditionally when called from Lisp.
12201         * abbrev.el (abbrev-mode):
12202         * allout.el (allout-mode):
12203         * autoinsert.el (auto-insert-mode):
12204         * autoarg.el (autoarg-mode, autoarg-kp-mode):
12205         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12206         (global-auto-revert-mode):
12207         * battery.el (display-battery-mode):
12208         * composite.el (global-auto-composition-mode)
12209         (auto-composition-mode):
12210         * delsel.el (delete-selection-mode):
12211         * desktop.el (desktop-save-mode):
12212         * dired-x.el (dired-omit-mode):
12213         * dirtrack.el (dirtrack-mode):
12214         * doc-view.el (doc-view-minor-mode):
12215         * double.el (double-mode):
12216         * electric.el (electric-indent-mode, electric-pair-mode):
12217         * emacs-lock.el (emacs-lock-mode):
12218         * epa-hook.el (auto-encryption-mode):
12219         * follow.el (follow-mode):
12220         * font-core.el (font-lock-mode):
12221         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12222         * help.el (temp-buffer-resize-mode):
12223         * hilit-chg.el (highlight-changes-mode)
12224         (highlight-changes-visible-mode):
12225         * hi-lock.el (hi-lock-mode):
12226         * hl-line.el (hl-line-mode, global-hl-line-mode):
12227         * icomplete.el (icomplete-mode):
12228         * ido.el (ido-everywhere):
12229         * image-file.el (auto-image-file-mode):
12230         * image-mode.el (image-minor-mode):
12231         * iswitchb.el (iswitchb-mode):
12232         * jka-cmpr-hook.el (auto-compression-mode):
12233         * linum.el (linum-mode):
12234         * longlines.el (longlines-mode):
12235         * master.el (master-mode):
12236         * mb-depth.el (minibuffer-depth-indicate-mode):
12237         * menu-bar.el (menu-bar-mode):
12238         * minibuf-eldef.el (minibuffer-electric-default-mode):
12239         * mouse-sel.el (mouse-sel-mode):
12240         * msb.el (msb-mode):
12241         * mwheel.el (mouse-wheel-mode):
12242         * outline.el (outline-minor-mode):
12243         * paren.el (show-paren-mode):
12244         * recentf.el (recentf-mode):
12245         * reveal.el (reveal-mode, global-reveal-mode):
12246         * rfn-eshadow.el (file-name-shadow-mode):
12247         * ruler-mode.el (ruler-mode):
12248         * savehist.el (savehist-mode):
12249         * scroll-all.el (scroll-all-mode):
12250         * scroll-bar.el (scroll-bar-mode):
12251         * server.el (server-mode):
12252         * shell.el (shell-dirtrack-mode):
12253         * simple.el (auto-fill-mode, transient-mark-mode)
12254         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12255         (line-number-mode, column-number-mode, size-indication-mode)
12256         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12257         * strokes.el (strokes-mode):
12258         * time.el (display-time-mode):
12259         * t-mouse.el (gpm-mouse-mode):
12260         * tool-bar.el (tool-bar-mode):
12261         * tooltip.el (tooltip-mode):
12262         * type-break.el (type-break-mode-line-message-mode)
12263         (type-break-query-mode):
12264         * view.el (view-mode):
12265         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12266         (global-whitespace-mode, global-whitespace-newline-mode):
12267         * xt-mouse.el (xterm-mouse-mode): Doc fix.
12269         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12270         Fix autogenerated docstring.
12272 2011-10-19  Juri Linkov  <juri@jurta.org>
12274         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12275         by checking environment variables "DESKTOP_SESSION" and
12276         "XDG_CURRENT_DESKTOP".  (Bug#9779)
12278 2011-10-19  Juri Linkov  <juri@jurta.org>
12280         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12281         (browse-url-chromium-program, browse-url-chromium-arguments):
12282         New defcustoms.
12283         (browse-url-default-browser): Check for `browse-url-chromium' and
12284         call `browse-url-chromium-program'.
12285         (browse-url-chromium): New command.  (Bug#9779)
12287 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
12289         * facemenu.el (list-colors-duplicates): On Windows, detect more
12290         duplicates by assuming that only colors matching "^System" are
12291         special "system colors".  (Bug#9722)
12293 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12295         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12296         to distinguish the author from the committer.
12298 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
12300         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12302 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
12304         * international/mule.el (sgml-html-meta-auto-coding-function):
12305         Add support for detecting encoding in HTML5 specified only as
12306         <meta charset="UTF-8">.  Implementation just makes http-equiv and
12307         content-type parts from HTML4 encoding string optional.  (Bug#9716)
12309 2011-10-18  Glenn Morris  <rgm@gnu.org>
12311         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
12313 2011-10-18  Chong Yidong  <cyd@gnu.org>
12315         * faces.el (cursor): Doc fix.
12317 2011-10-17  Chong Yidong  <cyd@gnu.org>
12319         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12321 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
12323         * dirtrack.el (dirtrack): Support shell buffers with path
12324         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
12326 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
12328         * json.el: Bump version to 1.3 and note change in History.
12329         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12331 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12333         * comint.el (comint-insert-input, comint-send-input)
12334         (comint-get-old-input-default, comint-backward-matching-input)
12335         (comint-next-prompt): Use nil instead of `input' for field property of
12336         past user input (bug#114).
12338         * minibuffer.el (completion--replace): Inherit surrounding properties
12339         (bug#114).
12340         (minibuffer-complete-and-exit): Use it.
12342         * comint.el (comint--table-subvert): Quote the all-completions output
12343         (bug#9160).
12345 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
12347         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12349         * menu-bar.el (menu-bar-file-menu): Add entry for making new
12350         window on right of selected.  (Bug#9350) Reword other window
12351         entries and separate them from frame entries.
12353 2011-10-15  Glenn Morris  <rgm@gnu.org>
12355         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12356         Doc fixes.
12358 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
12360         * net/network-stream.el (network-stream-open-starttls):
12361         Improve detection of failure due to lack of TLS support.
12363         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12364         putting the input text in front and in bold.
12366 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12368         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12370         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12371         empty buffer.
12373         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12374         unread-command-events rather than pushing yet-another event.
12376 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
12378         * mail/sendmail.el (sendmail-query-once): Improve the wording of
12379         the explanation of the possible choices.  Make the options passed
12380         to completing-read shorter.
12382 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12384         * textmodes/flyspell.el (flyspell-large-region): Make sure
12385         extended character mode is used if defined (Bug#1339).
12387 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
12389         * simple.el (what-cursor-position): Fix the display of the
12390         character info for LRE, LRO, RLE, and RLO characters by appending
12391         an invisible PDF.
12393 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12395         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12396         even in case of error; add debug spec; simplify data flow.
12397         (with-timeout-handler): Remove.
12399 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
12401         Fix Bug#6019, Bug#9315.
12403         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12404         complete `buffer-file-name', the local file name part could look
12405         remotely (for example on VMS).
12407         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12408         `tramp-run-real-handler'.
12409         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12410         already quoted by '"'.
12412         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12413         Let `file-name-handler-alist' be nil, the local file name part
12414         could look remotely (for example on VMS).
12416 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12418         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12419         from here...
12420         (flyspell-post-command-hook): ...to here.
12422 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12424         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12425         if not needed.
12426         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
12427         using completion.  Protect against "slow" callers.
12428         Remove the "message hack".
12430 2011-10-11  Juri Linkov  <juri@jurta.org>
12432         * isearch.el (isearch-lazy-highlight-word): New variable.
12433         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12434         Use it.  (Bug#9727)
12436 2011-10-11  Glenn Morris  <rgm@gnu.org>
12438         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12439         like f90-previous-statement does.
12441 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12443         * eshell/eshell.el (eshell-command): History should be saved
12444         only in interactive use, to avoid error.
12446 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12448         * minibuffer.el (completion-file-name-table): Fix last change,
12449         i.e. ignore normal errors but not the other ones.
12451 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
12453         * window.el (special-display-buffer-names)
12454         (special-display-regexps): Remove some remnants of earlier
12455         changes from doc-strings.
12456         (quit-windows-on): New function.
12458         * vc/vc.el (vc-revert, vc-rollback):
12459         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12460         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
12461         (Bug#6183) (Bug#7074) (Bug#7447)
12463 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
12465         * window.el (frame-auto-hide-function): Add version tag.
12466         (Bug#9699)
12468 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
12470         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12471         condition.
12473 2011-10-09  Leo Liu  <sdl.web@gmail.com>
12475         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12476         (Bug#9701)
12478 2011-10-08  Glenn Morris  <rgm@gnu.org>
12480         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12481         before the first code statement zero indent.  (Bug#9690)
12483 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
12485         * simple.el (count-words-region): Always count in the region.
12486         Report the number of lines and characters too.
12487         (count-words): New command, which counts in the buffer if the
12488         region is inactive, as count-words-region used to.
12489         (count-words--message): New function.  Handle plurals.
12490         (count-lines-region): Make it an alias for count-words-region.
12492         * bindings.el (esc-map): Replace count-lines-region with
12493         count-words-region.
12495 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
12497         * window.el (window--delete): Delete dedicated frame
12498         unconditionally when argument KILL is non-nil.  (Bug#9699)
12499         (switch-to-buffer): Fix doc-string typo.
12501 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12503         * eshell/eshell.el (eshell-command): Avoid using hooks.
12505 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
12507         * bindings.el ([M-left],[M-right]): Bind to left-word and
12508         right-word respectively.
12510 2011-10-07  Glenn Morris  <rgm@gnu.org>
12512         * cus-start.el (debug-on-quit): Fix custom type.
12514 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12516         * subr.el (define-key-after): Clarify that the function is not
12517         useful for non-menu keymaps.
12519         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12521 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12523         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12524         in current minibuffer (Fix bug with recursive minibuffers).
12526 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
12528         * progmodes/gdb-mi.el (gdb): Doc fix.
12530 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
12532         * window.el (frame-auto-hide-function): New option replacing
12533         frame-auto-delete.  Suggested by Stefan Monnier.
12534         (window--delete): Call frame-auto-hide-function instead of
12535         investigating frame-auto-delete.
12536         (window-point-1, set-window-point-1): New functions.
12537         (window-in-direction, record-window-buffer, window-state-get-1)
12538         (display-buffer-record-window): Use window-point-1 instead of
12539         window-point.
12540         (set-window-buffer-start-and-point): Use set-window-point-1.
12542 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12544         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12546 2011-10-05  Glenn Morris  <rgm@gnu.org>
12548         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12549         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
12551 2011-10-05  Leo Liu  <sdl.web@gmail.com>
12553         * subr.el (read-char-choice): Fix argument to buffer-live-p which
12554         works with buffer object.
12556 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12558         * mpc.el (mpc-tool-bar-map): Add labels.
12560 2011-10-04  Glenn Morris  <rgm@gnu.org>
12562         * calendar/holidays.el (calendar-check-holidays): Doc fix.
12564 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
12566         * window.el (window--delete): New function.
12567         (frame-auto-delete): Resuscitate option.
12568         (bury-buffer, replace-buffer-in-windows)
12569         (quit-window): Rewrite using window--delete.
12570         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12571         Pass display-buffer-mark-dedicated to window--display-buffer-2
12572         (Bug#9639).
12574 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12576         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12577         returns a list (bug#9554).  Add remote file name completion.
12578         * comint.el (comint--table-subvert): Curry and get quote&unquote
12579         functions as arguments.
12580         (comint--complete-file-name-data): Adjust call accordingly.
12581         * pcomplete.el (pcomplete--table-subvert): Remove.
12582         (pcomplete-completions-at-point): Use comint--table-subvert instead.
12584         * minibuffer.el (completion-table-case-fold): Use currying.
12585         (completion--styles-type, completion--cycling-threshold-type):
12586         New constants.
12587         (completion-styles, completion-category-overrides)
12588         (completion-cycle-threshold): Use them.
12589         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12590         completion-table-case-fold.
12592 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
12594         * minibuffer.el (completion-category-overrides): Fix type of styles
12595         and add more user friendly tags (bug#9660).
12597 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12599         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12600         (mule-input-method-string): New widget.
12601         (default-input-method, language-info-custom-alist): Use it.
12603 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12605         * pcomplete.el: Require comint.
12606         (pcomplete--common-suffix): Remove.
12607         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12608         (pcomplete--table-subvert): Sync with comint--table-subvert.
12609         (pcomplete--entries): Use comint-completion-file-name-table.
12610         * comint.el (comint-unquote-filename): Simplify.
12611         (comint-completion-file-name-table): New function (bug#9616).
12612         (comint--complete-file-name-data): Use it.
12614         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12615         (pcmpl-gnu-tar-buffer): Remove.
12616         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12617         around.  Make sure pcomplete-suffix-list is only changed temporarily.
12618         Don't look inside the tar's file if it's too large.
12620 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
12622         * cus-edit.el (custom-mode-map):
12623         * epa.el (epa-key-list-mode-map):
12624         * man.el (Man-mode-map):
12625         * startup.el (splash-screen-keymap):
12626         * simple.el (special-mode-map): Use scroll-up-command and
12627         scroll-down-command.
12629         * progmodes/idlw-help.el (idlwave-help-mode-map):
12630         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12631         * net/newst-plainview.el (newsticker-mode-map):
12632         * emulation/ws-mode.el (wordstar-mode-map):
12633         * emulation/vi.el (vi-com-map):
12634         * calc/calc-graph.el (calc-graph-show-dumb):
12635         * term/sun.el (terminal-init-sun):
12636         * term/ns-win.el (global-map):
12637         * progmodes/grep.el (grep-mode-map):
12638         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12639         * mail/rmail.el (rmail-mode-map):
12640         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12642         * custom.el (custom-safe-themes, load-theme): Treat value of t for
12643         custom-safe-themes as special.
12645 2011-10-01  Julien Danjou  <julien@danjou.info>
12647         * notifications.el (notifications-notify): Fix docstring.
12649 2011-10-01  Per Starbäck  <per@starback.se>
12651         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
12653 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
12655         * startup.el (command-line-1): Fix last fix by inserting
12656         initial-scratch-message into *scratch* before displaying it.
12657         (Bug#9605) and (Bug#9636)
12659 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
12661         * simple.el (line-move): If auto-hscroll-mode is disabled and the
12662         window is hscrolled, move by logical lines.  (Bug#9607)
12663         (line-move-visual): Update the doc string to the above effect.
12665 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
12667         * window.el (display-buffer-record-window): When WINDOW is the
12668         selected window use `point' instead of `window-point'.  (Bug#9626)
12670         * startup.el (command-line-1): Use insert-before-markers when
12671         inserting initial-scratch-message.  (Bug#9605)
12673         * help.el (help-window): Remove variable.
12675 2011-09-29  Glenn Morris  <rgm@gnu.org>
12677         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12679 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
12681         * descr-text.el (describe-char-categories): Accept category
12682         descriptions more than one line long.
12684 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12686         * simple.el (delete-trailing-whitespace): Fix last change.
12688         * progmodes/perl-mode.el (perl-syntax-propertize-function):
12689         Don't confuse "y => 3" as the beginning of a `y' operation.
12691         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12692         object has more than 4 slots (bug#9613).
12694 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
12696         * subr.el (with-output-to-temp-buffer):
12697         * net/quickurl.el (quickurl, quickurl-browse-url):
12698         Fix typos in docstrings.
12700 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
12702         * minibuffer.el (completion-styles)
12703         (completion-category-overrides): Cross reference each other in doc
12704         strings.
12706 2011-09-27  Glenn Morris  <rgm@gnu.org>
12708         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12709         to split-string.  (Bug#9606)
12711 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12713         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12714         (bug#9615).
12716 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
12718         * emacs-lisp/package.el (list-packages): Fix echo area message.
12720 2011-09-27  Leo Liu  <sdl.web@gmail.com>
12722         * ido.el (ido-read-internal): Accept cons cell HIST arg.
12724 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
12726         * net/dbus.el (dbus-unregister-object): Don't release services for
12727         registered signals.  (Bug#9581)
12729 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
12731         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12732         function that picks between cfengine 2 and 3 support
12733         automatically.  Update docs accordingly.
12735 2011-09-22  Kenichi Handa  <handa@m17n.org>
12737         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12738         ZERO.
12739         (indian-itrans-v5-table-for-tamil): New variable.
12740         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12742 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
12744         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12745         that's true if the current command involved collapsing of text.
12746         It's reset to false at the beginning of the next command.
12747         (allout-post-command-business): Move the cursor to the beginning
12748         of entry if the cursor is hidden and collapsing activity just
12749         happened.
12751 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
12753         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12754         tracking (Bug#9541).
12756 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
12758         * net/newst-reader.el (newsticker-html-renderer)
12759         (newsticker-show-news): Automatically load html rendering package
12760         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
12761         because w3m-fill-column is let-bound" and the error "Symbol's value
12762         as variable is void: w3m-fill-column".
12764 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
12766         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12767         Release services only if they are defined.  (Bug#9581)
12769 2011-09-23  Richard Stallman  <rms@gnu.org>
12771         * textmodes/paragraphs.el (forward-sentence): For backwards case,
12772         distinguish start of paragraph from start of its text.
12774         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12776         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12777         (rmail-generate-viewer-buffer): Put that hook on view buffer.
12778         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12780 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
12782         * international/mule-diag.el (mule-diag): Insert a newline after
12783         each fontset description.
12785 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12787         * simple.el (delete-trailing-whitespace):
12788         Document last change; simplify.
12790 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
12792         * simple.el (delete-trailing-whitespace): Also delete
12793         extra newlines at the end of the buffer.
12795         * textmodes/picture.el: Make motion commands obey shift-select-mode.
12796         (picture-newline): Use forward-line so as to ignore fields.
12798 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12800         * subr.el (with-wrapper-hook): Fix edebug spec.
12802 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12804         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12805         (bug#4538).
12807 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
12809         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12810         Fix nasty bug using wrong cached values.
12812 2011-09-23  Alan Mackenzie  <acm@muc.de>
12814         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12816 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
12818         * window.el (pop-to-buffer): Ensure right window is selected if we
12819         chose another frame.
12821 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
12823         * simple.el (what-cursor-position): Use get-char-property-change
12824         and next-single-char-property-change, to be able to show display
12825         properties that come from overlays as well as text properties.
12827 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
12829         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12831         * cmuscheme.el (run-scheme, switch-to-scheme):
12832         * cus-edit.el (customize-group, custom-buffer-create)
12833         (customize-browse):
12834         * info.el (info):
12835         * shell.el (shell):
12836         * mail/sendmail.el (mail):
12837         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12839 2011-09-22  Richard Stallman  <rms@gnu.org>
12841         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12842         move back only to line beg, don't move back over blank lines.
12844 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
12846         * files.el (copy-directory): Set directory attributes only in case
12847         they could be retrieved from the source directory.  (Bug#9565)
12849 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
12851         * progmodes/hideshow.el (hs-looking-at-block-start-p)
12852         (hs-find-block-beginning, hs-hide-level-recursive):
12853         Ignore strings as well as comments.  (Bug#9502)
12855 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
12857         * progmodes/sql.el (sql-comint-postgres):
12858         Convert port number to a string.  (Bug#9566)
12860 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
12862         * window.el (quit-window): Undedicate window when switching to
12863         previous buffer.  Reported by Thierry Volpiatto
12864         <thierry.volpiatto@gmail.com>.
12865         (special-display-popup-frame): When popping up a new frame reset
12866         its previous buffers to nil.  Simplify code.
12868 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
12870         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12871         and process filter, as done also in `shell-command'.
12873 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
12875         * window.el (set-window-buffer-start-and-point):
12876         Call set-window-start with NOFORCE argument t.
12877         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12878         (quit-window): Reword doc-string.  Handle new format of
12879         quit-restore parameter.  Don't delete window if it has a
12880         previous buffer we can show instead of the present one.
12881         (display-buffer-record-window): Rewrite using a new format for
12882         the quit-restore window parameter
12883         (special-display-popup-frame, display-buffer-same-window)
12884         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12885         (display-buffer-pop-up-window, display-buffer-use-some-window):
12886         Adapt symbol passed to display-buffer-record-window.
12887         * help.el (help-window-setup): Handle new format of quit-restore
12888         parameter.
12890 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12892         * faces.el (face-list): Fix docstring (bug#9564).
12894         * window.el (display-buffer--action-function-custom-type):
12895         Don't include internal functions in the Custom interface.
12897 2011-09-20  Juri Linkov  <juri@jurta.org>
12899         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12900         (Info-forward-node, Info-backward-node, Info-next-preorder)
12901         (Info-last-preorder): Use it.  (Bug#9528)
12903 2011-09-20  Juri Linkov  <juri@jurta.org>
12905         * info.el (Info-last-preorder): Visit last menu item only when
12906         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12908 2011-09-20  Julien Danjou  <julien@danjou.info>
12910         * password-cache.el (password-cache-remove): Remove entries even if the
12911         value is nil, so that password with a nil value (negative caching) is
12912         possible to invalidate.
12914 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
12916         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12917         all whitespace around breakpoint.  (Bug#9553)
12918         (f90-find-breakpoint): Only break at whitespace inside a comment.
12920 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12922         * minibuffer.el (completion-file-name-table): Keep track of errors.
12923         (completion-table-with-predicate): Handle the case where pred1 is nil.
12924         * pcomplete.el (pcomplete-completions-at-point): Simplify.
12926 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12928         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12929         (debugger-return-value): Signal an error if the debugging context does
12930         not await any return value.
12932         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12933         * image-mode.el (image-toggle-display-text)
12934         (image-toggle-display-image): Stay away from evil `intangible'.
12936 2011-09-19  Leo Liu  <sdl.web@gmail.com>
12938         * replace.el (occur-revert-arguments): Make it permanent-local.
12939         (occur-mode): Don't call font-lock-defontify.
12941 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
12943         * net/ldap.el (ldap-search-internal): Don't push empty search
12944         result (Bug#9508).
12946 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12948         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12950 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
12952         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12953         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12955 2011-09-18  Juri Linkov  <juri@jurta.org>
12957         * buff-menu.el (Buffer-menu-mode-map):
12958         * dired.el (dired-mode-map):
12959         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12960         (lisp-interaction-mode-map):
12961         * emacs-lisp/package.el (package-menu-mode-map):
12962         * epa.el (epa-key-list-mode-map):
12963         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12964         (menu-bar-options-menu):
12965         * outline.el (outline-mode-menu-bar-map):
12966         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12967         * vc/vc-dir.el (vc-dir-menu-map):
12968         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12969         Capitalize non-function content words in menu item strings.
12971         * dired.el (dired-mode-map): Add menu item for
12972         `image-dired-dired-toggle-marked-thumbs'.
12974 2011-09-18  Juri Linkov  <juri@jurta.org>
12976         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12977         to `isearch-case-fold-search' and restore its original value
12978         after the `isearch-mode' call.
12980 2011-09-18  Juri Linkov  <juri@jurta.org>
12982         * progmodes/grep.el (grep-process-setup): Don't check code for 1
12983         because `zgrep' returns 1 for successful matches (bug#9226).
12985 2011-09-18  Juri Linkov  <juri@jurta.org>
12987         * info.el (Info-extract-menu-node-name): Check the second match
12988         for empty string (second test-case of bug#9528).
12989         (Info-last-preorder): Let-bind `Info-history' to nil to not add
12990         intermediate nodes to the history (first test-case of bug#9528).
12992 2011-09-18  Juri Linkov  <juri@jurta.org>
12994         * info.el (Info-mode-syntax-table): New variable.
12995         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12997 2011-09-18  Juri Linkov  <juri@jurta.org>
12999         * info.el (Info-file-supports-index-cookies):
13000         Increment line-beginning-position's arg from 3 to 4 because makeinfo
13001         outputs one more line for long file names (bug#4142).
13003 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13005         * newcomment.el (comment-normalize-vars): If prompting for
13006         comment-start, set comment-start-skip too (Bug#8424).
13008 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
13010         * icomplete.el: Fix previous fix of Bug#5849.
13011         (icomplete-mode): Don't set completion-show-inline-help.
13012         (icomplete-minibuffer-setup): Set completion-show-inline-help
13013         locally during icompletion.
13015 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13017         * woman.el (woman2-process-escapes): Don't delete unrecognized
13018         escapes (Bug#7843).
13020         * files.el (inhibit-first-line-modes-regexps): Add image files.
13021         (hack-local-variables-prop-line): Return nil for malformed
13022         prop-lines (Bug#9044).
13024 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
13026         * net/tramp.el (top): Don't require 'shell.
13027         (tramp-methods): Fix docstring.
13028         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13029         Return complete remote file name.  Handle "smb" case.
13030         Use `tramp-tmpdir', if defined for the respective method.
13031         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13033         * net/tramp-compat.el (top): Require 'shell.
13035         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13036         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13037         `tramp-current-host'.
13038         (tramp-get-remote-tmpdir): Remove.
13040         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13041         `tramp-tmpdir' entries.
13042         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13043         (tramp-smb-handle-file-attributes): Ignore errors.
13044         (tramp-smb-wait-for-output): Check also for process end.
13046 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13048         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13049         when sending QUIT (bug#9312).
13051 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
13053         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13054         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13055         occur-mode-display-occurrence.
13056         (occur-edit-mode): Add usage message.
13057         (occur-cease-edit): New command.
13058         (occur-after-change-function): Use text properties to find the
13059         position of the prefix text.
13060         (occur-engine): Set stickiness of prefix text properties.
13062 2011-09-17  Glenn Morris  <rgm@gnu.org>
13064         * progmodes/etags.el (complete-tag):
13065         Fix call to completion-in-region.  (Bug#9526)
13067 2011-09-17  Juri Linkov  <juri@jurta.org>
13069         * textmodes/ispell.el (ispell-word): Add to the error message
13070         the word, ispell program name and current dictionary (bug#9121).
13071         (ispell-tex-arg-end): Capitalize "error" in the error message.
13073 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
13075         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13076         check.  (Bug#4251)
13078 2011-09-17  Juri Linkov  <juri@jurta.org>
13080         * window.el (window-safe-min-height, window-safe-min-width):
13081         Fix typos (followup to bug#9522).
13083 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
13085         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13087 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
13089         * simple.el (line-move): If goal-column is set, move by logical
13090         lines, not by display lines.  (Bug#971)
13091         (next-line, previous-line, goal-column, line-move-visual): Doc fix
13092         to reflect the above change.
13094 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13096         * image.el (imagemagick-register-types): Use regexp-opt.
13098 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13100         * window.el (display-buffer-base-action): Rename from
13101         display-buffer-default-action.  Make default value empty.
13102         (display-buffer-overriding-action): Convert to defvar.
13103         (display-buffer-fallback-action): New var.
13105 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13107         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13108         declaration.
13109         (package--add-to-archive-contents): If there is a duplicate entry
13110         with an older version, remove it.
13111         (package-menu-mark-delete, package-menu-mark-install)
13112         (package-menu-mark-unmark): Make unused args optional.
13113         (package-menu-mark-obsolete-for-deletion):
13114         Use package-menu-get-status instead of a regexp search.
13115         (package-menu-get-status): Use tabulated-list-entry.
13116         (package-menu-mark-upgrades): New command.
13117         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
13118         (package-menu-execute): Do installation before deletion.
13119         (package-menu-refresh, package-menu-execute): Use derived-mode-p
13120         instead of checking major-mode.
13121         (package-menu--find-upgrades): New function.
13123 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13125         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13126         passwords in the log buffer.
13127         (smtpmail-process-filter): Update the process marker so that the
13128         "broken by peer" status message is inserted in the right place.
13130 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13132         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13133         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13134         bibtex-completion-at-point-function.
13135         (bibtex-completion-at-point-function): Use them.
13137         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13139         * mpc.el (mpc-constraints-tag-lookup): New function.
13140         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13141         also to browser "album|playlist".
13143 2011-09-14  Juri Linkov  <juri@jurta.org>
13145         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
13146         (isearch-edit-string): Use length of `isearch-string' when
13147         `isearch-fail-pos' returns nil.
13148         (isearch-message): Remove duplicate code and call
13149         `isearch-fail-pos' with arg `t'.
13151 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
13153         * replace.el (occur-mode-goto-occurrence): Don't force using other
13154         window (Bug#9499).
13156         * dired-aux.el (dired-do-chmod): Don't provide initial input.
13158 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
13160         * window.el (display-buffer-window): Remove.
13161         (display-buffer-record-window): Use help-setup window parameter
13162         instead of variable display-buffer-window.
13163         (display-buffer-function, special-display-buffer-names)
13164         (special-display-function): Mention help-setup parameter instead
13165         of display-buffer-window in doc-string.
13166         * help.el (help-window-setup): New argument help-window.
13167         Use help-window-setup parameter instead of display-buffer-window.
13168         Reword some messages.
13169         (with-help-window): Pass window used for displaying the buffer
13170         to help-window-setup.  Don't set display-buffer-window.
13172 2011-09-13  Glenn Morris  <rgm@gnu.org>
13174         * emacs-lisp/debug.el (debugger-make-xrefs):
13175         Preserve point.  (Bug#9462)
13177 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13179         * window.el (window-deletable-p): Use next-frame.
13181 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
13183         * window.el (window-auto-delete): Remove.
13184         (window-deletable-p): Remove argument FORCE.  Don't deal with
13185         dedication and previous buffers.
13186         (switch-to-prev-buffer): Don't delete window.
13187         (delete-windows-on): Delete a window's frame if and only if the
13188         window is dedicated.
13189         (replace-buffer-in-windows): Delete buffer's window or frame if
13190         and only if window is dedicated.
13191         (quit-window): Handle quit-restore as before last change.
13192         (bury-buffer): Delete window only if window-deletable-p returns t.
13194 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13196         * window.el (window-deletable-p): Never delete the last frame on a
13197         given terminal.
13199 2011-09-13  Glenn Morris  <rgm@gnu.org>
13201         * help.el (describe-key-briefly): Copy previous standard-output change.
13203 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
13205         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
13207 2011-09-13  Glenn Morris  <rgm@gnu.org>
13209         * emacs-lisp/lisp-mode.el (lisp-indent-function):
13210         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13212 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
13214         * dired-aux.el (dired-mark-read-string): Don't return default
13215         value on empty input (Bug#9361).
13216         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13217         Omit initial minibuffer contents.
13218         (dired-do-chmod): Signal an error on empty input.
13219         (dired-mark-read-string): Don't return default on empty input.
13221         * files.el (file-modes-symbolic-to-number): Doc fix.
13223 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13225         * international/mule-cmds.el (ucs-completions): Remove.
13226         (read-char-by-name): Use complete-with-action instead; add metadata.
13228 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13230         * window.el (display-buffer--action-function-custom-type)
13231         (display-buffer--action-custom-type): New vars.
13232         (display-buffer-alist, display-buffer-default-action)
13233         (display-buffer-overriding-action): Add defcustom types.
13235         * frame.el (delete-other-frames): Doc fix (Bug#276).
13237 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13239         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13241 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13243         Change modes that used same-window-* vars to use switch-to-buffer.
13245         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13246         Use switch-to-buffer.
13248         * cus-edit.el (customize-group, custom-buffer-create)
13249         (customize-browse, custom-buffer-create-other-window):
13250         Use switch-to-buffer or switch-to-buffer-other-window.
13252         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13253         (Info-prev, Info-up, Info-speedbar-goto-node)
13254         (info-display-manual): Use switch-to-buffer.
13255         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13257         * mail/sendmail.el (mail): Use switch-to-buffer.
13258         (mail-recover): Use switch-to-buffer-other-window.
13260         * cmuscheme.el (run-scheme, switch-to-scheme):
13261         * ielm.el (ielm):
13262         * shell.el (shell):
13263         * net/rlogin.el (rlogin):
13264         * net/telnet.el (telnet, rsh):
13265         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13267 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13269         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13271 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13273         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13274         so don't mention it (bug#9301).
13275         (dired-sort-toggle-or-edit): Clarify string further.
13277         * faces.el (face-spec-set-match-display): Make `(type graphic)'
13278         match `x', `w32' and `ns', like the manual says (bug#9029).
13280         * subr.el (eval-after-load): Doc string clarification (bug#9125).
13281         (process-kill-buffer-query-function): Mention the buffer name in
13282         the query.
13284         * image-mode.el (image-next-line): The line parameter is mandatory
13285         (bug#9258).
13287         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13288         which can be useful (bug#9301).
13290         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13292         * subr.el (match-string): Mention that the current buffer should
13293         be the same as the search was done in (bug#9282).
13295         * facemenu.el: Disable the remove-* commands if the mark isn't
13296         active (bug#9162).
13298 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13300         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13301         of display-buffer.
13302         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13304         * replace.el (occur-mode-goto-occurrence)
13305         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13306         and display-buffer.
13308         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13309         display-buffer.
13311         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13312         special-display and same-window variables.
13313         (mail-other-window): Use switch-to-buffer-other-window.
13314         (mail-other-frame): USe switch-to-buffer-other-frame.
13316         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13317         Use display-buffer-other-frame.
13318         (gdb-display-gdb-buffer): Use pop-to-buffer.
13320         * progmodes/gud.el (gud-goto-info): Use info-other-window.
13322         * progmodes/python.el: Don't set same-window-buffer-names.
13324         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13326         * window.el (display-buffer-alist): Add *Python*.
13328 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13330         * window.el (display-buffer-alist): Add entry for buffers
13331         previously handled same-window-*.
13332         (display-buffer-alist, display-buffer-default-action)
13333         (display-buffer-overriding-action): Mark as risky.
13334         (display-buffer-alist): Document action function changes.
13335         (display-buffer--same-window-action)
13336         (display-buffer--other-frame-action): New variables.
13337         (switch-to-buffer, display-buffer-other-frame): Use them.
13338         (display-buffer): Rename reuse-frame entry to reusable-frames.
13339         (display-buffer-reuse-selected-window): Function deleted.
13340         (display-buffer-reuse-window): Handle reusable-frames alist entry.
13341         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13342         (display-buffer-special): New function.
13343         (display-buffer--maybe-pop-up-frame-or-window): Rename from
13344         display-buffer-reuse-or-pop-window.  Split off special-display
13345         part into display-buffer-special.
13346         (display-buffer-use-some-window): Don't perform any special
13347         pop-up-frames handling.
13348         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13349         (display-buffer--maybe-same-window): Rename from
13350         display-buffer-maybe-same-window.
13352         * info.el: Don't set same-window-regexps.
13353         (info-setup): New function.
13354         (info-other-window, info): Call it.
13356         * cus-edit.el: Don't set same-window-regexps.
13357         (customize-group): New argument.
13358         (customize-group-other-window): Use it.
13359         (customize-face, customize-face-other-window): Likewise.
13360         (custom-buffer-create-other-window): Use pop-to-buffer directly.
13362         * net/rlogin.el:
13363         * net/telnet.el:
13364         * progmodes/gud.el: Don't set same-window-regexps.
13366         * cmuscheme.el:
13367         * ielm.el:
13368         * shell.el:
13369         * mail/sendmail.el:
13370         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13372 2011-09-10  Juri Linkov  <juri@jurta.org>
13374         * isearch.el (isearch-edit-string): Remove obsolete mention of
13375         `C-w' (`isearch-yank-word-or-char') from docstring.
13376         (isearch-query-replace): Fix typo in docstring (bug#9466).
13378 2011-09-10  Juri Linkov  <juri@jurta.org>
13380         * paren.el (show-paren-function): Don't show escaped parens.
13381         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
13383 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
13385         * mail/sendmail.el (mml-to-mime, mml-attach-file)
13386         (mm-default-file-encoding): Remove autoload forms, they are
13387         replaced with autoload cookies in mml.el and mm-encode.el.
13388         (mail-add-attachment): New command.
13389         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13390         (mail-mode): Mention mail-insert-file and mail-add-attachment in
13391         the doc string.
13392         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13394 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
13396         * simple.el (count-words-region): Use buffer if there's no region
13397         (bug#9429).
13399 2011-09-09  Juri Linkov  <juri@jurta.org>
13401         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13402         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13403         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
13405 2011-09-09  Alan Mackenzie  <acm@muc.de>
13407         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13408         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
13410 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
13412         Fix for Savannah bug#9392.
13413         * simple.el (mail-encode-mml): New defvar.
13415         * mail/rmail.el (mail-encode-mml): Add a defvar.
13416         (rmail-enable-mime-composing): Default to t.
13417         (rmail-forward): Use MIME method of forwarding only if both
13418         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13419         Set mail-encode-mml non-nil if the MIME method was used.
13421         * mail/sendmail.el (mml-to-mime): Add autoload form.
13422         (mail-encode-mml): Add a defvar.
13423         (mail-mode): Make mail-encode-mml buffer-local and initialize it
13424         to nil.
13425         (mail-send): If mail-encode-mml is non-nil, run the outgoing
13426         message through mml-to-mime, and reset mail-encode-mml to nil.
13428 2011-09-09  Glenn Morris  <rgm@gnu.org>
13430         * woman.el (woman-if-body): When processing an .el block,
13431         do not delete the next .el block as well.  (Bug#9447)
13432         (woman-special-characters): Add oq, cq, and hy characters.
13434 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13436         * window.el (window-deletable-p): Make sure window is live before
13437         invoking window-prev-buffers.
13439 2011-09-08  Leo Liu  <sdl.web@gmail.com>
13441         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
13443 2011-09-08  Juri Linkov  <juri@jurta.org>
13445         * progmodes/compile.el (compilation-environment): Make it
13446         a defcustom (bug#8340).
13448 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13450         * window.el (frame-auto-delete): Rename to window-auto-delete.
13451         Make it control auto-deletion of windows and/or frames.
13452         (window-deletable-p): New argument FORCE.  Rewrite conditions
13453         for deleting window/frame.  (Bug#9419)
13454         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13455         Rewrite handling of case when window/frame can be deleted.
13456         (delete-windows-on): Call window-deletable-p with new FORCE
13457         argument t.  (Bug#9456)
13459 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
13461         * help-mode.el (help-mode): Restore autoload.
13463 2011-09-07  Juri Linkov  <juri@jurta.org>
13465         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13466         `compilation-environment'.  Set buffer-local
13467         `compilation-environment' to `thisenv' later after (funcall mode).
13468         (Bug#8340)
13470         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
13471         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13472         instead of replacing its value.  (Bug#8340)
13474 2011-09-07  Juri Linkov  <juri@jurta.org>
13476         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13477         based on text properties put by `grep-filter' instead of matching
13478         escape sequences.
13479         (grep-mode): Set buffer-local `compilation-error-screen-columns'
13480         to the value of `grep-error-screen-columns' (bug#9438).
13482 2011-09-07  Juri Linkov  <juri@jurta.org>
13484         * simple.el (next-error-highlight, next-error-highlight-no-select):
13485         Doc fix (bug#9432).
13487 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
13489         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13490         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
13492 2011-09-07  Leo Liu  <sdl.web@gmail.com>
13494         * net/rcirc.el (rcirc-mode): Conditionally initialize
13495         rcirc-input-ring.
13497 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13499         * emacs-lisp/find-func.el (find-function-C-source): Only set
13500         find-function-C-source-directory after checking that we found a source
13501         file there (bug#9440).
13503 2011-09-06  Alan Mackenzie  <acm@muc.de>
13505         * isearch.el (isearch-other-meta-char): Wherever a key list is
13506         unread, "unread" the prefix arg, too.  This fixes bug #8901.
13508 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
13510         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13512 2011-09-05  Juri Linkov  <juri@jurta.org>
13514         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13516 2011-09-05  Juri Linkov  <juri@jurta.org>
13518         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13519         keeping point where processing of grep matches begins, and
13520         continue to delete remaining escape sequences from the same point.
13521         (grep-filter): Make leading zero optional in "0?1;31m" because
13522         git-grep emits "\033[1;31m" escape sequences unlike expected
13523         "\033[01;31m" as GNU Grep does (bug#9408).
13524         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13526 2011-09-05  Juri Linkov  <juri@jurta.org>
13528         * subr.el (y-or-n-p): Capitalize "yes".
13530 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
13532         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
13533         `tramp-cache-unload-hook' where appropriate.
13534         (tramp-methods): Rename `tramp-remote-sh' to
13535         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
13536         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13538         * net/tramp-sh.el (top): Don't require 'shell.
13539         (tramp-methods): Add `tramp-remote-shell' and
13540         `tramp-remote-shell-args' entries.
13541         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13542         (tramp-sh-handle-shell-command): Remove.
13543         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13544         Use `tramp-remote-shell'.
13546 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
13548         * mail/sendmail.el (sendmail-query-once-function): Delete.
13549         (sendmail-query-once): Save directly to send-mail-function.
13550         Update message-send-mail-function too.
13552         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13554 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13556         * progmodes/python.el (python-mode-map): Use correct function to
13557         start python interpreter from menu-bar (as reported by Geert
13558         Kloosterman).
13559         (inferior-python-mode-map): Fix typo.
13560         (python-shell-map): Remove.
13562 2011-09-03  Deniz Dogan  <deniz@dogan.se>
13564         * net/rcirc.el (rcirc-print): Simplify code for
13565         rcirc-scroll-show-maximum-output.  There is no need to walk
13566         through all windows to find the right one.
13568 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13570         * help.el (help-return-method): Doc fix.
13572 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
13574         * window.el (window-deletable-p): Don't return a non-nil value
13575         when there's a buffer that was shown in the window before.
13576         (Bug#9419)
13577         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13578         Set window's previous buffers to nil.
13580 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
13582         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13583         newline before and after the tag line, so it doesn't interfere
13584         with determining the paragraph direction of bidirectional text.
13586 2011-09-03  Leo Liu  <sdl.web@gmail.com>
13588         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
13590 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13592         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13593         (pop-to-buffer): Change interactive spec.  Pass second argument
13594         directly to display-buffer.
13595         (display-buffer): Fix interactive spec.  Use functionp to
13596         distinguish between a function and a list of functions.
13598         * abbrev.el (edit-abbrevs):
13599         * arc-mode.el (archive-extract):
13600         * autoinsert.el (auto-insert):
13601         * bookmark.el (bookmark-bmenu-list):
13602         * files.el (find-file):
13603         * view.el (view-buffer):
13604         * progmodes/compile.el (compilation-goto-locus):
13605         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13607 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13609         * window.el (display-buffer-alist): Doc fix.
13610         (display-buffer): Add docstring.  Don't treat
13611         display-buffer-default specially.
13612         (display-buffer-reuse-selected-window)
13613         (display-buffer-same-window, display-buffer-maybe-same-window)
13614         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13615         (display-buffer-pop-up-window)
13616         (display-buffer-reuse-or-pop-window)
13617         (display-buffer-use-some-window): New functions.
13618         (display-buffer-default-action): Use them.
13619         (display-buffer-default): Delete.
13620         (pop-to-buffer-1): Fix choice of actions.
13622 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13624         * minibuffer.el (completion--insert-strings): Don't get confused by
13625         completion entries that end with an LF char.
13627 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
13629         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13631 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
13633         * window.el (display-buffer): Restore interactive spec.
13634         (display-buffer-same-window, display-buffer-other-window):
13635         New functions.
13636         (pop-to-buffer-1): New function.  Use the above.
13637         (pop-to-buffer, pop-to-buffer-same-window): Use it.
13638         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13640         * view.el (view-buffer-other-window, view-buffer-other-frame):
13641         Just use pop-to-buffer.
13643 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13645         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
13647 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
13649         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
13651 2011-08-31  Richard Stallman  <rms@gnu.org>
13653         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13654         of the separation of rmail-view-buffer from rmail-buffer.
13655         If you say no to "replace original", the decrypt is in the
13656         view buffer.  If you say yes, the decrypt goes into the
13657         rmail buffer also.
13659 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
13661         * window.el (display-buffer-window): Rewrite doc-string.
13662         (display-buffer-record-window): New function.
13663         (display-buffer-macro-specifiers)
13664         (display-buffer-even-window-sizes, display-buffer-set-height)
13665         (display-buffer-set-width, display-buffer-in-window)
13666         (display-buffer-reuse-window, display-buffer-split-specifiers)
13667         (display-buffer-side-specifiers, display-buffer-split-window-1)
13668         (display-buffer-split-window, display-buffer-split-atom-window)
13669         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13670         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13671         (display-buffer-other-window-means-other-frame)
13672         (display-buffer-normalize-special)
13673         (display-buffer-normalize-default)
13674         (display-buffer-normalize-argument)
13675         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13676         (display-buffer-normalize-specifiers, display-buffer-frame)
13677         (display-buffer-same-window, display-buffer-same-frame)
13678         (display-buffer-other-window)
13679         (display-buffer-same-frame-other-window)
13680         (display-buffer-other-frame, pop-to-buffer-same-window)
13681         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13682         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13683         (switch-to-buffer-same-frame)
13684         (switch-to-buffer-other-window-same-frame)
13685         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13686         (display-buffer-alist-set-1, display-buffer-alist-set-2)
13687         (display-buffer-alist-set): Remove.
13688         (display-buffer-function, special-display-buffer-names)
13689         (special-display-regexps, special-display-function):
13690         In doc-string refer to display-buffer-window and quit-restore
13691         parameter.
13692         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13693         (special-display-frame-alist, special-display-popup-frame)
13694         (same-window-buffer-names, same-window-regexps, same-window-p)
13695         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13696         (split-window-preferred-function, split-height-threshold)
13697         (split-width-threshold, window-splittable-p)
13698         (split-window-sensibly, window--try-to-split-window)
13699         (window--frame-usable-p, even-window-heights)
13700         (window--even-window-heights, window--display-buffer-1)
13701         (window--display-buffer-2, display-buffer-other-frame):
13702         Restore old Emacs 23 code, order and doc-strings where applicable.
13703         (display-buffer-default, display-buffer-assq-regexp): New functions.
13704         (display-buffer-alist): Rewrite doc-string.
13705         (display-buffer-default-action)
13706         (display-buffer-overriding-action): New variables.
13707         (display-buffer, switch-to-buffer): Rewrite.
13708         (pop-to-buffer): Restore Emacs 23 behavior but use
13709         window-normalize-buffer-to-display.
13710         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13711         Restore Emacs 23 behavior but use
13712         window-normalize-buffer-to-switch-to.
13713         (pop-to-buffer-same-window): Rewrite.
13714         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13715         Rewrite using Emacs 23 options.
13717 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
13719         * net/tramp.el (tramp-root-regexp): Remove.
13720         (tramp-completion-file-name-regexp-unified)
13721         (tramp-completion-file-name-regexp-separate)
13722         (tramp-completion-file-name-regexp-url): Don't use leading volume
13723         letter on w32 systems.  (Bug#5303, Bug#9311)
13724         (tramp-drop-volume-letter): Simplify definition.
13725         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13727 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13729         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13730         (bug#9356).
13732 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
13734         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13736 2011-08-29  Juri Linkov  <juri@jurta.org>
13738         * isearch.el (isearch-done): Don't display message "Mark saved"
13739         when arg `edit' is non-nil to prevent its flicker in the echo area.
13741 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13743         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13744         obsolete packages for deletion.
13746 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
13748         * help-mode.el (help-mode-map): Add special-mode-map to parent.
13749         (help-mode): Derive help-mode from special-mode.  Don't invoke
13750         view-mode from help-mode.
13751         (help-xref-override-view-map): Remove.
13752         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13753         view-mode is not used anymore.
13755 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13757         * server.el (server-port): Doc fix.
13759         * cus-theme.el (custom-theme-choose-mode): Inherit from
13760         special-mode (Bug#9124).
13761         (custom-theme-choose-mode-map): Add special-mode to parent.
13763 2011-08-28  Alan Mackenzie  <acm@muc.de>
13765         * progmodes/cc-fonts.el
13766         (c-make-font-lock-BO-decl-search-function): New function.
13767         (c-basic-matchers-after - "Fontify the clauses after various
13768         keywords"): Extract the three keyword lists for the 3 erroneous
13769         constructs from the list of four, and use the new function above
13770         in place of an old one.
13772 2011-08-28  Deniz Dogan  <deniz@dogan.se>
13774         * net/rcirc.el (rcirc-insert-prev-input)
13775         (rcirc-insert-next-input): Remove unused argument.
13777 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13779         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13781 2011-08-27  Alan Mackenzie  <acm@muc.de>
13783         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13784         handle function pointer parameters properly.
13786 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
13788         * window.el (display-buffer-reuse-window): Fix case where
13789         selected window was reused with non-nil OTHER-WINDOW argument.
13790         (Bug#9381)
13792 2011-08-27  Deniz Dogan  <deniz@dogan.se>
13794         * net/rcirc.el (rcirc-check-auth-status): Adding support for
13795         oftc's NickServ messages.
13797 2011-08-27  Glenn Morris  <rgm@gnu.org>
13799         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
13801 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
13803         * emacs-lisp/package.el (package-install): Call package-initialize
13804         if called interactively.
13806 2011-08-26  Leo Liu  <sdl.web@gmail.com>
13808         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
13810 2011-08-25  Juri Linkov  <juri@jurta.org>
13812         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13813         `search-whitespace-regexp' (bug#9364).
13815 2011-08-25  Juri Linkov  <juri@jurta.org>
13817         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13818         `regexp-search-ring' to their global values to protect from
13819         updating by `read-from-minibuffer' (bug#9185).
13821 2011-08-25  Juri Linkov  <juri@jurta.org>
13823         * textmodes/ispell.el (ispell-command-loop): Add newline
13824         at the end of the "Use option `i'..." line.
13826 2011-08-25  Juri Linkov  <juri@jurta.org>
13828         * battery.el (display-battery-mode): If `battery-status-function'
13829         or `battery-mode-line-format' is nil, display the message and set
13830         `display-battery-mode' to nil (bug#9363).
13832 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
13834         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13835         bidi-string-mark-left-to-right; they are unnecessary now.
13837 2011-08-25  Deniz Dogan  <deniz@dogan.se>
13839         * net/quickurl.el: Documentation typo fixes.
13841 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
13843         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13845 2011-08-25  Glenn Morris  <rgm@gnu.org>
13847         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13849         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13850         (smtpmail-via-smtp): Handle nil response from smtp.
13852 2011-08-24  Juri Linkov  <juri@jurta.org>
13854         * proced.el (proced-marked): Inherit from `error' instead of
13855         `font-lock-warning-face'.
13857         * ibuffer.el (ibuffer-marked-face): Change default face from
13858         `font-lock-warning-face' to `warning'.
13859         (ibuffer-deletion-face): Change default face from
13860         `font-lock-type-face' to `error'.
13862         * battery.el (battery-update): Use the face `error' instead of
13863         `font-lock-warning-face' (bug#6117).
13865 2011-08-24  Juri Linkov  <juri@jurta.org>
13867         * faces.el (success): Change face color from "Green3" to
13868         "ForestGreen" on light background (bug#9353).
13870 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
13872         * window.el (quit-window): Rename from quit-restore-window.
13873         Use same arglist as old quit-window.
13874         (frame-auto-delete): Doc fix.
13876         * view.el (view-mode-exit): Use quit-window.
13878 2011-08-24  Juri Linkov  <juri@jurta.org>
13880         * isearch.el (isearch-ring-adjust1): Start visiting previous
13881         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13882         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13883         for empty search string (when the last search string is reused
13884         automatically) to adjust the isearch ring to the last element and
13885         prepare the correct index for further M-p commands (bug#9185).
13887 2011-08-24  Kenichi Handa  <handa@m17n.org>
13889         * international/ucs-normalize.el: If decomposition property of
13890         CHAR is the default one (i.e. a list of CHAR itself), treat it as
13891         nil.
13892         (nfd, nfkd): Likewise.
13894 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13896         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13897         from process filters aren't reliably transmitted to the surrounding
13898         accept-process-output.
13899         (mpc-proc-check): New function.
13900         (mpc-proc-sync): Use it (bug#8293)
13902 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13904         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13905         Add compatibility functions (bug#9313).
13907 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
13909         * cus-start.el (all): Add entry for bidi-paragraph-direction.
13911         * international/uni-bidi.el: Regenerate.
13913 2011-08-23  Kenichi Handa  <handa@m17n.org>
13915         * international/charprop.el:
13916         * international/uni-bidi.el:
13917         * international/uni-category.el:
13918         * international/uni-combining.el:
13919         * international/uni-comment.el:
13920         * international/uni-decimal.el:
13921         * international/uni-decomposition.el:
13922         * international/uni-digit.el:
13923         * international/uni-lowercase.el:
13924         * international/uni-mirrored.el:
13925         * international/uni-name.el:
13926         * international/uni-numeric.el:
13927         * international/uni-old-name.el:
13928         * international/uni-titlecase.el:
13929         * international/uni-uppercase.el: Regenerate.
13931 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
13933         * help.el (help-window-setup): Fix message displayed when other
13934         window is reused.  (Bug#9341)
13936 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13938         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13939         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13941         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13942         Mark obsolete.
13943         * shell.el (shell-parse-pcomplete-arguments): New function.
13944         (shell-completion-vars): Use it instead (bug#9160).
13946 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13948         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13949         strings and comments (bug#9333).
13951         * emacs-lisp/debug.el (debug-arglist): New function.
13952         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
13953         (debug-on-entry-1): Handle interpreted closures (bug#9120).
13955 2011-08-22  Juri Linkov  <juri@jurta.org>
13957         * progmodes/compile.el (compilation-mode-font-lock-keywords):
13958         Revert regexp that highlights output switches to its old
13959         pre-2010-10-28 value and remove one `?' from it (bug#9319).
13961         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13962         to check for empty output (bug#9226).
13964 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
13966         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13967         symbol-constituent as the default, as that stops font-lock from
13968         working properly (Bug#8843).
13970 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13972         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13973         `coding-system-for-*' around the process open call to avoid
13974         auth-source side effects.
13975         (smtpmail-try-auth-methods): Expand the secret password.
13976         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13977         probe hangs.
13979 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13981         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13983         * emacs-lisp/find-func.el (find-function-noselect): New arg
13984         lisp-only.
13986         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13987         signal an error for built-in functions (Bug#6664).
13989 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13991         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13992         (smtpmail-try-auth-methods): Use it.
13994 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13996         * font-lock.el (font-lock-fontify-region)
13997         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13998         (font-lock-default-unfontify-buffer)
13999         (font-lock-default-fontify-region)
14000         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14002         * progmodes/compile.el (compilation-error-properties):
14003         Fix confusion between file struct and message struct (Bug#9319).
14004         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14005         `ant' regexp.
14007         * net/browse-url.el (browse-url-firefox): Don't call
14008         browse-url-firefox-sentinel unless using -remote (Bug#9328).
14010 2011-08-20  Glenn Morris  <rgm@gnu.org>
14012         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14014         * tutorial.el (tutorial--default-keys): Update some default bindings.
14016         * files.el (hack-local-variables): Fully ignore case for "mode:".
14018 2011-08-20  Alan Mackenzie  <acm@muc.de>
14020         Resolve invalid use of a regexp in regexp-opt.
14022         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14023         detection for a java annotation.
14025         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14026         detection for a java annotation.
14028         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14029         handling for java.
14030         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14032 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
14034         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14035         (Bug#9274).
14037 2011-08-20  Alan Mackenzie  <acm@muc.de>
14039         Fontify CPP expressions correctly when starting in the middle of
14040         such a construct.  Mainly for when jit-lock etc. starts a chunk
14041         here.
14043         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14044         variable.
14045         (c-make-font-lock-search-form): New function, extracted from
14046         c-make-font-lock-search-function.
14047         (c-make-font-lock-search-function): Use the above function.
14048         (c-make-font-lock-context-search-function): New function.
14049         (c-cpp-matchers): Enhance the preprocessor expression case with
14050         the above function
14051         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14052         which takes an expression.
14054         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14056 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
14058         * window.el (display-buffer-reuse-window)
14059         (display-buffer-pop-up-window): Don't reuse or split a side
14060         window.
14062 2011-08-19  Glenn Morris  <rgm@gnu.org>
14064         * files.el (hack-local-variables-prop-line, hack-local-variables):
14065         Downcase "Mode:".  (Bug#9331)
14067 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
14069         * international/characters.el: Add L and R categories.
14071         * subr.el (bidi-string-mark-left-to-right): Rename from
14072         string-mark-left-to-right.  Use category search.
14074         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14076 2011-08-18  Juri Linkov  <juri@jurta.org>
14078         * faces.el (error, warning, success): New faces with definitions
14079         copied from old default values of `font-lock-warning-face',
14080         `compilation-warning', `compilation-info' (bug#6117).
14082         * font-lock.el (font-lock-warning-face): Inherit from `error'.
14084         * progmodes/compile.el (compilation-error): Inherit from `error'.
14085         (compilation-warning): Inherit from `warning'.
14086         (compilation-info): Inherit from `success'.
14088         * dired.el (dired-marked): Inherit from `warning'.
14089         (dired-flagged): Inherit from `error'.
14091 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14093         * mail/smtpmail.el (auth-source): Require to avoid problems with
14094         binding variables (bug#9298).  Also clean up some unused
14095         autoloads.
14097         * net/network-stream.el (network-stream-open-starttls):
14098         Support using starttls.el without using gnutls-cli.
14100 2011-08-17  Juri Linkov  <juri@jurta.org>
14102         * progmodes/grep.el (rgrep): Handle the case when
14103         `grep-find-command' is a cons cell (bug#9278).
14105 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
14107         * window.el (display-buffer-pop-up-frame): Run frame creation
14108         function with BUFFER current (as special-display-popup-frame
14109         does).  Reported by Drew Adams.
14111 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
14113         * epa-mail.el: Simplify GnuPG group expansion using
14114         epg-expand-group.
14115         (epa-mail-group-alist, epa-mail-group-modtime)
14116         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14117         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14118         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14119         Remove.
14121 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
14123         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14125 2011-08-16  Alan Mackenzie  <acm@muc.de>
14127         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14128         Correct, to avoid the inside of macros.
14130 2011-08-16  Richard Stallman  <rms@gnu.org>
14132         * epa-mail.el: Handle GnuPG group definitions.
14133         (epa-mail-group-alist, epa-mail-group-modtime)
14134         (epa-mail-gnupg-conf-file): New variables.
14135         (epa-mail-parse-groups, epa-mail-sync-groups)
14136         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14137         (epa-mail-expand-recipients): New functions.
14138         (epa-mail-encrypt): Call epa-mail-expand-recipients.
14140         * mail/rmail.el (rmail-epa-decrypt): New command.
14142         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14143         Don't bind buffer-read-only, just inhibit-read-only.
14144         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14145         (epa-decrypt-armor-in-region): Make error message clearer.
14147 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14149         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14150         and "a2b" to "ab" for `prefix'.
14152 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
14154         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14155         filter groups.
14156         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
14157         Fourquet (Bug#8804).
14159 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
14161         * startup.el (argi): Declare as global variable (bug#9275).
14163 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
14165         * subr.el (string-mark-left-to-right): Search the entire string
14166         for RTL script, not just the terminating character.  Doc fix.
14168 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14170         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14171         New function.
14172         (js--regexp-literal, js-syntax-propertize-function): Remove.
14173         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14174         (js-mode-map): Don't rebind electric keys.
14175         (js-insert-and-indent): Remove.
14176         (js-mode): Setup electric-layout and electric-indent instead.
14178         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14180 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
14182         * epa.el (epa-progress-callback-function): Fix the logic of
14183         displaying progress.
14184         * epa-file.el (epa-file-insert-file-contents): Make progress
14185         display more user-friendly.
14186         (epa-file-write-region): Ditto.
14188 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
14190         * subr.el (string-mark-left-to-right): New function.
14192         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14193         Use string-mark-left-to-right.
14194         (list-buffers-noselect): Caller changed.
14196         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14197         Use string-mark-left-to-right.
14198         (tabulated-list-print): Recenter after moving point.
14200 2011-08-10  Juri Linkov  <juri@jurta.org>
14202         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14203         This finishes incomplete reversion of revno:104787 (2011-06-30)
14204         intended by revno:104988 (2011-07-06).
14206 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
14208         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14209         (Bug#7554).
14211 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14213         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14214         character.  (Bug#6594)
14216 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
14218         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14219         (image-dired--with-db-file): New macro.
14220         (image-dired-write-tags, image-dired-remove-tag)
14221         (image-dired-create-gallery-lists, image-dired-write-comments)
14222         (image-dired-get-comment, image-dired-mark-tagged-files)
14223         (image-dired-list-tags, image-dired-gallery-generate): Use it.
14224         (image-dired-gallery-generate): Use insert-file-contents.
14226         * time.el (display-time-world-list, display-time-world-display):
14227         * time-stamp.el (time-stamp-string):
14228         * vc/add-log.el (add-change-log-entry): Use setenv instead of
14229         set-time-zone-rule (Bug#7337).
14231 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
14233         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14234         (epg-error-to-string, epg-errors-to-string): New function.
14235         (epg-wait-for-completion): Reverse errors list.
14236         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14237         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14238         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14239         (epg-sign-keys, epg-generate-key-from-file)
14240         (epg-generate-key-from-string): Format errors by using
14241         epg-errors-to-string (bug#9255).
14242         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14244 2011-08-07  Juri Linkov  <juri@jurta.org>
14246         * faces.el (list-faces-display): Remove extra angle bracket
14247         from `help-mode-map'.
14249         * info.el (Info-history-toc-nodes): Doc fix.
14251         * longlines.el (longlines-mode): Doc fix.
14253 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14255         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14256         of statements and in a few more cases (bug#9183).
14258         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14259         New functions.
14260         (cl-transform-lambda): Use them (bug#9239).
14262 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
14264         * window.el (display-buffer-same-window)
14265         (display-buffer-same-frame, display-buffer-other-window)
14266         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14267         (pop-to-buffer-other-window)
14268         (pop-to-buffer-same-frame-other-window)
14269         (pop-to-buffer-other-frame): Make them defuns.
14270         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14272 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14274         * subr.el (make-composed-keymap): Move from C.  Change calling
14275         convention, and improve docstring to bring attention to a subtle point.
14276         * minibuffer.el (completing-read-default): Adjust accordingly.
14278 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
14280         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14281         (tramp-open-shell): Use `tramp-shell-quote-argument'.
14283         * net/trampver.el: Update release number.
14285 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14287         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14288         "in" (bug#9190).
14290 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14292         * mail/sendmail.el (sendmail-query-once): Restore the current
14293         buffer after querying (bug#9074).
14295         * dired.el (dired-flagged): Use different faces for marked and
14296         flagged files (bug#6117).
14298         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14299         (bug#4433).
14301         * ido.el (ido-mode): Switch off the message if called
14302         non-interactively.
14304         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14305         before 587, since it appears that that's more likely to work for
14306         more people.
14308         * cus-edit.el (custom-file): When running under emacs -q, always
14309         refuse to save the customizations, even if the .emacs file doesn't
14310         exist.
14312         * info.el: Remove the `Info-beginning-of-buffer' function
14313         (bug#8325).
14315         * net/network-stream.el (network-stream-open-starttls):
14316         Use `starttls-available-p' to see whether starttls.el can be used.
14318 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
14320         * window.el (display-buffer-in-window): Don't set dedicated status
14321         of window here (Bug#9215).
14322         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14323         (display-buffer-pop-up-side-window)
14324         (display-buffer-in-side-window): Set dedicated status of window here.
14326 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14328         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14329         before binding generated-autoload-file.
14331 2011-08-01  Deniz Dogan  <deniz@dogan.se>
14333         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14335 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
14337         Sync with Tramp 2.2.2.
14339         * net/trampver.el: Update release number.
14341 2011-07-30  Juri Linkov  <juri@jurta.org>
14343         * dired-aux.el (dired-touch-initial): Remove function.
14344         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14345         current time, and `default' to the last modification time of the
14346         current marked file (bug#6887).
14348 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
14350         * simple.el (goto-line): Use string-to-number to provide a
14351         numeric argument to read-number (bug#9163).
14353 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
14355         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14356         connection process, it could be nil.
14358 2011-07-27  Leo Liu  <sdl.web@gmail.com>
14360         Simplify url handling in rcirc-mode.
14362         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14363         (rcirc-browse-url-at-mouse): Remove.
14364         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14366 2011-07-26  Alan Mackenzie  <acm@muc.de>
14368         Fontify bitfield declarations properly.
14370         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14371         (c-symbol-chars): Now exported as a lang variable.
14372         (c-not-primitive-type-keywords): New lang variable.
14374         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14375         QT keyword "more" to prevent "more slots: ...." being spuriously
14376         parsed as a bitfield declaration.
14378         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14379         Refactor and enhance to handle bitfield declarations.
14380         (c-punctuation-in): New function.
14381         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14382         declarations properly.
14384 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
14386         * calendar/icalendar.el (icalendar--all-events): Take care of
14387         multiple vcalendars in a single file.
14388         (icalendar--convert-float-to-ical): Checkdoc fixes.
14390 2011-07-25  Deniz Dogan  <deniz@dogan.se>
14392         * image.el (insert-image): Clarifying docstring.
14394 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
14396         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14397         `tramp-send-command-and-check' if there is no error.
14398         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14400 2011-07-22  Alan Mackenzie  <acm@muc.de>
14402         Prevent cc-langs.elc being loaded at run time.
14404         * progmodes/cc-mode.el: Remove two autoload forms which loaded
14405         cc-langs.
14407         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14408         "(require 'cc-langs)".  Quote a form so it will evaluate at
14409         (cc-mode's) compilation time.
14411 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
14413         * net/tramp.el (tramp-file-name-handler): Avoid recursive
14414         loading.  (Bug#9114)
14416 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
14418         * window.el (display-buffer-pop-up-window)
14419         (display-buffer-pop-up-side-window)
14420         (display-buffer-in-side-window): Call display-buffer-set-height
14421         and display-buffer-set-width after setting the new window's
14422         buffer so `fit-window-to-buffer' and friends work on the right buffer.
14424 2011-07-20  Sam Steingold  <sds@gnu.org>
14426         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14427         (etags-tags-included-tables): Call `convert-standard-filename' on
14428         the file names contained in TAGS so that windows Emacs can handle
14429         TAGS files created by cygwin ctags.
14431 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14433         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14434         which apparently didn't work.
14436 2011-07-19  Roland Winkler  <winkler@gnu.org>
14438         * proced.el (proced-send-signal): For *Marked Processes* buffer
14439         put point at beginning of buffer.
14441 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
14443         * proced.el (proced-format): Make header lines align with the text
14444         (bug#1779).
14446 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14448         * view.el (view-buffer): Allow running in `special' modes if we're
14449         visiting a file (bug#8615).
14451 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
14453         * window.el (display-buffer-alist-of-strings-p)
14454         (display-buffer-alist-set-1, display-buffer-alist-set-2):
14455         New functions.
14456         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14457         more accurately.
14459 2011-07-18  Alan Mackenzie  <acm@muc.de>
14461         Fontify declarators properly when, e.g., a jit-lock chunk begins
14462         inside a declaration.
14464         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14466         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14467         New function.
14468         (c-complex-decl-matchers): Insert reference to
14469         c-font-lock-enclosing-decls.
14471         * progmodes/cc-engine.el (c-backward-single-comment):
14472         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14473         to nil around calls to (forward-comment -1).
14475 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14477         * image.el (put-image): Doc typo fix.
14479         * progmodes/etags.el (tags-search): Doc typo fix.
14481         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14482         password if we get errors 550 to 554.
14484 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14486         * net/gnutls.el (gnutls-log-level): Remove.
14488         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14489         indentation character (bug#6380).
14491         * files.el (buffer-offer-save): Made permanently local (bug#6241).
14493         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14494         to clarify what the problem is (bug#4291).
14496         * simple.el (current-kill): Clarify what
14497         `interprogram-paste-function' does (bug#7500).
14498         (auto-fill-mode): Document `auto-fill-function' in relation to
14499         `auto-fill-mode' (bug#2470).
14501 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
14503         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14504         method if slot is read-only (bug#9035).
14506 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
14508         * frame.el (select-frame-set-input-focus): New argument NORECORD.
14509         * window.el (pop-to-buffer): Select window used even if it was
14510         selected before, see discussion of (Bug#8615), (Bug#6954).
14511         Pass argument NORECORD on to select-frame-set-input-focus.
14513 2011-07-15  Glenn Morris  <rgm@gnu.org>
14515         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
14516         Respect help-form.
14518 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
14520         * net/gnutls.el (gnutls-min-prime-bits): New variable.
14521         (gnutls-negotiate): Use it.
14523 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14525         * net/gnutls.el (gnutls-negotiate):
14526         Upcase `gnutls-algorithm-priority'.
14528 2011-07-15  Glenn Morris  <rgm@gnu.org>
14530         * jka-compr.el (jka-compr-verbose): Move from here...
14531         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
14532         Add missing :version tag.
14533         * info.el: No need to require jka-compr when compiling.
14535 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14537         * net/gnutls.el (gnutls-algorithm-priority): New variable.
14538         (gnutls-negotiate): Use it.
14540         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14542         * info.el (Info-beginning-of-buffer): New command.
14543         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14544         announcing `b' as the key (bug#8325).
14545         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14547         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14549         * international/mule-cmds.el
14550         (describe-specified-language-support): Make the error message
14551         clearer (bug#8905).
14553         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14555         * isearch.el (isearch-barrier): Add a doc string, since it's
14556         mentioned in a function doc string (bug#8678).
14558 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
14560         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14561         buffer argument (Bug#9083) and self-identifying label argument.
14563 2011-07-15  Glenn Morris  <rgm@gnu.org>
14565         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
14567 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14569         * man.el (Man-fontify-manpage): Fix message when formatting the
14570         man page (bug#7929).
14572 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14574         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14575         argument LRM; if non-nil, append an invisible LRM character to the
14576         buffer name.
14577         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14578         last argument non-nil, when formatting buffer names.
14579         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14580         paragraph direction.
14582 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14584         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14585         the man page name (bug#7929).
14587         * image.el (put-image): Mention the `put-image' overlay property
14588         (bug#7834).
14590         * scroll-bar.el (set-scroll-bar-mode): Mention that
14591         `scroll-bar-mode' lists the values (bug#7772).
14593         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14594         command (bug#7729).
14596         * rect.el (apply-on-rectangle): Return the point after the last
14597         operation.
14598         (string-rectangle): Go to the point after the last operation
14599         (bug#7522).
14601         * printing.el (pr-toggle-region): Clarify the documentation
14602         slightly (bug#7493).
14604         * time.el (display-time-update):
14605         Allow `display-time-mail-function' to return nil (bug#7158).
14606         Fix suggested by Detlev Zundel.
14608         * vc/diff.el (diff): Clarify the order the file names are read
14609         (bug#7111).
14611         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14612         the doc string (bug#7015).
14614         * font-lock.el (font-lock-maximum-decoration): Mention what
14615         numeric levels mean (bug#6935).
14617         * startup.el (initial-buffer-choice): Don't mention the `none'
14618         selection, which is against policy.
14620 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
14622         * window.el (display-buffer-normalize-special):
14623         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14625 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14627         * subr.el (version<, version<=, version=): Mention "-CVS" and
14628         "-12345" alpha version numbers.
14630 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14632         * bindings.el: Add advertised binding for set-mark-command
14633         (Bug#5772).
14635 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14637         * bindings.el (mode-line-other-buffer):
14638         * bookmark.el (bookmark-bmenu-2-window):
14639         * bs.el (bs-cycle-next, bs-cycle-previous):
14640         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14641         switch-to-buffer.
14643         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14644         Delete.
14646 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
14648         * follow.el (follow-debug-message, follow-redisplay):
14649         * jka-cmpr-hook.el (with-auto-compression-mode):
14650         Fix typos in docstrings.
14652 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14654         * subr.el (with-silent-modifications): Clarify somewhat what the
14655         macro inhibits (bug#6525).
14657         * simple.el (eval-expression): Note what it does if called
14658         interactively (bug#6495).
14660 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14662         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14663         Use pop-to-buffer buffer-or-name if it is nil.
14665         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14666         Remove switch-to-buffer.
14668 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14670         * files.el (make-directory): Clarify that an error will be raised
14671         if there's an error (bug#6397).
14673         * startup.el (initial-buffer-choice): Add `none' as a choice
14674         (bug#6234).
14676         * subr.el (add-hook): Clarify section about buffer-local hooks
14677         (bug#6218).
14679         * dired.el (dired-flagged): Clarify doc string (bug#6117).
14681 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14683         * tabify.el (untabify): Preserve the current column so that point
14684         doesn't move (bug#6032).
14686 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14688         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14689         Rewrite to avoid awkward possessive "s" (bug#5986).
14691 2011-07-13  Glenn Morris  <rgm@gnu.org>
14693         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
14694         (dired-insert-directory): Give a message the first time
14695         if ls is found not to support --dired.
14697 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14699         * simple.el (toggle-truncate-lines): Clarify what is toggled
14700         (bug#5580).  Text by Drew Adams.
14702 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14704         * simple.el (blink-matching-open): Make the error message from the
14705         last change less verbose.
14707 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
14709         * font-lock.el (font-lock-comment-face): Use the high contrast
14710         "yellow" color for font-lock-comment-face on low color terminals
14711         using a dark background color (bug#4221).
14713 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14715         * dired.el (dired-insert-set-properties): Make the doc string
14716         reflect what it does now (bug#5325).
14718         * simple.el (blink-matching-open): Say that we were unable to find
14719         the match within the limit, if we're limited (bug#5122).
14721         * international/mule-cmds.el (prefer-coding-system): Add an
14722         example (bug#4869).
14724         * progmodes/etags.el (tags-search): Document `file-list-form'
14725         (bug#4731).
14727 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
14729         * net/browse-url.el (browse-url-default-browser)
14730         (browse-url-browser-function): Make the default browser choice a
14731         bit more logical (bug#4300).  Also clean up the doc string.
14733 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14735         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14736         binary endings (bug#4440).
14738 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14740         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14741         which can be pretty annoying (bug#8971).
14743         * jka-compr.el (jka-compr-verbose): New variable, and use
14744         throughout (bug#8971).
14746         * info.el (Info-find-file): Fall back on the installation
14747         directory if we can't find the info node anywhere else.
14749 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
14751         * vc/vc.el (vc-revert-file):
14752         Don't set file time-stamp in the past.  (Bug#5181)
14754 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14756         * files.el (after-find-file): Give a better error message when
14757         trying to find a symlink that points to a file that doesn't exist
14758         (bug#4398).
14760         * progmodes/cc-vars.el: Remove (probably) misleading comment
14761         (bug#4396).
14763 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14765         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14767 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14769         * mouse-sel.el: Hack restoring functionality, while keeping
14770         compatibility with 2010-07-03 changes to mouse selection.
14771         (mouse-sel-primary-overlay): New var.
14772         (mouse-sel-selection-alist): Use it.
14773         (mouse-sel-mode): Doc fix; remove points that are default features
14774         of mouse.el.
14776 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14778         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14779         Fix previous fix (bug#2490).
14781 2011-07-12  Roland Winkler  <winkler@gnu.org>
14783         * textmodes/bibtex.el (bibtex-initialize):
14784         Use pop-to-buffer-same-window.
14785         (bibtex-search-entries): Fix interactive call.
14787 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14789         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14790         Fontise bytecomp Error lines more correctly (bug#2490).
14791         Fix suggested by Johan BockgÃ¥rd.
14793         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14795         * dired-x.el (dired-guess-default): Use `delete-dups'.
14797 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14799         * dired.el (dired-mark-prompt):
14800         * dired-aux.el (dired-read-shell-command): Doc fix.
14802 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14804         * mail/sendmail.el (sendmail-query-once):
14805         Use `customize-save-variable' unconditionally, now that it works under
14806         emacs -Q.
14808         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14810         * cus-edit.el (custom-file): Take an optional no-error variable.
14811         (customize-save-variable): Set the variable, and give a warning if
14812         running under "emacs -q".
14814 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
14816         * loadhist.el (unload-feature-special-hooks):
14817         Add `auto-coding-functions', `fill-nobreak-predicate' and
14818         `find-directory-functions' (bug#5327).
14820 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14822         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14824         * cus-edit.el (custom-guess-name-alist): -alist variables should
14825         use the `alist' type (bug#3120).  Suggested by Drew Adams.
14827         * printing.el: Add documentation to all the `pr-toggle-' commands.
14829 2011-07-11  Leo Liu  <sdl.web@gmail.com>
14831         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14832         backends where it makes sense (bug#2623).
14834 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14836         * dired-x.el (dired-guess-default): Remove duplicate shell command
14837         entries (bug#2028).
14838         (dired-guess-default): Fix grammar in doc string (bug#2028).
14839         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14841         * subr.el (remove-duplicates): New conveniency function.
14843 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14845         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14846         (bug#1526).
14848 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
14850         * window.el (display-buffer-normalize-default): Don't invert
14851         meaning of even-window-heights.  Reported by Eli Zaretskii
14852         <eliz@gnu.org>.
14854 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
14856         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14858 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
14860         * window.el (display-buffer): Fix arguments to
14861         display-buffer-reuse-window in last change.
14863         * faces.el (link): Use a less saturated blue on light backgrounds.
14865         * startup.el (fancy-startup-text, fancy-about-text)
14866         (fancy-startup-tail): Use font-lock faces, for background safety.
14868 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
14870         * emulation/viper-cmd.el (viper-change-state-to-vi):
14871         Limit triggering of abbrev expansion (Bug#9038).
14873 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
14875         * window.el (display-buffer-default-specifiers): Remove.
14876         (display-buffer-macro-specifiers): Remove default specifiers.
14877         (display-buffer-alist): Default to nil.
14878         (display-buffer-reuse-window): New optional argument other-window.
14879         (display-buffer-pop-up-window): Allow splitting internal
14880         windows.  Check whether a live window was created.
14881         (display-buffer-other-window-means-other-frame)
14882         (display-buffer-normalize-arguments): Rename to
14883         display-buffer-normalize-argument and rewrite.  Set the
14884         other-window specifier.
14885         (display-buffer-normalize-special): New function.
14886         (display-buffer-normalize-options): Rename to
14887         display-buffer-normalize-default and rewrite.
14888         (display-buffer-normalize-options-inhibit): Remove.
14889         (display-buffer-normalize-specifiers): Rewrite.
14890         (display-buffer): Process other-window specifier and call
14891         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
14892         more faithfully.
14893         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14894         (display-buffer-alist-set): Don't handle 'unset default values.
14895         (display-buffer-in-window, display-buffer-alist-set):
14896         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
14897         <tassilo@member.fsf.org>.
14899 2011-07-09  Leo Liu  <sdl.web@gmail.com>
14901         * register.el (insert-register): Restore accidental change on
14902         2011-06-26.  (Bug#9028)
14904 2011-07-09  Glenn Morris  <rgm@gnu.org>
14906         * subr.el (remq): Handle the empty list.  (Bug#9024)
14908 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
14910         * mail/sendmail.el (send-mail-function): No longer delay custom
14911         initialization.
14912         * custom.el (custom-initialize-delay): Doc fix.
14914 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14916         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14918 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
14920         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14921         human-friendly prompt.
14923 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14925         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14926         provided by a particular plugin.
14928 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14930         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14931         save customizations (with "emacs -Q"), just set the variable
14932         instead of erroring out.
14934         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14936 2011-07-08  Juri Linkov  <juri@jurta.org>
14938         * arc-mode.el (archive-zip-expunge, archive-zip-update)
14939         (archive-zip-update-case): Use 7z if found by `executable-find'.
14940         The order of searching the available programs is the same as in
14941         `archive-zip-extract' (bug#8968).
14943 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14945         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14946         (menu-bar-options-menu): Tweak descriptions.
14948 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14950         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14951         menu items into verb phrases (bug#1421).  Also refill to fit under
14952         80 columns.
14954 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14956         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14957         (Info-read-node-name): Doc fix (Bug#1084).
14959         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14960         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14961         (end-of-sexp, beginning-of-sexp)
14962         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14963         (forward-symbol, forward-same-syntax, word-at-point)
14964         (sentence-at-point): Doc fix (Bug#1144).
14966 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14968         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14969         should cover it (bug#1281).
14971         * cus-edit.el (custom-show): Mark as obsolete.
14973         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14974         negotiation fails, then possibly try again with a non-encrypted
14975         connection (bug#9017).
14977         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14978         be used.
14980 2011-07-07  Richard Stallman  <rms@gnu.org>
14982         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14983         property, and handle its changed format.
14984         Look for the correct line number.
14985         Use file's line contents (but not past first =) to find
14986         correct line in message.
14988 2011-07-07  Kenichi Handa  <handa@m17n.org>
14990         * international/characters.el (build-unicode-category-table):
14991         Delete it.
14992         (unicode-category-table): Set it by unicode-property-table-internal.
14994         * international/mule-cmds.el (char-code-property-alist): Move to
14995         to src/chartab.c.
14996         (get-char-code-property): Call unicode-property-table-internal to
14997         load a file.  Call get-unicode-property-internal where necessary.
14998         (put-char-code-property): Call unicode-property-table-internal to
14999         load a file.  Call put-unicode-property-internal where necessary.
15000         put-unicode-property-internal where necessary.
15001         (char-code-property-description):
15002         Call unicode-property-table-internal to load a file.
15004         * international/charprop.el:
15005         * international/uni-bidi.el:
15006         * international/uni-category.el:
15007         * international/uni-combining.el:
15008         * international/uni-comment.el:
15009         * international/uni-decimal.el:
15010         * international/uni-decomposition.el:
15011         * international/uni-digit.el:
15012         * international/uni-lowercase.el:
15013         * international/uni-mirrored.el:
15014         * international/uni-name.el:
15015         * international/uni-numeric.el:
15016         * international/uni-old-name.el:
15017         * international/uni-titlecase.el:
15018         * international/uni-uppercase.el: Regenerate.
15020         * loadup.el: Load international/charprop.el before
15021         international/characters.
15023 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15025         * window.el (next-buffer, previous-buffer): Signal an error if
15026         called from a minibuffer window.
15028         * bindings.el: Revert 2011-07-04 change.
15030 2011-07-06  Richard Stallman  <rms@gnu.org>
15032         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15033         (rmail-mime-insert-bulk, rmail-mime-insert-text):
15034         Treat markers like ints.
15035         (rmail-mime-entity): Doc fix.
15037 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15039         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15040         defcustom again for backwards compatibility.
15042         * simple.el (shell-command-on-region): Fill.
15044         * dired-aux.el (dired-kill-line): Add a doc string.
15046         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15047         to "\\sw\\|\\s_" (bug#358).
15049         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15050         (dired-unmark-backward): Ditto.
15051         (dired-flag-backup-files): Ditto.
15053         * dired-x.el (dired-mark-sexp): Ditto.
15055 2011-07-06  Richard Stallman  <rms@gnu.org>
15057         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15058         (rmail-mime-entity): New arg TRUNCATED.
15059         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15060         New functions.
15061         (rmail-mime-save): Warn if entity is truncated.
15062         (rmail-mime-toggle-hidden): Likewise, for showing.
15063         (rmail-mime-process-multipart): Record when an entity is truncated.
15065         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15066         if ENTITY is a string.
15068 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15070         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15071         of faces when `M-C-x'-ing their definitions (bug#8378).
15072         Also clean up the code slightly.
15074         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15075         because that makes the colors go away.
15077         * mail/sendmail.el (send-mail-function): Change the default to
15078         `sendmail-query-once'.
15079         (sendmail-query-once): Add an autoload cookie.
15081         * net/network-stream.el (network-stream-open-starttls): Try using
15082         a plain connection even if the server offered STARTTLS, and we
15083         kinda wanted to use it, if Emacs doesn't have any STARTTLS
15084         capability.  This should make smtpmail.el work in slightly more
15085         configurations.
15087 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
15089         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15090         New defun.
15091         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15093 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
15095         * progmodes/sql.el: Version 3.0
15096         (sql-product-alist): Add product :completion-object,
15097         :completion-column, and :statement attributes.
15098         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15099         (sql-mode-syntax-table): Mark all punctuation.
15100         (sql-font-lock-keywords-builder): Temporarily remove fallback on
15101         ansi keywords.
15102         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15103         (sql-mode-oracle-font-lock-keywords): Improve.
15104         (sql-oracle-show-reserved-words): New function for development.
15105         (sql-product-font-lock): Simplify for source code buffers.
15106         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15107         New functions.
15108         (sql-highlight-product): Set product specific syntax table.
15109         (sql-mode-map): Add statement movement functions.
15110         (sql-ansi-statement-starters, sql-oracle-statement-starters):
15111         New variable.
15112         (sql-statement-regexp, sql-beginning-of-statement)
15113         (sql-end-of-statement, sql-signum): New functions.
15114         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15115         (sql-show-sqli-buffer): Bug fix.
15116         (sql-interactive-mode): Store connection data as buffer local.
15117         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
15118         with sql-interactive-mode.
15119         (sql-save-connection): Save buffer local settings.
15120         (sql-connection-menu-filter): Change menu entry name.
15121         (sql-product-interactive): Bug fix.
15122         (sql-preoutput-hold): New variable.
15123         (sql-interactive-remove-continuation-prompt): Bug fixes.
15124         (sql-debug-redirect): New variable.
15125         (sql-str-literal): New function.
15126         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15127         Redesign.
15128         (sql-oracle-save-settings, sql-oracle-restore-settings)
15129         (sql-oracle-list-all, sql-oracle-list-table): New functions.
15130         (sql-completion-object, sql-completion-column)
15131         (sql-completion-sqlbuf): New variables.
15132         (sql-build-completions-1, sql-build-completions)
15133         (sql-try-completion): New functions.
15134         (sql-read-table-name): Use them.
15135         (sql-contains-names): New buffer local variable.
15136         (sql-list-all, sql-list-table): Use it.
15137         (sql-oracle-completion-types): New variable.
15138         (sql-oracle-completion-object, sql-sqlite-completion-object)
15139         (sql-postgres-completion-object): New functions.
15141 2011-07-06  Glenn Morris  <rgm@gnu.org>
15143         * window.el (pop-to-buffer): Doc fix.
15145 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
15147         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15149 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
15151         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15153         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15155 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
15157         * button.el (button): Inherit from link face.  Suggested by Dan
15158         Nicolaescu.
15160 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15162         * progmodes/gdb-mi.el: Fit in 80 columns.
15163         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15164         switch-to-buffer.
15166         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15167         if imenu is simply not configured (bug#8941).
15169 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
15171         * allout.el (allout-post-undo-hook): New allout outline-change
15172         event hook to signal undo activity.
15173         (allout-post-command-business): Run allout-post-undo-hook if an
15174         undo just occurred.
15175         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15176         * allout-widgets.el (allout-widgets-after-undo-function):
15177         Ensure the integrity of the current item's decoration after it has been
15178         in the vicinity of an undo.
15179         (allout-widgets-mode): Include allout-widgets-after-undo-function
15180         on the new allout-post-undo-hook.
15182 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15184         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15185         Let define-derived-mode define it.
15186         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15187         cycles of abbrev-table inheritance (bug#8998).
15189 2011-07-05  Roland Winkler  <winkler@gnu.org>
15191         * textmodes/bibtex.el: Add support for biblatex.
15192         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15193         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15194         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15195         (bibtex-entry-alist, bibtex-field-alist): New variables.
15196         (bibtex-entry-field-alist): Obsolete alias for
15197         bibtex-BibTeX-entry-alist.
15198         (bibtex-entry-alist, bibtex-field-alist): New widgets.
15199         (bibtex-set-dialect): New command.
15200         (bibtex-entry-type, bibtex-entry-head)
15201         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15202         Bind via bibtex-set-dialect.
15203         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15204         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15205         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15206         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15207         Define via bibtex-set-dialect.
15208         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15209         Obey bibtex-no-opt-remove-re.
15210         (bibtex-vec-push, bibtex-vec-incr): New functions.
15211         (bibtex-format-entry, bibtex-field-list)
15212         (bibtex-print-help-message, bibtex-validate)
15213         (bibtex-search-entries): Use new format of bibtex-entry-alist.
15215 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15217         * progmodes/compile.el (compilation-goto-locus):
15218         * net/tramp-cmds.el (tramp-append-tramp-buffers):
15219         * bs.el (bs-cycle-next, bs-cycle-previous):
15220         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15221         * bindings.el (mode-line-other-buffer):
15222         * autoinsert.el (auto-insert):
15223         * arc-mode.el (archive-extract):
15224         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15226 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15228         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15229         Fix check of `emacs-lock-unlockable-modes'.
15230         Coerce true values of `emacs-lock--try-unlocking' to t.
15232 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15234         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15235         * emacs-lock.el: New file.
15237 2011-07-05  Julien Danjou  <julien@danjou.info>
15239         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15240         than `boundp' to check if face is set.
15242 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15244         * register.el (registerv-make):
15245         * window.el (window-min-height): Fix typos in docstrings.
15247 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
15249         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15250         Update doc string.
15252 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15254         * server.el (server-execute): Catch quit and call
15255         `server-return-error' to pass the error back to emacsclient and
15256         close the connection (bug#8942).
15258 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
15260         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15261         insecure exception for current topic.  Also note that auto-saves
15262         are handled differently.
15264         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15265         State variables for tracking auto-save inhibition situation.
15267         (allout-write-contents-hook-handler): Rename from
15268         'allout-write-file-hook-handler', and describe how it depends on
15269         write-contents-functions sensitivity to non-nil value to prevent
15270         file write.
15272         (allout-auto-save-hook-handler): Remove.  auto-save does not check
15273         this in individual buffers, only in the starting buffer, so this
15274         is not the right way for us to inhibit auto-save in a buffer
15275         according to its condition.
15277         (allout-mode): Use new allout-write-contents-hook-handler, and
15278         only with write-contents-functions.  Remove auto-save provisions -
15279         they're implemented elsewhere.
15281         (allout-before-change-handler): If undo is in progress, note that
15282         for attention of allout-post-command-business.
15284         (allout-post-command-business): If the command we're following was
15285         an undo, check for change in the status of encrypted items and
15286         adjust auto-save inhibitions accordingly.
15288         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15289         according to whether there are or aren't any plain-text topics
15290         pending encryption.
15292         (allout-inhibit-auto-save-info-for-decryption):
15293         Adjust buffer-saved-size and some allout state to inhibit auto-saves
15294         if there are plain-text topics pending encryption.
15296         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15297         buffer-saved-size and some allout state to not inhibit auto-saves
15298         if there are no longer any plain-text topics pending encryption.
15300         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15301         No longer provide for exemption of the current topic.
15303 2011-07-04  Juri Linkov  <juri@jurta.org>
15305         Add 7z operations to delete and save changed members (bug#8968).
15306         * arc-mode.el (archive-7z-expunge, archive-7z-update):
15307         New defcustoms.
15308         (archive-7z-write-file-member): New function.
15309         (archive-7z-summarize): Fix the number of dashes in the
15310         listing output.
15312 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15314         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15315         (bug#8958).
15317 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
15319         * bindings.el: Ignore next-buffer and previous-buffer in
15320         minibuffer-local-map.
15322         * font-lock.el (font-lock-builtin-face): Change light background
15323         color to dark slate blue (Bug#6693).
15325 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
15327         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15329 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15331         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15332         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15333         Add switch-to-buffer.
15335 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15337         * isearch.el (isearch-search-fun-function): Clarify further the
15338         meaning of the function returned.
15340 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
15342         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15344         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15345         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15346         Use it.
15347         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
15348         `tramp-default-remote-path' does not exist.
15349         (tramp-send-command-and-read): New optional argument NOERROR.
15350         (tramp-open-connection-setup-interactive-shell)
15351         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15352         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15353         (tramp-process-sentinel): Flush also process' connection property.
15354         (tramp-sh-handle-start-file-process): Do not set process
15355         sentinel.  It is done now ...
15356         (tramp-maybe-open-connection): ... here.  (Bug#8929)
15358 2011-07-04  MON KEY  <monkey@sandpframing.com>
15360         * play/animate.el (animate-string): Doc fixes and allow changing
15361         the buffer name (bug#5417).
15363 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15365         * play/animate.el (animation-buffer-name): Rename from *animate*.
15367 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
15369         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15370         This is simpler and helps future-proof the code.
15371         (timer-until): Use time-subtract and float-time.
15372         (timer--time-less-p): Use time-less-p.
15374 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15376         * type-break.el (timep): Use the value of `float-time' to avoid a
15377         byte-compiler warning.
15379         * server.el (server-eval-and-print): Return any result, even nil.
15381 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
15383         * type-break.el: Accept time formats that the builtins accept.
15384         (timep, type-break-time-difference): Accept any format that
15385         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15386         This is simpler and helps future-proof the code.
15387         (type-break-time-difference): Round rather than ignoring
15388         subseconds components.
15390 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15392         * info.el (Info-apropos-matches): Make non-interactive, since it
15393         doesn't seem to do anything useful as a command (bug#8829).
15395 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
15397         * frame.el (frame-background-mode, frame-set-background-mode):
15398         Move from faces.el.
15399         (frame-default-terminal-background): New function.
15401         * custom.el (custom-push-theme): Don't record faces in `changed'
15402         theme; this doesn't work correctly for per-frame face settings.
15403         (disable-theme): Use face-set-after-frame-default to reset faces.
15404         (custom--frame-color-default): New function.
15406 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15408         * dired.el (dired-flagging-regexp): Remove unused variable
15409         (bug#8769).
15411 2011-03-29  Kevin Ryde  <user42@zip.com.au>
15413         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15414         `perl-Test2' extend to match possible "fail #N" rep count
15415         (bug#8377).
15417 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15419         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15420         `smtpmail-via-smtp' now returns the error instead of nil.
15422         * isearch.el (isearch-search-fun-function): Clarify the doc string
15423         (bug#8101).
15425 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
15427         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15428         unnecessary spaces (bug#8987).
15430 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15432         * net/network-stream.el (open-network-stream): Use the
15433         :end-of-capability command thoughout.
15435 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15437         * net/network-stream.el (open-network-stream): Add the
15438         :end-of-capability command parameter, used by pop3.el.
15440 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15442         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15444         * fringe.el (fringe-query-style): Remove redundant text " (type ?
15445         for list)" (bug#6475).
15447         * files.el (file-expand-wildcards): Ignore non-readable
15448         sub-directories while trying to find matches instead of signaling
15449         an error (bug#6297).
15451         * man.el (Man-reference-regexp): Allow matching possible
15452         word-wrapped references (bug#6289).
15454         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15455         for consistency with the other vc buffers (bug#6197).
15456         (vc-checkin): Ditto.
15458         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15460         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15462 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15464         * custom.el (defcustom): Clarify that :set is only used in the
15465         Customize user interface (bug#6089).
15467         * progmodes/flymake.el (flymake-mode): If the buffer isn't
15468         associated with a file, refuse to run instead of erroring out
15469         (bug#6084).
15471         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15472         the doc string, since it appears that using `fill-column' always
15473         controls the width (bug#7845).
15475         * simple.el (shell-command-on-region): Say where the error output
15476         went if `shell-command-default-error-buffer' is set (bug#6857).
15478 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
15480         * allout.el (allout-yank-processing): Adjust cursor position for
15481         backwards-deleted space.
15483         (allout-rebullet-heading): Register changes with
15484         allout-exposure-changed-hook, so the modified topic is properly
15485         decorated.
15487 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15489         * minibuffer.el (completion-in-region): Document PREDICATE
15490         (bug#7136).
15492         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15493         of keyword/argument pairs (bug#6904).
15495         * replace.el (multi-occur):
15496         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15498 2011-07-02  Drew Adams  <drew.adams@oracle.com>
15500         * dired.el (dired-mark-if): Make the message about whether it's
15501         marking or unmarking clearer (bug#8523).
15503 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15505         * disp-table.el (display-table-print-array): New function.
15506         (describe-display-table): Use it to print the vectors more pretty
15507         (Bug#8859).
15509 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
15511         * window.el (window-state-get-1): Don't assign clone numbers.
15512         Add clone-of item to list of window parameters.
15513         (window-state-put-2): Don't process clone numbers.
15514         (display-buffer-alist): Fix doc-string.
15516 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15518         * subr.el (remq): Don't allocate if it's not needed.
15519         (keymap--menu-item-binding, keymap--menu-item-with-binding)
15520         (keymap--merge-bindings): New functions.
15521         (keymap-canonicalize): Use them to refine the canonicalization.
15522         * minibuffer.el (minibuffer-local-completion-map)
15523         (minibuffer-local-must-match-map): Move initialization from C.
15524         (minibuffer-local-filename-completion-map): Move initialization from C;
15525         don't inherit from anything here.
15526         (minibuffer-local-filename-must-match-map): Make obsolete.
15527         (completing-read-default): Use make-composed-keymap to combine
15528         minibuffer-local-filename-completion-map with either
15529         minibuffer-local-must-match-map or
15530         minibuffer-local-filename-completion-map.
15532 2011-07-01  Glenn Morris  <rgm@gnu.org>
15534         * type-break.el (type-break-time-sum): Use dolist.
15536         * textmodes/flyspell.el (flyspell-word-search-backward):
15537         Replace CL function.
15539 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15541         * mouse.el (mouse--strip-first-event): New function.
15542         (function-key-map): Use it to map fringe clicks to normal clicks
15543         by default.
15545         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15546         (vc-bzr-revision-completion-table): Add support for annotate and date.
15548         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15549         inherit from parent.
15551 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15553         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15554         (dired-show-file-type): Doc fixup (bug#8818).
15556         * dired.el (dired-mode): Fix up the doc string as suggested by
15557         Drew Adams (bug#8817).
15559         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15560         cookie, since the manual says that it should be possible to add
15561         this function to `find-file-hook' (bug#8709).
15563 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15565         * progmodes/cfengine.el: Moved all cfengine3.el functionality
15566         here.  Noted Ted Zlatanov as the maintainer.
15567         (cfengine-common-settings, cfengine-common-syntax): New functions
15568         to set up common things between `cfengine-mode' and
15569         `cfengine3-mode'.
15570         (cfengine3-mode): New mode.
15571         (cfengine3-defuns cfengine3-defuns-regex
15572         (cfengine3-class-selector-regex cfengine3-category-regex)
15573         (cfengine3-vartypes cfengine3-font-lock-keywords)
15574         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15575         (cfengine3-indent-line): Add from cfengine3.el.
15577 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
15579         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15581         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15583 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
15585         * window.el (same-window-buffer-names, same-window-regexps)
15586         (same-window-p, special-display-frame-alist)
15587         (special-display-popup-frame, special-display-function)
15588         (special-display-buffer-names, special-display-regexps)
15589         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15590         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15591         (split-window-preferred-function, split-height-threshold)
15592         (split-width-threshold, even-window-heights)
15593         (display-buffer-mark-dedicated, window-splittable-p)
15594         (split-window-sensibly, window-safely-shrinkable-p):
15595         Un-obsolete.
15596         (display-buffer): Don't spread args with function specifier
15597         because special-display-popup-frame won't like it.
15599 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
15601         Time-stamp simplifications and fixes.
15602         These improve accuracy slightly, and future-proof the code
15603         against some potential changes to current-time format.
15605         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15606         by using time-since and float-time.
15608         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15609         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
15610         + NNN microseconds".
15612         * type-break.el (type-break-time-sum): Rewrite using time-add.
15614         * play/hanoi.el (hanoi-current-time-float): Remove.
15615         All uses replaced by float-time.
15617         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15618         This yields a more-accurate answer.
15619         (rng-time-to-float): Remove; no longer needed.
15621         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15623         * calendar/timeclock.el (timeclock-seconds-to-time):
15624         Defalias to seconds-to-time, since they're the same thing.
15626         * emacs-lisp/elp.el (elp-elapsed-time):
15627         * emacs-lisp/benchmark.el (benchmark-elapse):
15628         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15630 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15632         * window.el (bury-buffer): Don't iconify the only frame.
15633         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15634         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
15636 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
15638         * eshell/em-smart.el (eshell-smart-display-navigate-list):
15639         Add mouse-yank-primary.
15641 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15643         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15645 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15647         * emacs-lisp/find-func.el (find-library--load-name): New fun.
15648         (find-library-name): Use it to find relative load names when provided
15649         absolute file name (bug#8803).
15651 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15653         * textmodes/flyspell.el (flyspell-word): Consider words that
15654         differ only in case as potential doublons (bug#5687).
15656         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15657         Remove two rather uninteresting debugging-like messages to make
15658         debbugs.el more silent.
15660         * comint.el (comint-password-prompt-regexp): Accept "Response" as
15661         a password-like phrase.
15663 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
15665         * progmodes/cc-guess.el: New file.
15667         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15669         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15670         derived from `c-basic-common-init'.
15672         * progmodes/cc-mode.el (top-level): Require cc-guess.
15673         (c-basic-common-init): Use `cc-choose-style-for-mode'.
15675 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
15677         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15679 2011-06-30  Alan Mackenzie  <acm@muc.de>
15681         * progmodes/cc-engine.el (c-guess-continued-construct):
15682         Correct the handling of template-args-cont, particularly for when font
15683         lock is disabled.  Name this case as "CASE G".
15685 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
15687         * allout.el (allout-yank-processing): Fix injection of extra space
15688         between bullet and non-whitespace character in first topic when
15689         pasting, ensuring that the actual spacing in the pasted topic
15690         following the bullet char is preserved.  This extra space was
15691         causing pasted encrypted topics to get a decrypted status even
15692         when the content was actually still encrypted.  Now the decryption
15693         status from before the paste is preserved.
15695         (allout-flag-region): Set all allout overlays so they evaporate
15696         when reduced to zero length (evanescent), to prevent overlay
15697         leakage.
15699 2011-06-30  Glenn Morris  <rgm@gnu.org>
15701         * w32-fns.el (w32-charset-info-alist): Declare.
15703         * find-dired.el (find-grep-options): Simplify.
15705         * term/ns-win.el (ns-set-resource): Declare.
15707         * ses.el (row, col): Declare dynamic variables honestly.
15709         * textmodes/reftex-parse.el (index-tags): Declare.
15711 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
15713         * cus-edit.el (customize-push-and-save): New function.
15715         * files.el (hack-local-variables-confirm): Use it.
15717         * custom.el (load-theme): New arg NO-CONFIRM.
15718         Use customize-push-and-save (Bug#8720).
15719         (custom-enabled-themes): Doc fix.
15721         * cus-theme.el (customize-create-theme)
15722         (custom-theme-merge-theme): Callers to load-theme changed.
15724 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15726         * thingatpt.el (thing-at-point-short-url-regexp): Require that
15727         short URLs have at least one dot in them (bug #7614).
15729         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15730         nil, because using a pty is apparently too slow (bug #895).
15732 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15734         * mail/sendmail.el (sendmail-query-once): New function.
15735         (sendmail-query-once-function): New variable.
15737 2011-06-29  Glenn Morris  <rgm@gnu.org>
15739         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15741         * ses.el (top-level): Require cl when compiling.
15742         (ses-set-localvars): Fix error statement.
15743         Call it at compile time to silence a storm of warnings.
15745 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
15747         * window.el (normalize-live-buffer): Rename to
15748         window-normalize-buffer.
15749         (normalize-live-frame): Rename to window-normalize-frame.
15750         (normalize-any-window): Rename to window-normalize-any-window.
15751         (normalize-live-window): Rename to window-normalize-live-window.
15752         (make-window-atom): Rename to window-make-atom.
15753         (window-resize-reset): Rename to window--resize-reset.
15754         (window-resize-reset-1): Rename to window--resize-reset-1.
15755         (resize-mini-window): Rename to window--resize-mini-window.
15756         (resize-subwindows-skip-p): Rename to
15757         window--resize-subwindows-skip-p.
15758         (resize-subwindows-normal): Rename to
15759         window--resize-subwindows-normal.
15760         (resize-subwindows): Rename to window--resize-subwindows.
15761         (resize-other-windows): Rename to window--resize-siblings.
15762         (resize-this-window): Rename to window--resize-this-window.
15763         (resize-root-window): Rename to window--resize-root-window.
15764         (resize-root-window-vertically): Rename to
15765         window--resize-root-window-vertically.
15766         (normalize-buffer-to-display): Rename to
15767         window-normalize-buffer-to-display.
15768         (normalize-buffer-to-switch-to): Rename to
15769         window-normalize-buffer-to-switch-to.
15770         Correspondingly update all callers of the functions listed
15771         above.
15772         (display-buffer-alist, display-buffer-normalize-arguments)
15773         (display-buffer-normalize-options, display-buffer)
15774         (display-buffer-alist-set): Use "function" instead of
15775         "fun-with-args".
15777 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
15779         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15780         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
15781         debbugs.gnu.org.  Mention acknowledgment email.
15783 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15785         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15786         buffer multibyteness, since it shouldn't matter.
15788 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
15790         * window.el (display-buffer-in-side-window): Handle dedicated
15791         windows as in display-buffer-reuse-window.
15792         (display-buffer-normalize-alist): Use value of override
15793         specifier.
15794         (display-buffer-normalize-specifiers): Use value of
15795         other-window-means-other-frame specifier.
15796         (display-buffer-alist): Rewrite some texts in widgets.
15797         (display-buffer): Spread arguments when calling function
15798         specified by fun-with-args.
15800 2011-06-28  Deniz Dogan  <deniz@dogan.se>
15802         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15803         Unnest `let'.
15805         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15806         selectors (Bug#5732).
15807         (css-proprietary-nmstart-re): Use `regexp-opt'.
15809 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
15811         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15812         (eshell-ls-date-format): New defcustom.
15813         (eshell-ls-file): Use it.
15815 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15817         * help-fns.el (describe-variable): Fix message for terminal-local vars.
15819 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
15821         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15822         (ange-ftp-make-tmp-name): New arg.
15823         (ange-ftp-file-local-copy): Use it.
15825 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
15827         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15828         no-conversion (Bug#8870).
15830 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
15832         * window.el (window-right, window-left, window-child)
15833         (window-child-count, window-last-child)
15834         (window-iso-combination-p, walk-window-tree-1)
15835         (window-atom-check-1, window-tree-1, delete-window)
15836         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15837         new naming conventions - window-vchild, window-hchild,
15838         window-next and window-prev are now called window-top-child,
15839         window-left-child, window-next-sibling and window-prev-sibling
15840         respectively.
15841         (resize-window-reset): Rename to window-resize-reset.
15842         (resize-window-reset-1): Rename to window-resize-reset-1.
15843         (resize-window): Rename to window-resize.
15844         (window-min-height, window-min-width)
15845         (resize-mini-window, resize-this-window, resize-root-window)
15846         (resize-root-window-vertically, adjust-window-trailing-edge)
15847         (enlarge-window, shrink-window, maximize-window)
15848         (minimize-window, delete-window, quit-restore-window)
15849         (split-window, balance-windows, balance-windows-area-adjust)
15850         (balance-windows-area, window-state-put-2)
15851         (display-buffer-even-window-sizes, display-buffer-set-height)
15852         (display-buffer-set-width, set-window-text-height)
15853         (fit-window-to-buffer): Rename all "resize-window" prefixed
15854         calls to use the "window-resize" prefix convention.
15855         (display-buffer-alist): Fix symbol for label specifier.
15856         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15857         corresponding specifier.
15858         Reported by Juanma Barranquero <lekktu@gmail.com>.
15860 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15862         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15863         convention.
15864         (ses-call-printer): Does not pass an empty string to formatter when the
15865         cell is empty to keep from barking printer Calc math-format-value.
15867 2011-06-27  Richard Stallman  <rms@gnu.org>
15869         * battery.el (battery-mode-line-limit): New variable.
15870         (battery-update): Handle it.
15872         * mail/rmailmm.el (rmail-mime-process-multipart):
15873         Handle truncated messages.
15875 2011-06-27  Glenn Morris  <rgm@gnu.org>
15877         * progmodes/flymake.el (flymake-err-line-patterns):
15878         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
15880 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15882         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15883         (ses--clean-!, ses--clean-_): New functions.
15884         (ses-range): Add configurability of readout order, and conversion
15885         to Calc vector.
15887         * ses.el (ses-repair-cell-reference-all): New function.
15888         (ses-cell-symbol): Set macro as safe, so that it can be used in
15889         formulas.
15891         * ses.el: Update cycle detection algorithm.
15892         (ses-localvars): Add ses--Dijkstra-attempt-nb and
15893         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15894         (ses-set-localvars): New function.
15895         (ses-make-cell): Add property-list as a cell element.
15896         (ses-cell-property-get-fun, ses-cell-property-get)
15897         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15898         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15899         New functions.
15900         (ses-cell-property-set, ses-cell-property-pop)
15901         (ses-cell-property-get-handle): New macro.
15902         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15903         New aliases, used for code readability.
15904         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15905         cycle detection.
15906         (ses-self-reference-early-detection): New defcustom.
15907         (ses-formula-references): Robustify against self-referring cells.
15908         (ses-mode): Use ses-set-localvars.
15909         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15910         before lauching the update processing.
15911         (ses-initialize-Dijkstra-attempt): New function.
15912         (ses-recalculate-cell): Update for cycle detection based on
15913         Dijkstra algorithm.
15915         * ses.el: Fix commenting and indenting convention.
15917 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15919         * bs.el (bs-cycle-next): Complete last change.
15921 2011-06-27  Drew Adams  <drew.adams@oracle.com>
15923         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15925 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15927         * net/network-stream.el (network-stream-open-starttls):
15928         Don't re-get capabilities unless we've reestablished connection.
15929         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15931         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15932         to binary to possibly avoid line encoding issues on Windows (among
15933         other things).
15935 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15937         * net/network-stream.el (open-network-stream): Return an :error
15938         saying what the problem was, if possible.
15940         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15941         server.
15943         * net/network-stream.el (network-stream-open-starttls): If we
15944         wanted to use STARTTLS, and the server offered it, but we weren't
15945         able to because we had no STARTTLS support, then close the connection.
15946         (open-network-stream): Return an :error element, if present.
15948 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15950         * hl-line.el (hl-line-sticky-flag): Doc fix.
15951         (global-hl-line-sticky-flag): New option (Bug#8323).
15952         (global-hl-line-highlight): Obey it.
15954         * vc/vc.el (vc-revert-show-diff): Default to t.
15956 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
15958         * allout-widgets.el (allout-widgets-post-command-business):
15959         Stop decorating intermediate isearch matches.  They're not being
15960         undecorated when an isearch is continued past, and isearch
15961         automatically collapses them.  This leads to "widget leaks", where
15962         decorated items accumulate in collapsed areas.  Lines with lots of
15963         hidden widgets can slow down cursor travel, substantially.
15964         Too much complicated machinery would be needed to ensure undecoration,
15965         so we're doing without this nicety.
15967         (allout-widgets-tally-string): Don't try to do a hash-table-count
15968         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
15969         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15970         *Messages* when allout-widgets-maintain-tally is t.
15972 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
15974         * window.el (display-buffer-normalize-argument): Rename to
15975         display-buffer-normalize-arguments.  Handle special meaning of
15976         LABEL argument.  Respect special-display-function when popping up
15977         a new frame.  Fix code searching for a window showing the buffer
15978         on another frame.
15979         (display-buffer-normalize-specifiers):
15980         Call display-buffer-normalize-arguments.
15981         (display-buffer-in-window): Don't undedicate the window if its
15982         buffer remains the same.
15983         Reported by Drew Adams <drew.adams@oracle.com>.
15984         (display-buffer-alist): Add choice for same-window macro
15985         specfier.
15986         (display-buffer): Mention special meaning of LABEL argument in
15987         doc-string.  Fix quoting.  Don't pop up a new frame even as
15988         fallback.
15990 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
15992         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15993         avoid deleting the current window in some cases (bug#8911).
15995 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
15997         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15998         (Bug#8934)
16000 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16002         * net/network-stream.el (network-stream-open-starttls):
16003         Use built-in TLS support if `gnutls-available-p' is true.
16004         (network-stream-open-tls): Ditto.
16006 2011-06-26  Leo Liu  <sdl.web@gmail.com>
16008         * register.el (registerv): New struct.
16009         (registerv-make): New function.
16010         (jump-to-register, describe-register-1, insert-register):
16011         Support the jump-func, print-func and insert-func slot of a registerv
16012         struct.  (Bug#8415)
16014 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16016         * vc/vc.el (vc-revert-show-diff): New defcustom.
16017         (vc-diff-internal): New arg specifying diff buffer.
16018         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
16019         reuse an existing *vc-diff* buffer (Bug#8927).
16021         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16023 2011-06-26  Glenn Morris  <rgm@gnu.org>
16025         * progmodes/f90.el (f90-critical-indent): New option.
16026         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16027         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16028         (f90-mode): Doc fix.
16029         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16030         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16031         (f90-beginning-of-block, f90-next-block, f90-indent-region)
16032         (f90-match-end): Handle block, critical.
16034 2011-06-25  Glenn Morris  <rgm@gnu.org>
16036         * calendar/diary-lib.el (diary-included-files): Doc fix.
16037         (diary-include-files): New function, extracted from
16038         diary-include-other-diary-files and diary-mark-included-diary-files.
16039         (diary-include-other-diary-files, diary-mark-included-diary-files):
16040         Just call diary-include-files.
16041         (diary-mark-entries): Reset diary-included-files on first call.
16043         * calendar/diary-lib.el (diary-mark-entries)
16044         (diary-mark-included-diary-files):
16045         Visit included diary-files in temp buffers.
16047         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16048         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16049         (f90-start-block-re, f90-imenu-generic-expression)
16050         (f90-looking-at-program-block-start, f90-no-block-limit):
16051         Add support for submodules.
16053         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16054         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16056 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
16058         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16059         buffer-file-type before setting its value, to avoid disastrous
16060         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
16062 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16064         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16066         * ses.el (ses-unload-function):
16067         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16069         * proced.el (proced-unload-function):
16070         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16072 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
16074         * server.el (server-create-window-system-frame): Add parameters arg.
16075         (server-process-filter): Doc fix.  Handle frame-parameters.
16077 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16079         Fix bug#8730, bug#8781.
16081         * loadhist.el (unload--set-major-mode): New function.
16082         (unload-feature): Use it.
16084         * progmodes/python.el (python-after-info-look): Add autoload cookie.
16085         (python-unload-function): New function.
16087 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16089         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16091 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
16093         * net/browse-url.el (browse-url-firefox-program): Add icecat to
16094         the candidates list.
16096 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
16098         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16100 2011-06-23  Richard Stallman  <rms@gnu.org>
16102         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16103         (rmail-variables): Set next-error-move-function.
16104         (rmail-what-message): Take argument POS.
16105         (rmail-next-error-move): New function.
16107 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16109         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16110         messages for adjacent non-terminals.
16112 2011-06-23  Richard Stallman  <rms@gnu.org>
16114         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16115         (rmail-show-message-1): Preserve buffer modified flag.
16116         (rmail-start-mail): Don't specify use of rmail-mail-return;
16117         that's done by mail-bury now.
16118         (rmail-mail-return): Handle arg NEWBUF.
16120 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
16122         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16123         SIZE is a number.
16125 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
16127         * window.el (get-lru-window, get-mru-window)
16128         (get-largest-window): Never return a minibuffer window.
16129         (display-buffer-pop-up-window): Fix a bug that could lead to
16130         reusing the minibuffer window.
16131         (display-buffer): Pass original specifier argument to
16132         display-buffer-function instead of the normalized one.
16133         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16135 2011-06-22  Leo Liu  <sdl.web@gmail.com>
16137         * minibuffer.el (completing-read-function)
16138         (completing-read-default): Move from minibuf.c
16140 2011-06-22  Richard Stallman  <rms@gnu.org>
16142         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16143         to Rmail even if not started by a special Rmail command.
16145         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16146         Copy the buffer currently showing just one message.
16148 2011-06-22  Roland Winkler  <winkler@gnu.org>
16150         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16151         (bibtex-clean-entry): First delete the old key so that a
16152         customized algorithm for generating the new key does not get
16153         confused by the old key.
16154         (bibtex-url): Obey regexp of first step.
16155         (bibtex-search-entries): Do not use add-to-list with local
16156         list-var.
16158 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16160         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16161         stored a user name, then query for the password first, instead of
16162         waiting for SMTP to give an error message and the trying again.
16164 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
16166         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16167         BUFFER in call-process.
16169 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16171         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16172         QUIT twice.
16173         (smtpmail-try-auth-methods): Require user name and password from
16174         auth-source.
16176 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
16178         * window.el (display-buffer-default-specifiers)
16179         (display-buffer-alist): Remove entries for pop-up-frame-alist.
16180         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16181         (split-window): Normalize SIDE argument (Bug#8916).
16183         * frame.el (pop-up-frame-alist, pop-up-frame-function)
16184         (special-display-frame-alist, special-display-popup-frame):
16185         Remove duplicate declarations.  These are now in window.el.
16187 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16189         * mail/smtpmail.el (smtpmail-via-smtp):
16190         Set :use-starttls-if-possible so that we always use STARTTLS if the
16191         server supports it.  SMTP servers that support STARTTLS commonly
16192         require it.
16194         * net/network-stream.el (network-stream-open-starttls): Support
16195         upgrading to STARTTLS always, even if we don't have built-in support.
16196         (open-network-stream): Add the :always-query-capabilities keyword.
16198         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16199         upgrades with `open-network-stream', and rely solely on
16200         auth-source for all credentials.  Big changes throughout the file,
16201         but in particular:
16202         (smtpmail-auth-credentials): Remove.
16203         (smtpmail-starttls-credentials): Remove.
16204         (smtpmail-via-smtp): Check for servers saying they want AUTH after
16205         MAIL FROM, too.
16207         * net/network-stream.el (network-stream-open-starttls):
16208         Provide support for client certificates both for external and built-in
16209         STARTTLS.
16210         (auth-source): Require.
16211         (open-network-stream): Document the :client-certificate keyword.
16212         (network-stream-certificate): Change cert-cert to cert and
16213         cert-key to key.
16215 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
16217         * net/tramp-cache.el (top): Don't load the persistency file when
16218         "emacs -Q" has been called.
16220 2011-06-21  Tim Harper  <timcharper@gmail.com>
16222         * term/ns-win.el (ns-initialize-window-system):
16223         Set application-specific `ApplePressAndHoldEnabled' system
16224         resource to NO as it is not yet supported by the NS port.
16226 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
16228         * misc.el (list-dynamic-libraries--refresh): Compute header here...
16229         (list-dynamic-libraries): ...not here.
16231 2011-06-21  Leo Liu  <sdl.web@gmail.com>
16233         * subr.el (sha1): Implement sha1 using secure-hash.
16235 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
16237         * window.el (display-buffer-alist): In default value do not
16238         enforce searching a window on any but the selected frame.
16239         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16240         (display-buffer-select-window): Remove function.
16241         (display-buffer-in-window): When a window on another frame gets
16242         reused, do not select it any more but just raise its frame if
16243         necessary (Bug#8851) and (Bug#8856).
16244         (display-buffer-normalize-options): Handle pop-up-frames related
16245         options more faithfully.
16246         (pop-to-buffer): Don't rely on `display-buffer' selecting the
16247         window if it is on another frame.
16248         (display-buffer-alist, display-buffer-default-specifiers):
16249         Don't make new frame unsplittable by default.
16250         (display-buffer-normalize-argument): Fix doc-string typo and use
16251         'same-frame-other-window instead of 'other-window when associating
16252         with display-buffer-macro-specifiers.
16254 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
16256         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16257         New functions.
16258         (5x5-mode-map, 5x5-mode-menu): Bind them.
16259         (5x5-draw-grid): Tweak the solver's rendering.
16261 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16263         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16264         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16266 2011-06-21  Drew Adams  <drew.adams@oracle.com>
16268         * menu-bar.el: Use function variable instead of switch-to-buffer.
16269         (menu-bar-select-buffer-function): New variable.
16270         (menu-bar-update-buffers): Use it (bug#8876).
16272 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16274         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16275         variable's status.
16277 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
16279         * x-dnd.el (x-dnd-version-from-flags)
16280         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16281         and long as number (Bug#8899).
16282         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16284 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16286         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16287         (completion-try-completion, completion-all-completions): Compute the
16288         metadata argument if it's missing; make it optional (bug#8795).
16290         * wid-edit.el: Use lex-bind and move towards completion-at-point.
16291         (widget-complete): Use new :completion-function property.
16292         (widget-completions-at-point): New function.
16293         (default): Use :completion-function instead of :complete.
16294         (widget-default-completions): Rename from widget-default-complete;
16295         Rewrite.
16296         (widget-string-complete, widget-file-complete, widget-color-complete):
16297         Remove functions.
16298         (file, symbol, function, variable, coding-system, color):
16299         * international/mule-cmds.el (default-input-method, charset)
16300         (language-info-custom-alist):
16301         * cus-edit.el (face): Use new property :completions.
16303         * progmodes/pascal.el (pascal-completions-at-point): New function.
16304         (pascal-mode): Use it.
16305         (pascal-mode-map): Use completion-at-point.
16306         (pascal-toggle-completions): Make obsolete.
16307         (pascal-complete-word, pascal-show-completions):
16308         * progmodes/octave-mod.el (octave-complete-symbol):
16309         Redefine as obsolete alias.
16310         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16311         Signal absence of completion info for old Octave,
16312         (inferior-octave-complete): Redefine as obsolete alias.
16313         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16314         (meta-completions-at-point): Rename from meta-complete-symbol and
16315         adapt it for use on completion-at-point-functions.
16316         (meta-common-mode): Use it.
16317         (meta-looking-at-backward, meta-match-buffer): Remove.
16318         (meta-complete-symbol): Redefine as obsolete alias.
16319         (meta-common-mode-map): Use completion-at-point.
16320         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16321         (makefile-mode-map): Use completion-at-point.
16322         (makefile-completions-at-point): Rename from makefile-complete and
16323         adapt it for use on completion-at-point-functions.
16324         (makefile-mode): Use it.
16325         (makefile-complete): Redefine as obsolete alias.
16327 2011-06-20  Deniz Dogan  <deniz@dogan.se>
16329         * net/rcirc.el: Delete trailing whitespaces once and for all.
16331 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
16333         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16335 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
16337         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16339         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16341 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
16343         * window.el (display-buffer-other-window-means-other-frame):
16344         Call display-buffer-normalize-alist.
16345         (display-buffer-normalize-specifiers-1): Rename to
16346         display-buffer-normalize-argument.  New argument other-frame.
16347         Rewrite.
16348         (display-buffer-normalize-specifiers-2): Rename to
16349         display-buffer-normalize-options.
16350         (display-buffer-normalize-alist-1): New function.
16351         (display-buffer-normalize-specifiers-3): Rename to
16352         display-buffer-normalize-alist.
16353         Call display-buffer-normalize-alist-1.
16354         (display-buffer-normalize-options-inhibit): New variable.
16355         (display-buffer-normalize-specifiers): Rewrite calling
16356         display-buffer-normalize-alist,
16357         display-buffer-normalize-argument, and
16358         display-buffer-normalize-options.  Don't call the latter if
16359         display-buffer-normalize-options-inhibit is non-nil.
16360         (frame-auto-delete): New option.
16361         (window-deletable-p): Use frame-auto-delete.
16362         (window-list-no-nils, window-state-ignored-parameters)
16363         (window-state-get-1, window-state-get, window-state-put-list)
16364         (window-state-put-1, window-state-put-2, window-state-put):
16365         New functions.
16366         (display-buffer-normalize-options): Move special-display-p group
16367         after pop-up-frame group (Bug#8851) and (Bug#8856).
16369 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
16371         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16372         groups (Bug#8776).
16373         (rx-submatch-n): New function.
16374         (rx): Document it.
16376         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16377         (Bug#8768).
16379         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16381         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16383         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16384         anytime existing face settings are present (Bug#8889).
16386         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16387         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16388         Remove unused argument.
16390 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
16392         * window.el (display-buffer-default-specifiers):
16393         Remove pop-up-frame.  Add pop-up-window-min-height,
16394         pop-up-window-min-width, and another reuse-window specifier
16395         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
16396         (display-buffer-normalize-specifiers-2):
16397         Handle split-height-threshold and split-width-threshold also when
16398         pop-up-windows is unset.  Add a reuse-window specifier for the
16399         case popping up a new window fails.
16400         (special-display-popup-frame): Remove double quoting.
16401         (display-buffer-normalize-specifiers-1): Fix thinko.
16403 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16405         * shell.el (shell-completion-vars): Set pcomplete-termination-string
16406         according to comint-completion-addsuffix.
16408         * pcomplete.el: Convert to lexical binding and fix bug#8819.
16409         (pcomplete-suffix-list): Mark as obsolete.
16410         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16411         pcomplete-seen in the closure.
16412         (pcomplete-comint-setup): Setup completion-at-point as well.
16413         (pcomplete--entries): New function.
16414         (pcomplete--env-regexp): New var.
16415         (pcomplete-entries): Rewrite to work with partial-completion and
16416         without relying on pcomplete-suffix-list.
16417         (pcomplete-pare-list): Remove, unused.
16419 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16421         * window.el (display-buffer-alist): Set pop-up-window-min-height
16422         and pop-up-window-min-width in default value.  Reported by
16423         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
16424         other-window-means-other-frame.
16425         (display-buffer-macro-specifiers): Comment out entry for
16426         other-window specifier.
16427         (display-buffer-other-window-means-other-frame): New function.
16428         (display-buffer-normalize-specifiers-1): New arguments
16429         buffer-name and label.  Treat other-window case specially.
16430         (display-buffer-normalize-specifiers-2): Treat other-window case
16431         specially.
16432         (display-buffer-normalize-specifiers-3): New function.
16433         (display-buffer-normalize-specifiers):
16434         Call display-buffer-normalize-specifiers-3.
16436 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16438         * window.el (same-window-p): Fix two typos introduced when
16439         adding with-no-warnings.
16440         (display-buffer-normalize-specifiers-1): Don't check
16441         pop-up-frames for 'unset initialization.
16442         (display-buffer-normalize-specifiers-2): Major rewrite using
16443         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16444         (pop-up-frames, display-buffer-reuse-frames)
16445         (display-buffer-mark-dedicated): Don't initialize to 'unset.
16446         Suggested by David Engster <deng@randomsample.de>.
16447         (even-window-heights): Initialize to 'unset.
16448         (display-buffer-alist-set): Handle new 'unset initializations.
16449         (display-buffer-macro-specifiers): Don't pop up a new frame in the
16450         other window case.
16452 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
16454         * window.el (display-buffer-normalize-specifiers-1):
16455         Respect current value of pop-up-frames for most reasonable values of
16456         second argument of display-buffer (Bug#8865).
16457         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16458         (switch-to-buffer-other-window-same-frame)
16459         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
16460         Adams (Bug#8875).
16461         (display-buffer): Don't check noninteractive when calling
16462         display-buffer-pop-up-frame.
16463         (display-buffer-pop-up-frame): Never pop up a frame in
16464         noninteractive mode (Bug#8857).
16465         (enlarge-window, shrink-window): Don't report an error when the
16466         window can't be resized as requested (Bug#8862).
16468 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16470         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16472         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16474         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16476 2011-06-15  Alan Mackenzie  <acm@muc.de>
16478         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16479         for declarators, disable knr checking to speed up for normal files.
16480         2: Refactor, replacing a sequence of nested if forms by a cond form.
16482 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16484         * net/network-stream.el (open-network-stream): Add the keyword
16485         :always-query-capabilities for the case where you want to force a
16486         `plain' network connection, but the protocol still requires the
16487         capabilitiy command (i.e., SMTP and EHLO).
16489         * subr.el (process-live-p): Rename from `process-alive-p' for
16490         consistency with other `-live-p' functions.
16492 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16494         * window.el (same-window-buffer-names, same-window-regexps)
16495         (special-display-frame-alist, special-display-popup-frame)
16496         (special-display-function, special-display-buffer-names)
16497         (special-display-regexps, pop-up-frame-alist)
16498         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16499         (pop-up-windows, split-window-preferred-function)
16500         (split-height-threshold, split-width-threshold, even-window-heights)
16501         (display-buffer-mark-dedicated): Don't encourage the use of
16502         display-buffer-alist from Elisp code.
16504 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
16506         * progmodes/python.el (python-mode): Derive from prog-mode.
16507         * progmodes/ps-mode.el (ps-mode):
16508         * progmodes/mixal-mode.el (mixal-mode):
16509         * progmodes/cfengine.el (cfengine-mode):
16510         * progmodes/ld-script.el (ld-script-mode): Likewise.
16512 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
16514         * window.el (display-buffer-alist): Trim default value to avoid
16515         popping up a new frame (Bug#8857) or reusing an arbitrary window
16516         on another frame.
16517         (display-buffer): Do not fall back on popping up a new frame in
16518         batch mode (Bug#8857).
16520 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
16522         * cus-theme.el (describe-theme-1): Use custom-theme-p.
16523         (custom-theme-summary): New function.
16524         (customize-themes): Use it.
16526 2011-06-13  Glenn Morris  <rgm@gnu.org>
16528         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16530 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
16532         * help.el (help-window): Remove variable.
16533         (help-window-point-marker, temp-buffer-max-height)
16534         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16535         (help-print-return-message): Don't set help-window.
16536         (resize-temp-buffer-window): Rewrite cod eand doc-string.
16537         (help-window-setup-finish): Remove.
16538         (help-window-display-message, help-window-setup)
16539         (with-help-window): Major rewrite based on new
16540         display-buffer-window variable.
16542         * help-mode.el (help-mode-finish): Remove help-window related
16543         code.
16545         * view.el (view-exits-all-viewing-windows): Remove reference to
16546         view-return-to-alist in doc-string.
16547         (view-return-to-alist): Make obsolete.
16548         (view-buffer): Call pop-to-buffer-same-window and remove
16549         undo-window code.
16550         (view-buffer-other-window): Call pop-to-buffer-other-window and
16551         simplify code.  Ignore second argument.
16552         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16553         simplify code.  Ignore second argument.
16554         (view-return-to-alist-update): Make obsolete.
16555         (view-mode-enter): Rename second argument to QUIT-RESTORE.
16556         Rewrite using quit-restore window parameters.
16557         (view-mode-exit): Rename second argument to EXIT-ONLY.
16558         Rewrite using quit-restore-window.
16559         (View-exit, View-exit-and-edit, View-leave, View-quit)
16560         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16561         appropriate arguments.
16562         (view-end-message): Use quit-restore window parameter.
16564         * window.el (display-buffer-function): Rewrite doc-string.
16565         (display-buffer-window, display-buffer-alist): New variables.
16566         (display-buffer-split-specifiers)
16567         (display-buffer-side-specifiers)
16568         (display-buffer-macro-specifiers): New constants.
16569         (display-buffer-even-window-sizes, display-buffer-set-height)
16570         (display-buffer-set-width, display-buffer-select-window)
16571         (display-buffer-in-window, display-buffer-reuse-window)
16572         (display-buffer-split-window-1, display-buffer-split-window)
16573         (display-buffer-split-atom-window, display-buffer-pop-up-window)
16574         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16575         (display-buffer-in-side-window, normalize-buffer-to-display)
16576         (display-buffer-normalize-specifiers-1)
16577         (display-buffer-normalize-specifiers-2)
16578         (display-buffer-normalize-specifiers, display-buffer-frame):
16579         New functions.
16580         (display-buffer): Major rewrite.
16581         (display-buffer-other-window, display-buffer-other-frame)
16582         (pop-to-buffer, switch-to-buffer-other-window)
16583         (switch-to-buffer-other-frame): Rewrite.
16584         (display-buffer-same-window, display-buffer-same-frame)
16585         (display-buffer-same-frame-other-window)
16586         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16587         (pop-to-buffer-other-window)
16588         (pop-to-buffer-same-frame-other-window)
16589         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16590         (switch-to-buffer-other-window-same-frame): New functions.
16591         (same-window-p, special-display-p): Rewrite disabling warnings.
16592         Make obsolete.
16593         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16594         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16595         Make obsolete
16596         (same-window-buffer-names, same-window-regexps)
16597         (special-display-frame-alist, special-display-popup-frame)
16598         (special-display-function, special-display-buffer-names)
16599         (special-display-regexps, pop-up-frame-alist)
16600         (pop-up-frame-function, split-window-preferred-function)
16601         (split-height-threshold, split-width-threshold)
16602         (even-window-heights): Make obsolete.
16604 2011-06-12  Glenn Morris  <rgm@gnu.org>
16606         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
16607         Misc simplifications.
16609 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
16611         * window.el (window-safely-shrinkable-p): Restore function which
16612         was inadvertently removed in change from 2011-06-11.  Declare as
16613         obsolete.
16615         * calendar/calendar.el (calendar-generate-window):
16616         Use window-iso-combined-p instead of combination of one-window-p and
16617         window-safely-shrinkable-p.
16619 2011-06-12  Glenn Morris  <rgm@gnu.org>
16621         * progmodes/fortran.el (fortran-mode-syntax-table):
16622         * progmodes/f90.el (f90-mode-syntax-table):
16623         Set % to punctuation.  (Bug#8820)
16624         (f90-find-tag-default): Remove, no longer needed.
16626 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
16628         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16630 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
16632         * image.el (image-animated-p): Return animation delay in seconds.
16633         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16634         (image-animate-timeout): Remove DELAY argument.  Don't assume
16635         every subimage has the same delay; get it from image-animated-p.
16636         (image-animate): Caller changed.
16638 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
16640         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16641         to ignored backtrace functions.
16643 2011-06-11  Glenn Morris  <rgm@gnu.org>
16645         * calendar/appt.el (appt-disp-window-function): Doc fix.
16646         (appt-check): Handle overlapping appointments.  (Bug#8337)
16648 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
16650         * window.el (window-tree-1, window-tree): New functions, moving
16651         the latter to window.el.
16652         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16653         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16654         (bw-refresh-edges): Remove.
16655         (balance-windows-1, balance-windows-2): New functions.
16656         (balance-windows): Rewrite in terms of window tree functions,
16657         balance-windows-1 and balance-windows-2.
16658         (bw-adjust-window): Remove.
16659         (balance-windows-area-adjust): New function with functionality of
16660         bw-adjust-window but using resize-window.
16661         (set-window-text-height): Rewrite doc-string.
16662         Use normalize-live-window and resize-window.
16663         (enlarge-window-horizontally, shrink-window-horizontally):
16664         Rename argument to DELTA.
16665         (window-buffer-height): New function.
16666         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16667         Rewrite using new window resize routines.
16668         (kill-buffer-and-window, mouse-autoselect-window-select):
16669         Use ignore-errors instead of condition-case.
16670         (quit-window): Call delete-frame instead of delete-windows-on
16671         for the only buffer on frame.
16673 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16675         * loadup.el (top-level): Load window before files for the sake
16676         of replace-buffer-in-windows.
16678         * files.el (read-buffer-to-switch)
16679         (switch-to-buffer-other-window)
16680         (switch-to-buffer-other-frame, display-buffer-other-frame):
16681         Move to window.el.
16683         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16684         (previous-buffer): Move to window.el.
16686         * bindings.el (unbury-buffer): Move to window.el.
16688         * window.el (delete-other-windows-vertically): Move after
16689         definition of delete-other-windows.
16690         (other-window, delete-windows-on, replace-buffer-in-windows):
16691         Move here from window.c.
16692         (record-window-buffer, unrecord-window-buffer)
16693         (set-window-buffer-start-and-point, switch-to-prev-buffer)
16694         (switch-to-next-buffer): New functions.
16695         (get-next-valid-buffer, last-buffer, next-buffer): Move here
16696         from simple.el.  Call switch-to-next-buffer.
16697         (previous-buffer): Move here from simple.el.
16698         Call switch-to-prev-buffer.
16699         (bury-buffer): Move here from buffer.c.  Switch to previous
16700         buffer when window cannot be deleted.
16701         (unbury-buffer): Move here from bindings.el.
16702         (ctl-x-map): Move binding for other-window from window.c to
16703         here.
16704         (read-buffer-to-switch, switch-to-buffer-other-window)
16705         (switch-to-buffer-other-frame): Move here from files.el.
16706         (normalize-buffer-to-switch-to): New functions.
16707         (switch-to-buffer): Move here from buffer.c.
16708         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16710 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16712         * window.el (window-min-height, window-min-width): Move here
16713         from window.c.  Add defcustoms and rewrite doc-strings.
16714         (resize-mini-window, resize-window): New functions.
16715         (adjust-window-trailing-edge, enlarge-window, shrink-window):
16716         Move here from window.c.
16717         (maximize-window, minimize-window): New functions.
16718         (delete-window, delete-other-windows, split-window): Move here
16719         from window.c.
16720         (window-split-min-size): New function.
16721         (split-window-keep-point): Mention split-window-above-each-other
16722         instead of split-window-vertically.
16723         (split-window-above-each-other, split-window-vertically):
16724         Rename split-window-vertically to split-window-above-each-other
16725         and provide defalias for old definition.
16726         (split-window-side-by-side, split-window-horizontally):
16727         Rename split-window-horizontally to split-window-side-by-side
16728         and provide defalias for the old definition.
16729         (ctl-x-map): Move bindings for delete-window,
16730         delete-other-windows and enlarge-window here from window.c.
16731         Replace bindings for split-window-vertically and
16732         split-window-horizontally by bindings for
16733         split-window-above-each-other and split-window-side-by-side.
16735         * cus-start.el (all): Remove entries for window-min-height and
16736         window-min-width.  Add entries for window-splits and
16737         window-nest.
16739 2011-06-09  Glenn Morris  <rgm@gnu.org>
16741         * calendar/appt.el (appt-mode-line): New function.
16742         (appt-check, appt-disp-window): Use it.
16744         * files.el (hack-one-local-variable-eval-safep):
16745         Allow minor-modes with explicit +/-1 arguments.
16747 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
16749         * term/xterm.el (xterm): Add defgroup.
16750         (xterm-extra-capabilities): Add defcustom to supply known xterm
16751         capabilities, skip querying them, or query them (default).
16752         (terminal-init-xterm): Use it.
16753         (terminal-init-xterm-modify-other-keys): New function to set up
16754         modifyOtherKeys support to simplify `terminal-init-xterm'.
16756 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
16758         * window.el (resize-window-reset, resize-window-reset-1)
16759         (resize-subwindows-skip-p, resize-subwindows-normal)
16760         (resize-subwindows, resize-other-windows, resize-this-window)
16761         (resize-root-window, resize-root-window-vertically)
16762         (window-deletable-p, window-or-subwindow-p)
16763         (frame-root-window-p): New functions.
16765 2011-06-09  Glenn Morris  <rgm@gnu.org>
16767         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16768         (ange-ftp-get-files): Use it.
16770 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
16772         * mail/sendmail.el (mail-recover-1, mail-recover):
16773         * files.el (recover-file, recover-session):
16774         Handle dired-listing-switches not being just a single short option.
16776 2011-06-09  Glenn Morris  <rgm@gnu.org>
16778         * calendar/appt.el (appt-display-message, appt-disp-window):
16779         Handle lists of appointments.
16781 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16783         * window.el (one-window-p): Move down in code.
16784         Rewrite doc-string.
16785         (window-current-scroll-bars): Rewrite doc-string.
16786         Normalize live window argument.
16787         (walk-windows, get-window-with-predicate, count-windows):
16788         Rewrite doc-string.  Use window-list-1.
16789         (window-in-direction-2, window-in-direction, get-mru-window):
16790         New functions.
16792 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
16794         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16795         Doc fix (Bug#8713).
16797 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
16799         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16801 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
16803         * loadhist.el (unload-feature-special-hooks):
16804         Add `comint-output-filter-functions'.
16806 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
16808         * calendar/appt.el (appt-check): Move some initializations into the let.
16810 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16812         * window.el (window-height): Defalias to window-total-height.
16813         (window-width): Defalias to window-body-width.
16815 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
16817         * image-mode.el (image-toggle-animation): New command.
16818         (image-mode-map): Bind it to RET.
16819         (image-mode): Update message.
16820         (image-toggle-display-image): Avoid a spurious cache flush.
16821         (image-transform-rotation): Doc fix.
16822         (image-transform-properties): Return quickly in the normal case.
16823         (image-animate-loop): Rename from image-animate-max-time.
16825         * image.el (image-animate-max-time): Move to image-mode.el.
16826         (create-animated-image): Remove unnecessary function.
16827         (image-animate): Rename from image-animate-start.  New arg.
16828         (image-animate-stop): Remove; just use image-animate-timer.
16829         (image-animate-timer): Use car-safe.
16830         (image-animate-timeout): Rename argument.
16832 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
16834         * window.el (get-lru-window, get-largest-window): Move here from
16835         window.c.  Rename first argument to ALL-FRAMES.
16836         Rephrase doc-strings.
16837         (get-buffer-window-list): Rewrite using window-list-1.
16838         Rephrase doc-string.
16839         (window-safe-min-height, window-safe-min-width): New constants.
16840         (window-size-ignore, window-min-size, window-min-size-1)
16841         (window-sizable, window-sizable-p, window-size-fixed-1)
16842         (window-size-fixed-p, window-min-delta-1, window-min-delta)
16843         (window-max-delta-1, window-max-delta, window-resizable)
16844         (window-resizable-p, window-total-height, window-total-width)
16845         (window-body-width): New functions.
16846         (window-full-height-p, window-full-width-p): Rewrite using
16847         window-total-size.
16848         (window-body-height): Rewrite using window-body-size.
16850 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
16852         * window.el (window-right, window-left, window-child)
16853         (window-child-count, window-last-child, window-any-p)
16854         (normalize-live-buffer, normalize-live-frame)
16855         (normalize-any-window, normalize-live-window)
16856         (window-iso-combination-p, window-iso-combined-p)
16857         (window-iso-combinations)
16858         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16859         (windows-with-parameter, window-with-parameter)
16860         (window-atom-root, make-window-atom, window-atom-check-1)
16861         (window-atom-check, window-side-check, window-check):
16862         New functions.
16863         (ignore-window-parameters, window-sides, window-sides-vertical)
16864         (window-sides-slots): New variables.
16865         (window-size-fixed): Move down in code.  Minor doc-string fix.
16867 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
16869         * comint.el (comint-dynamic-complete-as-filename)
16870         (comint-dynamic-complete-filename): Correctly call
16871         completion-in-region.
16873 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16875         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16876         in last change.
16878 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16880         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16881         (rcirc): Use it to prompt for encryption.
16883 2011-06-05  Roland Winkler  <winkler@gnu.org>
16885         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16886         (bibtex-search-entries): New command bound to C-c C-a.
16887         (bibtex-display-entries): New function.
16889 2011-06-05  Roland Winkler  <winkler@gnu.org>
16891         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16892         (bibtex-insert-kill): After yanking insert newline if necessary.
16893         (bibtex-initialize): Call bibtex-string-files-init only once.
16894         (bibtex-mode): Do not call easy-menu-add.
16895         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16896         (bibtex-yank): Set arg properly if nil.
16898 2011-06-05  Roland Winkler  <winkler@gnu.org>
16900         * textmodes/bibtex.el (bibtex-search-entry-globally):
16901         New variable.
16902         (bibtex-search-entry): Use it.
16904 2011-06-05  Roland Winkler  <winkler@gnu.org>
16906         * textmodes/bibtex.el (bibtex-entry-format): New option
16907         sort-fields.
16908         (bibtex-format-entry, bibtex-reformat): Honor this option.
16909         (bibtex-parse-entry): Return fields in proper order.
16911 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
16913         * doc-view.el (doc-view-remove-if): Move computation of result out
16914         of `dolist' to silence misleading lexical-binding warning.
16916 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
16918         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16919         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16921 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16923         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16924         "SunOS 5.10".
16926 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16928         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16929         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16930         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16931         (tramp-parse-putty):
16932         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16933         (tramp-completion-function-alist-ssh)
16934         (tramp-completion-function-alist-telnet)
16935         (tramp-completion-function-alist-su)
16936         (tramp-completion-function-alist-putty): Set `tramp-autoload'
16937         cookie.
16939         * net/tramp-ftp.el:
16940         * net/tramp-sh.el:
16941         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16942         load "tramp.el" `tramp-set-completion-function'.
16944 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16946         * shell.el: Require and use pcomplete.
16947         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16948         (shell-completion-vars): Set pcomplete-default-completion-function.
16950 2011-06-04  Deniz Dogan  <deniz@dogan.se>
16952         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16953         `memq' (Bug#8799).
16955 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16957         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16959 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
16961         * bs.el (bs--mark-unmark, bs--nth-wrapper):
16962         * mpc.el (mpc-select-extend, mpc-songpointer-context):
16963         * vc/log-view.el (log-view-beginning-of-defun):
16964         * vc/smerge-mode.el (smerge-apply-resolution-patch)
16965         (smerge-refine-forward, smerge-refine-chopup-region):
16966         Silence warning for unused `dotimes' counter variables.
16968 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16970         * net/tramp.el (tramp-with-progress-reporter): Rename from
16971         with-progress-reporter.  Use `declare'.
16972         * net/tramp-smb.el:
16973         * net/tramp-sh.el:
16974         * net/tramp-gvfs.el: Update all uses.
16976 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
16978         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16979         buffer isn't killed before making it current.
16981 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16983         Silence various byte-compiler warnings.
16984         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16985         `access-type' and new obsolescence format.
16986         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16987         new format.
16988         (byte-compile-check-variable): New `access-type' argument.
16989         Only warn if the access-type is obsolete.
16990         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16991         (byte-compile-variable-set): Adjust callers.
16992         * help-fns.el (describe-variable): Adjust to new obsolescence format.
16993         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16994         setting it as obsolete.
16995         * simple.el (minibuffer-completing-symbol):
16996         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16997         access as obsolete.
16998         * minibuffer.el (minibuffer-completing-file-name): Don't make it
16999         obsolete yet.
17000         * international/quail.el (quail-mouse-choose-completion): Remove unused
17001         code referring to obsolete var.
17002         (quail-choose-completion-string): Remove.
17003         * server.el (server-clients-with, server-kill-buffer-query-function)
17004         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17005         * proced.el (proced-send-signal):
17006         * emacs-lisp/lisp.el (lisp-complete-symbol):
17007         Replace completion-annotate-function with completion-extra-properties.
17009 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17011         * simple.el (goto-line): Use read-number.
17012         (overriding-map-is-bound): Remove.
17013         (saved-overriding-map): Change default.
17014         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17015         Take the map as argument.
17016         (universal-argument, negative-argument, digit-argument): Use it.
17017         (restore-overriding-map): Adjust.
17018         (do-auto-fill): Use fill-forward-paragraph.
17019         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17021         * minibuffer.el (minibuffer-inactive-mode-map): New var.
17022         (minibuffer-inactive-mode): New major mode.
17023         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17024         the *Messages* buffer" hack.
17025         (mouse-popup-menubar): Don't burp if the event is a normal key.
17027         Miscellaneous tweaks.
17028         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17029         lexical scoping as in subr.el's dolist and dotimes.
17030         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17031         Silence compiler warning.
17032         * thingatpt.el (forward-whitespace): Trivial coding style fix.
17033         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17034         * international/ccl.el (ccl-compile): Trivial simplification.
17035         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17036         * emacs-lisp/testcover.el (testcover-end): Remove spurious
17037         `printflag' argument.
17038         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17039         Purecopy the whole obsolescence data.
17041 2011-06-01  Leo Liu  <sdl.web@gmail.com>
17043         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17044         improve doc-string as suggested by Marco Pessotto
17045         <melmothx@gmail.com>.
17046         (rcirc-print): Fix last change.
17048 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17050         * minibuffer.el (complete-with-action): Return nil for the metadata and
17051         boundaries of non-functional tables.
17052         (completion-table-dynamic): Return nil for the metadata.
17053         (completion-table-with-terminator): Add default case, using
17054         complete-with-action.
17055         (completion--metadata): New function.
17056         (completion-all-sorted-completions, minibuffer-completion-help): Use it
17057         to try and avoid pathological performance problems.
17058         (completion--embedded-envvar-table): Return `category' metadata.
17060 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17062         * subr.el (process-alive-p): New tiny convenience function.
17064 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17066         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17067         content but also its previous major mode.
17069 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
17071         * emacs-lisp/debug.el (debug): Restore the previous content of the
17072         *Backtrace* buffer when we exit with C-M-c.
17074 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17076         * minibuffer.el: Add metadata method to completion tables.
17077         (completion-category-overrides): New defcustom.
17078         (completion-metadata, completion--field-metadata)
17079         (completion-metadata-get, completion--styles)
17080         (completion--cycle-threshold): New functions.
17081         (completion-try-completion, completion-all-completions):
17082         Add `metadata' argument to choose completion-styles.
17083         (completion--do-completion): Use metadata to choose cycling.
17084         (completion-all-sorted-completions): Use metadata for sorting.
17085         Remove :completion-cycle-penalty which is not needed any more.
17086         (completion--try-word-completion): Add `metadata' argument.
17087         (minibuffer-completion-help): Check metadata for annotation function
17088         and sorting.
17089         (completion-file-name-table): Return `category' metadata.
17090         (minibuffer-completing-file-name): Make obsolete.
17091         * simple.el (minibuffer-completing-symbol): Make obsolete.
17092         * icomplete.el (icomplete-completions): Pass new `metadata' param to
17093         completion-try-completion.
17095 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17097         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17099 2011-05-30  Leo Liu  <sdl.web@gmail.com>
17101         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17102         (rcirc-print): Decode all incoming messages (bug#8744).
17103         (rcirc-decode-coding-system): Allow value nil for automatic coding
17104         system detection.
17106 2011-06-01  Glenn Morris  <rgm@gnu.org>
17108         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17110 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17112         * image.el (image-animate-max-time): Allow nil and t values.
17113         Default to nil.
17114         (create-animated-image): Doc fix.
17115         (image-animate-start): Remove second arg; just use
17116         image-animate-max-time.
17117         (image-animate-timeout): Doc fix.  Args changed.
17119         * image-mode.el (image-toggle-display-image): Ensure that the
17120         image spec passed to the animate timer is the same object as in
17121         the buffer's display property (Bug#6981).
17122         (image-transform-properties): Doc fix.
17124         * image.el (image-animate-max-time): Default to nil.
17126 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
17128         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17129         entire buffer list (Bug#8184).
17131 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17133         * image.el (imagemagick-types-inhibit)
17134         (imagemagick-register-types): Doc fix.
17136 2011-05-29  Deniz Dogan  <deniz@dogan.se>
17138         * net/rcirc.el (rcirc): Use the user's stored encryption method by
17139         default.
17141 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17143         * select.el: Don't perform clipboard-manager saving in hooks;
17144         leave the hooks empty.
17146 2011-05-28  Leo Liu  <sdl.web@gmail.com>
17148         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17149         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
17150         (occur-edit-mode): New major mode (Bug#8463).
17151         (occur-after-change-function): New function.
17152         (occur-engine): Give Occur tags a read-only property.
17154 2011-05-28  Kevin Ryde  <user42@zip.com.au>
17156         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17158 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17160         * bindings.el (help-echo): Make the initial non-indicator dash
17161         empty on graphical terminals (Bug#7295).
17163         * files.el (auto-mode-alist): Move config rule after the
17164         in-stripping one (Bug#8547).
17166         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17168         * startup.el (normal-splash-screen): Remove gratuitous mode-line
17169         setting (Bug#8740).
17171 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
17173         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17174         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17175         (Bug#8539).
17177 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17179         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17181 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
17183         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17184         (hs-hide-block-at-point, hs-find-block-beginning)
17185         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17186         (Bug#8279).
17188 2011-05-28  Glenn Morris  <rgm@gnu.org>
17190         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
17192 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17194         * help-fns.el (describe-function-1): If the function is a derived
17195         major mode, print the parent mode.
17197         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17198         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17200 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17202         * minibuffer.el (completion--capf-wrapper): Check applicability before
17203         returning non-nil for non-exclusive completion data.
17204         * progmodes/etags.el (tags-completion-at-point-function):
17205         * info-look.el (info-lookup-completions-at-point): Mark as
17206         non-exclusive.
17207         (info-complete): Adjust accordingly.
17209         * info-look.el: Convert to lexical-binding and completion-at-point.
17210         (info-lookup-completions-at-point): New function.
17211         (info-complete): Use it and completion-in-region.
17213 2011-05-28  Drew Adams  <drew.adams@oracle.com>
17215         * isearch.el: Let M-e start with point at the first mismatched char.
17216         (isearch-fail-pos): New function.
17217         (isearch-edit-string): Use it.
17219 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17221         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17223 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
17225         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
17226         traversal functions for avl-trees.
17227         (avl-tree--stack): New struct.
17228         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17229         (avl-tree-enter): Add optional `updatefun' arg.
17230         (avl-tree--do-enter): Add optional `updatefun' arg.
17231         Change return value.
17232         (avl-tree-delete): Add optional `test' and `nilflag' args.
17233         (avl-tree--do-delete): Add `test' and `nilflag' args.
17234         Change return value.
17235         (avl-tree-member): Add optional `nilflag'
17236         (avl-tree-member-p): New function.
17237         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17238         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17239         (avl-tree-stack-empty-p): New functions.
17241         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17242         avl-tree--del-balance1 and make it work both ways.
17243         (avl-tree--del-balance2): Remove.
17244         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17245         make it work both ways.
17246         (avl-tree--enter-balance2): Remove.
17247         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17248         New macros.
17249         (avl-tree--mapc, avl-tree-map): Add direction argument.
17251 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
17253         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17255 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
17257         * select.el: Support clipboard managers with built-in function
17258         x-clipboard-manager-save, via delete-frame-functions and
17259         kill-emacs-hook.
17260         (xselect-convert-to-targets): Add MULTIPLE target to list.
17261         (xselect-convert-to-save-targets): New function.
17263 2011-05-27  Kenichi Handa  <handa@m17n.org>
17265         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17266         let-binding rfc2047-encode-encoded-words to nil.
17268 2011-05-27  Glenn Morris  <rgm@gnu.org>
17270         * mail/emacsbug.el: Don't require url-util.
17272         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
17274         * files.el (set-auto-mode):
17275         Also respect mode: entries at the end of the file.  (Bug#8586)
17277 2011-05-26  Glenn Morris  <rgm@gnu.org>
17279         * files.el (hack-local-variables-prop-line, hack-local-variables):
17280         Downcase mode names, as seems to be traditional.
17281         (hack-local-variables, hack-local-variables-apply): Doc fixes.
17283         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17284         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
17286 2011-05-25  Julien Danjou  <julien@danjou.info>
17288         * textmodes/rst.el (rst-define-level-faces): Do not define face
17289         symbol if it is already defined.
17291 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17293         * play/5x5.el (5x5-new-game, 5x5-randomize):
17294         Reset 5x5-solver-output to nil when a new grid is cast.
17295         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17296         these debugging traces, as defmacro breaks the compiled code.
17298 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17300         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17302 2011-05-24  Leo Liu  <sdl.web@gmail.com>
17304         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17305         (vc-bzr-sha1): Adapt.
17307         * sha1.el: Remove.  Function `sha1' is now builtin.
17309         * bindings.el: Provide sha1 feature.
17311 2011-05-24  Kenichi Handa  <handa@m17n.org>
17313         * mail/sendmail.el: Require `rfc2047'.
17314         (mail-insert-from-field): Do not perform RFC2047 encoding.
17315         (mail-encode-header): New function.
17316         (sendmail-send-it): Set buffer-file-coding-system of the work
17317         buffer to the return value of select-message-coding-system.
17318         Call mail-encode-header.
17320         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17322 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
17324         * mail/supercite.el (sc-default-cite-frame):
17325         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17327 2011-05-24  Glenn Morris  <rgm@gnu.org>
17329         * progmodes/python.el (brm-menu): Declare.
17331         * emulation/viper.el (viper-set-hooks): Declare.
17333         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17334         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17335         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17336         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17337         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17338         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17340 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17342         Add an :exit-function for completion-at-point.
17344         * minibuffer.el (completion--done): New fun.
17345         (completion--do-completion): Use it.  New arg `expect-exact'.
17346         (minibuffer-complete, minibuffer-complete-word): Don't output message,
17347         since completion--do-completion does it for us now.
17348         (minibuffer-force-complete): Use completion--done and
17349         completion--replace.  Handle sole-completion case with more care.
17350         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17351         (completion-extra-properties): New var.
17352         (completion-annotate-function): Make obsolete.
17353         (minibuffer-completion-help): Adjust accordingly.
17354         Use completion-list-insert-choice-function.
17355         (completion-at-point, completion-help-at-point):
17356         Bind completion-extra-properties.
17357         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17358         * simple.el (completion-list-insert-choice-function): New var.
17359         (completion-setup-function): Preserve it.
17360         (choose-completion): Pay attention to it, shuffle the code a bit.
17361         (choose-completion-string): New arg `insert-function'.
17363         * textmodes/bibtex.el: Convert to lexical binding.
17364         (bibtex-mode-map): Use completion-at-point.
17365         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17366         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17367         (bibtex-complete): Define as obsolete alias.
17368         (bibtex-complete-internal): Remove.
17369         (bibtex-format-entry): Remove unused sub-group in regexp.
17370         * shell.el (shell--command-completion-data)
17371         (shell-environment-variable-completion):
17372         * pcomplete.el (pcomplete-completions-at-point):
17373         * comint.el (comint--complete-file-name-data): Use :exit-function
17374         instead of completion-table-with-terminator so it also works for
17375         choose-completion.
17377 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17379         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17381         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17382         (bug#8710).
17384         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17386 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
17388         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17389         customization variable and implement: If non-nil, auto-fill will
17390         be inhibited while on topic's header line.
17392 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17394         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17395         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
17396         always have a solution in grid size = 5 cases.
17397         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17398         (5x5-solver-output, 5x5-log-buffer): New vars.
17399         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17400         Make these variables buffer local to achieve 5x5 multi-session-ness.
17401         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17402         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17403         (5x5-solve-suggest): New funs.
17404         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17405         randomize a grid so that we ensure that there is always a solution.
17406         (5x5-make-random-grid): Allow other movement than flipping.
17408 2011-05-23  Kevin Ryde  <user42@zip.com.au>
17410         * emacs-lisp/advice.el (ad-read-advised-function):
17411         Use `function-called-at-point' as the default, if it has
17412         advice and passes PREDICATE.
17414 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17416         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17417         byte-compile-lambda if it's actually a lambda.
17419         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17420         Fix function quoting.  Use backquote better.
17422 2011-05-22  Yuanle Song  <sylecn@gmail.com>
17424         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17425         matching (Bug#8516).
17427 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
17429         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17430         different face (Bug#8178).
17432 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
17434         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17435         defface (Bug#8144).
17437 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17439         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17440         funcall as well (bug#8712).  Warn when performing those conversions.
17441         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17443         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17445 2011-05-22  Glenn Morris  <rgm@gnu.org>
17447         * files.el (hack-local-variables-prop-line): Small simplifications.
17448         (hack-local-variables, hack-local-variables-prop-line):
17449         If MODE-ONLY, return the mode, rather than just `t'.
17451 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17453         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17455 2011-05-21  Glenn Morris  <rgm@gnu.org>
17457         * files.el (hack-local-variables-prop-line, hack-local-variables):
17458         If only interested in the mode, don't bother doing the other stuff.
17460         * image-mode.el (image-after-revert-hook):
17461         Redraw all frames on which the image is visible.  (Bug#8567)
17463         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
17465         * wid-edit.el (widget-checklist-match-inline):
17466         Fix 2011-04-19 change.  (Bug#8649)
17468 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17470         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17471         Also allow singlespace after single-letter capitals followed by a dot.
17473         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17474         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17476 2011-05-20  Nix  <nix@esperi.org.uk>
17478         * files.el (basic-save-buffer-2):
17479         Fix handling of break-hardlink-on-save with non-existent files.
17481 2011-05-19  Deniz Dogan  <deniz@dogan.se>
17483         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17484         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17486 2011-05-19  Glenn Morris  <rgm@gnu.org>
17488         * progmodes/f90.el (f90-type-def-re):
17489         Handle "type, bind(c)".  (Bug#8691)
17491         * emacs-lisp/autoload.el (batch-update-autoloads):
17492         Set autoload-excludes by parsing loadup.el rather than Makefiles.
17494 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
17496         * net/tramp.el (tramp-process-actions): Set "first-password-request"
17497         property for the correct connection in case of multihops.
17499 2011-05-18  Glenn Morris  <rgm@gnu.org>
17501         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17502         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17504         Rationalize calendar handling of day and month abbrev-arrays.
17505         * calendar/calendar.el (calendar-customized-p): New function.
17506         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17507         (calendar-day-name-array, calendar-month-name-array): Doc fix.
17508         Add :set function.
17509         (calendar-abbrev-length, calendar-day-abbrev-array)
17510         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17511         (calendar-day-abbrev-array, calendar-month-abbrev-array):
17512         Elements may no longer be nil.
17513         (calendar-day-name, calendar-month-name):
17514         Update for changed nature of abbrev arrays.
17515         * calendar/diary-lib.el (diary-name-pattern):
17516         Update for changed nature of abbrev arrays.
17517         (diary-mark-entries-1): Update calendar-make-alist calls.
17518         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17519         * calendar/cal-html.el (cal-html-day-abbrev-array):
17520         Simply inherit from calendar-day-abbrev-array.
17522 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17524         * progmodes/grep.el (grep-mode): Disable default
17525         compilation-directory-matcher setting (bug#8684).
17527 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
17529         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17530         instead of "head" and "tail".  There were problems with SunOS 5.9,
17531         and it performs better.
17533 2011-05-17  Glenn Morris  <rgm@gnu.org>
17535         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17537         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17538         Replace obsolete function.
17540         * shell.el (pcomplete-parse-arguments-function): Declare.
17542         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17543         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17544         (appt-check): Doc fixes.
17545         (appt-disp-window-function, appt-delete-window-function):
17546         Remove needless special case in custom :type.
17547         (appt-display-count): Default to 0, not nil.
17548         (appt-check): Reset appt-display-count to 0, not nil.
17550 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
17552         * progmodes/python.el (python-font-lock-keywords):
17553         Add the Python 3.X keyword "nonlocal" (bug#8639).
17555 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17557         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17559 2011-05-16  Kevin Ryde  <user42@zip.com.au>
17561         * info-look.el (makefile-automake-mode): New setups, looking in
17562         automake manual, then makefile-mode.
17563         (makefile-mode): Remove automake manual, have it just in
17564         makefile-automake-mode since there's various things different or
17565         not relevant to plain make.
17566         (makefile-mode): Remove "other-modes" non-existent automake-mode,
17567         believe a hypothetical automake-mode would go to makefile-mode,
17568         not the other way around.
17570 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
17572         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17573         hunk-end tags (Bug#8672).
17575         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17576         vc-annotate-show-diff-revision-at-line (Bug#8671).
17578 2011-05-14  Glenn Morris  <rgm@gnu.org>
17580         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17581         in the middle of an existing one with multiple authors.  (Bug#8645)
17582         (change-log-font-lock-keywords): Also handle multiple author lines
17583         with leading tabs.  (Bug#8644)
17585         * calendar/appt.el (appt-check): Rename some local variables.
17586         Some simplification/reordering.
17588         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17589         (feedmail-sendmail-f-doesnt-sell-me-out)
17590         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17591         (feedmail-debug-sit-for, feedmail-queue-express-hook)
17592         (feedmail-queue-runner-message-sender): Set :version.
17593         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17594         (bbdb-dwim-net-address, vm-mail): Declare.
17595         (feedmail-binmail-gnulinuxish-template):
17596         Rename from feedmail-binmail-linuxish-template.
17597         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17598         Use insert-buffer-substring.
17600 2011-05-14  Bill Carpenter  <bill@carpenter.org>
17602         * mail/feedmail.el (feedmail-patch-level): Increase.
17603         (feedmail-debug): New custom group.
17604         (feedmail-confirm-outgoing-timeout)
17605         (feedmail-sendmail-f-doesnt-sell-me-out)
17606         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17607         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17608         (feedmail-sender-line, feedmail-from-line)
17609         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17610         (feedmail-spray-this-address)
17611         (feedmail-spray-address-fiddle-plex-list)
17612         (feedmail-queue-use-send-time-for-date)
17613         (feedmail-queue-use-send-time-for-message-id)
17614         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17615         (feedmail-buffer-eating-function):
17616         Doc fixes.
17617         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17618         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17619         (feedmail-message-action-scroll-down): New functions.
17620         (feedmail-queue-directory, feedmail-queue-draft-directory):
17621         Use expand-file-name.
17622         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17623         Remove C-v help entry.
17624         (feedmail-queue-buffer-file-name): New variable.
17625         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17626         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17627         (feedmail-message-action-send-strong, feedmail-message-action-edit)
17628         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17629         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17630         (feedmail-message-action-toggle-spray)
17631         (feedmail-run-the-queue-no-prompts)
17632         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17633         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17634         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17635         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17636         (feedmail-envelope-deducer, feedmail-fiddle-from)
17637         (feedmail-fiddle-sender, feedmail-default-date-generator)
17638         (feedmail-fiddle-date, feedmail-fiddle-message-id)
17639         (feedmail-fiddle-spray-address)
17640         (feedmail-fiddle-list-of-spray-fiddle-plexes)
17641         (feedmail-fiddle-list-of-fiddle-plexes)
17642         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17643         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17644         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17645         Change default.  Doc fix.
17646         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17647         (feedmail-binmail-linuxish-template): New constant.
17648         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
17649         Respect feedmail-sendmail-f-doesnt-sell-me-out.
17650         (feedmail-send-it): Add debug call.
17651         Use feedmail-queue-buffer-file-name, and
17652         feedmail-send-it-immediately-wrapper.
17653         (feedmail-message-action-send): Add debug call.
17654         Use feedmail-send-it-immediately-wrapper.
17655         (feedmail-queue-express-to-queue): Add debug call.
17656         Run feedmail-queue-express-hook.
17657         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
17658         (feedmail-message-action-help-blat):
17659         Rename from feedmail-queue-send-edit-prompt-help-first.
17660         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
17661         Check line-endings.  Handle errors better.
17662         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17663         Doc fix.  Add debug call.
17664         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
17665         Use feedmail-queue-send-edit-prompt-inner.
17666         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17667         (feedmail-queue-send-edit-prompt-inner): New function, extracted
17668         from feedmail-queue-send-edit-prompt.
17669         (feedmail-queue-send-edit-prompt-help)
17670         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17671         (feedmail-tidy-up-slug): Add debug call.
17672         Respect feedmail-queue-slug-suspect-regexp.
17673         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17674         (feedmail-dump-message-to-queue): Add debug call.
17675         Expand queue-directory.
17676         (feedmail-dump-message-to-queue): Change message slightly.
17677         Use feedmail-say-chatter.
17678         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
17679         (feedmail-send-it-immediately-wrapper): New function.
17680         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
17681         Insert empty string rather than newline.  Handle full-frame case.
17682         Use catch/throw.  Use feedmail-say-chatter.
17683         (feedmail-fiddle-from): Try mail-host-address.
17684         (feedmail-default-message-id-generator): Doc fix.
17685         Bind system-time-locale.  Handle missing end.
17686         (feedmail-fiddle-x-mailer): Add debug call.
17687         Handle feedmail-x-mailer-line being nil.
17688         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17689         Add debug call.  Use buffer-substring-no-properties.
17690         (feedmail-say-debug, feedmail-say-chatter): New functions.
17691         (feedmail-find-eoh): Give an explicit error.
17693 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
17695         * net/newst-treeview.el (newsticker-treeview-face): Change default
17696         family from helvetica to sans.
17697         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17698         etc/images/newsticker.
17700         * net/newst-reader.el (newsticker-feed-face): Change default
17701         family from helvetica to sans.
17703         * net/newst-plainview.el (newsticker-new-item-face)
17704         (newsticker-old-item-face, newsticker-immortal-item-face)
17705         (newsticker-obsolete-item-face, newsticker-date-face)
17706         (newsticker-statistics-face): Change default family from
17707         helvetica to sans.
17708         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17709         etc/images/newsticker.
17711         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17712         (newsticker--process-auto-mark-filter-match): Tell user about
17713         auto-marking.
17715 2011-05-13  Didier Verna  <didier@xemacs.org>
17717         Common Lisp indentation improvements on defmethod and lambda-lists.
17718         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17719         TODO entries.
17720         (lisp-lambda-list-keyword-parameter-indentation)
17721         (lisp-lambda-list-keyword-parameter-alignment)
17722         (lisp-lambda-list-keyword-alignment): New customizable user options.
17723         (lisp-indent-defun-method): Improve docstring.
17724         (extended-loop-p): Fix comment.
17725         (lisp-indent-lambda-list-keywords-regexp): New variable.
17726         (lisp-indent-lambda-list): New function.
17727         (lisp-indent-259): Use it.
17728         (lisp-indent-defmethod): Support for more than one
17729         method qualifier and properly indent methods lambda-lists.
17730         (defgeneric): Provide a missing common-lisp-indent-function property.
17732 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17734         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17735         bounds for the empty string (bug#8667).
17737 2011-05-13  Glenn Morris  <rgm@gnu.org>
17739         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17741         * mail/sendmail.el (sendmail-program): Try executable-find first.
17742         (sendmail-send-it): `sendmail-program' cannot be unbound.
17744         * calendar/appt.el (appt-make-list): Simplify.
17745         (appt-time-msg-list): Doc fix.
17746         (appt-check): Change mode-line message at the time of the appointment.
17748 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17750         * progmodes/ld-script.el (ld-script-keywords)
17751         (ld-script-builtins): Update keywords list.
17753 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17755         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17757         * shell.el (shell-completion-vars): New function.
17758         (shell-mode):
17759         * simple.el (read-shell-command): Use it.
17760         (blink-matching-open): No need for " [...]" in minibuffer-message.
17762 2011-05-12  Glenn Morris  <rgm@gnu.org>
17764         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17765         (appt-check): Simplify.
17767 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
17769         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17770         literal "/dev/null".
17772 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17774         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17775         Fix typo.
17777 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
17779         * progmodes/which-func.el (which-function):
17780         Use add-log-current-defun instead of add-log-current-defun-function,
17781         which might not be defined (Bug#8260).
17783 2011-05-12  Glenn Morris  <rgm@gnu.org>
17785         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17786         Let byte-compile-initial-macro-environment always take precedence.
17788 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17790         * net/rcirc.el: Add support for SSL/TLS connections.
17791         (rcirc-server-alist): New field `encryption'.
17792         (rcirc): Check `encryption' settings.
17793         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
17794         Merge make-local-variable into `set'.
17795         (rcirc--connection-open-p): New function.
17796         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17797         the process is not a network process (e.g. running gnutls-cli).
17798         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17799         Make rcirc-(en|de)code-coding-system local here.
17800         (rcirc-mode): Merge make-local-variable into `set'.
17801         (rcirc-parent-buffer): Make permanent buffer-local.
17802         (rcirc-multiline-minor-mode): Don't do it here.
17803         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17804         there's no server buffer.
17806 2011-05-11  Glenn Morris  <rgm@gnu.org>
17808         * newcomment.el (comment-kill): Prefix "unused" local.
17810         * term/w32console.el (get-screen-color): Declare.
17812         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17813         Handle symbol elements of byte-compile-initial-macro-environment.
17815 2011-05-10  Leo Liu  <sdl.web@gmail.com>
17817         * bookmark.el (bookmark-bmenu-mode-map):
17818         Bind bookmark-bmenu-search to `/'.
17820         * mail/footnote.el: Convert to utf-8 encoding.
17821         (footnote-unicode-string, footnote-unicode-regexp): New variable.
17822         (Footnote-unicode): New function.
17823         (footnote-style-alist): Add unicode style to the list.
17824         (footnote-style): Doc fix.
17826 2011-05-10  Jim Meyering  <meyering@redhat.com>
17828         Fix doubled-word typos.
17829         * international/quail.el (quail-insert-kbd-layout): and and -> and
17830         * kermit.el: and and -> and
17831         * net/ldap.el (ldap-search-internal): to to -> to
17832         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17833         * progmodes/js.el (js-mode): and and -> and
17834         * textmodes/artist.el (artist-move-to-xy): at at -> at
17835         (artist-draw-region-trim-line-endings): if if -> if
17836         And Safetyc -> Safety.
17837         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17839 2011-05-10  Glenn Morris  <rgm@gnu.org>
17840             Stefan Monnier  <monnier@iro.umontreal.ca>
17842         * files.el (hack-one-local-variable-eval-safep):
17843         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
17845 2011-05-10  Glenn Morris  <rgm@gnu.org>
17847         * calendar/diary-lib.el (diary-list-entries-hook)
17848         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17849         (diary-nongregorian-marking-hook, diary-list-entries)
17850         (diary-include-other-diary-files, diary-mark-entries)
17851         (diary-mark-included-diary-files): Doc fixes.
17853 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17855         * misc.el: Require tabulated-list.el during compilation.
17857 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17859         * progmodes/compile.el (compilation-start):
17860         Run compilation-filter-hook for the async case too.
17861         (compilation-filter-hook): Doc fix.
17863 2011-05-09  Deniz Dogan  <deniz@dogan.se>
17865         * wdired.el: Remove outdated installation comment.  Fix usage
17866         comment.
17868 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17870         * misc.el: Implement new command `list-dynamic-libraries'.
17871         (list-dynamic-libraries--loaded-only-p): New variable.
17872         (list-dynamic-libraries--refresh): New function.
17873         (list-dynamic-libraries): New command.
17875 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17877         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17878         Fix the ant regexp to handle end-line and end-column info from jikes.
17879         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
17880         higher priority to avoid clobbering by gnu.
17882 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17884         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17885         if the face has existing theme settings (Bug#8454).
17887 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
17889         * progmodes/perl-mode.el (perl-imenu-generic-expression):
17890         Only match variables declared via `my' or `our' (Bug#8261).
17892         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17893         special file names `.' and `..' (Bug#8259).
17895 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17897         * progmodes/grep.el (grep-mode-font-lock-keywords):
17898         Remove buffer-changing entries.
17899         (grep-filter): New function.
17900         (grep-mode): Add it to compilation-filter-hook.
17902         * progmodes/compile.el (compilation-filter-hook)
17903         (compilation-filter-start): New defvars.
17904         (compilation-filter): Call compilation-filter-hook prior to
17905         updating the process mark.
17907 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17909         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17911 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
17913         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17914         mailclient-send-it even if window-system is nil.  (Bug#8595)
17916         * term/w32console.el (terminal-init-w32console):
17917         Call get-screen-color and use its output to set the frame
17918         background-mode.  (Bug#8597)
17920 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17922         Make bytecomp.el understand that defmethod defines funs (bug#8631).
17923         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17924         New functions.
17925         (defgeneric, eieio--defmethod): Use them.
17926         (eieio-defgeneric): Remove.
17927         (defmethod): Call defgeneric in a way visible to the byte-compiler.
17929 2011-05-07  Glenn Morris  <rgm@gnu.org>
17931         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17932         Use let rather than let*.
17933         (timeclock-find-discrep): Remove unused local.
17935         * calendar/diary-lib.el (diary-comment-start): Doc fix.
17937         * calendar/appt.el (appt-time-msg-list): Doc fix.
17939 2011-05-06  Noah Friedman  <friedman@splode.com>
17941         * apropos.el (apropos-print-doc): Only use
17942         emacs-lisp-docstring-fill-column when it is bound to an integer,
17943         per that variable's documentation.
17945 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17947         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17948         and warnings are not silently discarded (e.g. use -d instead of -P).
17950 2011-05-06  Glenn Morris  <rgm@gnu.org>
17952         * calendar/appt.el (appt-message-warning-time): Doc fix.
17953         (appt-warning-time-regexp): New option.
17954         (appt-make-list): Respect appt-message-warning-time.
17956         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17957         New options.
17958         (diary-add-to-list): Strip comments from the displayed string.
17959         (diary-mode): Set comment-start and comment-end.
17961         * vc/diff-mode.el (smerge-refine-subst): Declare.
17962         (diff-refine-hunk): Don't require smerge-mode when compiling.
17964 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
17966         * simple.el (list-processes): Return nil as the docstring says.
17968 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17970         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17971         to "".
17972         (ange-ftp-write-region, ange-ftp-insert-file-contents)
17973         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17974         determining of binary transfer.  (Bug#7383)
17976 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17978         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17979         Fix port computation bug.  (Bug#8618)
17981 2011-05-05  Glenn Morris  <rgm@gnu.org>
17983         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17985         * simple.el (shell-dynamic-complete-functions)
17986         (comint-dynamic-complete-functions): Declare.
17988         * net/network-stream.el (gnutls-negotiate):
17989         * simple.el (tabulated-list-print): Fix declarations.
17991         * progmodes/gud.el (syntax-symbol, syntax-point):
17992         Remove unnecessary and incorrect declarations.
17994         * emacs-lisp/check-declare.el (check-declare-scan):
17995         Handle byte-compile-initial-macro-environment in bytecomp.el
17997 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17999         Fix earlier half-done eieio-defmethod change (bug#8338).
18000         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18001         Streamline and change calling convention.
18002         (defmethod): Adjust accordingly and simplify.
18003         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18004         new eieio--defmethod.
18005         (slot-boundp): Minor CSE simplification.
18007 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
18009         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18010         (glasses-make-readable): Use glasses-separate-capital-groups.
18012 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
18014         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18015         (warning-series): Doc fix.
18016         (display-warning): Don't try to create the buffer if we just found it.
18018 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
18020         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18021         (autoload-find-generated-file): New function.
18022         (generate-file-autoloads): Bind generated-autoload-file to
18023         buffer-file-name.
18024         (update-file-autoloads, update-directory-autoloads):
18025         Use autoload-find-generated-file.  If called interactively, prompt for
18026         output file (Bug#7989).
18027         (batch-update-autoloads): Doc fix.
18029 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
18031         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18033 2011-05-04  Glenn Morris  <rgm@gnu.org>
18035         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18036         function, so it follows changes in calendar-date-style.
18037         (diary-fancy-date-matcher): New function.
18038         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18039         (diary-fancy-font-lock-fontify-region-function):
18040         Use diary-fancy-date-pattern as a function.
18042         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18043         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
18045 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
18047         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18048         instead of positional arguments.  Allow :keylist and :crlfiles
18049         arguments.
18050         (open-gnutls-stream): Call it.
18052         * net/network-stream.el (network-stream-open-starttls): Adjust to
18053         call `gnutls-negotiate' with :process and :hostname arguments.
18055 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18057         * minibuffer.el (completion--message): New function.
18058         (completion--do-completion, minibuffer-complete)
18059         (minibuffer-force-complete, minibuffer-complete-word): Use it.
18060         (completion--do-completion): Don't ignore completion-auto-help when in
18061         icomplete-mode.
18063         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18064         internal encoding (e.g. tibetan zero is not whitespace).
18065         (global-whitespace-mode): Prefer save-current-buffer.
18066         (whitespace-trailing-regexp): Remove useless save-match-data.
18067         (whitespace-empty-at-bob-regexp): Minor simplification.
18069 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
18071         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18073 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
18075         * textmodes/ispell.el (ispell-add-per-file-word-list):
18076         Use `concat' to create string for insertion.
18078 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18080         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18081         Avoid open-line which runs post-self-insert-hook.
18082         (bibtex-fill-entry): Remove unused `end' var.
18084 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
18086         * textmodes/ispell.el (ispell-add-per-file-word-list):
18087         Protect against `nil' value of `comment-start' (Bug#8579).
18089 2011-05-03  Leo Liu  <sdl.web@gmail.com>
18091         * isearch.el (isearch-yank-pop): New command.
18092         (isearch-mode-map): Bind it to `M-y'.
18093         (isearch-forward): Mention it.
18095 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18097         * simple.el (minibuffer-complete-shell-command): Remove.
18098         (minibuffer-local-shell-command-map): Use completion-at-point.
18099         (read-shell-command): Setup completion vars here instead.
18100         (read-expression-map): Bind TAB to symbol completion.
18102         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18103         error directly rather via storing it into `results'.
18105 2011-05-02  Leo Liu  <sdl.web@gmail.com>
18107         * vc/diff.el: Fix description.
18109 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18111         * server.el (server-eval-at): New function.
18113 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18115         * net/network-stream.el (open-network-stream): Take a :nowait
18116         parameter and pass it on to `make-network-process'.
18117         (network-stream-open-plain): Ditto.
18119 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18121         * faces.el (face-spec-set-match-display): Don't match toolkit
18122         options on terminal frames.
18124 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18126         * progmodes/pascal.el: Use lexical binding.
18127         (pascal-mode-map): Remove author preferences.
18129         * pcomplete.el (pcomplete-std-complete): Don't abuse
18130         completion-at-point.
18132 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18134         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18135         removing code that has been dead since 1991 or so.
18137         * startup.el (command-line): When warning about "_emacs", use a
18138         delayed warning to allow the user to filter it out.
18140 2011-04-28  Deniz Dogan  <deniz@dogan.se>
18142         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18143         user has not joined.
18145 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18147         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18148         aren't any completions at point.
18150 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18152         * subr.el (display-delayed-warnings): New function.
18153         (delayed-warnings-hook): New variable.
18155 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18157         * minibuffer.el (completion-at-point, completion-help-at-point):
18158         Don't presume that a given completion-at-point-function will always
18159         use the same calling convention.
18161         * pcomplete.el (pcomplete-completions-at-point):
18162         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
18163         pcomplete-seen is non-nil.
18164         (pcomplete-comint-setup): Also recognize the new comint/shell
18165         completion functions.
18166         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18167         pcomplete-seen is non-nil.
18169 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
18171         * calendar/icalendar.el (diary-lib): Add require statement.
18172         (icalendar--create-uid): Read out a uid from a text-property on
18173         the first character in the entry.  This allows for code to add its
18174         own uid to the entry.
18175         (icalendar--convert-float-to-ical): Add export of
18176         `diary-float'-entries save for those with the optional DAY
18177         argument.
18179 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
18181         * subr.el (shell-quote-argument): Use alternate escaping strategy
18182         when we spot a variable reference in a string.
18184 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18186         * cus-start.el (all): Define customization for debug-on-event.
18188 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18190         * subr.el (shell-quote-argument): Escape correctly under Windows.
18192 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18194         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18196 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
18198         * net/tramp.el (tramp-process-actions): Add POS argument.
18199         Delete region between POS and (pos).
18201         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18202         Use `nil' position in `tramp-process-actions' call.
18203         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18205         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18206         position in `tramp-process-actions' call.
18208         * net/trampver.el: Update release number.
18210 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18212         * custom.el (defcustom): Obey lexical-binding.
18214         Fix octave-inf completion problems reported by Alexander Klimov.
18215         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18216         Inherit from octave-mode-syntax-table.
18217         (inferior-octave-mode): Set info-lookup-mode.
18218         (inferior-octave-completion-at-point): New function.
18219         (inferior-octave-complete): Use it and completion-in-region.
18220         (inferior-octave-dynamic-complete-functions): Use it as well, and use
18221         comint-filename-completion.
18222         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18223         symbol elements which shouldn't be word elements.
18224         (octave-font-lock-keywords, octave-beginning-of-defun)
18225         (octave-function-header-regexp): Adjust regexps accordingly.
18226         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18228 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
18230         * net/gnutls.el (gnutls-errorp): Declare before first use.
18232 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
18234         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18235         verify-error, and verify-hostname-error parameters.  Check whether
18236         default trustfile exists before going to use it.  Add missing
18237         argument to gnutls-message-maybe call.  Return value.
18238         Reported by Claudio Bley <claudio.bley@gmail.com>.
18239         (open-gnutls-stream): Add usage example.
18241         * net/network-stream.el (network-stream-open-starttls): Give host
18242         parameter to `gnutls-negotiate'.
18243         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18244         * subr.el (shell-quote-argument): Escape correctly under Windows.
18246 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
18248         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18249         Use correct match group (bug#8438).
18251 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18253         * emacs-lisp/package.el (package-built-in-p): Fix typo.
18254         (package-menu--generate): New arg specifying packages to show.
18255         (package-menu-refresh, package-menu-execute, list-packages):
18256         Callers changed.
18257         (package-show-package-list): New function, replacing deleted
18258         package--list-packages (renamed because it is non-internal).
18260         * finder.el (finder-list-matches): Use package-show-package-list
18261         instead of deleted package--list-packages.
18263         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18264         Based on a previous implementation by Juanma Barranquero (Bug#8366).
18265         (vc-annotate-mode-map): Bind it to RET.
18267 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
18269         * progmodes/etags.el (next-file): Don't use set-buffer to change
18270         buffers (Bug#8478).
18272 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18274         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18276         * apropos.el (apropos-label-face): Avoid variable-pitch face.
18277         (apropos-accumulator): Doc fix.
18278         (apropos-function, apropos-macro, apropos-command)
18279         (apropos-variable, apropos-face, apropos-group, apropos-widget)
18280         (apropos-plist): Add face property.
18281         (apropos-symbols-internal): Fix indentation.
18282         (apropos-print): Simplify help, and recognize apropos-multi-type.
18283         (apropos-print-doc): Use button-type-get to extract the button's
18284         face property.  Fill docstring (Bug#8352).
18286 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
18288         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18290         * play/mpuz.el (mpuz-silent): Doc fix.
18291         (mpuz-mode-map): Use mapc.
18292         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18293         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18294         Fix typos in docstrings.
18296         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18297         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18299         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18301 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
18303         * minibuffer.el (completion--do-completion): Avoid the "Next char
18304         not unique" prompt if icomplete-mode is enabled (Bug#5849).
18306         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18307         mouse-2 into unread-command-events, it is interpreted correctly.
18309         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18310         (image-toggle-display): Doc fix.
18312 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
18314         * textmodes/page.el (what-page): Use line-number-at-pos to
18315         calculate line number (Bug#6825).
18317 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18319         * eshell/esh-mode.el (find-tag-interactive): Declare function.
18320         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18321         Pass argument NO-DEFAULT to `find-tag-interactive'.
18323 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18325         Lexical-binding cleanup.
18327         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18328         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18329         * progmodes/ada-prj.el (ada-prj-initialize-values)
18330         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18331         (ada-prj-show-value):
18332         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18333         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18334         (antlr-invalidate-context-cache, antlr-options-menu-filter)
18335         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18336         * progmodes/bug-reference.el (bug-reference-push-button):
18337         * progmodes/fortran.el (fortran-line-length):
18338         * progmodes/glasses.el (glasses-change):
18339         * progmodes/octave-mod.el (octave-fill-paragraph):
18340         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18341         (python-pdbtrack-grub-for-buffer, python-sentinel):
18342         * progmodes/sql.el (sql-save-connection):
18343         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18344         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18345         Mark unused parameters.
18347         * progmodes/compile.el (compilation--flush-directory-cache)
18348         (compilation--flush-parse, compile-internal): Mark unused parameters.
18349         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18350         (compilation-next-error-function): Remove unused variable `timestamp'.
18352         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18353         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18355         * progmodes/dcl-mode.el (dcl-end-of-command):
18356         Remove unused variable `start'.
18357         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18358         (dcl-option-value-basic, dcl-option-value-offset)
18359         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18360         Mark unused parameters.
18361         (dcl-save-local-variable): Remove unused variable `val'.
18362         (mode): Declare.
18364         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18365         Mark unused parameters.
18366         (delphi-ignore-changes): Move before first use.
18367         (delphi-charset-token-at): Remove unused variable `start'.
18368         (delphi-else-start): Remove unused variable `if-count'.
18369         (delphi-comment-block-start, delphi-comment-block-end):
18370         Remove unused variable `kind'.
18371         (delphi-indent-line): Remove unused variable `new-point'.
18373         * progmodes/ebrowse.el (ebrowse-files-list)
18374         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18375         Mark unused parameters.  Don't quote `lambda'.
18376         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18377         Don't quote `lambda'.
18378         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18379         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18380         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18381         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18382         Use `ignore-errors'.
18383         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18384         (ebrowse-view/find-file-and-search-pattern)
18385         (ebrowse-view/find-member-declaration/definition):
18386         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18387         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18388         Rename parameter PREFIX-ARG to PREFIX.
18389         (ebrowse-tags-read-name): Remove unused variables `start' and
18390         `member-info'.
18391         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18392         to `tags-file'.
18394         * progmodes/etags.el (local-find-tag-hook): Declare.
18395         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18396         Mark unused parameters.
18398         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18399         (executable-interpret): Mark unused parameter.
18401         * progmodes/flymake.el (flymake-process-sentinel)
18402         (flymake-after-change-function)
18403         (flymake-create-temp-with-folder-structure)
18404         (flymake-get-include-dirs-dot): Mark unused parameters.
18405         (flymake-safe-delete-directory): Remove unused variable `err'.
18407         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18408         (speedbar-timer-fn, speedbar-line-text)
18409         (speedbar-change-expand-button-char, speedbar-delete-subblock)
18410         (speedbar-center-buffer-smartly): Declare functions.
18411         (gdb-find-watch-expression): Remove unused variable `array'.
18412         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18413         (gdb-starting): Mark unused parameters.
18414         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18415         (gdb-table-string): Remove unused variable `res'.
18416         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18417         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18418         (gdb-display-buffer): Remove unused variable `cur-size'.
18420         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18421         allow lexical-binding compilation.
18422         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18423         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18424         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18425         Mark unused parameters.
18426         (gud-gdb-marker-filter): Remove unused variable `match'.
18427         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18428         lambda expressions and funcall them, instead of using `fset'.
18430         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18431         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18433         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18434         variable `header-beg'; use `let'.
18436         * progmodes/icon.el (indent-icon-exp): Remove unused variables
18437         `restart', `last-sexp' and `at-do'.
18439         * progmodes/js.el (js--debug): Mark unused parameter.
18440         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18441         (js--splice-into-items): Remove unused variable `item'.
18442         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18444         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18445         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18446         (makefile-complete): Remove unused variable `try'.
18447         (makefile-fill-paragraph, makefile-match-function-end):
18448         Mark unused parameters.
18450         * progmodes/octave-inf.el (inferior-octave-complete):
18451         Remove unused variable `proc'.
18452         (inferior-octave-output-digest): Mark unused parameter.
18454         * progmodes/perl-mode.el (perl-calculate-indent):
18455         Remove unused variable `err'.
18457         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18458         (prolog-indent-line): Mark unused parameters.
18459         (prolog-indent-line): Remove unused variable `beg'.
18461         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18462         (reporter-dont-compact-list): Declare.
18464         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18465         Remove unused variable `char'.
18466         (sh-debug): Mark unused parameter.
18467         (sh-get-indent-info): Remove unused variable `start'.
18468         (sh-calculate-indent): Remove unused variable `var'.
18470         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18471         (simula-electric-keyword): Remove unused variable `null'.
18472         (simula-search-backward, simula-search-forward): Remove unused
18473         variables `begin' and `end'.
18475         * progmodes/vera-mode.el (vera-guess-basic-syntax):
18476         Remove unused variable `pos'.
18477         (vera-electric-tab, vera-comment-uncomment-region):
18478         Mark unused parameters.
18479         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18481 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
18483         * emacs-lisp/package.el (package--builtins, package-alist)
18484         (package-load-descriptor, package-built-in-p, package-activate)
18485         (define-package, package-installed-p)
18486         (package-compute-transaction, package-buffer-info)
18487         (package--push): Doc fix.  Distinguish more clearly between
18488         version strings and version lists.
18490 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
18492         Lexical-binding cleanup.
18494         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18495         (5x5-make-mutate-best):
18496         * play/fortune.el (fortune-in-buffer):
18497         * play/gomoku.el (gomoku-init-display):
18498         * play/solitaire.el (solitaire, solitaire-do-check):
18499         * play/tetris.el (tetris-default-update-speed-function):
18500         Mark unused parameters.
18502         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18503         (bubbles--shift): Remove unused variable `char-org'.
18504         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
18505         (bubbles--show-images): Remove unused variable `char'.
18507         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18508         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18509         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18510         (decipher-analyze-buffer): Use ?\s.
18511         (decipher-make-checkpoint): Remove unused variable `mapping'.
18513         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18515         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18516         Remove unused variable `result'; use `let'.
18518         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18519         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18520         (gametree-children-shown-p, gametree-compute-reduced-score):
18521         Use `ignore-errors'.
18523         * play/handwrite.el (ps-lpr-switches): Declare.
18524         (handwrite): Remove unused variables `pmin' and `lastp'.
18526         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18528         * play/landmark.el (landmark-init-display)
18529         (landmark-update-naught-weights): Mark unused parameters.
18530         (landmark-y): Remove unused variable `noise'.  Simplify.
18531         (landmark-human-plays): Remove unused variable `score'.
18533         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18534         (mpuz-try-proposal): Remove unused variable `game'.
18536         * play/zone.el (life-patterns): Declare.
18538 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
18540         * vc/vc.el (ediff-vc-internal): Declare function.
18542 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18544         * shell.el: Use lexical-binding and std completion UI.
18545         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18546         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18547         comint-preoutput-filter-functions rather than on
18548         comint-output-filter-functions.
18549         (shell-command-completion, shell--command-completion-data)
18550         (shell-filename-completion, shell-environment-variable-completion)
18551         (shell-c-a-p-replace-by-expanded-directory): New functions.
18552         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18553         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18554         (shell-dynamic-complete-environment-variable): Use them.
18555         (shell-dynamic-complete-as-environment-variable)
18556         (shell-dynamic-complete-as-command): Remove.
18557         (shell-match-partial-variable): Match past point.
18558         * comint.el: Clean up use of completion-at-point-functions.
18559         (comint-completion-at-point): New function.
18560         (comint-mode): Use it completion-at-point-functions.
18561         (comint-dynamic-complete): Make it obsolete.
18562         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18563         (comint-c-a-p-replace-by-expanded-history): New function.
18564         (comint-dynamic-complete-functions)
18565         (comint-replace-by-expanded-history): Use it.
18566         * minibuffer.el (completion-table-with-terminator): Allow dynamic
18567         termination strings.  Try harder to avoid second try-completion.
18568         (completion-in-region-mode-map): Disable bindings that don't work yet.
18570         * comint.el: Use lexical-binding.  Require CL.
18571         (comint-dynamic-complete-functions): Use comint-filename-completion.
18572         (comint-completion-addsuffix): Tweak custom type.
18573         (comint-filename-completion, comint--common-suffix)
18574         (comint--common-quoted-suffix, comint--table-subvert)
18575         (comint--complete-file-name-data): New functions.
18576         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18577         (comint-dynamic-list-filename-completions): Use them.
18578         (comint-dynamic-simple-complete): Make obsolete.
18580         * minibuffer.el (completion-in-region-mode):
18581         Keep completion-in-region-mode--predicate global.
18582         (completion-in-region--postch):
18583         Assume completion-in-region-mode--predicate is not null.
18585         * progmodes/flymake.el (flymake-start-syntax-check-process):
18586         Obey `dir'.  Simplify.
18588         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18589         we're in VC after all.
18591 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
18593         * vc/vc.el (vc-diff-build-argument-list-internal)
18594         (vc-version-ediff, vc-ediff): New commands.
18595         (vc-version-diff): Use vc-diff-build-argument-list-internal.
18597 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18599         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18600         add sanity check.
18602         * obsolete/erc-hecomplete.el: Make obsolete.
18603         * obsolete/: Standardize obsolescence info in the header.
18605 2011-04-20  Glenn Morris  <rgm@gnu.org>
18607         * calendar/solar.el (solar-horizontal-coordinates):
18608         Use the longitude argument rather than `calendar-longitude'.
18609         (solar-date-next-longitude): Remove unused locals.
18611 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18613         * whitespace.el: New version 13.2.1.
18615 2011-04-20  felix  <EmacsWiki>  (tiny change)
18617         * whitespace.el (global-whitespace-mode): Keep highlight when
18618         switching between major modes on a file.
18620 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18622         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18623         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18624         multi-line comments as well.
18626 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
18628         Lexical-binding cleanup.
18630         * arc-mode.el (archive-mode-revert):
18631         * cmuscheme.el (scheme-interactively-start-process):
18632         * custom.el (custom-initialize-delay):
18633         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18634         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18635         * emacs-lock.el (emacs-lock-clear-sentinel):
18636         * ezimage.el (defezimage):
18637         * follow.el (follow-avoid-tail-recenter):
18638         * fringe.el (set-fringe-mode-1):
18639         * generic-x.el (bat-generic-mode-compile):
18640         * help-mode.el (help-info-variable, help-do-xref)
18641         (help-mode-revert-buffer):
18642         * help.el (view-emacs-todo):
18643         * iswitchb.el (iswitchb-completion-help):
18644         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18645         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18646         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18647         * locate.el (locate-update):
18648         * longlines.el (longlines-encode-region)
18649         (longlines-after-change-function):
18650         * outline.el (outline-isearch-open-invisible):
18651         * ps-def.el (declare-function, charset-dimension, char-width)
18652         (encode-char):
18653         * ps-mule.el (ps-mule-plot-string):
18654         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18655         (recentf-edit-list-select, recentf-edit-list-validate)
18656         (recentf-open-files-action):
18657         * rect.el (delete-whitespace-rectangle-line)
18658         (rectangle-number-line-callback):
18659         * register.el (window-configuration-to-register)
18660         (frame-configuration-to-register):
18661         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18662         * select.el (xselect-convert-to-string, xselect-convert-to-length)
18663         (xselect-convert-to-targets, xselect-convert-to-delete)
18664         (xselect-convert-to-filename, xselect-convert-to-charpos)
18665         (xselect-convert-to-lineno, xselect-convert-to-colno)
18666         (xselect-convert-to-os, xselect-convert-to-host)
18667         (xselect-convert-to-user, xselect-convert-to-class)
18668         (xselect-convert-to-name, xselect-convert-to-integer)
18669         (xselect-convert-to-atom, xselect-convert-to-identity):
18670         * subr.el (declare, ignore, process-kill-without-query)
18671         (text-clone-maintain):
18672         * terminal.el (te-get-char, te-tic-sentinel):
18673         * tool-bar.el (tool-bar-make-keymap):
18674         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18675         * type-break.el (type-break-mode, type-break-noninteractive-query):
18676         * view.el (View-back-to-mark):
18677         * wid-browse.el (widget-browse-action, widget-browse-widget)
18678         (widget-browse-widgets, widget-browse-sexp):
18679         * widget.el (define-widget-keywords):
18680         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18681         Mark unused parameters.
18683         * align.el (align-adjust-col-for-rule): Mark unused parameter.
18684         (align-areas): Remove unused variable `look'.
18685         (align-region): Remove unused variables `real-end' and `pos-list'.
18687         * apropos.el (apropos-score-doc): Remove unused variable `i'.
18689         * bindings.el (mode-line-modified, mode-line-remote):
18690         Mark unused parameters.
18691         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18693         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18694         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18696         * comint.el (comint-history-isearch-pop-state)
18697         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18698         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18699         (comint-substitute-in-file-name): Doc fix.
18701         * completion.el (cmpl-statistics-block): Mark unused parameter.
18702         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18703         (save-completions-to-file, load-completions-from-file):
18704         Remove unused local variable `e'.
18706         * composite.el (compose-chars): Remove unused variable `len'.
18707         (lgstring-insert-glyph): Remove unused variable `g'.
18708         (compose-glyph-string): Remove unused variables `ascent',
18709         `descent', `lbearing' and `rbearing'.
18710         (compose-glyph-string-relative): Remove unused variables
18711         `lbearing', `rbearing' and `wadjust'.
18712         (compose-gstring-for-graphic): Remove unused variables `header',
18713         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
18714         (compose-gstring-for-terminal): Remove unused variables `header'
18715         and `nchars'.  Use `let', not `let*'.
18717         * cus-edit.el (Custom-set, Custom-save, custom-reset)
18718         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18719         (Custom-buffer-done, custom-buffer-create-internal)
18720         (custom-browse-visibility-action, custom-browse-group-tag-action)
18721         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18722         (widget-magic-mouse-down-action, custom-toggle-parent)
18723         (custom-add-parent-links, custom-toggle-hide-variable)
18724         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18725         (custom-toggle-hide-face, face, hook, custom-group-link-action)
18726         (custom-face-menu-create, custom-variable-menu-create, get)
18727         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18728         (custom-reset-standard-save-and-update): Remove unused variable `value'.
18729         (customize-apropos): Remove unused variable `tests'.
18730         (custom-group-value-create): Remove unused variable `hidden-p'.
18731         (sort-fold-case): Declare.
18733         * cus-theme.el (custom-reset-standard-faces-list)
18734         (custom-reset-standard-variables-list): Declare.
18735         (customize-create-theme, custom-theme-revert, custom-theme-write)
18736         (custom-theme-choose-mode, customize-themes, custom-theme-save):
18737         Mark unused parameters.
18739         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18741         * delim-col.el (delimit-columns-max): Move defvar before first use.
18743         * descr-text.el (describe-char-categories): Don't quote `lambda'.
18744         (describe-char): Don't quote `lambda'.  Mark unused parameter.
18746         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18747         (auto-insert): Declare.
18748         (desktop-restore-file-buffer): Rename desktop-* parameters;
18749         mark unused ones.
18750         (desktop-create-buffer): Rename desktop-* parameters and bind them.
18751         (desktop-buffer): Rename desktop-* parameters.
18753         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18754         (dframe-reposition-frame-xemacs, dframe-help-echo)
18755         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18756         Mark unused parameters.
18758         * dired-aux.el (backup-extract-version-start, overwrite-query)
18759         (overwrite-backup-query, rename-regexp-query)
18760         (rename-non-directory-query): Declare.
18761         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18762         (dired-add-entry): Remove unused variable `orig-file-name'.
18763         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18764         Use parameter PRESERVE-TIME instead of accessing dynamic variable
18765         `dired-copy-preserve-time' directly.
18766         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18767         (dired-insert-subdir-newpos): Rename unused variable `pos'.
18769         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18770         (dired-virtual-revert, dired-make-relative-symlink):
18771         Mark unused parameters.
18772         (manual-program): Declare.
18773         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18774         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18775         wrapped in `with-no-warnings' to avoid replacing one warning by another.
18777         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18779         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18781         * echistory.el (electric-history-in-progress, Helper-return-blurb):
18782         Declare.
18784         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18786         * electric.el (Electric-command-loop): Rename parameter
18787         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18789         * expand.el (expand-in-literal): Remove unused variable `here'.
18791         * facemenu.el (facemenu-add-new-color):
18792         Remove unused variable `docstring'.
18794         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18795         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18796         (face-attr-construct): Mark unused parameter.  Doc fix.
18797         (read-color): Remove unused variable `hex-string'.
18799         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18800         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18801         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18802         (display-buffer-other-frame): Remove unused variable `old-window'.
18803         (kill-buffer-hook): Declare.
18804         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18805         Mark unused parameters.
18806         (after-find-file): Pass 1 to `auto-save-mode', not t.
18808         * files-x.el (auto-insert): Declare.
18809         (modify-file-local-variable-prop-line): Remove unused variable `val'.
18811         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18812         variable `buf'.  Mark unused parameter.
18813         (find-lisp-insert-directory): Mark unused parameter.
18815         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18816         (format-encode-region): Remove unused variables `cur-buf' and `result'.
18817         (format-common-tail): Remove, unused.
18818         (format-deannotate-region): Remove unused variable `loc'.
18819         (format-annotate-region): Remove unused variable `p'.
18820         (format-annotate-single-property-change): Remove unused variables
18821         `default' and `tail'.
18823         * forms.el (read-file-filter): Declare.
18824         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18826         * frame.el (frame-creation-function-alist): Mark unused parameter.
18827         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18829         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18830         Remove unused parameters.
18831         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18832         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18834         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18835         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18836         (hfy-prepare-tag-map): Mark unused parameters.
18837         (htmlfontify-buffer): Use `called-interactively-p'.
18839         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18840         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18841         (ibuffer-do-occur): Mark unused parameters.
18842         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18843         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18845         * ibuffer.el: Don't quote `lambda'.
18846         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18847         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18848         Mark unused parameters.
18850         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18851         (ido-completing-read): Mark unused parameters.
18852         (ido-copy-current-word): Mark unused parameters;
18853         remove unused variable `name'.
18854         (ido-sort-merged-list): Remove unused parameter `dirs'.
18856         * ielm.el (ielm-input-sender): Mark unused parameter.
18857         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18858         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18859         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18860         `ielm-string' as a dynamic variable accessible from the IELM prompt.
18861         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
18863         * image-dired.el (image-dired-display-thumbs): Remove unused
18864         variables `curr-file' and `count'.
18865         (image-dired-remove-tag): Remove unused variable `start'.
18866         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18867         variable `curr-file'
18868         (image-dired-rotate-original): Remove unused variable `temp-file'.
18869         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18870         Remove unused variable `file'.
18871         (image-dired-gallery-generate): Remove unused variable `curr'.
18872         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18874         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18876         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18878         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18880         * isearch.el (minibuffer-history-symbol): Declare.
18881         (isearch-edit-string): Remove unused variable `err'.
18882         (isearch-message-prefix, isearch-message-suffix):
18883         Mark unused parameters.
18885         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18887         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18889         * makesum.el (double-column): Remove unused variable `cnt'.
18891         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18892         (ido-ignore-item-temp-list): Declare.
18894         * mouse-drag.el (mouse-drag-throw): Remove unused variables
18895         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18896         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18897         (mouse-drag-drag): Remove unused variables `mouse-delta' and
18898         `mouse-col-delta'.
18900         * mouse-sel.el (mouse-extend-internal):
18901         Remove unused variable `orig-window-frame'.
18903         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18904         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18905         Move declarations before first use.
18906         (pcomplete-opt): Mark unused parameters; doc fix.
18908         * proced.el (proced-revert): Mark unused parameter.
18909         (proced-send-signal): Remove unused variable `err'.
18911         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18912         Rename parameter PREFIX-ARG to ARG.
18913         (ps-basic-plot-string, ps-basic-plot-whitespace):
18914         Mark unused parameters.
18916         * replace.el (replace-count): Define.
18917         (occur-revert-function): Mark unused parameters.
18918         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18919         (isearch-case-fold-search, isearch-string): Declare.
18920         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18921         bind `case-fold-search'.  Remove unused variables `beg' and `end',
18922         and simplify.
18923         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18924         COUNT and bind `replace-count'.
18925         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18926         to COUNT.
18928         * savehist.el (print-readably, print-string-length): Declare.
18930         * shadowfile.el (shadow-expand-cluster-in-file-name):
18931         Remove unused variable `cluster'.
18932         (shadow-copy-file): Remove unused variable `i'.
18933         (shadow-noquery, shadow-clusters, shadow-site-cluster)
18934         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18935         (shadow-define-literal-group, shadow-define-regexp-group)
18936         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18938         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18939         (shell): Use `called-interactively-p'.
18940         (shell-directory-tracker): Remove unused variable `chdir-failure'.
18942         * simple.el (compilation-context-lines, comint-file-name-quote-list)
18943         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18944         (delete-backward-char): Remove unused variable `ocol'.
18945         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18946         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18947         (event-apply-hyper-modifier, event-apply-shift-modifier)
18948         (event-apply-control-modifier, event-apply-meta-modifier):
18949         Mark unused parameters.
18950         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18951         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18953         * speedbar.el (speedbar-ignored-directory-expressions)
18954         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18955         (speedbar-find-file, speedbar-dir-follow)
18956         (speedbar-directory-buttons-follow, speedbar-tag-find)
18957         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18958         (speedbar-buffers-line-directory, speedbar-buffer-click):
18959         Mark unused parameters.
18960         (speedbar-tag-file): Remove unused variable `mode'.
18961         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18963         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18965         * talk.el (talk): Remove unused variable `display'.
18967         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18968         (tar-write-region-annotate): Mark unused parameter.
18970         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18971         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18972         Declare them, wrapped in `with-no-warnings' to avoid replacing one
18973         warning by another.
18975         * time-stamp.el (time-stamp-string-preprocess):
18976         Remove unused variable `require-padding'.
18978         * tree-widget.el (widget-glyph-enable): Declare.
18979         (tree-widget-action): Mark unused parameter.
18981         * w32-fns.el (x-get-selection): Mark unused parameter.
18982         (autoload-make-program, generated-autoload-file): Declare.
18984         * wdired.el (wdired-revert): Mark unused parameters.
18985         (wdired-xcase-word): Remove unused variable `err'.
18987         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18988         (whitespace-help-scroll): Remove unused variable `data-help'.
18990         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18991         (widget-image-insert, widget-after-change, default)
18992         (widget-default-format-handler, widget-default-notify)
18993         (widget-default-prompt-value, widget-info-link-action)
18994         (widget-url-link-action, widget-function-link-action)
18995         (widget-variable-link-action, widget-file-link-action)
18996         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18997         (widget-field-prompt-internal, widget-field-action, widget-field-match)
18998         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18999         (widget-insert-button-action, widget-delete-button-action, visibility)
19000         (widget-documentation-link-action, widget-documentation-string-action)
19001         (widget-const-prompt-value, widget-regexp-match, symbol)
19002         (widget-coding-system-prompt-value)
19003         (widget-key-sequence-value-to-external, sexp)
19004         (widget-sexp-value-to-internal, character, vector, cons)
19005         (widget-choice-prompt-value, widget-boolean-prompt-value)
19006         (widget-color--choose-action): Mark unused parameters.
19007         (widget-item-match-inline, widget-choice-match-inline)
19008         (widget-checklist-match, widget-checklist-match-inline)
19009         (widget-group-match): Rename parameter VALUES to VALS.
19010         (widget-field-value-set): Remove unused variable `size'.
19011         (widget-color-action): Remove unused variables `value' and `start'.
19013         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19014         variable `dir'.  Doc fix.
19015         (windmove-find-other-window): Don't pass it.
19017         * window.el (count-windows): Mark unused parameter.
19018         (bw-adjust-window): Remove unused variable `err'.
19020         * woman.el (woman-file-name): Remove unused variable `default'.
19021         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19022         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19023         (global-font-lock-mode): Declare.
19024         (woman-decode-region): Mark unused parameter.
19025         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19027         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19028         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19029         (x-dnd-handle-moz-url): Remove unused variable `title'.
19030         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19032         * xml.el (xml-parse-tag, xml-parse-attlist):
19033         Remove unused variable `pos'.
19035 2011-04-19  Glenn Morris  <rgm@gnu.org>
19037         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19038         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19039         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19040         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19041         * calendar/cal-html.el (cal-html-insert-minical):
19042         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19043         (calendar-mark-date-pattern):
19044         Prefix "unused" locals.
19046         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19047         optional argument `style'.
19049         * calendar/appt.el (appt-make-list):
19050         * calendar/cal-china.el (calendar-chinese-date-string):
19051         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19052         (diary-hebrew-yahrzeit):
19053         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19054         * calendar/calendar.el (calendar-generate-window):
19055         * calendar/time-date.el (time-to-days):
19056         Remove unused local variables.
19058 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
19060         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19061         glyphless-char-display table.
19062         (tabulated-list-glyphless-char-display): New var.
19064 2011-04-18  Sam Steingold  <sds@gnu.org>
19066         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19067         to acknowledgments.
19069 2011-04-17  Glenn Morris  <rgm@gnu.org>
19071         * calendar/diary-lib.el (diary-sexp-entry):
19072         * calendar/holidays.el (holiday-sexp):
19073         Set debug-on-error rather than the removed stack-trace-on-error.
19075 2011-04-16  Glenn Morris  <rgm@gnu.org>
19077         * progmodes/f90.el: Use lexical-binding.
19078         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19080 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19082         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19083         (mail-mode): Setup mailalias completion here instead.
19084         * mail/mailalias.el: Use lexical-binding.
19085         (pattern, mailalias-done): Declare dynamic.
19086         (mail-completion-at-point-function): New function, from mail-complete.
19087         (mail-complete): Use it.
19088         (mail-completion-expand): New function.
19089         (mail-get-names): Use it.
19090         (mail-directory, mail-directory-process, mail-directory-stream):
19091         Don't use `pattern' for lexically bound arg.
19093         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19095         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19096         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19097         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19099         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19100         (byte-save-window-excursion, byte-temp-output-buffer-setup)
19101         (byte-interactive-p): Define them again, for use when inlining
19102         old code.
19104 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
19106         * loadup.el: Use `string-to-number', not `string-to-int'.
19108 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19110         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19111         gud-gdb-complete-command.
19112         (gud-gdb-completions): New function, from gud-gdb-complete-command.
19113         (gud-gdb-completion-at-point): New function.
19114         (gud-gdb-completions): Remove.
19116 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
19118         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19119         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
19120         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19121         whether `executable-find' is bound.
19123         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19125 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19127         * minibuffer.el (completion-in-region-mode-predicate)
19128         (completion-in-region-mode--predicate): New vars.
19129         (completion-in-region, completion-in-region--postch)
19130         (completion-in-region-mode): Use them.
19131         (completion--capf-wrapper): Also return the hook function.
19132         (completion-at-point, completion-help-at-point):
19133         Adjust and provide a predicate.
19135         Preserve arg names for advice of subr and lexical functions (bug#8457).
19136         * help-fns.el (help-function-arglist): Consolidate the subr and
19137         new-byte-code cases.  Add argument `preserve-names' to extract names
19138         from the docstring when needed.
19139         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19140         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19141         (ad-arglist): Use help-function-arglist's new arg.
19142         (ad-definition-type): Use cond.
19144 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
19146         * autorevert.el (auto-revert-handler):
19147         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19148         which was removed in revno:101730 (2010-10-02).
19149         Don't quote lambda.
19151         * image-mode.el (image-transform-set-scale):
19152         Fix change in revno:103877 (2011-04-09).
19154 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19156         * net/network-stream.el (network-stream-open-starttls): Only do
19157         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19158         Upgrades via gnutls-cli are too slow to be done opportunistically.
19160 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
19162         * dframe.el (dframe-current-frame): Remove spurious quote.
19164 2011-04-12  Glenn Morris  <rgm@gnu.org>
19166         * calendar/cal-tex.el (cal-tex-end-document):
19167         Try to automatically use latin1 input if needed.
19169         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19170         Don't try to cons a mark onto an empty element.
19172 2011-04-11  Leo Liu  <sdl.web@gmail.com>
19174         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19175         buffers.
19176         (ido-kill-buffer-at-head): Support killing virtual buffers.
19178 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
19180         * minibuffer.el (completion-show-inline-help): New var.
19181         (completion--do-completion, minibuffer-complete)
19182         (minibuffer-force-complete, minibuffer-complete-word):
19183         Inhibit minibuffer messages if completion-show-inline-help is nil.
19185         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19186         to avoid interference from inline help (Bug#5849).
19188 2011-04-10  Leo Liu  <sdl.web@gmail.com>
19190         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19191         Fix typo.
19193 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
19195         * image-mode.el (image-toggle-display-image): Signal an error if
19196         not in Image mode.
19197         (image-transform-mode, image-transform-resize)
19198         (image-transform-set-rotation): Doc fix.
19199         (image-transform-set-resize): Delete.
19200         (image-transform-set-scale, image-transform-fit-to-height)
19201         (image-transform-fit-to-width): Handle image-toggle-display-image
19202         and image-transform-resize directly.
19204 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
19206         * doc-view.el (doc-view-fit-width-to-window)
19207         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19208         New functions for fitting the shown image to the Emacs window size.
19209         (doc-view-mode-map): Add bindings for the new functions.
19211 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
19213         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19214         Fix typo in docstring.
19216 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19218         * files.el (file-size-human-readable): Produce one digit after
19219         decimal, like "ls -lh" does.
19221         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19222         the file size representation.
19224         * simple.el (list-processes): If async subprocesses are not
19225         available, error out with a clear error message.
19227 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
19229         * help.el (help-form-show): New function, to be called from C.
19230         Put help-form output in a buffer named differently than *Help*.
19232 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19234         * files.el (file-size-human-readable): New function.
19236         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19237         computing the representation inline.  Don't require `cl'.
19239 2011-04-08  Glenn Morris  <rgm@gnu.org>
19241         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19243         * net/browse-url.el (browse-url-firefox):
19244         Test system-type, not system-configuration.
19246         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19247         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19248         Use log-edit-empty-buffer-p.  (Bug#7598)
19250         * net/rlogin.el (rlogin-process-connection-type): Simplify.
19251         (rlogin-mode-map): Initialize in the defvar.
19252         (rlogin): Use ignore-errors.
19254         * replace.el (occur-mode-map): Some fixes for menu items.
19256 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
19258         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
19260 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19262         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19263         issuing unused warnings.
19265         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19266         macro directly.
19268         * simple.el: Lisp reimplement of list-processes.  Based on an
19269         earlier reimplementation by Leo Liu, but using tabulated-list.el.
19270         (process-menu-mode): New major mode.
19271         (list-processes--refresh, list-processes):
19272         (process-menu-visit-buffer): New functions.
19274         * files.el (save-buffers-kill-emacs): Don't assume any return
19275         value of list-processes, which is undocumented anyway.
19277 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19279         * emacs-lisp/tabulated-list.el: New file.
19281         * emacs-lisp/package.el: Use Tabulated List mode.
19282         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19283         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
19284         table format using Tabulated List mode variables.
19285         (package--push): New macro, replacing package-list-maybe-add.
19286         (package-menu--generate): Use package--push.  Renamed from
19287         package--generate-package-list.
19288         (package-menu-refresh, list-packages): Use it.
19289         (package-menu--print-info): Rename from package-print-package.
19290         Return insertion data instead of inserting it directly.
19291         (package-menu-describe-package, package-menu-execute):
19292         Use tabulated-list-get-id.
19293         (package-menu-mark-delete, package-menu-mark-install)
19294         (package-menu-mark-unmark, package-menu-backup-unmark)
19295         (package-menu-mark-obsolete-for-deletion):
19296         Use tabulated-list-put-tag.
19297         (package--list-packages, package-menu-revert)
19298         (package-menu-get-package, package-menu-get-version)
19299         (package-menu-sort-by-column): Functions deleted.
19300         (package-menu-package-list, package-menu-sort-key): Vars deleted.
19301         (package-menu--status-predicate, package-menu--version-predicate)
19302         (package-menu--name-predicate)
19303         (package-menu--description-predicate): Handle arguments in the
19304         Tabulated List format.
19305         (package-list-packages-no-fetch): Call list-packages.
19307 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
19309         * files.el (after-find-file-from-revert-buffer): Remove variable.
19310         (after-find-file): Don't bind it.
19311         (revert-buffer-in-progress-p): New variable.
19312         (revert-buffer): Bind it.
19313         Pass nil for `after-find-file-from-revert-buffer'.
19315         * saveplace.el (save-place-find-file-hook): Use new variable
19316         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19318 2011-04-06  Glenn Morris  <rgm@gnu.org>
19320         * Makefile.in (AUTOGEN_VCS): New variable.
19321         (autoloads): Use $AUTOGEN_VCS.
19323         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19324         * calendar/calendar.el (calendar-mode-map):
19325         Check for toolkit scroll bars.  (Bug#8305)
19327 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19329         * minibuffer.el (completion-in-region--postch)
19330         (completion-in-region-mode): Remove unnecessary messages.
19332 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
19334         * font-lock.el (font-lock-refresh-defaults):
19335         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19336         revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
19338         * info.el (Info-directory-list, Info-read-node-name-2)
19339         (Info-split-parameter-string): Doc fixes.
19340         (Info-virtual-nodes): Reflow docstring.
19341         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19342         (Info-apropos-toc-nodes, info-finder, Info-get-token)
19343         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19344         Fix typos in docstrings.
19345         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19346         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19347         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19348         (Info-restore-desktop-buffer): Mark unused parameters.
19349         (Info-directory-find-file, Info-directory-find-node)
19350         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19351         (Info-virtual-index-find-node, Info-apropos-find-file)
19352         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19353         Mark unused parameters; fix typos in docstrings.
19354         (Info-virtual-index): Remove unused local variable `nodename'.
19356 2011-04-05  Deniz Dogan  <deniz@dogan.se>
19358         * net/rcirc.el: Update my e-mail address.
19359         (rcirc-mode-map): Remove M-o binding.
19361 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19363         * startup.el (command-line): Save the cursor's theme-face
19364         directly, instead of using face-override-spec.
19366         * custom.el (load-theme): Minor optimization in assigning faces.
19368 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19370         * help-fns.el (describe-variable): Complete all variables having
19371         documentation, including keywords.
19372         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19374 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19376         Convert to lexical-binding.
19378         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19379         (bs--get-marked-string, bs--get-modified-string)
19380         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19381         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19382         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19384         * ehelp.el (electric-help-execute-extended)
19385         (electric-help-ctrl-x-prefix):
19386         * hexl.el (hexl-revert-buffer-function):
19387         * linum.el (linum-after-change, linum-after-scroll):
19388         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19390         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19392 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
19394         * epa-dired.el:
19395         * epa-mail.el:
19396         * epa-hook.el:
19397         * epa-file.el:
19398         * epa.el:
19399         * epg.el: Use lexical binding.
19401 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
19403         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19405         * textmodes/flyspell.el (flyspell-word): Recognize default
19406         dictionary case for flyspell-mark-duplications-exceptions.
19407         Use regexp matching for languages.
19408         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19409         default dictionary (Bug#7926).
19411 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
19413         * emacs-lisp/package.el (package--with-work-buffer):
19414         Recognize https URLs.
19416         * net/network-stream.el: Move from gnus/proto-stream.el.
19417         Change prefix to network-stream throughout.
19418         (open-protocol-stream): Merge into open-network-stream, leaving
19419         open-protocol-stream as an alias.  Handle nil BUFFER args.
19421         * subr.el (open-network-stream): Move to net/network-stream.el.
19423 2011-04-02  Glenn Morris  <rgm@gnu.org>
19425         * find-dired.el (find-exec-terminator): New option.
19426         (find-ls-option): Test for -ls support.
19427         (find-ls-subdir-switches): Test for -b in find-ls-option.
19428         (find-dired, find-grep-dired): Doc fixes.
19429         (find-dired): Use find-exec-terminator.
19431         * find-dired.el (find-ls-option, find-ls-subdir-switches)
19432         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19433         (find-name-arg): Remove purecopy.
19435         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19436         (grep-compute-defaults): Check for `-exec COMMAND +' support.
19437         Set grep-find-use-xargs, grep-find-command, and grep-find-template
19438         accordingly.  Don't add the null-device if not needed.
19440         * files.el (save-some-buffers): Doc fix.
19442 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
19444         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19446 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
19448         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19449         Use `dolist' rather than `mapcar'.
19451 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19453         Add lexical binding.
19455         * subr.el (apply-partially): Use new closures rather than CL.
19456         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19457         (dolist, dotimes): Use slightly different expansion for lexical code.
19458         (functionp): Move to C.
19459         (letrec): New macro.
19460         (with-wrapper-hook): Use it and apply-partially instead of CL.
19461         (eval-after-load): Preserve lexical-binding.
19462         (save-window-excursion, with-output-to-temp-buffer): Turn them
19463         into macros.
19465         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19467         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19468         than the arglist.
19469         (help-add-fundoc-usage): Don't add `Not documented'.
19470         (help-function-arglist): Handle closures, subroutines, and new
19471         byte-code-functions.
19472         (help-make-usage): Remove leading underscores.
19473         (describe-function-1): Handle closures.
19474         (describe-variable): Use special-variable-p for completion.
19476         * files.el (lexical-binding): Declare safe.
19478         * emacs-lisp/pcase.el: Don't use destructuring-bind.
19479         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
19480         (pcase): Add `let' pattern.
19481         Change memoization so it actually works.
19482         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19483         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19484         <let>: New case.
19486         * emacs-lisp/macroexp.el: Use lexical binding.
19487         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
19488         Don't convert ' to #' without checking that it's indeed quoting
19489         a lambda.
19491         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19492         Use eval-sexp-add-defvars.
19493         (eval-sexp-add-defvars): New fun.
19495         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19497         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19498         Don't autoload.
19499         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19500         than the internal `byte-compile-lambda'.
19501         (defmethod): Don't hide code under quotes.
19502         (eieio-defmethod): New `code' argument.
19504         * emacs-lisp/eieio-comp.el: Remove.
19506         * emacs-lisp/edebug.el (edebug-eval-defun)
19507         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19508         (edebug-toggle): Avoid `eval'.
19510         * emacs-lisp/disass.el (disassemble-internal): Handle new
19511         `closure' objects.
19512         (disassemble-1): Handle new byte codes.
19514         * emacs-lisp/cl.el (pushnew): Silence warning.
19516         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19517         (cl-byte-compile-throw): Remove.
19518         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19520         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19521         closures.
19523         * emacs-lisp/cconv.el: New file.
19525         * emacs-lisp/bytecomp.el: Use lexical binding instead of
19526         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
19527         (byte-compile-initial-macro-environment):
19528         Handle declare-function here.
19529         (byte-compile--lexical-environment): New var.
19530         (byte-stack-ref, byte-stack-set, byte-discardN)
19531         (byte-discardN-preserve-tos): New lap codes.
19532         (byte-interactive-p): Don't use any more.
19533         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19534         New macros.
19535         (byte-compile-lapcode): Use them and handle new lap codes.
19536         (byte-compile-obsolete): Remove.
19537         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19538         (byte-compile-arglist-warn): Check late def of inlinable funs.
19539         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19540         since they should have been expanded by now.
19541         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19542         (byte-compile-from-buffer): Remove unused second arg.
19543         (byte-compile-preprocess): New function.
19544         (byte-compile-toplevel-file-form): New function to distinguish
19545         file-form calls from outside from file-form calls from hunk-handlers.
19546         (byte-compile-file-form): Simplify.
19547         (byte-compile-file-form-defsubst): Remove.
19548         (byte-compile-file-form-defmumble): Simplify now that
19549         byte-compile-lambda always returns a byte-code-function.
19550         (byte-compile): Preprocess.
19551         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19552         Remove, not used any more.
19553         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19554         (byte-compile-make-args-desc): New funs.
19555         (byte-compile-lambda): Handle lexical functions.  Always return
19556         a byte-code-function.
19557         (byte-compile-reserved-constants): New var, to make up room for
19558         closed-over variables.
19559         (byte-compile-constants-vector): Obey it.
19560         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19561         (byte-compile-macroexpand-declare-function): New function.
19562         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19563         byte-code-functions.
19564         (byte-compile-form): Check obsolescence here.
19565         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19566         (byte-compile-variable-ref): Remove.
19567         (byte-compile-dynamic-variable-op): New fun.
19568         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19569         (byte-compile-variable-set): New funs.
19570         (byte-compile-discard): Add 2 args.
19571         (byte-compile-stack-ref, byte-compile-stack-set)
19572         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19573         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19574         macroexpand-all instead.
19575         (byte-compile-quote-form): Remove.
19576         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19577         (byte-compile-bind, byte-compile-unbind): New funs.
19578         (byte-compile-let): Handle let* and lexical binding.
19579         (byte-compile-let*): Remove.
19580         (byte-compile-catch, byte-compile-unwind-protect)
19581         (byte-compile-track-mouse, byte-compile-condition-case):
19582         Handle a new :fun-body form, used for lexical scoping.
19583         (byte-compile-save-window-excursion)
19584         (byte-compile-with-output-to-temp-buffer): Remove.
19585         (byte-compile-defun): Simplify.
19586         (byte-compile-stack-adjustment): New fun.
19587         (byte-compile-out): Use it.
19588         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19590         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19591         handler any more.
19593         * emacs-lisp/byte-opt.el: Use lexical binding.
19594         (byte-inline-lapcode): Remove (to bytecomp).
19595         (byte-compile-inline-expand): Pay attention to inlining to/from
19596         lexically bound code.
19597         (byte-compile-unfold-lambda): Don't handle byte-code-functions
19598         any more.
19599         (byte-optimize-form-code-walker): Don't handle save-window-excursion
19600         any more and don't call compiler-macros.
19601         (byte-compile-splice-in-already-compiled-code): Remove.
19602         (byte-code): Don't inline any more.
19603         (disassemble-offset): Receive `bytes' as argument rather than via
19604         dynamic scoping.
19605         (byte-compile-tag-number): Declare before first use.
19606         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19607         `return' even if make-spliceable.
19608         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19609         obsolete interactive-p.
19610         (byte-optimize-lapcode): Optimize new lap-codes.
19611         Don't trip up on new form of `byte-constant' lap code.
19613         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19615         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19617         * custom.el (custom-initialize-default, custom-declare-variable):
19618         Use `defvar'.
19620         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19621         New variables.
19622         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19623         (COMPILE_FIRST): Add macroexp and cconv.
19624         * makefile.w32-in: Mirror changes in Makefile.in.
19626         * vc/cvs-status.el:
19627         * vc/diff-mode.el:
19628         * vc/log-edit.el:
19629         * vc/log-view.el:
19630         * vc/smerge-mode.el:
19631         * textmodes/bibtex-style.el:
19632         * textmodes/css-mode.el:
19633         * startup.el:
19634         * uniquify.el:
19635         * minibuffer.el:
19636         * newcomment.el:
19637         * reveal.el:
19638         * server.el:
19639         * mpc.el:
19640         * emacs-lisp/smie.el:
19641         * doc-view.el:
19642         * dired.el:
19643         * abbrev.el: Use lexical binding.
19645 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
19647         * info.el (info-display-manual): New function.
19649 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19651         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19653 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
19655         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19656         an entry for that server in rcirc-authinfo.  (Bug#8385)
19658 2011-03-31  Glenn Morris  <rgm@gnu.org>
19660         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19662         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19664 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
19666         * progmodes/python.el (python-default-interpreter)
19667         (python-python-command-args, python-jython-command-args)
19668         (python-which-shell, python-which-args, python-which-bufname)
19669         (python-file-queue, python-comint-output-filter-function)
19670         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19671         variables and functions.
19673 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19675         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19676         (completion-in-region-mode): New minor mode.
19677         (completion-in-region): Use it.
19678         (completion-in-region--data, completion-in-region-mode-map): New vars.
19679         (completion-in-region--postch): New function.
19680         (completion--capf-misbehave-funs, completion--capf-safe-funs):
19681         New vars.
19682         (completion--capf-wrapper): New function.
19683         (completion-at-point): Use it to track well-behavedness of
19684         hook functions.
19685         (completion-help-at-point): New command.
19687 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
19689         * vc/add-log.el (add-change-log-entry): Don't use whitespace
19690         syntax class to search for whitespace on a single line
19691         (Message-ID: <4D938140.4030905@redhat.com>).
19693 2011-03-30  Leo Liu  <sdl.web@gmail.com>
19695         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19696         New commands.
19697         (edit-abbrevs-map): Bind them here.
19698         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
19700 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
19702         * allout.el (allout-hide-by-annotation, allout-flag-region):
19703         Reduce possibility of overlay leakage by making them volatile.
19705         * allout-widgets.el (allout-widgets-tally): Define as nil so the
19706         hash is not shared between buffers.  Mode initialization is
19707         responsible for giving it a useful starting value.
19708         (allout-item-span): Reduce possibility of overlay leakage by
19709         making them volatile.
19710         (allout-widgets-count-buttons-in-region): Add diagnostic function
19711         for tracking down button overlay leaks.
19713 2011-03-29  Leo Liu  <sdl.web@gmail.com>
19715         * ido.el (ido-read-internal): Use the default history var
19716         minibuffer-history if no HISTORY is specified.
19718 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
19720         * net/imap.el (imap-shell-open, imap-process-connection-type):
19721         Use imap-process-connection-type for 'shell' streams as well as
19722         Kerberos, SSL, other subprocesses.
19724 2011-03-28  Leo Liu  <sdl.web@gmail.com>
19726         * abbrev.el (abbrev-table-empty-p): New function.
19727         (prepare-abbrev-list-buffer): Place empty abbrev tables after
19728         nonempty ones.  (Bug#5937)
19730 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
19732         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19734 2011-03-27  Leo Liu  <sdl.web@gmail.com>
19736         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19737         for foreground and background colors.
19738         (ansi-color-make-color-map): Adapt.
19740 2011-03-25  Leo Liu  <sdl.web@gmail.com>
19742         * midnight.el (midnight-time-float): Remove.  Note it calculates
19743         the microsecond component incorrectly and seconds-to-time does the
19744         same job.
19745         Remove redundant (require 'timer).
19747         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19748         (ido-completions): Remove unused arguments.  (Bug#8329)
19750 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19752         * minibuffer.el (completion--flush-all-sorted-completions):
19753         Remove itself from hook.
19754         (completion-at-point): Let the functions perform the completion
19755         immediately and return nil or t.
19756         * comint.el (comint-dynamic-complete-functions): Now identical to
19757         completion-at-point-functions.
19758         (comint-dynamic-list-input-ring): Remove unused var `index'.
19759         (comint--match-partial-filename, comint--unquote&expand-filename):
19760         New funs, split from comint-match-partial-filename.
19761         (comint-dynamic-complete): Use completion-at-point.
19762         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19764 2011-03-24  Drew Adams  <drew.adams@oracle.com>
19766         * thingatpt.el: Support `defun'.
19768 2011-03-23  Leo Liu  <sdl.web@gmail.com>
19770         * abbrevlist.el: Move to obsolete/abbrevlist.el.
19772         * help-mode.el (help-mode-finish): Tweak regexp.
19774 2011-03-23  Glenn Morris  <rgm@gnu.org>
19776         * eshell/esh-opt.el (eshell-eval-using-options):
19777         Do not bind unused local variable `eshell-option-stub'.
19779         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19781 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19783         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19784         keymap variable in `with-no-warnings' to avoid a warning when the
19785         keymap has been already `defconst'ed.
19787 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19789         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19790         encode all chars in abbrevs; otherwise use emacs-mule or
19791         utf-8-emacs.  (Bug#8308)
19793 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19795         * simple.el (backward-delete-char-untabify):
19796         Avoid warning about using `delete-backward-char'.
19798         * image.el (image-type-file-name-regexps): Make it variable.
19799         `imagemagick-register-types' modifies it, and the user may want
19800         to add new extensions for known image types.
19801         (imagemagick-register-types): Throw error if not using ImageMagick.
19803 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19805         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19806         located before rcirc-prompt-end-marker.
19807         (rcirc-complete): Error if point is not after rcirc prompt.
19808         Handle the case when table is nil.
19809         (rcirc-user-authenticated): Define to fix compiler warning.
19811 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
19813         * custom.el (custom--inhibit-theme-enable): Make it affect only
19814         custom-theme-set-variables and custom-theme-set-faces.
19815         (provide-theme): Ignore custom--inhibit-theme-enable.
19816         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19817         (custom-enabling-themes): Delete variable.
19818         (enable-theme): Accept only loaded themes as arguments.
19819         Ignore the special custom-enabled-themes variable.
19820         (custom-enabled-themes): Forbid themes from setting this.
19821         Eliminate use of custom-enabling-themes.
19822         (custom-push-theme): Quote "changed" custom var entry.
19824 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19826         * ido.el (ido-read-internal): Add ido-selected to history instead
19827         of user input.
19829 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19831         * subr.el (deferred-action-list, deferred-action-function):
19832         Mark obsolete.
19834 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19836         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19837         change on 2011-02-13 (bug#8309).
19839         * minibuffer.el (read-file-name-function): Change default value.
19840         (read-file-name--defaults): Rename from read-file-name-defaults.
19841         (read-file-name-default): Rename from read-file-name.
19842         (read-file-name): Call read-file-name-function.
19844 2011-03-21  Glenn Morris  <rgm@gnu.org>
19846         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19847         Doc fixes.
19849 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
19851         * cus-theme.el: Add missing provide statement.
19852         (customize-create-theme): Extract theme value correctly.
19853         (custom-theme-visit-theme): Autoload.
19854         (customize-create-theme): Prompt before inserting default faces.
19856 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
19858         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19859         units and musical notes.
19861 2011-03-20  Leo Liu  <sdl.web@gmail.com>
19863         * ido.el (ido-read-internal): Use completing-read-default.
19864         (ido-completing-read): Fix compatibility with completing-read.
19866 2011-03-20  Christian Ohler  <ohler@gnu.org>
19868         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19869         (ert-delete-all-tests): Use `called-interactively-p' rather than
19870         `interactive-p'.
19871         (ert--make-xrefs-region): Respect END.
19873 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19875         * dired-aux.el (dired-create-directory): Signal an error if the
19876         directory already exists (Bug#8246).
19878         * facemenu.el (list-colors-display): Call list-faces-display
19879         inside with-help-window.
19880         (list-colors-print): Use display property to align the final
19881         column, instead of checking window-width.
19883 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
19885         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19886         windows-nt systems.
19887         (emerge-protect-metachars): Quote correctly for ms-dos and
19888         windows-nt systems.
19890 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
19892         * info.el (info-initialize): Replace all uses of `:' with
19893         path-separator for compatibility with non-Unix systems.
19894         Cache quoting of path-separator.  (Bug#8258)
19896 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
19898         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19899         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19900         (mouse-avoidance-mode): Fix typos in docstrings.
19902 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19904         * startup.el (package-subdirectory-regexp): Move from package.el.
19905         Omit \\` and \\', and let callers add them.
19907         * emacs-lisp/package.el (package-strip-version)
19908         (package-load-all-descriptors): Add \\` and \\' to
19909         package-subdirectory-regexp before using it.
19910         (package-untar-buffer): New arg DIR; ensure that file untars only
19911         into this expected directory.  Remove superfluous delete-region.
19912         (package-unpack): Caller changed.
19913         (package-tar-file-info): Use package-subdirectory-regexp.
19915 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19917         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19918         diff-mode-shared-map (bug#8284).
19919         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19921 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19923         * calendar/time-date.el (format-seconds): Use assoc instead of
19924         assoc-string, since assoc-string doesn't exist in XEmacs.
19926 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
19928         * custom.el (custom-known-themes): Reflow docstring.
19929         (custom-theme-load-path): Fix typo in docstring.
19930         (load-theme): Fix typo in error message.
19931         (custom-available-themes, custom-variable-theme-value):
19932         Use `let', not `let*'.
19934 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
19936         * calc/README: Mention inclusion of musical notes.
19938         * calc/calc-units.el (calc-lu-quant): Rename from
19939         `calc-logunits-quantity'.
19940         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19941         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19942         (calc-db): Rename from `calc-dblevel'.
19943         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19944         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19945         (calc-np): Rename from `calc-nplevel'.
19946         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19947         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19948         (calc-lu-plus): Rename from `calc-logunits-add'.
19949         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19950         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19951         (calc-lu-minus): Rename from `calc-logunits-sub'.
19952         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19953         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19954         (calc-lu-times): Rename from `calc-logunits-mul'.
19955         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19956         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19957         (calc-lu-divide): Rename from `calc-logunits-div'.
19958         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19959         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19961         * calc/calc-ext.el (calc-init-extensions): Update the names of the
19962         functions being autoloaded.
19964         * calc/calc.el (calc-lu-power-reference): Rename from
19965         `calc-logunits-power-reference'.
19966         (calc-lu-field-reference): Rename from
19967         `calc-logunits-field-reference'.
19969         * calc/calc-help.el (calc-l-prefix-help):
19970         Mention musical note functions.
19972 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19974         * minibuffer.el (completion-all-sorted-completions):
19975         Use :completion-cycle-penalty text property if present.
19977 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
19979         * allout.el (allout-yank-processing): Adjust for new rebulleting
19980         regime so bullet being yanked is used without prompting the user
19981         for a choice.
19983 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19985         * startup.el (command-line): Warn the user that _emacs is deprecated.
19987 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19989         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19990         (delphi-verbose, delphi-comment-face, delphi-string-face)
19991         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19992         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19993         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19994         (delphi-new-comment-line, delphi-font-lock-defaults)
19995         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19996         Fix typos in docstrings.
19998 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
20000         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20001         Invert the roles of character and string values for INSTEAD, so a
20002         string is used for the more common case of a defaulting prompt.
20004 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20006         * progmodes/ruby-mode.el (ruby-backward-sexp):
20007         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20008         * play/gamegrid.el (gamegrid-make-face):
20009         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20010         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20011         * notifications.el (notifications-notify):
20012         * net/xesam.el (xesam-search-engines):
20013         * net/quickurl.el (quickurl-list-insert):
20014         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20016 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
20018         * startup.el (command-line): Update package subdirectory regexp.
20020 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20022         * allout.el (allout-abbreviate-flattened-numbering)
20023         (allout-mode-deactivate-hook): Fix up obsolescence "date".
20025         * subr.el (read-char-choice): Only show the cursor after the prompt,
20026         not after the answer.
20028 2011-03-15  Kevin Ryde  <user42@zip.com.au>
20030         * help-fns.el (variable-at-point): Skip leading quotes, if any
20031         (bug#8253).
20033 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20035         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20036         warning message.
20038 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
20040         * shell.el (shell): When called interactively, offer to change the
20041         shell file name on remote hosts.
20043 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
20045         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20046         integration for LDAP parameters.  The host, base, user or binddn,
20047         and secret tokens can be specified in a netrc file, for instance.
20048         This is optional because an `auth-source' parameter must be
20049         specified in the search attributes.
20051 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
20053         * help.el (describe-mode): Link to the mode's definition (bug#8185).
20055 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20057         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20058         into declaration.  Remove redundant and harmful binding.
20060 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
20062         * files.el (file-ownership-preserved-p): Pass `integer' as an
20063         explicit 2nd argument to `file-attributes'.  If the file's owner
20064         is the Administrators group on Windows, and the current user is
20065         Administrator, consider that a match.
20067         * server.el (server-ensure-safe-dir): Consider server directory
20068         safe on MS-Windows if its owner is the Administrators group while
20069         the current Emacs user is Administrator.  Use `=' to compare
20070         numerical UIDs, since they could be integers or floats.
20072 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
20074         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20076 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
20078         Sync with Tramp 2.2.1.
20080         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20082         * net/trampver.el: Update release number.
20084 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20086         * progmodes/compile.el (compilation--previous-directory): Fix up
20087         various nil/dead-marker mismatches (bug#8014).
20088         (compilation-directory-properties, compilation-error-properties):
20089         Don't call it at a position past the one we're about to change.
20091         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20092         Disable obsolescence warnings in the file that declares it.
20094 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
20096         * allout-widgets.el (allout-widgets-tally):
20097         Initialize allout-widgets-tally as a hash table rather than nil to
20098         prevent mode-line redisplay warnings.  Also, clarify the module
20099         description and fix a comment typo.
20101 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
20103         * help-fns.el (describe-variable): Don't complete keywords.
20104         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20106 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
20108         * emacs-lisp/package.el (package-version-join): Impose a standard
20109         string representation for pre/alpha/beta version lists.
20110         (package-unpack-single): Standardize the directory name by passing
20111         it through package-version-join.
20112         (package-strip-rcs-id): Accept any version string that does not
20113         signal an error in version-to-list.
20115 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
20117         * simple.el (delete-trailing-whitespace): Return nil for the
20118         benefit of `write-file-functions'.
20120 2011-03-10  Glenn Morris  <rgm@gnu.org>
20122         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20124         * vc/vc-git.el (vc-git-program): New option.
20125         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20126         (vc-git--call): Use it.
20128         * eshell/esh-util.el (eshell-condition-case): Doc fix.
20130         * cus-edit.el (Custom-newline): If no button at point, look
20131         for a subgroup button at start-of-line.  (Bug#2298)
20133         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20135 2011-03-10  Julien Danjou  <julien@danjou.info>
20137         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20138         `cursor-type' is nil.
20140 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
20142         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20144 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
20146         * allout.el: Change so yank of distinctive-bullet items
20147         preserves the existing header prefix, rebulleting it if necessary,
20148         rather than replacing it.  This is necessary for proper operation
20149         of cooperative addons like allout-widgets.
20150         (allout-make-topic-prefix, allout-rebullet-heading):
20151         Change SOLICIT arg to INSTEAD, and interpret additionally a string
20152         value as alternate bullet to be used, instead of prompting the user
20153         for a bullet character.
20155 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
20157         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20158         Do not use `tramp-file-name-port', because this returns also
20159         `tramp-default-port'.
20161 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
20163         * net/rcirc.el (rcirc-handler-001): Remove useless
20164         with-rcirc-process-buffer.
20165         (rcirc-check-auth-status): Swap arguments to string-match.
20167 2011-03-09  Glenn Morris  <rgm@gnu.org>
20169         * shell.el (shell-mode):
20170         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
20172         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20173         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
20175 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20177         * emacs-lisp/package.el (package-refresh-contents)
20178         (package-menu-execute): Use condition-case-no-debug.
20180 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
20182         * simple.el (shell-command-to-string): Use `process-file'.
20184         * emacs-lisp/package.el (package-tar-file-info): Handle also
20185         remote files.
20187         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20188         Use `equal' for upload base check.
20190 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
20192         * textmodes/texinfo.el (texinfo-environments):
20193         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
20195 2011-03-08  Glenn Morris  <rgm@gnu.org>
20197         * cus-start.el (cursor-in-non-selected-windows):
20198         Fix :set quoting oddness.  (Bug#8192)
20200         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20201         in some setf expressions.  (Bug#2159)
20203 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20205         * custom.el (custom-available-themes): Return themes in
20206         alphabetical order.
20208 See ChangeLog.15 for earlier changes.
20210 ;; Local Variables:
20211 ;; coding: utf-8
20212 ;; End:
20214   Copyright (C) 2011-2012  Free Software Foundation, Inc.
20216   This file is part of GNU Emacs.
20218   GNU Emacs is free software: you can redistribute it and/or modify
20219   it under the terms of the GNU General Public License as published by
20220   the Free Software Foundation, either version 3 of the License, or
20221   (at your option) any later version.
20223   GNU Emacs is distributed in the hope that it will be useful,
20224   but WITHOUT ANY WARRANTY; without even the implied warranty of
20225   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20226   GNU General Public License for more details.
20228   You should have received a copy of the GNU General Public License
20229   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.