* calendar/todos.el (todos-insert-item): Fix last change to make
[emacs.git] / lisp / ChangeLog
blobc1ea8b81e30f98e59db6229080bc0fcbb516b934
1 2013-03-14  Stephen Berman  <stephen.berman@gmx.net>
3         * calendar/todos.el (todos-insert-item): Fix last change to make
4         sure calling insertion "here" from outside goal todo items section
5         gives new item top priority.  With priority insertion, if user
6         cancels before setting priority, restore display.
7         (todos-find-item): Restore narrowing after searching.
8         (todos-item-done): Allow adding (same) comment to marked items.
9         Don't add empty comment to done item.
11 2013-03-13  Stephen Berman  <stephen.berman@gmx.net>
13         * calendar/todos.el (todos-quit): If quitting
14         todos-filtered-items-mode makes todos-mode current, don't call
15         todos-show, which (here wrongly) prompts for a new Todos file.
16         (todos-delete-category): Fix incorrect quotation mark.
17         (todos-set-item-priority): Make prefix argument a no-op with
18         commands for raising or lowering item priority.  Move mistakenly
19         placed right paren to end of defun, where it belongs.
21 2013-02-25  Stephen Berman  <stephen.berman@gmx.net>
23         * calendar/todos.el (todos-key-bindings): Add binding for `todos-show'.
24         (todos-show): Prompt for which todo file to visit when invoked
25         from Todos mode.
27 2013-02-19  Stephen Berman  <stephen.berman@gmx.net>
29         * calendar/todos.el: Item insertion and done/undo fixes.
30         (todos-insert-item): Maybe set the insertion file to
31         todos-global-current-todos-file.  When inserting into a file that
32         was not being visited on invoking this command, ensure chosen
33         category is properly selected.  Make item inserted "here" the
34         first todo item if the command was invoked with point in done
35         items section or outside of the current category.
36         (todos-item-done): When done items are shown, put cursor on first
37         just done item.
38         (todos-item-undo): Put cursor on undone item.
40 2013-02-16  Stephen Berman  <stephen.berman@gmx.net>
42         * calendar/todos.el: Improve handling of overlays.
43         (todos-get-overlay): New function.
44         (todos-prefix-overlay): Remove, since subsumed by
45         todos-get-overlay, and replace by the latter in callers.
46         (todos-reset-prefix): Apply only to buffer visiting Todos files.
47         Simplify implementation and use `todos' overlay property.
48         (todos-reset-done-separator): Use todos-get-overlay and `todos'
49         overlay property.  Fix logic.
50         (todos-category-select): Use todos-get-overlay and `todos' overlay
51         property.
52         (todos-remove-item): Use todos-get-overlay.  Correct obsolete code.
53         (todos-prefix-overlays): Use todos-top-priority face also for
54         non-numerical prefix of top priority items.  Add `todos' overlay
55         property.
56         (todos-hide-show-date-time): Simplify, using todos-get-overlay and
57         `todos' overlay property.
59 2013-02-14  Stephen Berman  <stephen.berman@gmx.net>
61         * calendar/todos.el (todos-edit-multiline, todos-edit-quit):
62         Revert buffer renaming.
64 2013-02-11  Stephen Berman  <stephen.berman@gmx.net>
66         * calendar/todos.el (todos-edit-quit): On quitting file editing,
67         rename buffer back to current Todos file.  After selecting
68         category, put point at top instead of recentering.
70 2013-02-08  Stephen Berman  <stephen.berman@gmx.net>
72         * calendar/todos.el (todos-edit-multiline-item): Revert to using
73         indirect buffer, which makes it easier to return to Todos mode.
74         (todos-edit-quit): Don't delete and reinsert items that don't need
75         indenting.  Revert to just killing buffer on quitting single item
76         editing.  On quitting file editing, select nearest category.
78 2013-02-07  Stephen Berman  <stephen.berman@gmx.net>
80         * calendar/todos.el: Bug fixes and improvements to item editing
81         and insertion.
82         (todos-check-format): Compare current value of todos-categories
83         with actual categories sexp.
84         (todos-repair-categories-sexp): Add warning to doc string about
85         category order getting restored to list element order.
86         (todos-mode-external-set): When todos-categories is nil, as in
87         Todos Edit mode, set it by reading actual categories sexp.
88         (todos-edit-mode): Make buffer writeable.
89         (todos-done-item-section-p): New function.
90         (todos-insert-item): Use it as part of preventing insertion here
91         in done items section.  Move check for display of done items only
92         to just before setting new item's priority, and if cancelled after
93         toggling to todo items, restore display of done items.
94         (todos-edit-multiline-item): Don't base on todos-edit-multiline
95         but just narrow and change mode.
96         (todos-edit-multiline): Don't make indirect buffer but just widen
97         and change mode; also remove overlays.
98         (todos-edit-quit): Restore Todos mode and category display; when
99         quitting multiline item editing, ensure items above edited item
100         are visible in window if possible.
101         (todos-done-item-add-edit-or-delete-comment): If user moved point
102         during editing, make sure it moves back to edited item before
103         returning.
105 2013-02-05  Stephen Berman  <stephen.berman@gmx.net>
107         * calendar/todos.el (todos-reset-done-separator-string):
108         Complete the implementation.
109         (todos-hide-show-done-items): If start of done items sections is
110         below the bottom of the window, make it visible.
111         (todos-insert-item): Allow inserting item here to work outside of
112         the current category, but then at top of category.  After checking
113         whether only done items are shown, restore point to ensure
114         inserting item here works correctly.
115         (todos-set-item-priority): Delete leftover right paren at end.
117 2013-02-04  Stephen Berman  <stephen.berman@gmx.net>
119         * calendar/todos.el: Bug fixes involving or displaying done items.
120         (todos-done-separator): Make length of long separator one less
121         than window-width, in order to avoid following empty line.
122         (todos-forward-item, todos-backward-item): Make empty line below
123         last todo item accessible only by invoking without a numerical
124         prefix argument and make the latter invocations move only to items.
125         (todos-insert-item): Set todos-current-todos-file after selecting
126         buffer, in order not to set global value.  If only done items are
127         shown when this command is invoked, toggle to show todo items to
128         avoid insertion into done items section.  When done items are
129         shown, protect from cancelling before setting item priority: this
130         also needs recentering to display all items.
131         (todos-set-item-priority): Only call on (not done) todo items.
132         Check that done items are visible not because file is widened.
133         Use only `any' argument of called-interactively-p.  Make sure that
134         giving an undone item lowest priority restores it to the todo
135         section.
136         (todos-item-done): If done items are visible on invoking this
137         command, keep them visible afterwards.  Stop looking for marked
138         items on reaching the empty line below the last todo item.
140 2013-02-02  Stephen Berman  <stephen.berman@gmx.net>
142         * calendar/todos.el: Several small fixes and improvements.
143         (todos-done-separator-string): Change default value.
144         (todos-update-categories-sexp): Remove unnecessary and misquided
145         setq of todos-default-todos-file.  Use delete-region instead of
146         kill-region to avoid polluting kill-ring.
147         (todos-unload-hook): Remove (was not used).
148         (todos-edit-multiline): Don't generate new edit buffer name on
149         each invocation---that can cause confusion due to indirect buffer.
150         (todos-edit-quit): Ensure lines in edit buffer that follow hard
151         newlines are indented in the file to conform to diary format.
152         (todos-set-item-priority): If done items in category are visible,
153         keep them visible.
155 2013-01-30  Stephen Berman  <stephen.berman@gmx.net>
157         * calendar/todos.el: Fix done separator overlay bug.  Remove most
158         FIXME comments.
159         (todos-reset-and-enable-done-separator): Remove commented out
160         workaround for done separator overlay bug; fix doc string.
161         (todos-reset-done-separator): Delete old overlay after adding new
162         overlay to fix done separator overlay bug; improve implementation.
163         (todos-prefix-overlays): Improve first line of doc string.
165 2013-01-29  Stephen Berman  <stephen.berman@gmx.net>
167         * calendar/todos.el: Improve item marking and handling of marked items.
168         (todos-prefix): Add validator to ensure value differs from that of
169         todos-item-mark.
170         (todos-item-mark): New defcustom.
171         (todos-prefix-overlay): New function.
172         (todos-marked-item-p): Use it.  Adapt implementation to new
173         handling of marked items.
174         (todos-insert-with-overlays): When inserting pushes down a marked
175         item, move its prefix overlay.
176         (todos-prefix-overlays): Add overlay even when prefix is empty string,
177         otherwise item marking fails.  Improve handling of marked items.
178         (todos-mark-unmark-item): Adapt to new handling of marked items
179         and simplify by removing marking of all items in category.
180         (todos-mark-category): Adapt to new handling of marked items and
181         don't use todos-mark-unmark-item.
182         (todos-unmark-category): Adapt to new handling of marked items.
183         (todos-delete-item): Remove obsolete handling of marked items and
184         useless restoration of point.
185         (todos-set-item-priority): Use new handling of marked items.
186         (todos-move-item, todos-item-done, todos-item-undo)
187         (todos-archive-done-item): Remove obsolete handling of marked items.
189 2013-01-25  Stephen Berman  <stephen.berman@gmx.net>
191         * calendar/todos.el: Improve definitions and use of some faces.
192         (todos-top-priority): Use current definition of font-lock-constant-face.
193         (todos-diary-expired): Make default value contrast more with
194         default value of todos-date face.
195         (todos-nondiary, todos-category-string): New faces.
196         (todos-nondiary-face, todos-category-string-face): Corresponding
197         new variables.
198         (todos-done, todos-comment): Switch default values to go better
199         with default value of todos-date face.
200         (todos-done-sep): Change default value.
201         (todos-category-string-matcher-1)
202         (todos-category-string-matcher-2): Improve doc string.
203         (todos-font-lock-keywords): Use todos-nondiary-face and
204         todos-category-string-face.
205         (todos-done-separator): Propertize string with todos-done-sep face.
206         (todos-filtered-items-mode): Fix typo.
208 2013-01-23  Stephen Berman  <stephen.berman@gmx.net>
210         * calendar/todos.el: Improve handling of saved top priorities items.
211         (todos-find-item): Find done items and items whose priority has
212         changed or whose text was truncated or augmented; add doc string.
213         (todos-check-top-priorities): Highlight each item that is not up
214         to date.
215         (todos-jump-to-item): Jump to items whose priority has changed or
216         whose text was truncated or augmented.
218 2013-01-22  Stephen Berman  <stephen.berman@gmx.net>
220         * calendar/todos.el: Revise handling of initial display and extend
221         to top priorities file.
222         (todos-display-categories-first): Remove, replacing by this:
223         (todos-show-first): New defcustom.
224         (todos-first-visit): Remove, replacing by this:
225         (todos-visited): New variable.
226         (todos-absolute-file-name): Extend possible values of optional
227         argument to take top priorities files into account.
228         (todos-modes-set-3, todos-mode): Remove use of todos-first-visit.
229         (todos-mode-external-set): Call find-file-noselect instead of
230         find-buffer-visiting, since the latter may fail.
231         (todos-show): Revise handling of initial display using
232         todos-show-first and todos-visited and extend to top priorities
233         file.
234         (todos-quit): Adapt to new handling of initial display.
236 2013-01-14  Stephen Berman  <stephen.berman@gmx.net>
238         * calendar/todos.el: Implement saving top priority items buffers,
239         improve implementation of item filtering commands and
240         infrastucture, and fix two bugs.
241         (todos-prefix-overlays): Use todos-top-priority face only in Todos
242         mode.
243         (todos-multiple-filter-files): Get file-truename of Todos file.
244         (todos-filter-items): Pass a list of files from the caller instead
245         of building it here, and move handling of cancelled file selection
246         dialog to callers.  Correct omission of file-wide default number
247         of top priorities.
248         (todos-filtered-buffer-name): Treat file-list argument only as a list.
249         (todos-find-item, todos-check-top-priorities)
250         (todos-top-priorities-filename)
251         (todos-save-top-priorities-buffer): New functions.
252         (todos-save): Use todos-save-top-priorities-buffer.
253         (todos-jump-to-item): Refactor and use todos-find-item.
254         (todos-top-priorities): Simplify semantics of prefix argument.
255         Check if top priorities file exists and if so, visit it, reporting
256         whether it is up to date.  Add optional argument and use it to
257         handle multiple files.
258         (todos-diary-items, todos-regexp-items): Add optional argument and
259         use it to handle multiple files.
260         (todos-top-priorities-multifile, todos-diary-items-multifile)
261         (todos-regexp-items-multifile): Refactor, using corresponding
262         non-multifile command.
263         (auto-mode-alist): Add pattern for top priorities files to visit
264         these in Todos Filtered Items mode.
266 2013-01-08  Stephen Berman  <stephen.berman@gmx.net>
268         * calendar/todos.el: Fix tabular alignment in Todos Categories mode.
269         (todos-adjusted-category-label-length): New function.
270         (todos-padded-string): Use it.
272 2013-01-08  Stephen Berman  <stephen.berman@gmx.net>
274         * calendar/todos.el (todos-move-item): Allow moving done items to
275         done section of another category.
277 2013-01-06  Stephen Berman  <stephen.berman@gmx.net>
279         * calendar/todos.el: Display numerical priority string of top
280         priority items in category in a distinctive face.
281         (todos-prefix-string): Make doc string more precise.
282         (todos-top-priority): New defface.
283         (todos-done, todos-done-sep): Use more compact face definition
284         \(taken from font-lock.el).
285         (todos-comment): Give a complete face definition, instead of
286         inheriting from todos-done.
287         (todos-font-lock-keywords): Use todos-comment-face for
288         todos-comment-string-matcher.
289         (todos-prefix-overlays): Use todos-top-priority as the face
290         property of top priority items; don't condition reapplying item
291         prefix overlay on whether the string changed, since that prevents
292         updating display after changing number of top priorities.
293         (todos-set-top-priorities): Call todos-prefix-overlays to update
294         display.
296 2013-01-04  Stephen Berman  <Stephen.Berman@rub.de>
298         * calendar/todos.el (todos-reset-global-current-todos-file)
299         (todos-display-categories-1): Use absolute name of
300         todos-default-todos-file.
302 2013-01-04  Stephen Berman  <Stephen.Berman@rub.de>
304         * calendar/todos.el (todos-insert-item): Fix copy and paste error
305         from previous change.
307 2013-01-03  Stephen Berman  <stephen.berman@gmx.net>
309         * calendar/todos.el: Implement extended category completions.
310         (todos-default-todos-file): Change default value to correct custom
311         type.
312         (todos-category-completions-files): New defcustom.
313         (todos-reevaluate-category-completions-files-defcustom)
314         (todos-absolute-file-name, todos-category-completions): New defuns.
315         (todos-reevaluate-filelist-defcustoms):
316         Add todos-category-completions-files and
317         todos-reevaluate-category-completions-files-defcustom.
318         (todos-allcats-file, todos-all-categories-alist)
319         (todos-jump-to-category-other-file, todos-jump-to-any-category)
320         (todos-move-item-to-file): Remove (todos-all-categories-alist both
321         as defvar and as defun).
322         (todos-read-category): Rewrite using extended category completions
323         and better handling of completion against existing or non-existing
324         categories.
325         (todos-validate-name): Correct doc string; use local instead of
326         dynamic variables in function body.
327         (todos-insert-category-line): Adjust use of todos-jump-to-category
328         to new argument list.
329         (todos-key-bindings, todos-menu): Delete entries for removed
330         commands.
331         (todos-show): Get absolute name of todos-default-todos-file;
332         add `nowarn' argument to find-file-noselect; adjust use of
333         todos-add-category to new argument list.
334         (todos-jump-to-category): Rewrite using extended category
335         completions; reverse argument list, adapting FILE argument to new
336         completion mechanism; add autoload cookie; call todos-show if
337         there are no Todos files.
338         (todos-add-category): Rewrite using extended category completions;
339         add FILE argument to accommodate new completion mechanism.
340         (todos-merge-category): Adapt to extended category completions,
341         adding prefix argument.
342         (todos-insert-item): Adapt to extended category completions; use
343         todos-read-category instead of todos-jump-to-category in prefix
344         argument calls; call todos-show if there are no Todos files; if
345         item is inserted at end of category, recenter to ensure the items
346         above it are displayed in the window.
347         (todos-move-item): Adapt to extended category completions, making
348         argument prefix argument; allow moving within category (for the
349         sake of code simplification); add `nowarn' argument to
350         find-file-noselect.
351         (todos-archive-done-item): Prevent error when attempting to
352         archive not-done todo item; adjust use of todos-add-category to
353         new argument list.
355 2012-12-15  Stephen Berman  <stephen.berman@gmx.net>
357         * calendar/todos.el (todos-archive-done-item): Fix archiving of
358         all done items in a category and resulting display of todo file.
360 2012-12-14  Stephen Berman  <stephen.berman@gmx.net>
362         * calendar/todos.el (todos-priorities-rules): Fix customization
363         type to prevent mismatch error.
364         (todos-set-top-priorities): Fix rule construction; fix input check;
365         improve prompt.
367 2012-12-14  Stephen Berman  <stephen.berman@gmx.net>
369         * calendar/todos.el (todos-insert-item): If user exits Calendar
370         before choosing a date, cancel item insertion.
371         (todos-set-date-from-calendar): If user exits Calendar before
372         choosing a date, clean up properly.
374 2012-12-12  Stephen Berman  <stephen.berman@gmx.net>
376         * calendar/todos.el: Extend and improve handling of item editing,
377         especially of date/time header.
378         (todos-month-name-array, todos-month-abbrev-array): New defconsts.
379         (todos-date-pattern): Use explicitly numbered groups.
380         (todos-read-date): Optionally read and return just one of the date
381         string components year, month or monthname, day.
382         (todos-key-bindings): Add bindings for new item header editing
383         commands.
384         (todos-edit-item): Exclude date/time header from minibuffer by
385         default; include it by passing a prefix argument.
386         (todos-edit-item-header-1): New function containing the guts of
387         the commands for editing item date/time headers.
388         (todos-edit-item-header): Use it.  Condition editing of time
389         string on value of `todos-always-add-time-string'.
390         (todos-edit-item-date-from-calendar): Use todos-edit-item-header-1.
391         (todos-edit-item-date-to-today): Rename from
392         todos-edit-item-date-is-today and use todos-edit-item-header-1.
393         (todos-edit-item-date): Remove.
394         (todos-edit-item-date-day-name, todos-edit-item-date-year)
395         (todos-edit-item-date-month, todos-edit-item-date-day): New commands.
397 2012-12-02  Stephen Berman  <stephen.berman@gmx.net>
399         * calendar/todos.el (todos-show): Fix a comment.
400         (todos-add-category): Prompt for a new category if passed category
401         is the empty string, not nil.
403 2012-11-26  Stephen Berman  <stephen.berman@gmx.net>
405         * calendar/todos.el (todos-make-categories-list)
406         (todos-convert-legacy-files, todos-jump-to-item)
407         (todos-move-category, todos-merge-category)
408         (todos-archive-done-item, todos-unarchive-items): Include end of
409         line in regex searches for beginning of category, in order not to
410         get a category whose name contains the searched for category name.
412 2012-11-15  Stephen Berman  <stephen.berman@gmx.net>
414         * calendar/todos.el (todos-forward-category): Fix typo.
416 2012-10-30  Stephen Berman  <stephen.berman@gmx.net>
418         * calendar/todos.el (todos-define-insertion-command):
419         Let generated insertion commands accept a prefix argument.
421 2012-10-08  Stephen Berman  <Stephen.Berman@rub.de>
423         * calendar/todos.el (todos-move-item): If user quits before
424         completing movement, restore display of initial category; if item
425         is moved to end of target category, make sure the items above it
426         are displayed in the window.
428 2012-10-08  Stephen Berman  <stephen.berman@gmx.net>
430         * calendar/todos.el: Fixes to todos-move-item and some of its
431         subroutines.
432         (todos-move-item): When there are marked items, point need not be
433         on an item; remove obsolete use of todos-add-category, since this
434         is now already done in todos-read-category; fix typo.
435         (todos-diary-item-p): Exclude empty lines.
436         (todos-read-category): Restore point and narrowing after adding
437         new category, to avoid moving to beginning of file when moving
438         marked items to a new category.
439         (todos-set-item-priority): Prompt for priority only when the
440         category has at least one todo item; only use non-nil priority to
441         calculate insertion location.
442         (todos-read-category): Don't reset todos-categories when a new
443         category is added due to todos-move-item or todos-jump-to-item.
445 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
447         Changes from 2012-07-14 (revision 110020).
448         * calendar/todos.el (todos-copy-item): New command.
449         (todos-insertion-map): Add key binding for it.
451 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
453         Changes from 2012-07-13 (revision 110019).
454         * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
455         (todos-item-undo): Use it.
456         (todos-allcats-file, todos-all-categories-alist): New variables.
457         (todos-all-categories-alist): New function.
458         (todos-jump-to-any-category): New command.
459         (todos-move-item): Remove mark overlays from buffer items were
460         moved from; update todos-categories-with-marks,
462 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
464         Changes from 2012-06-27 (revision 110018).
465         * calendar/todos.el: Further code rearrangement; further new and
466         revised comments.
467         (todos-reevaluate-filelist-defcustoms): Rename from
468         todos-reevaluate-defcustoms and adjust callers.
469         (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
470         (todos-date-string-start, todos-done-string-start)
471         (todos-item-start): Change from defvar to defconst.
472         (todos-set-top-priorities): Use read-number and simplify.
473         (todos-insert-item): Check whether date-type argument is a string.
474         (todos-set-date-from-calendar): Check whether
475         todos-date-from-calendar is a string; simplify cond clause.
476         (todos-archive-done-item, todos-unarchive-items):
477         Use buffer-substring-no-properties.
479 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
481         Changes from 2012-06-25 (revision 110017).
482         * calendar/todos.el (todos-item-undo): Fix restoration on
483         cancelling; use buffer-substring-no-properties; comment out code
484         removing mark overlay; fix insertion of undone items; display any
485         remaining done items.
487 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
489         Changes from 2012-06-24 (revision 110016).
490         * calendar/todos.el: Further significant code rearrangement;
491         further comment revision.
492         (todos-mode-display): New defgroup.
493         (todos-prefix, todos-number-priorities)
494         (todos-done-separator-string, todos-done-string)
495         (todos-comment-string, todos-show-with-done)
496         (todos-mode-line-function, todos-skip-archived-categories)
497         (todos-highlight-item, todos-wrap-lines)
498         (todos-line-wrapping-function): Use it.
499         (todos-item-insertion): New defgroup.
500         (todos-include-in-diary, todos-diary-nonmarking)
501         (todos-nondiary-marker, todos-always-add-time-string)
502         (todos-use-only-highlighted-region): Use it.
503         (todos-forward-button, todos-backward-button): New commands.
504         (todos-categories-mode-map): Use them, replacing forward-button
505         and backward-button.
506         (todos-merge-category): Fix and improve implementation; handle
507         archived items.
508         (todos-insert-item, todos-set-date-from-calendar): Handle setting
509         date by calling todos-insert-item-from-calendar.
510         (todos-delete-item): Fix overlay handling.
511         (todos-move-item): Highlight item to be moved.
512         (todos-item-undo): Handle marked items.
513         (todos-insert-item-from-calendar): Rewrite using
514         todos-date-from-calendar.
516 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
518         Changes from 2012-06-21 (revision 110015).
519         * calendar/todos.el: Further comment revision.
520         (todos-sorted-column): Change default value, also taking tty into
521         account.
522         (todos-reset-done-separator): Fix faulty variable binding.
523         (todos-reset-and-enable-done-separator): Save match data; comment
524         out code that causes problems for Edebug.
525         (todos-item-start): Handle empty line between todo and done items
526         when done items are hidden.
527         (todos-read-date): Use a leap year for `*' to allow
528         calendar-last-day-of-month to return Feb. 29.
529         (todos-archive-mode, todos-edit-mode, todos-categories-mode)
530         (todos-filtered-items-mode): Delete faulty parentheses.
531         (todos-quit): Save Todos and archive files unconditionally.
532         (todos-forward-item): Accept only positive prefix argument.
533         (todos-backward-item): Accept only positive prefix argument; don't
534         move point to beginning of buffer if it is on the first item.
535         (todos-hide-show-date-time): Remove obsolete interactive spec.
536         (todos-move-category): Improve prompt string; ensure file moved to
537         is different from file moved from.
538         (todos-merge-categories): Remove.
539         (todos-set-category-priority): New command.
540         (todos-raise-category-priority, todos-lower-category-priority):
541         Use it to define these commands.
542         (todos-set-item-priority): Rewrite and generalize.
543         (todos-raise-item-priority, todos-lower-item-priority): Use it to
544         define these commands.
546 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
548         Changes from 2012-06-15 (revision 110014).
549         * calendar/todos.el (todos-reset-done-separator)
550         (todos-reset-and-enable-done-separator): New functions.
551         (todos-reset-done-separator-string): Rewrite using
552         todos-reset-done-separator for string longer than 1 character.
553         (todos-mode): Add todos-reset-and-enable-done-separator to
554         window-configuration-change-hook, replacing previous anonymous
555         function.
556         (todos-unload-hook): And remove it.
558 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
560         Changes from 2012-06-14 (revision 110013).
561         * calendar/todos.el (todos-done-separator-string): New defcustom.
562         (todos-done-separator): New variable replacing defcustom of the
563         same name.
564         (todos-reset-done-separator-string, todos-done-separator):
565         New functions.
566         (todos-mode): Make function added to
567         window-configuration-change-hook do a better job of updating the
568         done items separator string overlay.
569         (todos-unload-hook): Remove it here.
570         (todos-item-undo): Fix search for item's end.
572 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
574         Changes from 2012-06-03 (revision 110012).
575         * calendar/todos.el: Further comment revision.
576         (todos-sorted-column): Change default value.
577         (todos-item-start): Handle empty category (needed in
578         todos-filter-items).
579         (todos-read-date): Don't use calendar-read; make code cleaner.
580         (todos-multiple-filter-files): Rename this variable from
581         todos-multiple-files and adjust users.
582         (todos-multiple-filter-files-widget): Rename from
583         todos-multiple-files-widget and adjust users.
584         (todos-multiple-filter-files): Rename this function from
585         todos-multiple-files and adjust callers.
586         (todos-filter-items): Remove unused code.
587         (todos-insert-category-line): Add space so highlighting of last
588         column is consistent with the others; adjust display of column
589         highlighting.
590         (todos-menu): Remove obsolete entry.
591         (todos-categories-mode-map): Add new bindings.
592         (todos-display-categories-alphabetically-or-by-priority): New command.
593         (todos-display-categories-sorted-by-todo)
594         (todos-display-categories-sorted-by-diary)
595         (todos-display-categories-sorted-by-done)
596         (todos-display-categories-sorted-by-archived): Restore and fix
597         implementation.
599 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
601         Changes from 2012-06-02 (revision 110011).
602         * calendar/todos.el: Significant code rearrangement; further
603         comment revision.
604         (todos-filtered-items-buffer): Rename from todos-filter-buffer and
605         adjust users.
606         (todos-filtered-buffer-name): Rename from
607         todos-special-buffer-name and adjust users.
608         (todos-filtered-items-mode-map): Rename from
609         todos-filter-items-mode-map and adjust users.
610         (todos-mode-external-set): Use todos-categories instead of
611         todos-set-categories (and add comment to check if this DTRT).
612         (todos-filtered-items-mode): Rename from todos-filter-items-mode
613         and adjust users.
614         (todos-add-category): Don't call todos-validate-name, since
615         todos-read-category does.
616         (todos-edit-quit): Use todos-repair-categories-sexp.
617         (todos-done-item-add-edit-or-delete-comment): Rename from
618         todos-done-item-add-or-edit-comment and adjust users; add optional
619         argument to prompt to delete comment.
620         (todos-item-undo): Delete done item comment on undoing if user
621         confirms.
623 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
625         Changes from 2012-06-02 (revision 110010).
626         * calendar/todos.el: Further code rearrangement and comment
627         revision.
628         (todos-item-start): Handle empty line between todo and done items
629         when done items are displayed.
630         (todos-key-bindings): Comment out bindings meant only for
631         todos-archive-mode.
632         (todos-archive-mode-map): Fix typo.
633         (todos-archive-mode): Derive from special-mode instead of
634         todos-mode to prevent its key bindings from being available here.
635         (todos-archive-done-item): Remove obsolete code; fix item count
636         updating.
637         (todos-unarchive-items): Simplify; fix unarchiving of all items in
638         category; fix item count updating; fix typo.
640 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
642         Changes from 2012-06-01 (revision 110009).
643         * calendar/todos.el: Further code rearrangement and comment
644         revision.
645         (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
646         (todos-file-buffers): New variable.
647         (todos-reset-global-current-todos-file): Use it to simplify
648         implementation of this function.
649         (todos-filtered): New defgroup.
650         (todos-filter-buffer, todos-top-priorities-buffer)
651         (todos-diary-items-buffer, todos-regexp-items-buffer)
652         (todos-priorities-rules, todos-show-priorities)
653         (todos-filter-files, todos-filter-done-items): Use it.
654         (todos-skip-archived-categories): Rename from
655         todos-ignore-archived-categories and adjust users.
656         (todos-display-as-todos-file): Rename from todos-after-find-file
657         and adjust callers.
658         (todos-reset-highlight-item, todos-mode-external-set)
659         (todos-jump-to-category, todos-jump-to-item)
660         (todos-raise-category-priority, todos-insert-item)
661         (todos-move-item): Use find-file-visiting.
662         (todos-make-categories-list): Use file-truename.
663         (todos-display-categories-1): Adjust title text for archive files;
664         use done label for item counts in archive files.
665         (todos-modes-set-3): Add todos-display-as-todos-file to
666         find-file-hook.
667         (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
668         todos-update-buffer-list post-command-hook.
669         (todos-unload-hook): And remove them.
670         (todos-show): Only when interactively invoked from an archive,
671         switch to corresponding Todos file.
672         (todos-archive-done-item): Remove obsolete code; fix handling of
673         marked items; fix search for existing category; check whether
674         archive exists and write to file if not; improve display handling.
676 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
678         Changes from 2012-05-29 (revision 110008).
679         * calendar/todos.el: Further comment revision.
680         (todos-item-end): Replace use of command todos-forward-item by
681         regexp searches using internal variables.
682         (todos-raise-category-priority): Improve and comment.
683         (todos-insert-item): Fix insertion of empty time string.
685 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
687         Changes from 2012-05-29 (revision 110007).
688         * calendar/todos.el (todos-ignore-archived-categories):
689         Revert last change; remove :initialize and :set functions; change
690         use and change users accordingly.
691         (todos-reset-categories, todos-categories-full)
692         (todos-truncate-categories-list): Remove.
693         (todos-set-categories, todos-update-categories-sexp):
694         Use todos-categories instead of todos-categories-full; remove use
695         of todos-ignore-archived-categories and
696         todos-truncate-categories-list.
697         (todos-check-format, todos-repair-categories-sexp):
698         Use todos-categories instead of todos-categories-full.
699         (todos-read-category): Improve last change.
700         (todos-validate-name): Use completing-read.
701         (todos-categories-category-number): Rename from
702         todos-category-number and adjust users.
703         (todos-update-categories-display, todos-mode-external-set)
704         (todos-delete-category, todos-move-category, todos-merge-category)
705         (todos-unarchive-items): Remove use of todos-categories-full and
706         todos-ignore-archived-categories.
707         (todos-modes-set-3, todos-add-category): Remove use of
708         todos-categories-full.
709         (todos-edit-mode): Fix typo.
710         (todos-forward-category): Use todos-ignore-archived-categories.
712 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
714         Changes from 2012-05-28 (revision 110006).
715         * calendar/todos.el: Doubts about todos-ignore-archived-categories.
716         (todos-ignore-archived-categories): Change default value.
718 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
720         Changes from 2012-05-27 (revision 110005).
721         * calendar/todos.el: Further comment revision.
722         (todos-reset-global-current-todos-file):
723         Try to make this not slow down kill-buffer.
724         (todos-update-categories-sexp): Handle the case where there is no
725         categories sexp yet, i.e. after inserting the first item in the
726         file, so todos-display-categories works.
727         (todos-read-file-name): Improve implementation.
728         (todos-validate-name): Use variable todos-files.
729         (todos-category-number): New variable.
730         (todos-insert-category-line, todos-update-categories-display)
731         (todos-raise-category-priority): Use it.
732         (todos-add-file): Remove unused remnant code.
734 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
736         Changes from 2012-05-25 (revision 110004).
737         * calendar/todos.el: Further comment revision.
738         (todos-set-item-top-priority): New command.
739         (todos-reset-global-current-todos-file):
740         Use todos-files-function instead of todos-files.
741         (todos-read-category): Add optional argument to test whether
742         caller adds new category; if so, don't prompt for new category and
743         don't restore original todos-categories list.
744         (todos-categories-mode-map): Update to renamed commands.
745         (todos-filter-items-mode-map): Add binding for new command.
746         (todos-mode): Fix typo.
747         (todos-show): If called from archive file, show corresponding
748         category in Todos file, if it exists.
749         (todos-jump-to-category): Remove code to add new category, since
750         todos-read-category can do that.
751         (todos-add-file): Remove obsolete code; visit new file in selected
752         window.
753         (todos-add-category): Simplify.
754         (todos-rename-category): Use force-mode-line-update instead of
755         setting mode-line-buffer-identification.
756         (todos-delete-category): Improve logic of prompts; use
757         todos-categories-full and check todos-ignore-archived-categories.
758         (todos-raise-category-priority, todos-lower-category-priority):
759         Rename from todos-{raise,lower}-category and adjust callers.
760         (todos-move-category, todos-merge-category):
761         Set todos-categories-full; on setting todos-categories check
762         todos-ignore-archived-categories.
763         (todos-insert-item): Let-bind use-empty-active-region and use
764         use-region-p instead of transient-mark-mode.
765         (todos-raise-item-priority): Improve implementation.
766         (todos-archive-done-item): Rename from
767         todos-archive-done-item-or-items and adjust callers; confine to
768         Todos mode.
769         (todos-unarchive-items): On setting todos-categories check
770         todos-ignore-archived-categories.
772 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
774         Changes from 2012-05-23 (revision 110003).
775         * calendar/todos.el (todos-key-bindings): Remove binding of
776         deleted command.
777         (todos-menu): Remove entry of deleted command.
778         (todos-show-archive): Fix last change.
779         (todos-done-item-add-or-edit-comment): Rename from
780         todos-comment-done-item and adjust callers; prompt to edit an
781         existing comment.
783 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
785         Changes from 2012-05-22 (revision 110002).
786         * calendar/todos.el (todos-set-show-current-file): Rename from
787         todos-toggle-show-current-file and adjust callers.
788         (todos-number-priorities): Rename from todos-number-prefix and
789         adjust users.
790         (todos-update-count): Rename from todos-set-count and adjust
791         callers.
792         (todos-hide-show-item-numbering): Rename from
793         todos-toggle-item-numbering and adjust callers.
794         (todos-hide-show-done-items): Rename from
795         todos-toggle-view-done-items and adjust callers.
796         (todos-show-done-only): Rename from todos-toggle-show-done-only.
797         (todos-view-archived-items): Comment out.
798         (todos-show-archive): Prompt to choose another archive file if
799         current Todos file lacks an archive; prompt to visit archive
800         anyway when current category has no archived items.
802 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
804         Changes from 2012-05-21 (revision 110001).
805         * calendar/todos.el: Further comment revision and code
806         rearrangement.
807         (todos-item-end): Revert last change.
808         (todos-key-bindings, todos-menu, todos-archive-mode-map)
809         (todos-filter-items-mode-map): Use renamed commands.
810         (todos-hide-show-date-time): Rename from
811         todos-toggle-display-date-time.
812         (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
813         adjust caller.
814         (todos-backward-item): Exempt special handling only from
815         todos-regexp-items-buffer instead of todos-filter-items-mode.
816         (todos-raise-item-priority): Don't allow item reprioritizing in
817         Todos filter items mode except for top priority items.
819 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
821         Changes from 2012-05-19 (revision 110000).
822         * calendar/todos.el: Add and revise further doc strings and
823         comments.
824         (todos-filter-function, todos-custom-items)
825         (todos-custom-items-multifile): Remove.
826         (todos-filter-done-items): New defcustom.
827         (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
828         (todos-filter-items): Check return value of caller first; tag
829         archived items for todos-jump-to-item; delete categories sexp
830         before processing filter; check todos-filter-done-items for
831         whether to leave done items; remove custom filter; fix regexp for
832         file and category tags; don't invoke buffer fontification.
833         (powerset-recursive): Fix typo.
834         (todos-key-bindings): Remove unused bindings.
835         (todos-top-priorities-multifile, todos-diary-items-multifile)
836         (todos-regexp-items-multifile): Use variable todos-multiple-files.
837         (todos-jump-to-item): Fix regexp; handle archive tags; take
838         todos-filter-done-items into account.
839         (todos-insert-item-from-calendar): Relocate to end of file
840         together with key-binding as addition to calendar.el.
842 2012-09-20  Stephen Berman  <stephen.berman@gmx.net>
844         Changes from 2012-05-17 (revision 109999).
845         * calendar/todos.el: Add and revise further doc strings and
846         comments; major code rearrangement.
847         (todos-merged-files, todos-prompt-merged-files)
848         (todos-print-priorities, todos-tmp-buffer-name)
849         (todos-top-priorities-widgets, todos-update-merged-files)
850         (todos-merged-top-priorities, todos-merged-diary-items)
851         (todos-merged-regexp-items, todos-merged-custom-items)
852         (todos-raw-mode, todos-change-default-file)
853         (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
854         (todos-toggle-diary-nonmarking, todos-validate-category-name):
855         Remove.
856         (todos-category-string-matcher): Comment out.
857         (todos-categories): New defgroup.
858         (todos-initial-file, todos-filter-buffer)
859         (todos-top-priorities-buffer, todos-categories-category-label)
860         (todos-diary-items-buffer, todos-regexp-items-buffer)
861         (todos-custom-items-buffer, todos-filter-files)
862         (todos-highlight-item, todos-todo-mode-date-time-regexp):
863         New defcustoms.
864         (todos-diary-expired): New face.
865         (todos-print-buffer, todos-multiple-files)
866         (todos-multiple-files-widget, todos-key-bindings): New variables.
867         (todos-short-file-name, todos-reevaluate-default-file-defcustom)
868         (todos-special-buffer-name)
869         (todos-reevaluate-filter-files-defcustom)
870         (todos-reset-highlight-item, todos-reevaluate-defcustoms)
871         (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
872         (todos-diary-expired-matcher, todos-category-string-matcher-1)
873         (todos-category-string-matcher-2, todos-repair-categories-sexp)
874         (todos-validate-name, todos-multiple-files)
875         (todos-display-categories-1, todos-update-categories-display)
876         (todos-modes-set-3, todos-mode-external-set): New functions.
877         (todos-set-top-priorities-in-file)
878         (todos-set-top-priorities-in-category)
879         (todos-top-priorities-multifile, todos-diary-items-multifile)
880         (todos-regexp-items-multifile, todos-custom-items-multifile)
881         (todos-convert-legacy-files, todos-jump-to-item)
882         (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
883         (todos-edit-item-diary-inclusion)
884         (todos-edit-category-diary-inclusion)
885         (todos-edit-item-diary-nonmarking)
886         (todos-edit-category-diary-nonmarking): New commands.
887         (todos, todos-faces): Update :version.
888         (todos-done-separator, todos-completion-ignore-case):
889         Change default value.
890         (todos-done-separator): Change :set function.
891         (todos-indent-to-here): Add :validate function to :type.
892         (todos-prefix-string, todos-mark, todos-button)
893         (todos-sorted-column, todos-archived-only, todos-search)
894         (todos-done, todos-done-sep): Provide full face definitions
895         instead of inheriting.
896         (todos-edit-buffer, todos-categories-buffer): Change from
897         defcustom to defvar.
898         (todos-category-beg, todos-category-done): Change from defvar to
899         defconst.
900         (todos-files): Check if todos-files-directory exists.
901         (todos-default-todos-file, todos-mode-line-control, todos-print):
902         Use todos-short-file-name.
903         (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
904         todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
905         todos-category-string-matcher-2, todos-diary-expired-matcher.
906         (todos-category-select): Use todos-done-string-start, and
907         condition search on todos-show-with-done; don't make display
908         overlay for done items separator string if there already is one;
909         use todos-highlight-item, require hl-line and activate
910         hl-line-mode here in order to avoid a hang if done in todos-mode
911         or the mode hook.
912         (todos-update-categories-sexp): Use todos-categories-full if set,
913         otherwise todos-categories.
914         (todos-make-categories-list): Don't test for archive file when
915         processing a legacy todo-mode file.
916         (todos-check-format): Add check for todos-categories sexp.
917         (todos-diary-item-p): Use todos-nondiary-start instead of
918         todos-date-pattern.
919         (todos-marked-item-p): Rename from todos-item-marked-p.
920         (todos-read-file-name): Don't accept empty name; validate.
921         (todos-read-category): Validate new name before prompting whether
922         to add new category; force quit if user answers no.
923         (todos-filter-items): Improve implementation.
924         (todos-set-top-priorities): Rewrite as a noninteractive function
925         using minibuffer input instead of widgets.
926         (todos-insert-sort-button): Call todos-display-sorted with
927         argument nil to display categories in numerical order, instead of
928         calling todos-display-categories.
929         (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
930         Common Lisp powerset function at
931         http://rosettacode.org/wiki/Power_set#Common_Lisp.
932         (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
933         powerset function at http://rosettacode.org/wiki/Power_set#C.
934         (todos-powerset): Defalias to powerset-bitwise.
935         (todos-mode-map): Generate from todos-key-bindings instead of
936         listing each key definition.
937         (todos-categories-mode-map): Add two bindings.
938         (todos-filter-items-mode-map): Add some bindings, remove others.
939         (todos-mode): Derive from special-mode; use todos-modes-set-3; add
940         function setting todos-done-separator to
941         window-configuration-change-hook.
942         (todos-unload-hook): Remove function setting todos-done-separator
943         from window-configuration-change-hook.
944         (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
945         (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
946         (todos-categories-mode): Derive from special-mode; use
947         todos-mode-external-set.
948         (todos-filter-items-mode): Derive from special-mode.
949         (todos-quit): Save archive file if it hasn't yet been saved.
950         (todos-display-categories): Delegate all functionality to
951         todos-display-categories-1 and todos-update-categories-display.
952         (todos-toggle-view-done-items): Improve implementation.
953         (todos-highlight-item): Require hl-line.
954         (todos-toggle-display-date-time): Remove argument and make it
955         apply only to whole file.
956         (todos-top-priorities, todos-diary-items, todos-regexp-items)
957         (todos-custom-items): Use todos-special-buffer-name.
958         (todos-add-file): Use todos-short-file-name and
959         todos-reevaluate-defcustoms; remove validation, since it's now
960         done in todos-read-file-name.
961         (todos-add-category): Also update todos-categories-full if non-nil.
962         (todos-delete-category): Delete file after confirmation if only
963         category is deleted.
964         (todos-move-category): Use todos-short-file-name and
965         todos-reevaluate-defcustoms.
966         (todos-insert-item): Fix getting date from the calendar and
967         insertion of time string.
968         (todos-set-date-from-calendar): Enter calendar buffer, suppressing
969         display of diary entries.
970         (todos-edit-multiline): Add optional argument to restrict editing
971         buffer to current item, otherwise make entire buffer (i.e. whole
972         file) editable.
973         (todos-edit-quit): When whole file is editable, check file format
974         validity before killing buffer, and if valid, recalculate
975         categories sexp to be safe.
976         (todos-edit-item-header): Allow choosing date from calendar.
977         (todos-item-done): Handle marked items.
979 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
981         Changes from 2011-12-03 (revision 109998).
982         * calendar/todos.el (todos-item-start): Restore commented out code
983         to prevent wrongly moving point in widened buffer.
985 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
987         Changes from 2011-12-02 (revision 109997).
988         * calendar/todos.el: Remove old commentary from todo-mode.el; add
989         and revise further doc strings and comments; require cl.el at
990         compile time for remove-duplicates; use function powerset from
991         http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
992         code rearrangement.  Add adapted version of diary-goto-entry as comment.
993         (todos-file-top, todos-archived-categories-buffer)
994         (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
995         (todos-save-top-priorities, todos-reset-separator)
996         (todos-switch-todos-file, todos-item-string-start, todos-counts)
997         (todos-string-count-lines, todos-string-multiline-p)
998         (todos-display-categories-alphabetically): Remove.
999         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1000         (todos-insert-item-ask-date-time-for-diary)
1001         (todos-insert-item-ask-date-time-for-diary-here)
1002         (todos-insert-item-ask-date-time-here)
1003         (todos-insert-item-ask-date-maybe-notime)
1004         (todos-insert-item-ask-date-maybe-notime-for-diary)
1005         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1006         (todos-insert-item-ask-date-maybe-notime-here)
1007         (todos-insert-item-ask-date-for-diary)
1008         (todos-insert-item-ask-date-for-diary-here)
1009         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1010         (todos-insert-item-ask-dayname-time)
1011         (todos-insert-item-ask-dayname-time-for-diary)
1012         (todos-insert-item-ask-dayname-time-for-diary-here)
1013         (todos-insert-item-ask-dayname-time-here)
1014         (todos-insert-item-ask-dayname-maybe-notime)
1015         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1016         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1017         (todos-insert-item-ask-dayname-maybe-notime-here)
1018         (todos-insert-item-ask-dayname-for-diary)
1019         (todos-insert-item-ask-dayname-for-diary-here)
1020         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1021         (todos-insert-item-ask-time-for-diary)
1022         (todos-insert-item-ask-time-for-diary-here)
1023         (todos-insert-item-ask-time-here)
1024         (todos-insert-item-maybe-notime)
1025         (todos-insert-item-maybe-notime-for-diary)
1026         (todos-insert-item-maybe-notime-for-diary-here)
1027         (todos-insert-item-maybe-notime-here)
1028         (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
1029         (todos-insert-item-here): Remove; all of these are now generated
1030         on loading (some with the same name, most with other names.)
1031         (todos-item-counts, todos-display-categories-alphabetically)
1032         (todos-display-categories-sorted-by-todo)
1033         (todos-display-categories-sorted-by-diary)
1034         (todos-display-categories-sorted-by-done)
1035         (todos-display-categories-sorted-by-archived): Comment out.
1036         (todos-comment-string, todos-mode-line-function)
1037         (todos-filter-function, todos-priorities-rules)
1038         (todos-visit-files-commands, todos-categories-totals-label)
1039         (todos-use-only-highlighted-region, todos-diary-nonmarking):
1040         New defcustoms.
1041         (todos-mark, todos-comment): New faces.
1042         (todos-comment-face): Corresponding new variable.
1043         (todos-categories-full, todos-global-current-todos-file)
1044         (todos-first-visit, todos-insertion-commands-args-genlist)
1045         (todos-insertion-commands-args, todos-insertion-commands-names)
1046         (todos-insertion-commands, todos-insertion-commands-arg-key-list)
1047         (todos-top-priorities-widgets, todos-date-from-calendar)
1048         (todos-item-mark, todos-categories-with-marks): New variables.
1049         (todos-mode-line-control, todos-reset-global-current-todos-file)
1050         (todos-gen-arglists, todos-insertion-command-name)
1051         (todos-insertion-key-bindings, todos-unload-hook)
1052         (todos-filter-items, todos-set-date-from-calendar)
1053         (todos-comment-string-matcher, todos-after-find-file)
1054         (todos-reset-nondiary-marker, todos-reset-done-string)
1055         (todos-reset-comment-string, todos-show-current-file)
1056         (todos-item-marked-p, todos-total-item-counts): New functions.
1057         (todos-define-insertion-command): New macro.
1058         (todos-toggle-mark-item, todos-mark-category)
1059         (todos-unmark-category, todos-set-top-priorities)
1060         (todos-merged-diary-items, todos-regexp-items)
1061         (todos-merged-regexp-items, todos-custom-items)
1062         (todos-merged-custom-items, todos-comment-done-item)
1063         (todos-archive-category-done-items, todos-unarchive-items)
1064         (todos-print-to-file): New commands.
1065         (todos-done-separator): Change :set function.
1066         (todos-done-string): Uncomment :initialize and :set functions.
1067         (todos-files): Use file-truename.
1068         (todos-show-current-file): Rename from
1069         todos-auto-switch-todos-file and change :set function accordingly.
1070         (todos-font-lock-keywords): Use todos-comment-string-matcher;
1071         change names of other matcher functions to new *-matcher.
1072         (todos-category-number): Change initial value.
1073         (todos-insertion-map): Use todos-insertion-key-bindings to
1074         generate key definitions.
1075         (todos-mode-map): Don't suppress digit keys, so they can supply
1076         prefix arguments; add new and change some existing bindings.
1077         (todos-archive-mode-map): Change a key binding.
1078         (todos-categories-mode-map): Comment out a key binding.
1079         (todos-filter-items-mode-map): Rename from
1080         todos-top-priorities-mode-map.
1081         (todos-mode): Make todos-current-todos-file,
1082         todos-categories-full, todos-categories, todos-first-visit,
1083         todos-category-number, todos-show-done-only,
1084         todos-categories-with-marks local variables and set them; add
1085         todos-show-current-file to pre-command-hook, todos-after-find-file
1086         to post-command-hook and todos-reset-global-current-todos-file to
1087         kill-buffer-hook.
1088         (todos-archive-mode): Make todos-current-todos-file,
1089         todos-categories and todos-category-number local variables and set
1090         them; add todos-after-find-file to post-command-hook.
1091         (todos-raw-mode): New derived major mode.
1092         (todos-categories-mode): Don't set font-lock-defaults and
1093         buffer-read-only; make todos-current-todos-file and
1094         todos-categories local variables and set them.
1095         (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
1096         (todos-quit): Don't reset todos-categories on quitting
1097         todos-categories-mode; handle quitting todos-filter-items-mode.
1098         (todos-show): Simplify; when visiting an archive file switch to
1099         corresponding Todos file; use todos-first-visit.
1100         (todos-view-archived-items): Simplify; call todos-category-number.
1101         (todos-show-archive): Rename from todos-switch-to-archive and
1102         adjust callers; simplify.
1103         (todos-toggle-display-date-time): Add optional argument to toggle
1104         display in entire file.
1105         (todos-top-priorities): Use todos-filter-items, which now contains
1106         the previous core of this command.
1107         (todos-merged-top-priorities, todos-diary-items):
1108         Use todos-filter-items.
1109         (todos-forward-category): Add optional argument to go to the
1110         previous category.
1111         (todos-backward-category): Use todos-forward-category.
1112         (todos-jump-to-category): Refine implementation.
1113         (todos-forward-item, todos-backward-item): Fix movement from todo
1114         to done item and vice versa.
1115         (todos-add-file): Remove argument and simplify.
1116         (todos-rename-category): Use todos-current-todos-file and
1117         todos-mode-line-function; set todos-categories with
1118         todos-set-categories.
1119         (todos-delete-category): Ask what to do if category has archived items.
1120         (todos-raise-category): Ensure modified todos-categories is added
1121         to file's categories sexp.
1122         (todos-move-category): Improve implementation, especially handling
1123         of archived categories.
1124         (todos-merge-category): Tweak; set item counts.
1125         (todos-insert-item): Improve handling of various argument values;
1126         add new argument values to control marking of diary items and to
1127         use region for item body.
1128         (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
1129         (todos-delete-item, todos-edit-item-header): Handle marked items.
1130         (todos-edit-item): Incorporate functionality of removed
1131         todos-string-multiline-p.
1132         (todos-edit-multiline): Use set-window-buffer instead of
1133         switch-to-buffer.
1134         (todos-edit-quit): Don't save on quitting; use todos-show instead
1135         of todos-category-select.
1136         (todos-raise-item-priority): Add argument to lower priority;
1137         improve handling of top priority items in todos-filter-items-mode;
1138         restore marks.
1139         (todos-lower-item-priority): Use todos-raise-item-priority.
1140         (todos-set-item-priority): Increment maximum number if item is new.
1141         (todos-move-item): Handle marked items; delay changing category
1142         moved from till after movement to avoid restoring if user cancels
1143         before insertion.
1144         (todos-item-done): Add optional argument to insert comment; fix
1145         item counts and update sexp.
1146         (todos-item-undo): Fix item counts and update.
1147         (todos-archive-done-item-or-items): Rename from
1148         todos-archive-done-items; add optional argument to archive all
1149         items in category; handle marked items.
1150         (todos-unarchive-category): Use todos-unarchive-items.
1151         (todos-toggle-diary-inclusion): Incorporate functionality of
1152         removed todos-toggle-item-diary-inclusion; handle marked items.
1153         (todos-print): Add optional argument to print to file.
1154         (todos-done-string-start): Don't use todos-nondiary-start.
1155         (todos-date-string-matcher, todos-time-string-matcher)
1156         (todos-done-string-matcher, todos-category-string-matcher): Rename
1157         from *-match and adjust callers.
1158         (todos-wrap-and-indent): Use set instead of setq for local variables.
1159         (todos-prefix-overlays): Improve overlay handling.
1160         (todos-reset-categories): Fix and complete implementation.
1161         (todos-toggle-show-current-file): Rename from
1162         todos-toggle-switch-todos-file-noninteractively.
1163         (todos-category-select): Use todos-mode-line-function.
1164         (todos-item-start): Comment out code used by removed function.
1165         (todos-remove-item): Handle presence of both prefix/number and
1166         mark overlays.
1167         (todos-get-count): Simplify.
1168         (todos-set-count): Change argument list and adjust callers; simplify.
1169         (todos-set-categories): Handle new archive files; use
1170         todos-categories-full and todos-ignore-archived-categories.
1171         (todos-truncate-categories-list): Use todos-categories-full.
1172         (todos-update-categories-sexp): Use kill-region instead of
1173         kill-line; use todos-categories-full.
1174         (todos-read-file-name): Add argument to require existing file and
1175         adjust callers; use file-truename.
1176         (todos-read-category): Remove argument to require existing
1177         category and delegate it to completing-read in function body.
1178         (todos-validate-category-name): Make empty string prompt only for
1179         initial category name.
1180         (todos-read-date): Use = instead of eq for testing if month = 13,
1181         and if it is, set monthname to *.
1182         (todos-display-categories): Use todos-global-current-todos-file;
1183         use set-window-buffer instead of switch-to-buffer; add a line
1184         showing item count totals.
1185         (todos-padded-string): Use the longest of category name or label.
1186         (todos-descending-counts): Rename from
1187         todos-descending-counts-store and adjust users.
1188         (todos-insert-category-line): Adjust format; use mapconcat; kill
1189         buffer after jumping to category.
1191 2012-09-18  Stephen Berman  <stephen.berman@gmx.net>
1193         Changes from 2011-05-16 (revision 109996).
1194         * calendar/todos.el Add and revise various doc strings, remove
1195         further commented out code; add further comments; further code
1196         rearrangement.
1197         (todos-file-do, todos-archive-file, todos-mode-hook)
1198         (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
1199         (todos-view-archive, todos-search-string)
1200         (todos-jump-to-category-noninteractively, todos-initial-setup):
1201         Remove.
1202         (todos-files): Remove this defcustom.
1203         (todos-initial-category, todos-display-categories-first)
1204         (todos-auto-switch-todos-file, todos-default-todos-file)
1205         (todos-categories-category-label, todos-categories-todo-label)
1206         (todos-categories-diary-label, todos-categories-done-label)
1207         (todos-categories-archived-label)
1208         (todos-categories-number-separator, todos-categories-align)
1209         (todos-ignore-archived-categories, todos-nondiary-marker):
1210         New defcustoms.
1211         (todos-prefix, todos-done-separator, todos-file-top)
1212         (todos-categories-buffer, todos-archived-categories-buffer)
1213         (todos-edit-buffer, todos-always-add-time-string, todos-button):
1214         Change default value.
1215         (todos-done-string): Add todos-reset-done-string as :set function,
1216         but keep this commented out.
1217         (todos-files, todos-archives, todos-insertion-map)
1218         (todos-category-done, todos-nondiary-start, todos-nondiary-end)
1219         (todos-show-done-only, todos-date-string-start)
1220         (todos-done-string-start): New variables.
1221         (todos-files-directory, todos-files-function, todos-merged-files)
1222         (todos-prompt-merged-files, todos-files, todos-modes-set-1)
1223         (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
1224         (todos-toggle-switch-todos-file-noninteractively)
1225         (todos-switch-todos-file, todos-counts, todos-get-count)
1226         (todos-set-count, todos-set-categories)
1227         (todos-truncate-categories-list, todos-update-categories-sexp)
1228         (todos-read-file-name, todos-sort, todos-display-sorted)
1229         (todos-label-to-key, todos-insert-sort-button): New functions.
1230         (todos-display-categories-sorted-by-todo)
1231         (todos-display-categories-sorted-by-diary)
1232         (todos-display-categories-sorted-by-done)
1233         (todos-display-categories-sorted-by-archived)
1234         (todos-update-merged-files, todos-switch-to-archive)
1235         (todos-choose-archive, todos-merged-top-priorities)
1236         (todos-jump-to-category-other-file, todos-clear-matches)
1237         (todos-add-file, todos-change-default-file, todos-move-category)
1238         (todos-merge-category, todos-merge-categories)
1239         (todos-edit-item-time, todos-move-item-to-file)
1240         (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
1241         (todos-toggle-diary-nonmarking): New commands.
1242         (todos-toggle-show-done-only): New command replacing todos-view-archive.
1243         (todos-faces): New defgroup; use in all face definitions.
1244         (todos-sorted-column, todos-archived-only, todos-search): New faces.
1245         (todos-font-lock-keywords): Use subexpression 1 with matcher
1246         todos-category-string-match.
1247         (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
1248         (todos-categories-mode-map): Add new key bindings; change some
1249         existing bindings.
1250         (todos-top-priorities-mode-map): New keymap.
1251         (todos-menu): Add submenues and new entries.
1252         (auto-mode-alist): Add extension of Todos and Todos archive files.
1253         (todos-mode, todos-archive-mode): Make derived mode; use
1254         todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
1255         and todos-switch-todos-file; make todos-show-done-only local
1256         variable.
1257         (todos-edit-mode): Make derived mode; use todos-modes-set-1.
1258         (todos-categories-mode): Make derived mode.
1259         (todos-top-priorities-mode): New derived major mode.
1260         (todos-save): Remove unused code.
1261         (todos-quit): Handle todos-categories-mode; save archive buffer.
1262         (todos-show): Add optional argument to prompt for a Todos file; if
1263         called interactively or with prefix arg or from an archive, don't
1264         make a no-op but reset todos-current-todos-file, todos-categories
1265         and todos-category-number; use todos-read-file-name,
1266         todos-display-categories-first, todos-ignore-archived-categories.
1267         (todos-display-categories): Change argument name; refactor code
1268         for inserting table labels and lines, using
1269         todos-ignore-archived-categories, todos-sort,
1270         todos-categories-number-separator, todos-insert-sort-button,
1271         todos-categories-*-labels, and todos-insert-category-line.
1272         (todos-display-categories-alphabetically): Use todos-display-sorted.
1273         (todos-toggle-view-done-items): Use todos-done-string-start and
1274         todos-get-count.
1275         (todos-toggle-display-date-time): Use todos-done-string-start.
1276         (todos-top-priorities): Remove autoload cookie; partially rewrite:
1277         new argument list; allow combining top priorities of multiple
1278         Todos files; change display to include category (and file) name as
1279         part of item header; use todos-top-priorities-mode.
1280         (todos-diary-items): Reimplement using only todos-top-priorities.
1281         (todos-forward-category, todos-backward-category): Adjust to
1282         1-based numbering of categories; move point to top of category.
1283         (todos-jump-to-category): Rewrite, adding optional arguments to
1284         provide a category in non-interactive uses and to prompt for which
1285         Todos file to jump to.
1286         (todos-search): Reimplement; highlight each match as found, say
1287         how many matches remain and prompt whether to go to next one; at
1288         end of search prompt whether to remove highlighting.
1289         (todos-add-category): Remove autoload cookie; assign new category
1290         the highest category number; associate zero-initialized vector of
1291         item counts, instead of property list, with new category; use
1292         todos-validate-category-name and todos-update-categories-sexp.
1293         (todos-rename-category): Use todos-validate-category-name and
1294         todos-update-categories-sexp; take archive files into account.
1295         (todos-delete-category): Use todos-get-count and
1296         todos-update-categories-sexp, let-bind variable that were
1297         mistakenly global; use delete-region instead of kill-region;
1298         adjust to 1-based numbering of categories; move point to top of
1299         category.
1300         (todos-raise-category): Handle item count vectors; use
1301         todos-insert-category-line and todos-update-categories-sexp.
1302         (todos-insert-item): Use nil time-string argument to omit time
1303         string; use todos-nondiary-start and todos-nondiary-end and
1304         todos-update-categories-sexp; if category named to insert into
1305         does not exist, add it; take new diary items into account.
1306         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
1307         (todos-insert-item-ask-date-time-for-diary)
1308         (todos-insert-item-ask-date-time-for-diary-here)
1309         (todos-insert-item-ask-date-time-here)
1310         (todos-insert-item-ask-date-maybe-notime)
1311         (todos-insert-item-ask-date-maybe-notime-for-diary)
1312         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
1313         (todos-insert-item-ask-date-maybe-notime-here)
1314         (todos-insert-item-ask-date-for-diary)
1315         (todos-insert-item-ask-date-for-diary-here)
1316         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
1317         (todos-insert-item-ask-dayname-time)
1318         (todos-insert-item-ask-dayname-time-for-diary)
1319         (todos-insert-item-ask-dayname-time-for-diary-here)
1320         (todos-insert-item-ask-dayname-time-here)
1321         (todos-insert-item-ask-dayname-maybe-notime)
1322         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
1323         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
1324         (todos-insert-item-ask-dayname-maybe-notime-here)
1325         (todos-insert-item-ask-dayname-for-diary)
1326         (todos-insert-item-ask-dayname-for-diary-here)
1327         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
1328         (todos-insert-item-ask-time-for-diary)
1329         (todos-insert-item-ask-time-for-diary-here)
1330         (todos-insert-item-ask-time-here)
1331         (todos-insert-item-maybe-notime)
1332         (todos-insert-item-maybe-notime-for-diary)
1333         (todos-insert-item-maybe-notime-for-diary-here)
1334         (todos-insert-item-maybe-notime-here)
1335         (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
1336         New insertion commands.
1337         (todos-insert-item-from-calendar): Use todos-current-todos-file.
1338         (todos-delete-item): Handle diary items;
1339         use todos-update-categories-sexp.
1340         (todos-edit-item): Check if point is with item string;
1341         use read-string instead of read-from-minibuffer;
1342         use todos-date-string-start; after editing put point at start of
1343         item text.
1344         (todos-edit-multiline): Narrow to item before invoking
1345         todos-edit-mode; show key binding of todos-edit-quit in a message.
1346         (todos-edit-quit): Use todos-save; kill buffer.
1347         (todos-edit-item-header): Add optional argument to prompt for
1348         editing only date string or only time string;
1349         use todos-date-string-start.
1350         (todos-edit-item-date, todos-edit-item-date-is-today)
1351         (todos-raise-item-priority, todos-lower-item-priority): Rename
1352         from todos-{raise, lower}-item and make them DTRT in
1353         todos-top-priorities-mode.
1354         (todos-set-item-priority): Make interactive; use todos-get-count
1355         and todos-insert-with-overlays; interactively, just relocate the
1356         item within its category.
1357         (todos-move-item): Add optional argument to prompt for a category
1358         in another Todos file; handle diary items; fix restoration after
1359         cancelling before inserting.
1360         (todos-item-done): Handle diary items; simplify handling of
1361         insertion in done items section.
1362         (todos-item-undo): Handle diary items.
1363         (todos-archive-done-items): Adjust to new handling of archive
1364         files (in parallel with Todos files); handle diary items; use
1365         todos-done-string-start.
1366         (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
1367         todos-nondiary-end and todos-item-counts.
1368         (todos-toggle-diary-inclusion): Use todos-category-done instead of
1369         todos-category-end.
1370         (todos-print): Remove autoload cookie; rewrite to make overlays,
1371         line wrapping and wrap prefixes printable.
1372         (todos-date-pattern): Make parenthesized groups shy.
1373         (todos-date-string-match): Use todos-date-string-start; make
1374         todos-date-pattern an explicitly numbered group.
1375         (todos-time-string-match): Use todos-date-string-start.
1376         (todos-done-string-match): Use todos-done-string-start.
1377         (todos-category-string-match): Rewrite to match new category and
1378         category+filename patterns in todos-top-priorities-mode.
1379         (todos-prefix-overlays): Use todos-done-string-start and
1380         todos-category-done.
1381         (todos-reset-prefix): Handle archive files; restore point after
1382         changing prefix.
1383         (todos-reset-separator): Handle archive files.
1384         (todos-category-number): Make category number one more than its
1385         list index.
1386         (todos-current-category): Adjust to 1-based numbering of categories.
1387         (todos-category-select): Simplify handling of done items and done
1388         separator string overlay.
1389         (todos-item-start): Use todos-date-string-start and
1390         todos-done-string-start.
1391         (todos-item-start, todos-item-end): Fix wrong parenthesizing.
1392         (todos-item-string): Restore point after getting item bounds; use
1393         buffer-substring-no-properties.
1394         (todos-done-item-p): Use todos-done-string-start.
1395         (todos-make-categories-list): Add optional argument to force
1396         looping through file to get categories and their item counts,
1397         otherwise set todos-categories from sexp in first line; use
1398         vectors of item counts instead of plists; count diary items.
1399         (todos-item-counts): Use todos-counts, todos-set-counts,
1400         todos-get-counts, and todos-update-categories-sexp instead of
1401         getting and setting properties; handle diary items.
1402         (todos-read-category): Add argument to set prompt; don't offer
1403         default category.
1404         (todos-validate-category-name): Rename from
1405         todos-check-category-name; take into account whether there are
1406         already categories or not.
1407         (todos-read-date): Accept `*' as an unspecified month, day, or year.
1408         (todos-padded-string): Accommodate new structure of
1409         todos-categories as alists; use todos-categories-align.
1410         (todos-descending-counts-store): New variable.
1411         (todos-insert-category-line): Rename from
1412         todos-insert-category-name and reimplement using labels and
1413         todos-get-counts instead of properties; use
1414         todos-ignore-archived-categories; highlight sorted column.
1416 2012-09-14  Stephen Berman  <stephen.berman@gmx.net>
1418         Changes from 2010-07-09 (revision 109995).
1419         * calendar/todos.el Remove lots of commented out code; add various
1420         comments; further code rearrangement.
1421         (todos-insert-item-here-ask-date-time)
1422         (todos-insert-item-ask-date-time)
1423         (todos-insert-item-ask-dayname-time)
1424         (todos-insert-item-for-diary)
1425         (todos-insert-item-for-diary-ask-date-time)
1426         (todos-make-categories-alist, todos-categories-alist): Remove.
1427         (todos-categories-list): Comment out.
1428         (todos-make-categories-list): New function replacing
1429         todos-make-categories-alist, using category plists to get item
1430         counts and taking archive into account.
1431         (todos-current-todos-file): New variable.
1432         (todos-mode-map): Update key bindings.
1433         (todos-save): Add as comment code to make sure todos-categories
1434         sexp is current on saving.
1435         (todos-quit): Call todos-show on quitting Todos archive buffer.
1436         (todos-show): If todos-current-todos-file is not set to Todos
1437         file, set it as a new file; set todos-categories from
1438         todos-make-categories-alist.
1439         (todos-display-categories): Use a different display format for
1440         archive file; put point initially on the first button.
1441         (todos-toggle-view-done-items): Check the category's `done'
1442         property to determine if there are done items.
1443         (todos-view-archive): Set todos-current-todos-file to the archive
1444         file; jump from the Todos file to the same category in the
1445         archive, if it exists, else jump to the first category; use
1446         message instead of error.
1447         (todos-add-category): Intern a special symbol for the new category
1448         and set its property list to holds counts of the numbers of todo,
1449         done and archived items in the category; assign the new category
1450         the current highest category number.
1451         (todos-rename-category): Don't use todos-categories-alist.
1452         (todos-delete-category): Check the category's `todo' and `done'
1453         properties to determine if it is empty; ensure that the end of the
1454         last category is found; after deleting the category, empty its
1455         plist and unintern its special symbol.
1456         (todos-insert-item-here): Fix argument list of todos-insert-item.
1457         (todos-delete-item, todos-raise-item, todos-lower-item):
1458         Use message instead of error.
1459         (todos-move-item): If the category to be moved to does not exist,
1460         add it as a new category.
1461         (todos-item-done, todos-reset-separator):
1462         Use todos-category-select instead of todos-show.
1463         (todos-archive-done-items): Make buffer writeable; conditionalize
1464         search for end of category; save after adding to archive in case
1465         the file is new, so it can be found.
1466         (todos-category-select): Wrap search in if instead of or+and;
1467         don't hide done items in an archive.
1468         (todos-set-item-priority): Check the category's `todo'
1469         property to determine if there are not done todo items.
1470         (todos-jump-to-category-noninteractively): Just switch to buffer
1471         visiting todos-current-todos-file, since this can be either a
1472         Todos file or an archive.
1473         (todos-item-counts): Use category's plist instead of an alist.
1474         (todos-longest-category-name-length): Argument is now a list of
1475         category names, not an alist, so just test each element, not each
1476         element's the car.
1477         (todos-padded-string): Use todos-categories instead of
1478         todos-categories-alist.
1479         (todos-insert-category-name): Use category plist to get item
1480         counts; take archived items into account.
1482 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1484         Changes from 2010-06-18 (revision 109994).
1485         * calendar/todos.el: Numerous spelling and comment fixes, doc
1486         string fixes to conform with checkdoc, further rearrangement of
1487         definitions, etc.
1488         (todos-previous-line, todos-previous-answer)
1489         (todos-insert-item-ask-date, todos-change-date)
1490         (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1491         (todos-count-items-in-category, todos-count-all-items): Remove.
1492         (todos-update-numbered-prefix, todos-item-start-overlays)
1493         (todos-add-item-non-interactively): Comment out, also in uses.
1494         (todos-done-separator): Change default value.
1495         (todos-always-add-time-string): Rename from todos-add-time-string
1496         and adjust uses.
1497         (todos-read-category): Rename from todos-completing-read and
1498         adjust callers; use todos-current-category.
1499         (todos-make-categories-alist): Rename from function
1500         todos-categories-alist.
1501         (todos-categories-alist): New variable.
1502         (todos-indent-to-here): New defcustom.
1503         (todos-button): New face.
1504         (todos-display-categories-alphabetically, todos-raise-category)
1505         (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1506         (todos-insert-item-here-ask-date-time)
1507         (todos-insert-item-ask-date-time)
1508         (todos-insert-item-ask-dayname-time): New commands.
1509         (todos-edit-item-header): New command replacing todos-change-date.
1510         (todos-category-number, todos-indent, todos-item-counts)
1511         (todos-check-category-name, todos-read-date, todos-read-dayname)
1512         (todos-read-time, todos-padded-string)
1513         (todos-insert-category-name): New functions.
1514         (todos-set-item-priority): New function replacing
1515         todos-add-item-non-interactively.
1516         (todos-mode-map): Remap newline to newline-and-indent.
1517         (todos-edit-mode-map): Make sparse keymap; remap newline to
1518         newline-and-indent.
1519         (todos-categories-mode-map): New keymap.
1520         (todos-mode, todos-edit-mode): Make indent-line-function local
1521         variable and set to todos-indent.
1522         (todos-categories-mode): New major mode.
1523         (todos-display-categories): List categories initially in their
1524         numerical order; add optional argument to switch to alphabetical
1525         listing.
1526         (todos-toggle-view-done-items): Simplify implementation.
1527         (todos-toggle-display-date-time): Fix regexp search string.
1528         (todos-backward-item, todos-forward-item): Use variable
1529         todos-item-start.
1530         (todos-add-category): Use todos-check-category-name and
1531         todos-categories-alist.
1532         (todos-rename-category): Use todos-current-category,
1533         todos-check-category-name and todos-categories-alist.
1534         (todos-delete-category): Use todos-check-category-name and
1535         todos-categories-alist and take done items into account.
1536         (todos-insert-item): Use separate arguments to handle insertion of
1537         date/dayname and time strings, add new argument to mark item for
1538         diary inclusion, use new todos-read-* functions,
1539         todos-set-item-priority and todos-item-counts.
1540         (todos-insert-item-here, todos-insert-item-for-diary)
1541         (todos-insert-item-from-calendar): Adapt to new version of
1542         todos-insert-item.
1543         (todos-delete-item, todos-item-done): Use todos-item-counts.
1544         (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1545         char follows.
1546         (todos-lower-item): Ensure only not-done items can be lowered.
1547         (todos-move-item): Use todos-current-category, todos-read-category
1548         and todos-item-counts.
1549         (todos-archive-done-items): Use todos-current-category and
1550         todos-item-counts; fix regexp search string.
1551         (todos-item-undo): Use todos-current-category,
1552         todos-set-item-priority, todos-insert-with-overlays and
1553         todos-item-counts; restore if user quits before inserting undone
1554         item.
1555         (todos-date-pattern): Rewrite without using
1556         todos-date-nodayname-pattern and todos-dayname-date-pattern.
1557         (todos-date-string-match): Do not make todos-date-pattern an
1558         unnumbered group.
1559         (todos-time-string-match): Make todos-date-pattern a shy group.
1560         (todos-wrap-and-indent): Use todos-indent-to-here.
1561         (todos-reset-prefix): Revert to using todos-show instead of
1562         todos-category-select.
1563         (todos-prefix-overlays): Fix numbering of done items and updating
1564         of prefix.
1565         (todos-category-select): Use todos-current-category; fix display
1566         of separator string; don't move point to top of category.
1567         (todos-jump-to-category-noninteractively): Use todos-category-number.
1568         (todos-insert-with-overlays): Use todos-item-start unconditionally.
1569         (todos-item-start): New variable.
1570         (todos-item-start): Use it to define this function.
1571         (todos-item-end): Adjust if item is last unfinished one before
1572         displayed done items.
1573         (todos-remove-item): Use todos-item-start and todos-item-end
1574         instead of todos-forward-item and todos-backward-item.
1575         (todos-longest-category-name-length): Add argument for list of
1576         categories.
1578 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1580         Changes from 2010-05-25 (revision 109993).
1581         * calendar/todos.el: Comment out calendar require, since diary-lib
1582         requires calendar.  Rearrange file to group definitions according
1583         to their use (types of commands, internal functions, etc.)
1584         (todos-file-done, todos-insert-threshold, todos-remove-separator)
1585         (todos-date-string, todos-time-string, todos-check-overlay)
1586         (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1587         Comment out.
1588         (todos-current-date, todos-item-end-overlays)
1589         (todos-list-categories): Remove.
1590         (todos-item-end): Remove (the variable, not the function).
1591         (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1592         callers.
1593         (todos-done-separator, todos-done-string, todos-show-with-done)
1594         (todos-files, todos-archive-file, todos-categories-buffer)
1595         (todos-archived-categories-buffer, todos-wrap-lines)
1596         (todos-line-wrapping-function): New defcustoms.
1597         (todos-done, todos-done-sep): New faces.
1598         (todos-done-face, todos-done-sep-face): Corresponding new variables.
1599         (todos-search-string, todos-date-nodayname-pattern)
1600         (todos-dayname-date-pattern, todos-date-pattern): New variables.
1601         (todos-done-string-match, todos-category-string-match)
1602         (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1603         (todos-current-category, todos-count-items-in-category)
1604         (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1605         (todos-longest-category-name-length): New functions.
1606         (todos-categories-list): New buffer-specific function replacing
1607         todos-list-categories.
1608         (todos-toggle-item-numbering, todos-toggle-view-done-items)
1609         (todos-search, todos-view-archive, todos-diary-items)
1610         (todos-toggle-display-date-time, todos-insert-item-no-time)
1611         (todos-insert-item-ask-date, todos-insert-item-for-diary)
1612         (todos-insert-item-from-calendar, todos-edit-quit)
1613         (todos-change-date, todos-item-done, todos-archive-done-items)
1614         (todos-item-undo): New commands.
1615         (todos-archive-mode): New major mode.
1616         (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1617         (todos-category-beg): Change value.
1618         (todos-number-prefix): Change default value.
1619         (todos-edit-buffer): Change from defvar to defcustom.
1620         (todos-font-lock-keywords): Use todos-done-string-match and
1621         todos-category-string-match.
1622         (todos-backward-item, todos-forward-item): Use todos-done-string
1623         and todos-date-pattern.
1624         (todos-display-categories): Reimplement using buttons from
1625         button.el instead of widgets.
1626         (todos-top-priorities): Use with-current-buffer; take done items
1627         into account; ensure buffers gets fontified.
1628         (todos-add-category): Ensure new category does not begin with
1629         empty lines.
1630         (todos-jump-to-category): Use todos-category-select instead of
1631         todos-show.
1632         (todos-rename-category): Prompt for new name in body instead of in
1633         interactive spec.
1634         (todos-insert-item): Don't insert in done items section of
1635         category.  Add two optional arguments to control insertion: (i) to
1636         insert near point without prompting for priority; (ii) to use
1637         defaults for date and time strings, to prompt for these, or to
1638         choose date from the Calendar.
1639         (todos-insert-item-here): Reimplement using todos-insert-item.
1640         (todos-delete-item): Don't move point after deleting last item.
1641         (todos-raise-item, todos-lower-item): Take done items into account.
1642         (todos-move-item): Don't move done items; update item numbering;
1643         restore if user quits before inserting moved item.
1644         (todos-print): Prompt for confirmation to print.
1645         (todos-reset-prefix): Search backward from end of file instead of
1646         forward from top.
1647         (todos-jump-to-category-noninteractively): Take Todos archive into
1648         account.
1649         (todos-category-select): Show or hide done items according to
1650         todos-show-with-done; if shown, coordinate separator and prefix
1651         overlays.
1652         (todos-add-item-non-interactively): Replace binary insertion
1653         algorithm with prompting for numerical priority.
1654         (todos-insert-with-overlays): Remove use of variable todos-item-end.
1655         (todos-item-start): Take done items into account; use
1656         todos-date-pattern.
1657         (todos-item-end): Reimplement using todos-forward-item.
1658         (todos-remove-item): Reimplement using todos-forward-item and
1659         todos-backward-item; redo overlay handling.
1660         (todos-mode-map): Add some new key bindings and change numerous
1661         existing bindings; use "i" as prefix key for item insertion
1662         commands.
1663         (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1664         wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1665         spec; set buffer-read-only to t and consequently let-bind this
1666         variable in all Todos commands that change buffer content.
1667         (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1668         (todos-save): Don't save top priorities buffer.
1669         (todos-show): Make a no-op if called interactively in narrowed
1670         Todos mode, since, also to work around item prefix reduplication
1671         bug with show-paren-mode enabled; use todos-categories-list.
1673 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1675         Changes from 2009-11-07 (revision 109992).
1676         * calendar/todos.el: Comment out time-stamp require; require
1677         calendar and diary-lib.
1678         (todos-prefix): Change default value and doc string to reflect new
1679         meaning; add :initialize and :set functions.
1680         (todos-time-string-format, todos-entry-prefix-function)
1681         (todos-initials, todos-entry-timestamp-initials)
1682         (todos-prefix-face, todos-category-sep, todos-category-end)
1683         (todos-cp): Comment out.
1684         (todos-prefix-string): Inherit from font-lock-comment-face.
1685         (todos-item-header, todos-item-header-face): Remove.
1686         (todos-date, todos-time): New faces.
1687         (todos-date-face, todos-time-face): Corresponding new variables.
1688         (todos-add-time-string, todos-include-in-diary)
1689         (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1690         New defcustoms.
1691         (todos-item-end, todos-item-start-overlays)
1692         (todos-item-end-overlays): New variables.
1693         (todos-date-string-match, todos-time-string-match): New functions.
1694         (todos-font-lock-keywords): Use them.
1695         (todos-current-date, todos-date-string, todos-time-string)
1696         (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1697         (todos-reset-prefix, todos-update-numbered-prefix)
1698         (todos-check-overlay, todos-item-overlays)
1699         (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1700         (todos-highlight-item): New command.
1701         (todos-category-beg): Change value.
1702         (todos-category-select): Use todos-category-beg and todos-item-overlays.
1703         (todos-backward-item): Add optional count argument; use it and
1704         todos-item-start.
1705         (todos-forward-item): Use todos-check-overlay, todos-item-start
1706         and variable todos-item-end.
1707         (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1708         todos-update-numbered-prefix, todos-item-overlays.
1709         (todos-add-category, todos-rename-category)
1710         (todos-list-categories): Use new category format.
1711         (todos-delete-category): Allow deleting non-empty category;
1712         use new category format.
1713         (todos-add-item-non-interactively): Comment out unnecessary
1714         save-excursion; use todos-insert-with-overlays.
1715         (todos-insert-item): Comment out unnecessary save-excursion; use
1716         new item format for date/time header and diary inclusion marking.
1717         (todos-insert-item-here): Use new item format for date/time header
1718         and diary inclusion marking; use todos-insert-with-overlays.
1719         (todos-raise-item): Make a no-op if point is on an empty line; use
1720         todos-insert-with-overlays.
1721         (todos-lower-item): Use todos-insert-with-overlays.
1722         (todos-top-priorities): Move call to todos-show inside
1723         save-excursion; add save-current-buffer after save-restriction.
1724         (todos-item-start): Use variable todos-item-end.
1725         (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1726         (todos-remove-item): Take item overlays into account.
1727         (todos-mode): Change calculation of wrap-prefix; make
1728         hl-line-range-function a local variable and set it to highlight
1729         todo item.
1730         (todos-show): Ensure point stays at top of category.
1732 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1734         Changes from 2009-07-04 (revision 109991).
1735         * calendar/todos.el (todos-window-configuration): Comment out.
1736         (todos-display-categories): Comment out use of
1737         todos-window-configuration; use switch-to-buffer instead of
1738         pop-to-buffer.
1739         (todos-jump-to-category-noninteractively): Comment out use of
1740         todos-window-configuration.
1741         (todos-edit-item): Don't allow editing of date/time item header.
1742         (todos-insert-item, todos-insert-item-here): Insert date/time
1743         header in front of new item string.
1744         (todos-mode): Tweak wrap-prefix.
1746 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1748         Changes from 2009-06-26 (revision 109989).
1749         * calendar/todos.el (todos-file-do, todos-file-done):
1750         Change default location to directory "~/.emacs.d/".
1751         (todos-completion-ignore-case, todos-categories-buffer):
1752         New defcustoms.
1753         (todos-prefix-string, todos-item-header): New faces.
1754         (todos-prefix-face, todos-item-header-face): Corresponding
1755         new variables.
1756         (todos-rename-category, todos-delete-category)
1757         (todos-display-categories, todos-move-item): New commands.
1758         (todos-mode-map): Add key bindings for new commands and for
1759         todos-add-category, which had no key binding.
1760         (todos-jump-to-category-noninteractively): New function.
1761         (todos-top-priorities): Comment out code using a previously
1762         deleted variable.
1763         (todos-completing-read): Allow SPC to insert a space when entering
1764         a new category name; use todos-completion-ignore-case.
1765         (todos-font-lock-keywords, todos-window-configuration):
1766         New variables.
1767         (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1768         word-wrap, and wrap-prefix local variables.
1770 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1772         Changes from 2009-02-16 (revision 109988).
1773         * calendar/todos.el (todos-list-categories): Fix typos.
1774         (todos-show): Ensure file is in todos-mode.
1776 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1778         Changes from 2009-02-12 (revision 109987).
1779         * calendar/todos.el (todos-header): Remove defvar.
1780         (todos-add-category): Comment out code that inserts and updates
1781         the file local variables first line of the file todos-file-do.
1782         (todos-list-categories): New function.
1783         (todos-show): Use it; remove use of a previously deleted variable.
1785 2012-09-11  Stephen Berman  <stephen.berman@gmx.net>
1787         Changes from 2009-02-12 (revision 109986).
1788         * calendar/todos.el: New file.  This is a copy of todo-mode.el
1789         from revision 94343 except for the following changes: replace all
1790         occurrences of the namespace prefix "todo-" with "todos-", delete
1791         the defvar todo-cats (the old name of todo-categories) and its use
1792         in todos-add-category, delete all defaliases of old command names.
1794 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1796         * subr.el (set-temporary-overlay-map): Add a docstring.
1797         (bug#12346)
1799 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1801         * minibuffer.el (completion-table-subvert): Fix docstring.
1802         (bug#12347)
1804 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1806         * help-fns.el (describe-variable): Fix typo. (bug#12346)
1808 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
1810         * progmodes/sql.el: Version 3.1
1811         (sql-db2-escape-newlines): New variable.
1812         (sql-escape-newlines-filter): Use it.
1814 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
1816         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1818 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
1820         * vc/diff-mode.el (diff-mode-menu): Bind
1821         diff-remove-trailing-whitespace.
1823 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1825         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1826         (emacs-lisp-byte-code-comment)
1827         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1828         New functions.
1829         (eval-sexp-add-defvars): Don't skip defvars in column >0.
1830         (eval-defun-2): Remove bogus interactive spec.
1831         (lisp-indent-line): Remove redundant whole-exp code, now done in
1832         indent-according-to-mode.
1833         (save-match-data): Remove redundant indent data.
1835         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1836         Use `declare'.
1838 2012-09-09  Juri Linkov  <juri@jurta.org>
1840         * replace.el (replace-regexp-lax-whitespace): New defcustom.
1841         (replace-lax-whitespace, query-replace-regexp)
1842         (query-replace-regexp-eval, replace-regexp): Doc fix.
1843         (perform-replace, replace-highlight): Let-bind
1844         isearch-lax-whitespace to replace-lax-whitespace and
1845         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1847         * isearch.el (isearch-query-replace): Let-bind
1848         replace-lax-whitespace to isearch-lax-whitespace and
1849         replace-regexp-lax-whitespace to
1850         isearch-regexp-lax-whitespace.  (Bug#10885)
1852 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1854         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1856 2012-09-09  Alan Mackenzie  <acm@muc.de>
1858         * progmodes/cc-engine.el (c-state-cache-init):
1859         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1860         (c-record-parse-state-state):
1861         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1863 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
1865         * register.el (register-separator): Rename from
1866         separator-register.  All uses changed.  Doc fix.
1867         (register): Fix version.
1869 2012-09-09  Chong Yidong  <cyd@gnu.org>
1871         * replace.el (query-replace-map): Bind four new symbols for
1872         requesting window scrolling.
1874         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1875         query-replace-map (Bug#8948).
1877         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1879         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1880         since they are now in query-replace-map.
1882         * window.el (scroll-other-window-down): Make the arg optional.
1884 2012-09-09  Chong Yidong  <cyd@gnu.org>
1886         * files.el (hack-local-variables-confirm): Use quit-window to kill
1887         the *Local Variables* buffer.
1889 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1891         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1892         not just expect to be at its beginning.  Adjust callees.
1893         Succeed when do-end block has no space before the pipe character.
1894         (ruby-brace-to-do-end): When the original block is one-liner,
1895         convert to multiline.  Reindent the result.
1897 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
1899         * register.el (register): New group.
1900         (register-separator): New user option.
1901         (increment-register): Route it to `append-to-register', if
1902         register contains text.  Implication is that `C-x r +' can now be
1903         used for appending to a text register (bug#12217).
1904         (append-to-register, prepend-to-register): Add separator based on
1905         `register-separator.
1907 2012-09-08  Alan Mackenzie  <acm@muc.de>
1909         AWK Mode: make auto-newline work when there's "==" in the pattern.
1910         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1911         correctly.
1912         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1913         Test more rigorously for "=" token.
1915 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1917         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1918         Only fail when reached LIMIT.
1920 2012-09-08  Chong Yidong  <cyd@gnu.org>
1922         * dired.el (dired-mode-map): Don't bind M-=.
1924         * dired-aux.el (dired-diff): Use backup file as default.
1926 2012-09-08  Drew Adams  <drew.adams@oracle.com>
1928         * subr.el (add-to-history): Fix delete usage (Bug#12314).
1930 2012-09-08  Chong Yidong  <cyd@gnu.org>
1932         * subr.el (syntax-after, syntax-class): Doc fix.
1934 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
1936         * window.el (display-buffer-in-previous-window): New buffer
1937         display action function.
1939         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1940         (debugger-previous-window): New variable.
1941         (debug): Rewrite using display-buffer-in-previous-window,
1942         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
1944 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1946         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
1948 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
1950         * progmodes/python.el (python-shell-send-string):
1951         When default-directory is remote, create temp file on remote
1952         filesystem.
1953         (python-shell-send-file): When file is remote, pass local view of
1954         file paths to remote Python interpreter.  (Bug#12340)
1956 2012-09-07  Chong Yidong  <cyd@gnu.org>
1958         * window.el (switch-to-buffer): Doc fix (Bug#12181).
1960         * files.el (after-find-file): Don't fail on a read-only buffer if
1961         require-final-newline is `visit' or `visit-save' (Bug#11156).
1963         * subr.el (read-char-choice): Allow quitting via ESC ESC.
1965         * userlock.el (ask-user-about-supersession-threat):
1966         Use read-char-choice (Bug#12093).
1968 2012-09-07  Chong Yidong  <cyd@gnu.org>
1970         * subr.el (buffer-narrowed-p): New function.
1972         * ses.el (ses-widen):
1973         * simple.el (count-words--buffer-message):
1974         * net/browse-url.el (browse-url-of-buffer): Use it
1976         * simple.el (count-words-region): Don't signal an error if there
1977         is a non-nil prefix arg and the mark is not set.
1979         * help.el (describe-key-briefly): Allow the message to be seen
1980         when invoked from the minibuffer (Bug#7014).
1982 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1984         * progmodes/ruby-mode.el (ruby-end-of-defun)
1985         (ruby-beginning-of-defun): Simplify, allow indentation before
1986         block beginning and end keywords.
1987         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1988         (ruby-end-of-defun): Expect that the point is at the beginning of
1989         the defun.
1991 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1993         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1994         (bug#12367).
1995         (cl--make-usage-args): Strip _ from argument names.
1997 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1999         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2000         obsolete alias speedbar-key-map.
2001         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2002         (vhdl-index-menu-init): Don't use obsolete variable
2003         font-lock-maximum-size.
2005 2012-09-06  Chong Yidong  <cyd@gnu.org>
2007         * frame.el (window-system-version): Mark as obsolete.
2009         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2010         of obsolete variable speedbar-key-map.
2012 2012-09-06  Juri Linkov  <juri@jurta.org>
2014         * replace.el (replace-lax-whitespace): New defcustom.
2015         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2016         (replace-string, replace-regexp): Mention it in docstrings.
2017         (perform-replace, replace-highlight): Let-bind
2018         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2019         to the values of replace-lax-whitespace and regexp-flag.
2020         Don't let-bind search-whitespace-regexp.  (Bug#10885)
2022         * isearch.el (isearch-query-replace): Let-bind
2023         replace-lax-whitespace instead of let-binding
2024         replace-search-function and replace-re-search-function.
2025         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2026         and isearch-regexp-lax-whitespace to lazy-highlight variables.
2027         (isearch-toggle-symbol): Set isearch-regexp to nil
2028         in isearch-word mode (like in isearch-toggle-word).
2030 2012-09-06  Juri Linkov  <juri@jurta.org>
2032         * replace.el (replace-search-function)
2033         (replace-re-search-function): Set default values to nil.
2034         (perform-replace): Let-bind isearch-related variables based on
2035         replace-related values, call `isearch-search-fun' and let-bind
2036         the result to `search-function'.  Remove code that sets
2037         `search-function' and `search-string' separately for
2038         `delimited-flag'.
2039         (replace-highlight): Add new argument `delimited-flag' and
2040         rename other arguments to the names used in `perform-replace'.
2041         Let-bind `isearch-word' to the argument `delimited-flag'.
2042         (Bug#10885, bug#10887)
2044 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
2046         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2047         ruby-beginning-of-indent, simplify, allow all keywords to have
2048         indentation before them.
2049         (ruby-beginning-of-indent): Adjust for above.  Search until the
2050         found point is not inside a string or comment.
2051         (ruby-font-lock-keywords): Allow symbols to start with "@"
2052         character, give them higher priority than variables.
2053         (ruby-syntax-propertize-function)
2054         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2055         matchers.  Expression expansions are not comments when inside a
2056         string, and there comment syntax status is irrelevant.
2057         (ruby-match-expression-expansion): New function.  Check that
2058         expression expansion is inside a string, and it's not escaped.
2059         (ruby-font-lock-keywords): Use it.
2061 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
2063         * help.el (temp-buffer-max-height): New default value.
2064         (temp-buffer-resize-frames): New option.
2065         (resize-temp-buffer-window): Optionally resize frame.
2067         * window.el (fit-frame-to-buffer-bottom-margin): New option.
2068         (fit-frame-to-buffer): New function.
2070 2012-09-05  Glenn Morris  <rgm@gnu.org>
2072         * emulation/cua-rect.el (cua--init-rectangles):
2073         * textmodes/picture.el (picture-mode-map):
2074         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2075         like forward-char and backward-char.  (Bug#12317)
2077 2012-09-05  Leo Liu  <sdl.web@gmail.com>
2079         * progmodes/flymake.el (flymake-warning-re): New variable.
2080         (flymake-parse-line): Use it.
2082 2012-09-05  Glenn Morris  <rgm@gnu.org>
2084         * calendar/holidays.el (holiday-christian-holidays):
2085         Rename an entry.  (Bug#12289)
2087 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2089         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2090         (bug#12222).
2092 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2094         * loadup.el: Load macroexp.  Remove hack.
2095         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2096         (macroexp--expand-all): Use it to get better warnings.
2097         (macroexp--backtrace, macroexp--trim-backtrace-frame)
2098         (internal-macroexpand-for-load): New functions.
2099         (macroexp--pending-eager-loads): New var.
2100         (emacs-startup-hook): New hack to replace one in loadup.el.
2101         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2102         (cl--compiler-macro-cXXr): Move to top, before they can be used.
2103         (cl-psetf): Simplify.
2104         (cl-defstruct): Add indent rule.
2106 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
2108         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2109         over `user-mail-address' for the SMTP MAIL FROM envelope.
2110         (smtpmail-via-smtp): Ditto.
2112 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
2114         * progmodes/ruby-mode.el: Clean up keybindings.
2115         (ruby-mode-map): Don't bind ruby-electric-brace,
2116         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2117         backward-kill-word, reindent-then-newline-and-indent.
2118         (ruby-mark-defun): Remove.
2119         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
2120         (ruby-mode): Set local beginning-of-defun-function and
2121         end-of-defun-function values.
2123 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
2125         * window.el (temp-buffer-window-setup-hook)
2126         (temp-buffer-window-show-hook): New hooks.
2127         (temp-buffer-window-setup, temp-buffer-window-show)
2128         (with-temp-buffer-window): New functions.
2129         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2130         (special-display-popup-frame): Make sure the window used shows BUFFER.
2132         * help.el (temp-buffer-resize-mode): Fix doc-string.
2133         (resize-temp-buffer-window): New optional argument WINDOW.
2135         * files.el (recover-file, save-buffers-kill-emacs):
2136         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2138 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
2140         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2141         remote definition of `default-directory', ensure we can connect.
2143 2012-09-02  Juri Linkov  <juri@jurta.org>
2145         Toggle whitespace matching mode with M-s SPC.
2146         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2148         * isearch.el (search-whitespace-regexp): Doc fix.
2149         Remove cons cell customization.
2150         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2151         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2152         New variables.
2153         (isearch-forward, isearch-forward-regexp): Doc fix.
2154         (isearch-toggle-lax-whitespace): New command.
2155         (search-forward-lax-whitespace, search-backward-lax-whitespace)
2156         (re-search-forward-lax-whitespace)
2157         (re-search-backward-lax-whitespace): New functions.
2158         (isearch-whitespace-regexp): Remove function.
2159         (isearch-query-replace): Let-bind replace-search-function and
2160         replace-re-search-function.
2161         (isearch-occur): Let-bind search-spaces-regexp according to the
2162         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2163         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2164         condition for C-q SPC.
2165         (isearch-search-fun-default): Use new functions mentioned above.
2166         (isearch-search-forward, isearch-search-backward): Remove functions.
2167         (isearch-search): Don't let-bind search-spaces-regexp.
2168         (isearch-lazy-highlight-space-regexp): Remove variable.
2169         (isearch-lazy-highlight-lax-whitespace)
2170         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2171         (isearch-lazy-highlight-new-loop): Use them.
2172         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2174 2012-09-02  Chong Yidong  <cyd@gnu.org>
2176         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2178 2012-09-02  Glenn Morris  <rgm@gnu.org>
2180         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
2182 2012-09-01  Glenn Morris  <rgm@gnu.org>
2184         * term.el: Tidy up menu definitions.
2185         (term-mode-map): Use easymenu for In/Out, Complete menus.
2186         (term-pager-break-map): Initialize in the defvar.
2187         (term-terminal-menu, term-signals-menu): Define with easymenu.
2188         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
2189         (term-pager-menu): New, extracted from term-process-pager.
2190         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2191         (term-update-mode-line): Propertize line/char and page items.
2192         (term-process-pager): Move keymap initialization elsewhere.
2194 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
2196         * window.el (switch-to-prev-buffer): Handle additional values of
2197         BURY-OR-KILL argument.  Don't switch in minibuffer window.
2198         (switch-to-next-buffer): Don't switch in minibuffer window.
2199         (quit-restore-window): New function based on quit-window.
2200         Handle additional values of former KILL argument.
2201         (quit-window): Call quit-restore-window with appropriate
2202         interpretation of KILL argument.
2203         (display-buffer-below-selected): New buffer display action
2204         function.
2206 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2208         * minibuffer.el (completion-at-point-functions): Complete docstring
2209         (bug#12254).
2211 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2213         Better seed support for (random).
2214         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2215         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2216         * play/mpuz.el, play/tetris.el, play/zone.el:
2217         * calc/calc-comb.el (math-init-random-base):
2218         * play/blackbox.el (bb-init-board):
2219         * play/life.el (life):
2220         * server.el (server-use-tcp):
2221         * type-break.el (type-break):
2222         Remove unnecessary call to (random t).
2223         * net/sasl.el (sasl-unique-id-function):
2224         Change (random t) to (random), now that the latter is more random.
2225         * play/life.el (life-initialized): Remove no-longer-needed var.
2227 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
2229         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2230         Consider frame's buffer predicate when choosing the buffer.
2231         (Bug#12081)
2233 2012-08-30  Richard Stallman  <rms@gnu.org>
2235         * simple.el (special-mode-map): Delete binding for `z'.
2237 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
2239         * progmodes/compile.el (compilation-always-kill): Doc fix.
2241 2012-08-30  Chong Yidong  <cyd@gnu.org>
2243         * window.el (display-buffer-reuse-frames): Make the obsolescence
2244         message more informative.
2246 2012-08-30  Glenn Morris  <rgm@gnu.org>
2248         * paren.el (show-paren-delay):
2249         Add a :set function.  Doc fix.  (Bug#12297)
2251 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
2253         * progmodes/compile.el (compilation-always-kill): New var.
2254         (compilation-start): Use it.
2256 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2258         * simple.el (read-only-mode): Move from files.el for bootstrapping.
2259         * files.el (read-only-mode): Move to simple.el.
2261         * files.el (read-only-mode): New minor mode.
2262         (toggle-read-only): Use it and mark obsolete.
2263         (find-file--read-only):
2264         * vc/vc.el (vc-next-action, vc-checkout):
2265         * vc/vc-cvs.el (vc-cvs-checkout):
2266         * obsolete/vc-mcvs.el (vc-mcvs-update):
2267         * ffap.el (ffap--toggle-read-only): Update callers.
2269 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
2271         * eshell/esh-ext.el (eshell-external-command): Do not examine
2272         remote shell scripts.
2273         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2275         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2276         "/usr/local/sbin".
2278 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2280         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2282 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2284         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2285         completion-at-point.  (Bug#12220)
2287         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2289         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2291 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2293         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2294         be buffer-local; add delete-trailing-whitespace (bug#12259).
2296 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
2298         * progmodes/hideif.el (hif-compress-define-list):
2299         Fix typo.  (Bug#11951)
2301 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
2303         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2304         buffer local setting.
2306         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2307         rcirc-encode-coding-system.
2309 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2311         * net/rcirc.el (rcirc-split-message): New function.
2312         (rcirc-send-message): Use it.  (Bug#12051)
2314 2012-08-28  Juri Linkov  <juri@jurta.org>
2316         * info.el (Info-fontify-node): Hide empty lines at the end of
2317         the node.  (Bug#12272)
2319 2012-08-27  Drew Adams  <drew.adams@oracle.com>
2321         * dired.el (dired-pop-to-buffer): Make window start at beginning
2322         of buffer (Bug#12281).
2324 2012-08-26  Chong Yidong  <cyd@gnu.org>
2326         * window.el (special-display-regexps, special-display-frame-alist)
2327         (special-display-buffer-names, special-display-function)
2328         (display-buffer-reuse-frames): Mark as obsolete.
2330         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2332         * help.el (help-print-return-message): Don't treat
2333         display-buffer-reuse-frames specially.
2335 2012-08-26  Chong Yidong  <cyd@gnu.org>
2337         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2338         New variable, replacing gdb-frame-parameters.
2339         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2340         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2341         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2342         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2343         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
2344         the functions directly with gdb-display-buffer-other-frame-action.
2345         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2346         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2347         (gdb-display-stack-buffer, gdb-display-locals-buffer)
2348         (gdb-display-registers-buffer): Define directly.
2349         (def-gdb-display-buffer): Macro deleted.
2350         (gdb-display-buffer): Remove second and third args, callers don't
2351         use them.  Defer to the default display-buffer behavior, apart
2352         from making windows dedicated.
2353         (gdb-setup-windows): Don't call display-buffer unnecessarily.
2355         * progmodes/gud.el (gud-display-line): Just use display-buffer.
2357         * window.el (display-buffer-pop-up-frame): Handle a
2358         pop-up-frame-parameters alist entry.
2359         (display-buffer): Document it.
2361 2012-08-26  Chong Yidong  <cyd@gnu.org>
2363         * isearch.el (search-whitespace-regexp): Make string and nil
2364         values apply to both ordinary and regexp search.  Allow a cons
2365         cell value to distinguish between the two.
2366         (isearch-whitespace-regexp, isearch-search-forward)
2367         (isearch-search-backward): New functions.
2368         (isearch-occur, isearch-search-fun-default, isearch-search)
2369         (isearch-lazy-highlight-new-loop): Use them.
2370         (isearch-forward, isearch-forward-regexp): Doc fix.
2372 2012-08-26  Chong Yidong  <cyd@gnu.org>
2374         * faces.el (help-argument-name): Always inherit from italic
2375         (Bug#12213).
2377 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
2379         * window.el (window--even-window-heights): Even heights when
2380         WINDOW and the selected window form a vertical combination.
2381         (display-buffer-use-some-window): Provide that window used gets
2382         sized back by quit-window.  (Bug#11880) and (Bug#12091)
2384 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2386         Fix file time stamp problem with bzr and CVS (Bug#12001).
2387         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2388         in the file's time stamp, since the version control system loses
2389         that information.
2391 2012-08-22  Juri Linkov  <juri@jurta.org>
2393         * info.el (Info-fontify-node): Hide the suffix of the
2394         Info file name in the header line.  (Bug#12187)
2396 2012-08-22  Glenn Morris  <rgm@gnu.org>
2398         * calendar/cal-tex.el (cal-tex-weekly-common):
2399         Restore leading blank page.
2401 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
2403         * misc.el (forward-to-word, backward-to-word): Activate or extend
2404         the region under `shift-select-mode'.  (Bug#12231)
2406 2012-08-22  Bastien Guerry  <bzg@gnu.org>
2408         * progmodes/executable.el (executable-prefix): Set to "#!" instead
2409         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
2410         gives details on why the space is never needed.
2412 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2414         * window.el (walk-window-tree, window-with-parameter):
2415         New optional argument MINIBUF to control whether these functions
2416         should run on the minibuffer window.
2417         (window-at-side-list): Don't operate on minibuffer window.
2418         (window-in-direction): Simplify and rewrite doc-string.
2419         (window--size-ignore): Rename to window--size-ignore-p.
2420         Update callers.
2421         (display-buffer-in-atom-window, window--major-non-side-window)
2422         (window--major-side-window, display-buffer-in-major-side-window)
2423         (delete-side-window, display-buffer-in-side-window):
2424         New functions.
2425         (window--side-check, window-deletable-p, delete-window)
2426         (delete-other-windows, split-window): Handle side windows and
2427         atomic windows appropriately.
2428         (window--display-buffer): Call display-buffer-record-window also
2429         when the window buffer did not change.
2431 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
2433         * help-fns.el (help-fns--key-bindings):
2434         Abbreviate non-symbol remap targets.  (Bug#12174)
2436 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2438         * dired.el (dired-mark-remembered): Don't clobber point.
2439         (Bug#11795)
2441 2012-08-22  Glenn Morris  <rgm@gnu.org>
2443         * progmodes/bug-reference.el (bug-reference): New custom group.
2444         (bug-reference-bug-regexp): Make it a defcustom.
2446 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
2448         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2449         (js-paren-indent-offset, js-square-indent-offset)
2450         (js-curly-indent-offset): Add :safe (Bug#12257).
2452 2012-08-22  Edward O'Connor  <hober0@gmail.com>
2454         * json.el (json-key-format): Add error properties.
2455         (json-encode-key): New function.
2456         (json-encode-hash-table, json-encode-alist, json-encode-plist):
2457         Use json-encode-key.
2459 2012-08-22  Glenn Morris  <rgm@gnu.org>
2461         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2462         (cal-tex-leftday, cal-tex-rightday): Remove functions.
2463         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2464         Update for above change.
2466 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
2468         * cus-face.el (custom-face-attributes): Fix customize type for the
2469         :underline attribute.  (Bug#11805)
2471 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
2473         * window.el (window-point-1, set-window-point-1): Remove.
2474         (window-in-direction, record-window-buffer)
2475         (set-window-buffer-start-and-point, split-window-below)
2476         (window--state-get-1, display-buffer-record-window):
2477         Replace calls to window-point-1 and set-window-point-1 by calls to
2478         window-point and set-window-point respectively.
2480 2012-08-21  Glenn Morris  <rgm@gnu.org>
2482         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2483         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2484         Use it.
2486         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2487         (cal-tex-shortday): New function.
2488         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2489         (cal-tex-cursor-filofax-daily): Use the above.
2491         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2492         New functions.
2493         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2494         (cal-tex-cursor-filofax-week): Use them.
2496         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2497         New constants.
2498         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2499         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2501         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2502         (cal-tex-end-document): Don't rely on buffer name.
2504         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2505         Use cal-tex-vspace.
2506         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2507         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2508         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2509         Use cal-tex-arg.
2511         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2512         (cal-tex-cursor-week, cal-tex-cursor-week2)
2513         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2514         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2515         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2516         (cal-tex-insert-preamble, cal-tex-b-document)
2517         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2518         Improve cal-tex-cmd usage.
2520         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2521         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2522         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2523         (cal-tex-weekly-paper): New function.
2524         (cal-tex-cursor-week, cal-tex-cursor-week2)
2525         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2526         (cal-tex-cursor-day): Use it.
2528         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2529         (cal-tex-cursor-filofax-week): Remove leading blank page.
2531         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2532         Add autoload cookie.  For now at least, don't use color, since
2533         no other cal-tex function does.
2535         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2536         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2537         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2539 2012-08-21  Juri Linkov  <juri@jurta.org>
2541         * info.el (Info-file-attributes): New variable.
2542         (info-insert-file-contents): Add file attributes to
2543         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
2544         `Info-toc-nodes' when previous modtime of the Info file is less
2545         than new modtime.
2546         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2547         of info.el.  (Bug#12230)
2549 2012-08-20  Glenn Morris  <rgm@gnu.org>
2551         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2552         * calendar/holidays.el (calendar-holiday-list):
2553         Report errors with display-warning rather than beep'n'sleep.
2555 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
2557         * net/tramp.el (tramp-accept-process-output): Accept only output
2558         from PROC.  Otherwise, process filters and sentinels might be
2559         confused.  (Bug#12145)
2561 2012-08-20  Chong Yidong  <cyd@gnu.org>
2563         * descr-text.el (describe-text-properties-1): Use overlays-in to
2564         report on empty overlays (Bug#3322).
2566 2012-08-20  Glenn Morris  <rgm@gnu.org>
2568         * mail/rmailout.el (rmail-output-read-file-name):
2569         Trap and report errors in rmail-output-file-alist elements.
2571         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2572         since most non-font-lock faces are not also variables).
2574 2012-08-20  Edward Reingold  <reingold@iit.edu>
2576         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2577         New function.  (Bug12160)
2579 2012-08-19  Glenn Morris  <rgm@gnu.org>
2581         * mail/rmailout.el (rmail-output-read-file-name):
2582         Fix previous change (when the alist is nil or does not match).
2584 2012-08-19  Chong Yidong  <cyd@gnu.org>
2586         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2587         (Bug#12228).
2589 2012-08-18  Chong Yidong  <cyd@gnu.org>
2591         * simple.el (yank-handled-properties): New defcustom.
2592         (yank-excluded-properties): Add font-lock-face and category.
2593         (yank): Doc fix.
2595         * subr.el (remove-yank-excluded-properties):
2596         Obey yank-handled-properties.  The special handling of font-lock-face
2597         and category is now done this way, instead of being hard-coded.
2598         (insert-for-yank-1): Remove font-lock-face handling.
2599         (yank-handle-font-lock-face-property)
2600         (yank-handle-category-property): New function.
2602 2012-08-17  Glenn Morris  <rgm@gnu.org>
2604         * mail/rmailout.el (rmail-output-read-file-name):
2605         Check rmail-output-file-alist against the full message body
2606         in the correct rmail buffer.  (Bug#12214)
2608 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
2610         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2611         Eliminate superfluous prompt.  (Bug#12203)
2613 2012-08-17  Chong Yidong  <cyd@gnu.org>
2615         * mouse.el (mouse-appearance-menu): If x-select-font returns a
2616         font spec, set the font directly (Bug#3228).
2618 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
2620         * window.el (delete-window): Fix last fix.
2622 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
2624         * window.el (window-valid-p): Move to window.c.
2625         (window-child, window-child-count, window-last-child)
2626         (window-normalize-window, window-combined-p)
2627         (window-combinations, window-atom-root, window-min-size)
2628         (window-sizable, window-sizable-p, window-size-fixed-p)
2629         (window-min-delta, window-max-delta, window--resizable)
2630         (window--resizable-p, window-resizable, window-total-size)
2631         (window-full-height-p, window-full-width-p, window-body-size)
2632         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2633         (minimize-window, window-deletable-p, delete-window)
2634         (delete-other-windows, set-window-buffer-start-and-point)
2635         (next-buffer, previous-buffer, split-window, balance-windows-2)
2636         (set-window-text-height, window-buffer-height)
2637         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2638         (truncated-partial-width-window-p): Minor code adjustments.
2639         In doc-strings state whether the argument window has to denote a
2640         live, valid or any window.
2642 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
2644         * progmodes/subword.el (subword-forward-function)
2645         (subword-backward-function, subword-forward-regexp)
2646         (subword-backward-regexp): New variables.
2647         (subword-forward, subword-forward-internal, subword-backward-internal):
2648         Use new variables, eg so that different "word" definitions
2649         can be easily used.  (Bug#11411)
2651 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2653         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2654         for composite selectors.
2655         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2656         operation just because we can't find a previous revision.
2658 2012-08-15  Chong Yidong  <cyd@gnu.org>
2660         * frame.el (set-frame-font): Accept font objects.
2662 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2664         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2666 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
2668         * man.el (Man-overstrike-face, Man-underline-face)
2669         (Man-reverse-face): Remove variables.
2670         (Man-overstrike, Man-underline, Man-reverse): New faces.
2671         (Man-fontify-manpage): Use them instead of the variables.
2672         (Man-cleanup-manpage): Comment change.
2673         (Man-ansi-color-map): New variable.
2674         (Man-fontify-manpage): Use it.
2675         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2677         Implement ANSI SGR parameters 22-27 (bug#12146).
2678         * ansi-color.el (ansi-colors): Doc fix.
2679         (ansi-color-context, ansi-color-context-region): Doc fix.
2680         (ansi-color--find-face): New function.
2681         (ansi-color-apply, ansi-color-apply-on-region): Use it.
2682         Rename the local variable `face' to `codes' since it is now a list of
2683         ansi codes.  Doc fix.
2684         (ansi-color-get-face): Remove.
2685         (ansi-color-parse-sequence): New function, derived from
2686         ansi-color-get-face.
2687         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
2688         codes 22-27.
2690 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2692         * subr.el (read-passwd): Allow use from a minibuffer.
2694 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
2696         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2697         inside comments and strings as identifiers.
2699         * progmodes/gud.el (gud-tooltip-print-command): Quote the
2700         expression to evaluate.  This allows to evaluate expressions with
2701         embedded whitespace.
2702         (gud-tooltip-tips): Add a blank before the newline in the
2703         message-box text, for the benefit of message-box emulation on
2704         MS-Windows.
2706         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2707         messages from GDB, pop them up in a tooltip to give feedback to
2708         user.
2709         (gdb-tooltip-print-1): Quote the expression to evaluate.
2710         This allows to evaluate expressions with embedded whitespace.
2711         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2712         if the TTY name is nil or empty (which happens when communicating
2713         with the inferior via pipes, e.g. on MS-Windows).
2714         (gdb-internals): If GDB sends a "&\n" empty debugging message,
2715         don't send that to the GUD buffer.
2717 2012-08-14  Glenn Morris  <rgm@gnu.org>
2719         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2720         Optimize away setq-default with no args, as for setq.  (Bug#12195)
2722 2012-08-14  Chong Yidong  <cyd@gnu.org>
2724         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2726         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2727         (Bug#12085).
2729 2012-08-14  Glenn Morris  <rgm@gnu.org>
2731         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2733 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
2735         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2736         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2737         Use cached shell name.
2739 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2741         * progmodes/python.el (python-shell-send-string):
2742         (python-shell-send-setup-code): Do not use `format' with `message'.
2744 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
2746         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2747         (ruby-percent-literal-beg-re): New constant.
2748         (ruby-syntax-general-delimiters-goto-beg): Rename to
2749         `ruby-syntax-enclosing-percent-literal', improve literal type check.
2750         (ruby-syntax-propertize-general-delimiters): Rename to
2751         `ruby-syntax-propertize-percent-literal', it's a shorter and more
2752         popular term.  Adjust comments everywhere.
2753         (ruby-syntax-propertize-percent-literal): Only propertize when not
2754         inside a simple string or comment.  When the literal is unclosed,
2755         leave the text after it unpropertized.
2756         (ruby-syntax-methods-before-regexp): New constant.
2757         (ruby-syntax-propertize-function): Use it to recognize regexps.
2758         Don't look at the text after regexp, just use the whitelist.
2760 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
2762         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2763         non-nil always load the compiled file if it exists.  (Bug#12197)
2765 2012-08-14  Chong Yidong  <cyd@gnu.org>
2767         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2768         (hi-lock-set-pattern): When deciding whether to use font lock or
2769         overlays, look at font-lock-mode instead of font-lock-fontified
2770         (Bug#12168).
2771         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2772         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2774 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
2776         * subr.el (internal--after-with-selected-window): Fix typo
2777         (Bug#12193).
2779 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2781         Use `completion-table-dynamic' for completion functions.
2782         * progmodes/python.el
2783         (python-shell-completion--do-completion-at-point)
2784         (python-shell-completion--get-completions):
2785         Remove functions.
2786         (python-shell-completion-complete-at-point): New function.
2787         (python-completion-complete-at-point): Use it.
2789 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
2791         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2792         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2794 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2796         * subr.el (function-get): Refine `autoload' arg so it can also
2797         autoload functions for gv.el (bug#12191).
2798         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2799         autoloads macros.
2801         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2802         Prefer pcase-let over destructuring-bind.
2803         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2804         Also, remove whitespace as we go, rather than after accumulating the
2805         various places.
2807         * subr.el (internal--before-with-selected-window)
2808         (internal--after-with-selected-window): Fix typo seleted->selected.
2809         (with-selected-window): Adjust callers.
2810         Reported by Dmitry Gutov <dgutov@yandex.ru>.
2812 2012-08-13  Bastien Guerry  <bzg@gnu.org>
2814         * window.el (special-display-popup-frame): Minor docstring
2815         enhancement.  (Bug#12172)
2817 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
2819         * tar-mode.el (tar-header-data-end): Only ignore size for files of
2820         type 1-6.
2821         (tar-header-block-summarize, tar-get-descriptor): Handle pax
2822         extended headers.
2824         * files.el (hack-local-variables-filter): Remove useless eval.
2826 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
2828         * subr.el (with-selected-window): Fix last change.
2830 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2832         * subr.el (internal--before-with-seleted-window)
2833         (internal--after-with-seleted-window): New functions.
2834         (with-selected-window): Use them, to replace dependency on
2835         tty-top-frame.
2837 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2839         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2840         binding for `newline'.
2841         (ruby-move-to-block): When moving backward, stop at block opening,
2842         not indentation.
2843         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2844         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2845         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2846         `ruby-toggle-block'.
2848 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2850         * ibuffer.el (ibuffer-do-toggle-read-only):
2851         * dired.el (dired-toggle-read-only):
2852         * buff-menu.el (Buffer-menu-toggle-read-only):
2853         * bindings.el (mode-line-toggle-read-only):
2854         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2856 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
2858         * descr-text.el (describe-char): Put the overlays over the
2859         "displayed as" character.
2861 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
2863         * calc/calc-units.el (math-default-units-table): Give an
2864         initial value.
2865         (math-put-default-units): Add options to put composite units and
2866         unit systems in the default units table.
2867         (calc-convert-units): Send composite units to
2868         `math-put-default-units' when appropriate.
2870 2012-08-11  Glenn Morris  <rgm@gnu.org>
2872         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2874         * tutorial.el (help-with-tutorial):
2875         * emacs-lisp/copyright.el (copyright-update-directory):
2876         * emacs-lisp/autoload.el (autoload-find-generated-file)
2877         (autoload-find-file): Disable local eval: (for insurance).
2879         * files.el (hack-local-variables-filter): If an eval: form is not
2880         known to be safe, and enable-local-variables is :safe, then ignore
2881         the form totally, as is done for non-eval forms.  (Bug#12155)
2882         This is CVE-2012-3479.
2884 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2886         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2887         (rx-form): Simplify.
2889 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
2891         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2892         ?, _, and : are symbol constituents, ! is not (but kinda should be).
2893         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2894         (ruby-syntax-propertize-function): Adjust for changes in
2895         `ruby-syntax-propertize-heredoc'.
2897 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
2899         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2900         binding (use `M-;' instead).
2901         (ruby-singleton-class-p): New function.
2902         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2904 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2906         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2908 2012-08-10  Chong Yidong  <cyd@gnu.org>
2910         * progmodes/python.el (python-shell-get-process-name): Don't mess
2911         with same-window-buffer-names.
2913         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2914         (eshell-remove-from-window-buffer-names): Make obsolete.
2915         (eshell-buffer-name, eshell-unload-hook): Don't use them.
2916         (eshell): Just use pop-to-buffer-same-window instead.
2918 2012-08-10  Chong Yidong  <cyd@gnu.org>
2920         * bindings.el: Bind M-= back to count-words-region.
2922         * simple.el (count-words-region): Accept a prefix arg for acting
2923         on the entire buffer.
2924         (count-words--buffer-message): New helper function.
2926 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2928         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2929         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2930         (event-start, event-end): Use posn-at-point to return a more
2931         informative posn.
2932         (posnp): New function.
2933         * mouse.el (popup-menu-normalize-position): Use it.
2935 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
2937         * mouse.el (popup-menu-normalize-position): New function.
2938         (popup-menu): Use `popup-menu-normalize-position' to normalize
2939         the form for POSITION argument.
2941         * term/x-win.el (x-menu-bar-open):
2942         Use the value returend from (posn-at-point) as position
2943         passed to `popup-menu'.
2945 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2947         * calc/calccomp.el (math-compose-expr): Add extra argument
2948         indicating that parentheses should be put around products in
2949         denominators.  Give multiplication precedence over division during
2950         composition.
2952 2012-08-09  Chong Yidong  <cyd@gnu.org>
2954         * man.el (Man-switches, Man-sed-command, Man-awk-command)
2955         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2956         (Man-untabify-command, manual-program): Convert to defcustom
2957         (Bug#10429).
2959         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2961         * descr-text.el (describe-char): Don't insert extra newlines
2962         (Bug#10127).
2964         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2965         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2967         * align.el (align-region): Delete temporary markers (Bug#10047).
2968         Plus some code cleanups.
2970 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2972         * progmodes/python.el (python-pdbtrack-tracked-buffer)
2973         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2974         (python-shell-internal-last-output): Use make-local-variable
2975         instead of make-variable-buffer-local.
2977 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2979         * progmodes/python.el: Enhancements to forward-sexp.
2980         (python-nav-forward-sexp): Rename from
2981         python-nav-forward-sexp-function.
2982         (python-nav--forward-sexp, python-nav--backward-sexp):
2983         New functions.
2985 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2987         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2988         modes and simplification modes.
2990 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2992         * delsel.el (delete-selection-pre-hook): Don't propagate the
2993         file-supersession signals (bug#12161).
2995 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2997         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2998         (cl-map-extents): Add compatibility aliases (bug#12135).
3000 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
3002         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3003         tests by `ignore-error'.
3004         (tramp-find-shell): Open also a new shell, when cache is already
3005         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
3007 2012-08-08  Juri Linkov  <juri@jurta.org>
3009         * bookmark.el: Add `defaults' property to the bookmark record.
3010         (bookmark-current-buffer): Doc fix.
3011         (bookmark-make-record): Add `defaults' property with default values
3012         to the bookmark record.
3013         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3014         with `bookmark-insert-current-bookmark'.
3015         (bookmark-set): Get `defaults' property from the bookmark record
3016         and use it in `read-from-minibuffer'.
3017         (bookmark-insert-current-bookmark): Remove function.
3019         * info.el (Info-bookmark-make-record): Add `defaults' property
3020         with values of canonical Info node name, the current Info file
3021         name and the current Info node name.  (Bug#12107)
3023 2012-08-08  Juri Linkov  <juri@jurta.org>
3025         * files.el (basic-save-buffer): Use `buffer-name' as the default
3026         of `read-file-name' when buffer is not visiting a file (bug#12128).
3028 2012-08-08  Juri Linkov  <juri@jurta.org>
3030         * info.el (Info-isearch-search): Doc fix.
3031         (Info-search): Change search-failed message from "initial node" to
3032         "end of node" (bug#12078).
3033         (Info-isearch-search): Change `isearch-string-state' to
3034         `isearch--state-string'.
3036 2012-08-08  Glenn Morris  <rgm@gnu.org>
3038         * language/persian.el: Remove file.
3039         * language/misc-lang.el: Move unique part of persian.el here.
3040         * loadup.el: Remove language/persian.
3042 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
3044         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3046 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3048         * progmodes/python.el Fixed defsubst warning.
3049         (python-syntax-context) Rename from python-info-ppss-context.
3050         (python-syntax-context-type): Rename from
3051         python-info-ppss-context-type.
3052         (python-syntax-comment-or-string-p): Rename from
3053         python-info-ppss-comment-or-string-p.
3055 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3057         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3059 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
3061         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3062         a defcustom that is quoted with backquote.
3064         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3065         Fix handling of interactive spec when the body uses return.
3066         (math-do-arg-check, math-define-function-body): Use backquote forms.
3067         * calc/calc-ext.el (math-defcache): Likewise.
3068         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3069         * allout.el (allout-new-exposure): Likewise.
3070         * calc/calcalg2.el (math-tracing-integral): Likewise.
3071         * info.el (Info-last-menu-item): Likewise.
3072         * emulation/vip.el (vip-loop): Likewise.
3073         * textmodes/artist.el (artist-funcall): Likewise.
3074         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3075         Construct menu-item directly.
3077         * progmodes/autoconf.el (font-lock-syntactic-keywords):
3078         Don't declare.
3080 2012-08-07  Chong Yidong  <cyd@gnu.org>
3082         * simple.el (deactivate-mark): Preserve text properties when
3083         saving the primary selection (Bug#8384).
3085 2012-08-07  Kevin Ryde  <user42@zip.com.au>
3087         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3088         (woman-parse-numeric-value): On a bad .IP line, issue a warning
3089         and continue processing (Bug#12110).
3091 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3093         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3094         syntax-propertize-function (bug#10095).
3096 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * help-fns.el (help-fns--key-bindings, help-fns--signature)
3099         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3100         describe-function-1.
3101         (describe-function-1): Use them.  Move compiler macro after sig.
3102         (help-fns--compiler-macro): Use function-get.  Assume we're already in
3103         standard-output.  Adjust layout to new call order.
3105         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3106         re-binding a symbol that has a symbol-macro (bug#12119).
3108 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
3110         * language/persian.el: New file.  (Bug#11812)
3111         * loadup.el: Add language/persian.el.
3113 2012-08-06  Chong Yidong  <cyd@gnu.org>
3115         * window.el (window--maybe-raise-frame): New function.
3116         (window--display-buffer): Split off from here.
3117         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3118         (display-buffer-pop-up-window, display-buffer-use-some-window):
3119         Obey an inhibit-switch-frame action alist entry.
3120         (display-buffer): Update doc.
3122         * replace.el (occur-after-change-function): Avoid losing focus by
3123         using the inhibit-switch-frame display parameter (Bug#12139).
3125 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
3127         Make internal shell process buffer names start with space.
3128         * progmodes/python.el (python-shell-make-comint): Add optional
3129         argument INTERNAL.
3130         (run-python-internal): Use it.
3131         (python-shell-internal-get-or-create-process): Check for new
3132         internal buffer names.
3134 2012-08-06  Glenn Morris  <rgm@gnu.org>
3136         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3137         Do less getting and setting of environment variables.
3139 2012-08-05  Chong Yidong  <cyd@gnu.org>
3141         * proced.el (proced): Add substitution string to docstring to
3142         trigger autoloading of the proced library on C-h f (Bug#1768).
3144         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3145         Don't show defvars which have no second argument (Bug#8638).
3147         * imenu.el (imenu-generic-expression): Move documentation here
3148         from imenu--generic-function.
3149         (imenu--generic-function): Refer to imenu-generic-expression.
3151 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
3153         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3154         indentation declaration.
3155         (viper-loop): Add indentation declaration (Bug#7025).
3157 2012-08-05  Chong Yidong  <cyd@gnu.org>
3159         * help-fns.el (describe-variable): Add hyperlink for
3160         directory-local variables files.  Improve buffer-local and
3161         permanent-local reporting; suggested by MON KEY (Bug#6644).
3163         * help-mode.el (help-dir-local-var-def): New button type.
3165         * files.el (kill-buffer-hook): Provide a defvar.
3167 2012-08-05  Glenn Morris  <rgm@gnu.org>
3169         * eshell/esh-ext.el (eshell/addpath):
3170         Also update eshell-path-env.  (Bug#12013)
3172 2012-08-05  Chong Yidong  <cyd@gnu.org>
3174         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3176         * fringe.el (fringe-styles): Add docstring.
3177         (fringe--check-mode): New function.
3178         (set-fringe-mode, set-fringe-style): Use it.
3179         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3181         * files.el (set-auto-mode): Fix invalid setq call.
3183 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3185         * isearch.el: Misc simplification; use defstruct.
3186         (isearch-mode-map): Dense maps now work like sparse ones.
3187         (isearch--state): New defstruct.
3188         (isearch-string-state, isearch-message-state, isearch-point-state)
3189         (isearch-success-state, isearch-forward-state)
3190         (isearch-other-end-state, isearch-word-state, isearch-error-state)
3191         (isearch-wrapped-state, isearch-barrier-state)
3192         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3193         replaced by defstruct's accessors.
3194         (isearch--set-state): Rename from isearch-top-state and change
3195         calling convention.
3196         (isearch-push-state): Use new isearch--get-state.
3197         (isearch-toggle-word): Disable regexp when enabling word.
3198         (isearch-message-prefix): Remove unused arg _c-q-hack.
3199         (isearch-message-suffix): Remove unused arg _ellipsis.
3201 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
3203         * simple.el (list-processes--refresh): For a server use :host or
3204         :local as the address.
3205         (list-processes): Doc fix.
3207 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
3209         * lisp/mpc.el: Support password in host argument.
3210         (mpc--proc-connect): Parse and use new password element.
3211         Set mpc-proc variable instead of returning process.
3212         (mpc-proc): Adjust accordingly.
3214 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
3216         * whitespace.el (whitespace-display-mappings): Use Unicode
3217         codepoints, instead of emacs-mule codepoints.  See
3218         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3219         for the details.
3221         * files.el (file-truename): Don't skip symlink-chasing part on
3222         windows-nt.  Incorporate the resolution of 8+3 short aliases on
3223         Windows into the loop that recursively chases symlinks.
3224         Compare directory and its parent case-insensitively on MS-Windows and
3225         MS-DOS.
3227 2012-08-03  Chong Yidong  <cyd@gnu.org>
3229         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3231         * sort.el (sort-regexp-fields): Doc fix.
3233 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
3235         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3236         labels regex position point at the expected place.
3238 2012-08-03  MON KEY  <monkey@sandpframing.com>
3240         * net/imap.el (imap-interactive-login, imap-authenticate)
3241         (imap-mailbox-lsub, imap-mailbox-list)
3242         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3243         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3244         (imap-parse-response): Doc fix.
3246 2012-08-03  João Távora  <joaotavora@gmail.com>
3248         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3249         if sexp scanning does not move point (Bug#5734).
3251 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
3253         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3254         Add listings, minted, and ctable packages.
3255         (reftex-label-alist-builtin): Move listings, minted, and ctable
3256         entries before LaTeX.
3257         (reftex-label-alist): Docfix.
3259 2012-08-02  Bastien Guerry  <bzg@gnu.org>
3261         * replace.el (occur): Fix docstring (bug#12122).
3263 2012-08-02  Glenn Morris  <rgm@gnu.org>
3265         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3267 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
3269         Obsolete alias inactivate-current-input-method-function (Bug#10150).
3270         * international/mule-cmds.el: Create
3271         inactivate-current-input-method-function as an obsolete alias for
3272         deactivate-current-input-method-function.  See Katsumi Yamaoka in
3273         <http://bugs.gnu.org/10150#46>.
3275 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
3277         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3278         of nested `if's.
3280 2012-08-01  Glenn Morris  <rgm@gnu.org>
3282         * progmodes/autoconf.el (autoconf-definition-regexp):
3283         Add AH_TEMPLATE, adjust submatch numbering.
3284         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3285         (autoconf-current-defun-function): Update for above change.
3286         (autoconf-current-defun-function): First skip to end of current word.
3288 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
3290         * calendar/cal-html.el (cal-html-insert-agenda-days):
3291         Fix typo.  (Bug#12018)
3293 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3295         Shell processes: enhancements to startup and CEDET compatibility.
3296         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3297         (python-shell-make-comint): accept-process-output at startup.
3298         (run-python-internal): Set inferior-python-mode-hook to nil.
3299         (python-shell-internal-get-or-create-process): call sit-for.
3300         (python-preoutput-result): Add obsolete alias.
3301         (python-shell-internal-send-string): Use it.
3302         (python-shell-send-setup-code): Remove call to
3303         accept-process-output.
3305 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
3307         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3308         (Bug#12108)
3310 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
3312         * calc-mode.el (calc-basic-simplification-mode): Rename from
3313         `calc-limited-simplification-mode'.
3314         (calc-alg-simplification-mode): New function.
3315         (calc-set-simplify-mode):  Adjust message.
3317         * calc.el (calc-set-mode-line): Adjust mode line display for
3318         basic simplification mode.
3320         * calc-help.el (calc-m-prefix-help): Update help message.
3322         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3323         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3325 2012-07-31  Bastien Guerry  <bzg@gnu.org>
3327         * man.el (man): Fix comment.  (bug#12101)
3329 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
3331         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3332         Don't return a non-nil value when no suitable buffer was found.
3334 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3336         * progmodes/python.el (run-python-internal): Disable font lock for
3337         internal shells.
3339 2012-07-30  Stefan Merten  <smerten@oekonux.de>
3341         * rst.el: Silence `checkdoc-ispell'.
3342         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3343         (rst-official-version, rst-official-cvs-rev)
3344         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3345         (rst-mode-map): New key binding.
3347 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
3349         Update .PHONY listings in makefiles.
3350         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3351         autoloads, update-subdirs, updates, bzr-update, update-authors,
3352         compile-onefile, compile-calc, backup-compiled-files,
3353         compile-after-backup, compile-one-process, mh-autoloads,
3354         bootstrap-clean, distclean, maintainer-clean.
3356 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
3358         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3359         (calc-set-mode-line): Don't display "AlgSimp ".
3361         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3362         (calc-lim-simplify-mode): New function.
3363         (calc-set-simplify-mode): Default to 'alg.
3364         (calc-default-simplify-mode): Make algebraic simplifications
3365         the default.
3367         * calc/calc-ext.el (calc-init-extensions): Remove binding for
3368         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
3370         * calc/calc-help.el (calc-m-prefix-help): Change messages to
3371         indicate new simplification modes.
3373         * calc/README: Mention new default simplification mode.
3375         * calc/calc.el (math-normalize-error): New variable.
3376         (math-normalize): Set `math-normalize-error' to t
3377         when there's an error.
3379         * calc/calc-alg.el (math-simplify): Don't simplify when
3380         `math-normalize' returns an error.
3382 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
3384         * international/mule-cmds.el (set-locale-environment): Revert last
3385         change, since display-graphic-p returns nil when this function is
3386         called during startup.  Instead...
3388         * term/w32console.el (terminal-init-w32console): ...setup the
3389         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
3391 2012-07-29  Juri Linkov  <juri@jurta.org>
3393         * simple.el (goto-line): Don't display default line number in the
3394         prompt because it should be displayed by `read-number' (bug#9952).
3395         Add the current line number to the defaults of `goto-line' to
3396         allow its easier modification by users with `M-n' (bug#9201).
3398         * subr.el (read-number): Support multiple default values like in
3399         other minibuffer reading functions.  Replace `read' with
3400         `string-to-number' for consistency with `number-to-string'.
3402 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
3404         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3405         * emulation/viper-init.el (viper-deactivate-input-method-action):
3406         Rename from viper-inactivate-input-method-action.
3407         (viper-deactivate-input-method):
3408         Rename from viper-inactivate-input-method.
3409         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3410         * international/mule-cmds.el (deactivate-input-method):
3411         Rename from inactivate-input-method.
3412         Also run input-method-deactivate-hook.
3413         (deactivate-current-input-method-function):
3414         Rename from inactivate-current-input-method-function.
3415         (input-method-deactivate-hook): New hook.
3416         (input-method-inactivate-hook): Mark obsolete.
3417         (inactivate-input-method): Mark obsolete.
3419         * international/quail.el (quail-activate):
3420         Also run quail-deactivate-hook.
3421         (quail-deactivate): Rename from quail-inactivate.
3422         * international/robin.el (robin-activate):
3423         Also run robin-deactivate-hook.
3424         (robin-deactivate): Rename from robin-inactivate.
3426 2012-07-29  Chong Yidong  <cyd@gnu.org>
3428         * simple.el (indicate-copied-region): New function.
3429         (kill-ring-save): Split off from here.
3431         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3432         (kill-rectangle): Set deactivate-mark to t on read-only error.
3434         * register.el (copy-to-register, copy-rectangle-to-register):
3435         Deactivate the mark, and use indicate-copied-region (Bug#10056).
3436         (append-to-register, prepend-to-register):
3437         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
3439         * simple.el (async-shell-command-buffer): New defcustom.
3440         (shell-command): Use it.  (Bug#4719)
3442 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3444         * international/mule-cmds.el (set-locale-environment): In a
3445         console session on MS-Windows, set up keyboard and terminal
3446         encoding from the OEM codepage, not the ANSI codepage.
3447         (Bug#12055)
3449 2012-07-28  Chong Yidong  <cyd@gnu.org>
3451         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3452         gdb-get-location.
3454 2012-07-28  Leo Liu  <sdl.web@gmail.com>
3456         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3457         the alist (bug#12029).
3459 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3461         * makefile.w32-in (custom-deps, finder-data, updates, compile)
3462         (compile-always, compile-first)
3463         ($(lisp)/calendar/cal-loaddefs.el)
3464         ($(lisp)/calendar/diary-loaddefs.el)
3465         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3466         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3467         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3468         instead of on update-subdirs.
3469         (bootstrap-clean): Delete $(lisp)/subdirs.el.
3471 2012-07-28  Chong Yidong  <cyd@gnu.org>
3473         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3474         directory if vc-deduce-backend returns nil (Bug#7350).
3476         * simple.el (delete-trailing-lines): New option.
3477         (delete-trailing-whitespace): Obey it (Bug#11879).
3479 2012-07-28  David Engster  <deng@randomsample.de>
3481         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3482         Explanation of new 'symbol-qnames feature in doc-strings.
3483         (xml-maybe-do-ns): Return expanded names as plain symbols if
3484         'symbol-qnames was provided in XML-NS argument (Bug#11916).
3485         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3487 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3489         Consistent completion in inferior python with emacs -nw.
3490         * progmodes/python.el (inferior-python-mode): replace "<tab>"
3491         binding in inferior-python-mode-map with "\t".
3492         (python-shell-completion-complete-at-point)
3493         (python-completion-complete-at-point): Remove interactive spec.
3495 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3497         * calc/calccomp.el (math-compose-expr): Undo previous change.
3499 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3501         * progmodes/python.el (python-mode-map): Add keybinding for
3502         run-python.
3503         (python-shell-make-comint): Fix pop-to-buffer call.
3504         (run-python): Autoload.  New arg SHOW.
3505         (python-shell-get-or-create-process): Do not pop python process
3506         buffer.
3508 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
3510         * notifications.el (notifications-on-action-signal)
3511         (notifications-on-closed-signal): Use also the bus address for the map.
3512         (notifications-notify, notifications-close-notification)
3513         (notifications-get-capabilities):  Add optional argument BUS.
3515 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
3517         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3518         Add support for the lstlisting and minted environments, and for the
3519         ctable macro.
3520         * textmodes/reftex.el (reftex-compile-variables): Also recognize
3521         labels written in keyvals syntax.
3523 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3525         * calc/calccomp.el (math-compose-expr): Use parentheses when
3526         there is a product in the denominator of a fraction.
3528 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
3530         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3531         ($(lisp)/calendar/diary-loaddefs.el)
3532         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3533         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3534         Fixes failures in parallel bootstrap because subdirs.el is being
3535         rewritten while the autoload files are built at the same time,
3536         which needs to load subdirs.el.
3538 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
3540         * mouse.el (popup-menu): Fix doc-string and re-indent code.
3541         (mouse-drag-line): Don't exit tracking when a switch-frame or
3542         switch-window event occurs (Bug#12006).
3544 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3546         * mouse.el (popup-menu): Fix last change.
3548 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3550         Autoload from Lisp with more care.  Follow aliases when looking for
3551         function properties.
3552         * subr.el (autoloadp): New function.
3553         (symbol-file): Use it.
3554         (function-get): New function.
3555         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3556         autoload-do-load.
3557         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3558         (lisp-indent-function):
3559         * emacs-lisp/gv.el (gv-get):
3560         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3561         * emacs-lisp/byte-opt.el (byte-optimize-form):
3562         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3563         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3564         Use function-get.
3565         * emacs-lisp/cl.el: Don't propagate function properties any more.
3567         * speedbar.el (speedbar-add-localized-speedbar-support):
3568         * emacs-lisp/disass.el (disassemble-internal):
3569         * desktop.el (desktop-load-file):
3570         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3571         (describe-function-1):
3572         * emacs-lisp/find-func.el (find-function-noselect):
3573         * emacs-lisp/elp.el (elp-instrument-function):
3574         * emacs-lisp/advice.el (ad-has-proper-definition):
3575         * apropos.el (apropos-safe-documentation, apropos-macrop):
3576         * emacs-lisp/debug.el (debug-on-entry):
3577         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3578         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3579         * calc/calc.el (name): Use autoloadp & autoload-do-load.
3581 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
3583         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3584         function, not an obsolete variable (Bug#12046).
3586 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3588         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
3590 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
3592         * emacs-lisp/pp.el (pp-display-expression): Select old selected
3593         window only if it is still live (Bug#12034).
3595 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
3597         * subr.el (redirect-frame-focus): Add advertised calling
3598         convention (Bug#12030).
3600 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3602         Prefer typical American spelling for "acknowledgment".
3603         * vc/add-log.el (change-log-acknowledgment): Rename from
3604         change-log-acknowledgement, with an alias for the old name.
3606 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
3608         * calc-alg.el (math-simplify-divide): Don't cross multiply
3609         in an equation when the lhs is a variable.
3611 2012-07-24  Julien Danjou  <julien@danjou.info>
3613         * net/netrc.el (netrc-find-service-number, netrc-store-data):
3614         Remove, unused.
3616 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
3618         * startup.el (command-line): Don't display an empty user name in
3619         the error message about non-existent home directory, when
3620         init-file-user was set to an empty string.  See
3621         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3622         for the details and context.
3624 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3626         * ses.el (ses-cell-formula-aset): New macro.
3627         (ses-cell-references-aset): New macro.
3628         (ses-cell-p): New function.
3629         (ses-rename-cell): Do no longer rely on complex operations like
3630         ses-cell-set-formula or ses-set-cell to change the cell and handle
3631         the undo at the same time, but rather use lower level new macros
3632         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3633         the undo directly. Refresh the mode line.
3635 2012-07-21  Leo Liu  <sdl.web@gmail.com>
3637         * progmodes/cc-cmds.el (c-defun-name):
3638         Use match-string-no-properties instead for consistency.
3640 2012-07-20  Leo Liu  <sdl.web@gmail.com>
3642         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3643         (Bug#7879)
3645         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3647 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3649         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3650         * progmodes/bug-reference.el, misearch.el: Provide themselves
3651         (bug#11915).
3653         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3654         of narrowed buffer (bug#11966).
3656 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3658         * ses.el (ses-rename-cell): Set new name also in reference list of
3659         cells of which the renamed cell depends.
3661 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
3663         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3664         to check whether menu-bar is shown or not.  If not shown,
3665         show the menu-bar as a popup menu instead of using tmm.
3666         * mouse.el (popup-menu): Accept `point' as `position' argument.
3668 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
3670         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3671         up inside string symbol literal (bug#11923).
3673 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
3675         * startup.el (fancy-startup-text): Read the whole tutorial, not
3676         just its first 256 bytes.  Prevents gibberish in display of the
3677         tutorial title.
3679 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
3681         Drop idle buffer compaction due to an absence of the
3682         proved efficiency.
3683         * compact.el: Remove.
3685 2012-07-19  Sam Steingold  <sds@gnu.org>
3687         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3688         vc-bzr-pull & vc-bzr-merge-branch.
3689         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3690         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3691         for consistency with compilation-error-regexp-alist.
3692         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3693         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3694         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3695         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3697 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3699         * emacs-lisp/chart.el: Use lexical-binding.
3700         (chart-emacs-storage): Don't hardcode the list of entries.
3702 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3704         Next round of tweaks caused by Fgarbage_collect changes.
3705         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3707 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3709         Compact buffers when idle.
3710         * compact.el: New file.
3712 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3714         * subr.el (eventp): Presume that if it looks vaguely like an event,
3715         it's an event (bug#10190).
3717 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
3719         Enhancements to ppss related code (thanks Stefan).
3720         * progmodes/python.el (python-indent-context)
3721         (python-indent-calculate-indentation, python-indent-dedent-line)
3722         (python-indent-electric-colon, python-nav-forward-block)
3723         (python-mode-abbrev-table)
3724         (python-info-assignment-continuation-line-p): Simplify checks
3725         for ppss context.
3726         (python-info-continuation-line-p): Cleanup.
3727         (python-info-ppss-context): Do not catch 'quote.
3728         (python-info-ppss-context-type)
3729         (python-info-ppss-comment-or-string-p): Simplify.
3731 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
3733         * progmodes/python.el: Enhancements to eldoc support.
3734         (python-info-current-symbol): New function.
3735         (python-eldoc-at-point): Use python-info-current-symbol.
3736         (python-info-current-defun): Fix cornercase on first defun scan.
3737         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3738         and signal error when no inferior python process is available.
3740 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
3742         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3743         assume it's always t.
3744         (vc-git-registered): Remove caching, the function is only called
3745         once.
3746         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3748 2012-07-18  Chong Yidong  <cyd@gnu.org>
3750         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3752         * simple.el (count-words): Report on narrowing (Bug#9959).
3754         * bindings.el: Bind M-= to count-words.
3756         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3758 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
3760         * progmodes/sh-script.el (sh-imenu-generic-expression):
3761         Capture a function with `function' keyword and without parentheses
3762         like "function FOO" (bug#11856).
3764 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
3766         * window.el (split-window-sensibly): Make WINDOW argument
3767         optional.
3769 2012-07-18  Chong Yidong  <cyd@gnu.org>
3771         * subr.el (keyboard-translate): Doc fix (Bug#7261).
3773         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3774         and make C-x 8 RET exit isearch (Bug#11439).
3776         * international/iso-transl.el: Move isearch-mode-map key
3777         definitions to isearch.el.
3779 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3781         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3782         (eieio-defclass): Use gv-define-setter when possible.
3784 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
3786         Reflect recent changes in Fgarbage_collect.
3787         * emacs-lisp/chart.el (chart-emacs-storage): Change to
3788         reflect new format of data returned by Fgarbage_collect.
3790 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3792         New utility functions + python-info-ppss-context fix (Bug#11910).
3793         * progmodes/python.el (python-info-beginning-of-block-statement-p)
3794         (python-info-ppss-comment-or-string-p): New functions.
3795         (python-info-ppss-context): Small fix for string check.
3797 2012-07-17  Juri Linkov  <juri@jurta.org>
3799         * dired-aux.el (dired-do-async-shell-command): Doc fix.
3800         (dired-do-async-shell-command): Don't add `*' at the end of the
3801         command (Bug#11815).
3802         (dired-do-shell-command): Doc fix.
3803         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3804         Join the individual commands using either "&" or ";" as the
3805         separator depending on the values of these trailing characters.
3806         At the end re-add the trailing "&".  (Bug#10598)
3808         * simple.el (async-shell-command): Sync the interactive spec with
3809         `shell-command'.  Doc fix.
3810         (shell-command): Doc fix.
3812 2012-07-17  Juri Linkov  <juri@jurta.org>
3814         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
3816 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3818         Final renames and doc fixes for movement commands (bug#11899).
3819         * progmodes/python.el (python-nav-beginning-of-statement):
3820         Rename from python-nav-statement-start.
3821         (python-nav-end-of-statement): Rename from
3822         python-nav-statement-end.
3823         (python-nav-beginning-of-block): Rename from
3824         python-nav-block-start.
3825         (python-nav-end-of-block): Rename from python-nav-block-end.
3827 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3829         * progmodes/python.el (python-shell-send-string-no-output):
3830         Allow accept-process-output to quit, keeping shell process ready for
3831         future interactions (Bug#11868).
3833 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3835         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3837         * emacs-lisp/elint.el (elint-find-args-in-code):
3838         Use help-function-arglist, so as to handle lexical byte-code.
3840         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3841         change (bug#11826).
3843 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3845         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3846         Avoid spuriously marking the buffer as modified because of c-is-sws.
3848         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3849         as not-a-comment (bug#11946).
3851         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3852         for uninterned vars.
3854         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3855         Use read-event since we don't really want to read chars but bytes.
3857         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3858         $$..$$ but also $..$ using regexps (bug#11953).
3859         Use tex-verbatim for \url and \path.
3860         (tex-font-lock-keywords): Define as defconst like the others.
3861         (tex-common-initialization): Don't use font-lock-syntax-table any more.
3863 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
3865         * international/mule-cmds.el (ucs-insert): Make it an obsolete
3866         alias for insert-char.
3868 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3870         * progmodes/python.el: Simplified imenu implementation.
3871         (python-nav-jump-to-defun): Remove command.
3872         (python-mode-map): Use `imenu' instead.
3873         (python-nav-list-defun-positions-cache)
3874         (python-imenu-include-defun-type, python-imenu-make-tree)
3875         (python-imenu-subtree-root-label, python-imenu-index-alist):
3876         Remove vars.
3877         (python-nav-list-defun-positions, python-nav-read-defun)
3878         (python-imenu-tree-assoc, python-imenu-make-element-tree)
3879         (python-imenu-make-tree, python-imenu-create-index):
3880         Remove functions.
3881         (python-mode): Update to interact with imenu by setting
3882         `imenu-extract-index-name-function' only.
3884 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3886         * progmodes/python.el: Enhancements to navigation commands.
3887         (python-nav-backward-sentence)
3888         (python-nav-forward-sentence): Remove.
3889         (python-nav-backward-statement, python-nav-forward-statement)
3890         (python-nav-statement-start, python-nav-statement-end)
3891         (python-nav-backward-block, python-nav-forward-block)
3892         (python-nav-block-start, python-nav-block-end)
3893         (python-nav-forward-sexp-function)
3894         (python-info-current-line-comment-p)
3895         (python-info-current-line-empty-p): New functions.
3896         (python-indent-context): Use `python-nav-statement-start'.
3898 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
3900         * eshell/em-ls.el (eshell/ls): Use `apply'.
3902         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3903         multi-hops, instead of Tramp internals.
3905         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3907         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3908         when F1 and F2 are located on different hosts.
3910 2012-07-14  Chong Yidong  <cyd@gnu.org>
3912         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3913         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3914         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3915         (xterm-mouse--read-event-sequence-1000)
3916         (xterm-mouse--read-event-sequence-1006): New functions.  For old
3917         mouse protocol, handle M-mouse-X events correctly.
3918         (xterm-mouse-event): New arg specifying mouse protocol.
3919         (turn-on-xterm-mouse-tracking-on-terminal)
3920         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3921         sequence to toggle extended coordinates on newer XTerms.
3922         This appears to be harmless on terminals which do not support this.
3924 2012-07-14  Leo Liu  <sdl.web@gmail.com>
3926         Add fringe bitmap indicators for flymake.  (Bug#11253)
3927         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3928         (flymake-make-overlay): New arg BITMAP.
3929         (flymake-error-bitmap, flymake-warning-bitmap)
3930         (flymake-fringe-indicator-position): New user variables.
3932         * fringe.el: New bitmap exclamation-mark.
3934 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3936         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3937         also (Bug#7879).
3939 2012-07-14  Chong Yidong  <cyd@gnu.org>
3941         * electric.el (electric-pair-post-self-insert-function): Fix pair
3942         insertion in empty-region case (Bug#11520).
3944 2012-07-14  Chong Yidong  <cyd@gnu.org>
3946         * bindings.el: Consolidate ctl-x-r-map bindings.
3947         Bind copy-rectangle-as-kill to C-x r w.
3949         * rect.el, register.el: Move bindings to bindings.el.
3951 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
3953         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3955 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3957         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
3959 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
3961         * bindings.el (top): Use `mapc' instead of `mapcar'.
3963         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
3965 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
3967         * progmodes/sql.el (sql-comint): Suppress the check for program on
3968         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
3969         (Bug#11908)
3971 2012-07-13  Chong Yidong  <cyd@gnu.org>
3973         * bindings.el: Assign a non-nil permanent-local property to
3974         per-buffer variables which lack a default value (Bug#11930).
3976         * help-fns.el (describe-variable): In the "automatically becomes
3977         local" notice, take note of permanent-local variables.
3979 2012-07-13  Chong Yidong  <cyd@gnu.org>
3981         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
3982         to allow printing the message when called from Lisp.
3984         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3985         Remove toggle-read-only.
3987         * bs.el (bs-toggle-readonly):
3988         * buff-menu.el (Buffer-menu-toggle-read-only):
3989         Remove with-no-warnings around toggle-read-only.
3991         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3992         Remove with-no-warnings around toggle-read-only.
3993         (ffap-read-only, ffap-read-only-other-window)
3994         (ffap-read-only-other-frame): Callers changed.
3996         * help-mode.el: Don't require view package.
3997         (help-mode-finish): Set buffer-read-only instead of calling
3998         toggle-read-only.
4000         * bindings.el (mode-line-toggle-read-only):
4001         * dired.el (dired-toggle-read-only):
4002         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4003         with non-nil second arg.
4005         * emacs-lisp/eieio-custom.el (eieio-customize-object):
4006         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4007         directly.
4009 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
4011         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4012         not incf.
4014 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4016         More CL cleanups and reduction of use of cl.el.
4017         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4018         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4019         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4020         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4021         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4022         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4023         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4024         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4025         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4026         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4027         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4028         * eshell/em-cmpl.el, eshell/em-banner.el:
4029         * calendar/parse-time.el: Use cl-lib.
4030         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4031         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4032         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4033         * term/ns-win.el, term.el, shell.el, ps-samp.el:
4034         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4035         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4036         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4037         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4038         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4039         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4040         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4041         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4042         `lambda' rather than with `quote'.
4043         (eshell-do-opt): Adjust accordingly.
4044         (eshell-process-option): Simplify.
4045         * eshell/esh-var.el:
4046         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4047         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4048         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4049         to `pcase--dontcare'.
4050         * emacs-lisp/cl.el (labels): Mark obsolete.
4051         (cl--letf, letf): Move to cl-lib.
4052         (cl--letf*, letf*): Remove.
4053         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4054         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4055         (cl-progv): Rewrite.
4056         (cl--letf, cl-letf): Move from cl.el.
4057         (cl-letf*): New macro.
4058         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4060 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
4062         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4064 2012-07-11  Chong Yidong  <cyd@gnu.org>
4066         * vc/log-edit.el (log-edit-vc-backend): New variable.
4067         (log-edit): Doc fix.
4069         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
4070         argument of log-edit to set up all local variables.
4071         (vc-start-logentry): New optional arg specifying VC backend.
4073         * vc/vc.el (vc-checkin): Use it.
4074         (vc-deduce-fileset): Handle Log Edit buffers.
4075         (vc-diff): Make first argument optional too.
4077         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4079 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
4081         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4082         command, just in case.  The function is not needed anymore.
4083         (eshell-external-command): Do not call `eshell-remote-command'.
4085 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4087         Reduce use of (require 'cl).
4088         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4089         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4090         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4091         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4092         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4093         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4094         * battery.el, avoid.el, abbrev.el: Use cl-lib.
4095         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4096         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4097         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4098         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4099         * calculator.el, autorevert.el, apropos.el: Don't require CL.
4100         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4101         (byte-compile-unfold-bcf, byte-compile-check-variable):
4102         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4103         (byte-compile-nilconstp):
4104         * emacs-lisp/autoload.el (make-autoload): Use pcase.
4105         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4107         * emacs-lisp/gv.el (cond): Make it a valid place.
4108         (if): Simplify slightly.
4110         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4111         (pcase--self-quoting-p): New function.
4112         (pcase--u1): Use it.
4114 2012-07-10  Glenn Morris  <rgm@gnu.org>
4116         * emacs-lisp/authors.el (authors-fixed-entries):
4117         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4119 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
4121         Rename configure.in to configure.ac (Bug#11603).
4122         * emacs-lisp/authors.el (authors-canonical-file-name):
4123         * progmodes/autoconf.el (autoconf-mode):
4124         Prefer configure.ac to configure.in.
4126 2012-07-08  Chong Yidong  <cyd@gnu.org>
4128         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4129         Implement the mouse-1-click-follows-link handling properly.
4131         * info.el (Info-link-keymap): Use follow-link mechanism for
4132         header-line links (Bug#374).
4134         * simple.el (deactivate-mark): Do not set the primary selection
4135         if another program has acquired it (Bug#11772).
4137 2012-07-07  Kevin Ryde  <user42@zip.com.au>
4139         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4140         (woman-decode-region): Replace escaped-escapes without destroying
4141         bold or underline (Bug#11552).
4142         (woman2-process-escapes): Handle nofill regions (Bug#11591).
4144 2012-07-07  Chong Yidong  <cyd@gnu.org>
4146         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4147         (interprogram-cut-function, interprogram-paste-function):
4148         Mention that we typically mean the clipboard.
4150 2012-07-06  Glenn Morris  <rgm@gnu.org>
4152         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
4154         * files.el (toggle-read-only): Restrict message to interactive use.
4156 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
4158         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4160         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4162 2012-07-06  Glenn Morris  <rgm@gnu.org>
4164         * Makefile.in (compile-one-process): Rename from "recompile".
4166         * Makefile.in (bzr-update): "compile" is the same as "recompile
4167         autoloads", but parallelizable, so use that instead.
4169 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
4171         * window.el (quit-window): Always restore window height when
4172         it's saved in quit-restore parameter (Bug#11810).
4174 2012-07-06  Glenn Morris  <rgm@gnu.org>
4176         * simple.el (kill-whole-line): Doc tweak.
4178 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
4180         * files.el (file-relative-name): Compare file names
4181         case-insensitively if on MS-Windows or MS-DOS, or if
4182         read-file-name-completion-ignore-case is non-nil.  Don't use
4183         case-fold-search for this purpose.  (Bug#11827)
4185 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
4187         * calendar/cal-dst.el (calendar-current-time-zone):
4188         Return calendar-current-time-zone-cache if non-nil.
4190 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
4191 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4193         * calendar/cal-dst.el (calendar-current-time-zone):
4194         Return calendar-current-time-zone-cache if non-nil.
4196 2012-07-06  Glenn Morris  <rgm@gnu.org>
4198         * Makefile.in (cvs-update): Remove old alias.
4200 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
4202         Sync with Tramp 2.2.6-pre.
4204         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4205         compatible declaration.
4207         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4208         Protect `list-load-path-shadows' call.
4210         * net/tramp-compat.el (top): Require packages, which aren't
4211         autoloaded anymore for XEmacs.  Protect call of
4212         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4213         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
4214         it hurts at least for SXEmacs.
4215         (tramp-compat-temporary-file-directory): In XEmacs, there is no
4216         standard-value for `temporary-file-directory'.
4218         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4219         Redirect stderr to /dev/null.
4220         (tramp-sh-handle-write-region): uid and gid can be floats.
4221         Reported by Russell Sim <russell.sim@gmail.com>.
4222         (tramp-sh-handle-vc-registered): Hide errors.
4223         (tramp-vc-file-name-handler): Use dummy results for `process-file'
4224         and `start-file-process'.
4225         (tramp-maybe-open-connection): Check also whether `non-essential'
4226         is bound.
4228 2012-07-04  Chong Yidong  <cyd@gnu.org>
4230         * xml.el (xml--parse-buffer): Use xml-syntax-table.
4231         (xml-parse-tag): Likewise, and avoid changing entity tables.
4232         (xml-syntax-table): Define from scratch, making sure not to give
4233         x2000 and other Unicode spaces whitespace syntax, since those are
4234         not spaces in XML.
4235         (xml-parse-fragment): Delete unused function.
4236         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4237         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4238         (xml-entity-ref, xml-pe-reference-re)
4239         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4240         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4241         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4242         (xml-entity-value-re): Use syntax references in regexps where
4243         possible; no need to define inside a let-binding.
4244         (xml-parse-dtd): Use xml-pe-reference-re.
4245         (xml-entity-or-char-ref-re): New defconst.
4246         (xml-parse-string, xml-substitute-special): Use it.
4248 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4250         * files.el (locate-dominating-file): Allow `name' to be a predicate.
4251         (find-file--read-only): New function.
4252         (find-file-read-only, find-file-read-only-other-window)
4253         (find-file-read-only-other-frame): Use it.
4254         (insert-file-contents-literally): Don't `fset'.
4255         (get-free-disk-space): Use locate-dominating-file.
4257         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4258         function is already compiled.
4260         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
4262 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
4264         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4265         files on the same host.
4267 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4269         * help-fns.el (describe-function-1): Only call
4270         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
4272 2012-07-03  Chong Yidong  <cyd@gnu.org>
4274         * xml.el: Protect parser against XML bombs.
4275         (xml-entity-expansion-limit): New variable.
4276         (xml-parse-string, xml-substitute-special): Use it.
4277         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4279 2012-07-03  Glenn Morris  <rgm@gnu.org>
4281         * progmodes/bug-reference.el (bug-reference-bug-regexp):
4282         Allow linking to specific messages in debbugs reports (eg 123#5).
4284 2012-07-02  Chong Yidong  <cyd@gnu.org>
4286         * xml.el: Fix entity and character reference expansion, allowing
4287         them to expand into markup as per XML spec.
4288         (xml-default-ns): New variable.
4289         (xml-entity-alist): Use XML spec definitions for lt and amp.
4290         (xml-parse-region): Make first two arguments optional.
4291         Discard text properties.
4292         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4293         All callers changed.
4294         (xml-parse-tag): Call xml-parse-tag-1.  For backward
4295         compatibility, this function should not modify buffer contents.
4296         (xml-parse-tag-1): Fix opening-tag regexp.
4297         (xml-parse-string): Rewrite, handling entity and character
4298         references properly.
4299         (xml--entity-replacement-text): Signal an error if a parameter
4300         entity is undefined.
4302 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4304         * comint.el (comint-output-filter): Filter out repeated prompts.
4306         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4307         and file-name-absolute-p.
4308         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4309         internal calls.
4311 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4313         Spelling fixes.
4314         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4315         Rename from byte-compile--refiy-function.  All uses changed.
4317 2012-07-01  Chong Yidong  <cyd@gnu.org>
4319         * xml.el (xml--parse-buffer): New function.  Move most of
4320         xml-parse-region here.
4321         (xml-parse-region): Copy region into a temporary buffer, since
4322         parameter entity substitution requires changing buffer contents.
4323         Use xml--parse-buffer.
4324         (xml-parse-file): Use xml--parse-buffer.
4325         (xml-parse-dtd): Make parameter entity substitution work right.
4326         Use proper regexps for ELEMENT declarations (Bug#7172).
4328 2012-06-30  Glenn Morris  <rgm@gnu.org>
4330         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4332         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4333         Remove outdated and unnecessary dbus declarations.
4335 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
4337         * emacs-lisp/timer.el (timer-until): Subtract results of
4338         float-time, instead of taking float-time of the result of
4339         time-subtract, since float-time signals an error for negative time
4340         arguments.
4342 2012-06-30  Chong Yidong  <cyd@gnu.org>
4344         * xml.el (xml-*-re): Convert defvars into defconsts, and
4345         eval-and-compile them so eval-and-compile works on derivatives.
4346         (xml--entity-replacement-text): Use eval-and-comple.
4348 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
4350         * vc/vc-git.el (vc-git-registered): Use cache property
4351         `git-registered'.
4352         (vc-git-mode-line-string): Call `vc-working-revision' instead of
4353         `vc-git-working-revision' in order to benefit from the cache.
4354         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
4356 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4358         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4359         removed (likely outside Emacs).  (Bug#11757)
4361 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4363         * emacs-lisp/cl-lib.el: Require macroexp.
4365 2012-06-30  Chong Yidong  <cyd@gnu.org>
4367         * xml.el: Implement XML parameter entities.
4368         (xml-parameter-entity-alist): New variable.
4369         (xml-parse-region, xml-parse-fragment): Preserve previous values
4370         of xml-entity-alist and xml-parameter-entity-alist, so that
4371         repeated calls on different documents do not change them.
4372         (xml-parse-tag): Fix doctype regexp.
4373         (xml--entity-replacement-text): New function.
4374         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
4375         properly requires url retrieval which is unimplemented.
4376         (xml-escape-string): Doc fix.
4378 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4380         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4382 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
4384         * fringe.el (fringe-mode): Doc fix.
4386 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
4388         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4389         is non-nil.
4390         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4391         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
4393 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
4395         * calendar/cal-dst.el (calendar-current-time-zone):
4396         Return calendar-current-time-zone-cache if non-nil.
4398 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
4400         * progmodes/which-func.el (which-func-format):
4401         Add mouse-face.  (Bug#11698)
4403 2012-06-29  Leo Liu  <sdl.web@gmail.com>
4405         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4407 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4409         * minibuffer.el (minibuffer-confirm-exit-commands):
4410         Add completion-at-point (bug#11725).
4412 2012-06-29  Glenn Morris  <rgm@gnu.org>
4414         * progmodes/f90.el (f90-font-lock-keywords-2):
4415         Add some preprocessor elements.  (Bug#10499)
4417 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4419         * progmodes/cperl-mode.el (cperl-update-syntaxification):
4420         Use syntax-propertize (bug#11739).
4422 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
4424         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4426 2012-06-28  Julien Danjou  <julien@danjou.info>
4428         * term.el (term-handle-colors-array): Use a set of new faces to
4429         color the terminal.  Also uses :inverse-video property.
4430         (term-default-fg-color): Set to nil by default, deprecate in favor
4431         of `term-face'.
4432         (term-default-bg-color): Set to nil by default, deprecate in favor
4433         of `term-face'.
4434         (term-current-face): Use `term-face' by default.
4435         (term-bold-attribute): Variable deleted.
4437 2012-06-28  Glenn Morris  <rgm@gnu.org>
4439         * simple.el (completion-list-mode-finish):
4440         Don't use toggle-read-only.  (Since completion-list-mode has
4441         a special mode-class, it wasn't doing anything extra anyway.)
4443 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4445         Make inlining of other-mode interpreted functions work (bug#11799).
4446         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4447         (byte-compile): Use it to fix compilation of lexical-binding closures.
4448         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4449         function, if needed.
4451 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4453         * help-mode.el (help-make-xrefs): Don't just withstand
4454         cyclic-variable-indirection but any error in documentation-property.
4456         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4457         memory use.
4458         * bindings.el (bindings--define-key): New function.
4459         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4460         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4461         * bindings.el: Use it to purecopy define-key bindings.
4463         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4465         * emacs-lisp/cl.el (flet): Mark obsolete.
4466         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4467         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4468         * progmodes/js.el (js-c-fill-paragraph):
4469         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4470         (ebrowse-switch-member-buffer-to-derived-class):
4471         * play/5x5.el (5x5-solver): Use cl-flet.
4473         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
4474         (cl--symbol-function): New macro.
4475         (cl--letf, cl--letf*): Use it.
4477         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4478         Strip "toggle-" if any.
4480 2012-06-27  Glenn Morris  <rgm@gnu.org>
4482         * info.el (Info-default-directory-list): Move here from paths.el.
4483         * paths.el: Remove file, which is now empty.
4484         * loadup.el: No longer load "paths".
4486         * custom.el (custom-initialize-delay): Doc fix.
4488         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4489         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4490         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4491         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4492         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4493         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4494         * eshell/eshell.el (eshell-defgroup): Remove alias.
4496 2012-06-27  Chong Yidong  <cyd@gnu.org>
4498         * help.el (help-enable-auto-load): New variable.
4500         * help-fns.el (help-fns--autoloaded-p): New function.
4501         (describe-function-1): Refer to a function as "autoloaded" if it
4502         was autoloaded at any time in the past.  Perform autoloading if
4503         help-enable-auto-load is non-nil.
4505 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
4507         * makefile.w32-in (compile, compile-always): Depend on
4508         update-subdirs, not on subdirs.el.  Otherwise, several different
4509         sub-targets of 'bootstrap' running in parallel could
4510         simultaneously write to subdirs.el, producing a garbled file.
4512 2012-06-26  Sam Steingold  <sds@gnu.org>
4514         * files.el (file-name-base): New convenience function.
4515         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4516         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4517         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4518         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4519         * textmodes/ispell.el, textmodes/reftex-ref.el:
4520         * textmodes/tex-mode.el: Use it.
4521         Did not touch cedet and org because they are maintained elsewhere.
4523 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
4525         * calendar/calendar.el (calendar-exit): Don't try to delete or
4526         iconify last frame.  See:
4527         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4529 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
4531         * server.el (server-process-filter): Remember dir in the
4532         process's `server-client-directory' properties.
4534 2012-06-24  Chong Yidong  <cyd@gnu.org>
4536         * xml.el (xml-parse-tag): Correctly handle comment embedded in
4537         non-tag text.
4539 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
4541         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4543 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4545         * help-fns.el (describe-variable): Don't croak when doc is not found.
4546         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4547         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4548         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4549         * emacs-lisp/smie.el (smie-next-sexp): CSE.
4550         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4551         ((lambda ..) ..).
4552         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4554 2012-06-23  Chong Yidong  <cyd@gnu.org>
4556         * info.el (Info-mouse-follow-link): Accept symbol values of
4557         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
4558         (Info-fontify-node): Use Info-link-keymap for all navigation
4559         buttons, with link-args property to perform the desired action.
4560         (Info-link-keymap): Doc fix.
4561         (Info-next-link-keymap, Info-prev-link-keymap)
4562         (Info-up-link-keymap): Delete now-unused keymaps.
4564 2012-06-23  Chong Yidong  <cyd@gnu.org>
4566         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4568         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4569         system abbrevs.
4571         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4573 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4575         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4576         (bug#11719).
4578         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4579         the requote function doesn't work properly (bug#11714).
4581 2012-06-23  Glenn Morris  <rgm@gnu.org>
4583         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4585 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4587         Further GV/CL cleanups.
4588         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4589         gv-expander.
4590         (gv--defun-declaration): New function.
4591         (defun-declarations-alist): Use it.
4592         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4593         (gv-place): Autoload.
4594         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4595         original definition of dotimes and dolist.
4596         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4597         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4598         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4599         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4600         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4601         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4602         to the function's definition.
4603         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4604         * window.el:
4605         * files.el:
4606         * faces.el:
4607         * env.el: Don't use CL.
4609 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4611         Support higher-resolution time stamps (Bug#9000).
4613         * calendar/time-date.el (with-decoded-time-value): New arg
4614         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
4615         (encode-time-value): New optional arg PICO.  New type 3.
4616         (time-to-seconds) [!float-time]: Support the new picoseconds
4617         component if it's used.
4618         (seconds-to-time, time-subtract, time-add):
4619         Support ps-resolution time stamps as well.
4621         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
4622         (timerp): Timer vectors now have length 9, not 8.
4623         (timer--time): Support new-style (4-part) time stamps.
4624         (timer-next-integral-multiple-of-time): Time stamps now have
4625         picosecond resolution, so take a bit more care about rounding.
4626         (timer-relative-time, timer-inc-time): New optional arg psecs.
4627         (timer-set-time-with-usecs): Set psecs to 0.
4628         (timer--activate): Check psecs component, too.
4630         * proced.el (proced-time-lessp): Support ps-resolution stamps.
4632 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4634         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4635         Move the non-essential binding to the post/pre-command-hook where it is
4636         more obviously correct.
4638         * subr.el (read-passwd): Don't use a history at all.
4639         * savehist.el (savehist-save): Remove password saved accidentally
4640         because of the above bug.
4642 2012-06-22  Bastien Guerry  <bzg@gnu.org>
4644         * files.el (toggle-read-only): Display a message telling whether
4645         the buffer is read-only or not (bug#11726).
4647 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4649         * emacs-lisp/gv.el: New file.
4650         * subr.el (push, pop): Extend to generalized variables.
4651         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4652         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4653         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
4654         gv-define-simple-setter, and gv-define-expander.
4655         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
4656         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4657         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4658         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4659         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4660         gv-letplace.
4661         (cl-defstruct): Don't define setf-method any more.
4662         * emacs-lisp/cl.el (flet): Don't autoload.
4663         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4664         (define-setf-expander, defsetf, define-modify-macro)
4665         (cl-struct-setf-expander): Move from cl-lib.el.
4666         * emacs-lisp/syntax.el:
4667         * emacs-lisp/ewoc.el:
4668         * emacs-lisp/smie.el:
4669         * emacs-lisp/cconv.el:
4670         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4671         (timer--time): Use gv-define-simple-setter.
4672         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4673         to avoid coding-system problems in subr.el.  Adjust all users.
4674         (macroexp--maxsize, macroexp-small-p): New functions.
4675         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4676         * scroll-bar.el (scroll-bar-mode):
4677         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4678         (normal-erase-is-backspace-mode): Don't use the `eq' place.
4679         * winner.el (winner-configuration, winner-make-point-alist)
4680         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4681         * files.el (locate-file-completion-table): Avoid list*.
4683 2012-06-22  Chong Yidong  <cyd@gnu.org>
4685         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4686         (dired-create-files): Doc fix (Bug#11329).
4687         (dired-do-copy): Doc fix (Bug#11334).
4688         (dired-mark-read-string): Doc fix (Bug#11553).
4690         * dired.el (dired-recursive-copies, dired-recursive-deletes):
4691         Doc fix (Bug#11326).
4692         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
4693         (dired-dwim-target): Doc fix.
4695         * wdired.el (wdired-mode): Doc fix.
4697 2012-06-22  Glenn Morris  <rgm@gnu.org>
4699         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4700         (pcmpl-rpm-cache-stamp-file): New constant.
4701         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4702         (pcmpl-rpm-packages): Optionally cache list of packages.
4704         * pcmpl-rpm.el (pcmpl-rpm): New group.
4705         (pcmpl-rpm-query-options): New option.
4706         (pcmpl-rpm-packages): No need to inline it.
4707         Use pcmpl-rpm-query-options.
4709         * calendar/calendar.el (calendar-in-read-only-buffer):
4710         Avoid some needless mode changes.
4712 2012-06-21  Chong Yidong  <cyd@gnu.org>
4714         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4715         (desktop-path): Remove . from the default value (Bug#10977).
4716         (desktop-read): Use user-emacs-directory if desktop-path is nil.
4718 2012-06-20  Chong Yidong  <cyd@gnu.org>
4720         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4722 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
4724         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4725         (bug#11201).
4727 2012-06-20  Chong Yidong  <cyd@gnu.org>
4729         * term.el (term-window-width): Handle the case of a missing right
4730         fringe (Bug#8837).
4731         (term-check-size): Use window-text-height (Bug#5445).
4732         (term-mode): Use define-derived-mode.  Minor cleanups.
4733         Set font-lock-defaults (Bug#7692).
4734         (term-move-columns, term-insert-char, term-emulate-terminal)
4735         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4737 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
4739         * net/ange-ftp.el (ange-ftp-get-passwd):
4740         Bind `enable-recursive-minibuffers'.
4741         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4743 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
4745         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4747 2012-06-19  Glenn Morris  <rgm@gnu.org>
4749         * progmodes/python.el (python-mode): Derive from prog-mode.
4751 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
4753         * emulation/edt.el (edt-default-menu-bar-update-buffers)
4754         (edt-user-menu-bar-update-buffers): New functions.
4755         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4757 2012-06-19  Chong Yidong  <cyd@gnu.org>
4759         * subr.el (with-selected-window): Preserve the selected window's
4760         terminal's top-frame (Bug#4702).
4762         * window.el (save-selected-window): Likewise.
4764 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4766         * progmodes/python.el (python-rx-constituents): Move backquote.
4767         (python-skeleton-define, python-define-auxiliary-skeleton):
4768         Use `declare'.
4770 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
4772         * minibuffer.el (read-file-name-default): Revert the patch from
4773         2012-06-17.
4775 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4777         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4778         (pcase--u1, pcase--q1): Don't use apply-partially.
4780 2012-06-18  Glenn Morris  <rgm@gnu.org>
4782         * progmodes/python.el (python-proc, python-buffer)
4783         (python-send-receive, python-send-string): Fix obsolete versions.
4785 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
4787         * window.el (special-display-p): Completely remove stringp
4788         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4790 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
4792         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4794         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4796         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4797         * net/tramp-sh.el (tramp-maybe-open-connection):
4798         Throw if `non-essential' is non-nil.
4800 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
4802         * window.el (special-display-p): Signal an error if BUFFER-NAME
4803         is not a string (Bug#11713).
4805 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4807         * progmodes/python.el (python-info-beginning-of-backslash):
4808         Rename from python-info-beginning-of-backlash, as a spelling fix.
4810 2012-06-17  Chong Yidong  <cyd@gnu.org>
4812         * term.el (term-emulate-terminal): If term-check-size is called,
4813         move point to the process mark without resetting point (Bug#4635).
4815 2012-06-17  Glenn Morris  <rgm@gnu.org>
4817         * international/mule-cmds.el (mule-menu-keymap)
4818         (set-language-environment, set-locale-environment): Doc tweaks.
4820 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
4822         * cus-face.el (custom-face-attributes): Add wave-style underline
4823         attribute.
4824         * faces.el (set-face-attribute): Update docstring to describe
4825         wave-style underline attribute.
4827 2012-06-16  Chong Yidong  <cyd@gnu.org>
4829         * term/xterm.el (terminal-init-xterm): Discard input before
4830         querying background mode (Bug#10959).
4832 2012-06-16  Stefan Merten  <smerten@oekonux.de>
4834         * textmodes/rst.el: Added and corrected some comments.
4835         (rst-re-alist-def): Improve symbol syntax.
4836         (rst-mode-syntax-table): Correct syntax entries.
4837         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4838         (rst-official-version, rst-official-cvs-rev): Update version
4839         information.
4841 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
4843         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4844         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4846 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
4848         * progmodes/python.el: New python.el merge.
4849         (python-guess-indent): Obsolete var.
4850         (python-indent-guess-indent-offset): New defcustom.
4851         (python-indent): Obsolete var.
4852         (python-indent-offset): New defcustom.
4853         (python-python-command, python-jython-command): Delete var.
4854         (python-shell-interpreter): New defcustom.
4855         (python-pdbtrack-do-tracking-p): Delete var.
4856         (python-pdbtrack-activate): New defcustom.
4857         (python-use-skeletons): Obsolete var.
4858         (python-skeleton-autoinsert): New defcustom.
4859         (inferior-python-filter-regexp, python-continuation-offset)
4860         (python-honour-comment-indentation, python-indent-string-contents)
4861         (python-jython-packages, python-mode-hook)
4862         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4863         (python-shell-prompt-alist)
4864         (python-source-modes): Delete defcustoms.
4865         (python-check-buffer-name, python-eldoc-setup-code)
4866         (python-eldoc-string-code, python-ffap-setup-code)
4867         (python-ffap-string-code, python-fill-comment-function)
4868         (python-fill-decorator-function, python-fill-paren-function)
4869         (python-fill-string-function, python-imenu-include-defun-type)
4870         (python-imenu-make-tree, python-imenu-subtree-root-label)
4871         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4872         (python-shell-compilation-regexp-alist)
4873         (python-shell-completion-module-string-code)
4874         (python-shell-completion-pdb-string-code)
4875         (python-shell-completion-setup-code)
4876         (python-shell-completion-string-code)
4877         (python-shell-enable-font-lock, python-shell-exec-path)
4878         (python-shell-extra-pythonpaths)
4879         (python-shell-internal-buffer-name, python-shell-interpreter-args)
4880         (python-shell-process-environment)
4881         (python-shell-prompt-block-regexp)
4882         (python-shell-prompt-output-regexp)
4883         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4884         (python-shell-send-setup-max-wait, python-shell-setup-codes)
4885         (python-shell-virtualenv-path): New defcustoms.
4886         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4887         (inferior-python-mode-syntax-table, python--prompt-regexp)
4888         (python-buffer, python-command python-python-command)
4889         (python-default-template, python-imports, python-indent-index)
4890         (python-indent-list, python-indent-list-length)
4891         (python-mode-running, python-pdbtrack-is-tracking-p)
4892         (python-preoutput-continuation, python-preoutput-leftover)
4893         (python-preoutput-result, python-preoutput-skip-next-prompt)
4894         (python-prev-dir/file, python-recursing)
4895         (python-saved-check-command, python-version-checked)
4896         (python-which-func-length-limit)
4897         (view-return-to-alist): Delete vars.
4898         (python-check-custom-command, python-dotty-syntax-table)
4899         (python-imenu-index-alist, python-indent-current-level)
4900         (python-indent-dedenters, python-indent-levels)
4901         (python-nav-beginning-of-defun-regexp)
4902         (python-nav-list-defun-positions-cache)
4903         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4904         (python-shell-internal-buffer)
4905         (python-skeleton-available): New vars.
4906         (def-python-skeleton): Delete macro.
4907         (python-skeleton-define): New macro.
4908         (python-define-auxiliary-skeleton, python-rx): New macros.
4909         (python-insert-class): Delete command.
4910         (python-skeleton-class): New command.
4911         (python-insert-def): Delete command.
4912         (python-skeleton-def): New command.
4913         (python-insert-for): Delete command.
4914         (python-skeleton-for): New command.
4915         (python-insert-if): Delete command.
4916         (python-skeleton-if): New command.
4917         (python-insert-try/except, python-insert-try/finally): Delete commands.
4918         (python-skeleton-try): New command.
4919         (python-insert-while): Delete command.
4920         (python-skeleton-while): New command.
4921         (python-backspace): Delete command.
4922         (python-indent-dedent-line-backspace): New command.
4923         (python-electric-colon): Delete command.
4924         (python-indent-electric-colon): New command.
4925         (python-guess-indent): Delete command.
4926         (python-indent-guess-indent-offset): New command.
4927         (python-shift-left): Delete command.
4928         (python-indent-shift-left): New command.
4929         (python-shift-right): Delete command.
4930         (python-indent-shift-right): New command.
4931         (python-find-function): Delete command.
4932         (python-nav-jump-to-defun): New command.
4933         (python-next-statement): Delete command.
4934         (python-nav-forward-sentence): New command.
4935         (python-previous-statement): Delete command.
4936         (python-nav-backward-sentence): New command.
4937         (python-fill-paragraph): Delete command.
4938         (python-fill-paragraph-function): New command.
4939         (python-send-buffer): Delete command.
4940         (python-shell-send-buffer): New command.
4941         (python-send-defun): Delete command.
4942         (python-shell-send-defun): New command.
4943         (python-send-region, python-send-region-and-go): Delete commands.
4944         (python-shell-send-region)
4945         (python-shell-switch-to-shell): New commands.
4946         (python-send-string): Delete command.
4947         (python-shell-send-string): New command.
4948         (python-switch-to-python): Delete command.
4949         (python-shell-switch-to-shell): New command.
4950         (python-describe-symbol): Delete command.
4951         (python-eldoc-at-point): New command.
4952         (python--set-prompt-regexp, python-args-to-list)
4953         (python-after-info-look, python-check-version)
4954         (python-check-comint-prompt, python-find-imports)
4955         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4956         (python-unload-function, python-expand-template)
4957         (python-maybe-jython, python-preoutput-filter)
4958         (python-pdbtrack-get-source-buffer)
4959         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4960         (python-pdbtrack-toggle-stack-tracking)
4961         (python-pdbtrack-track-stack-file, python-initial-text)
4962         (python-first-word, python-comment-line-p, python-send-command)
4963         (python-setup-brm, python-sentinel, python-set-proc)
4964         (python-skip-out, python-input-filter, python-outdent-p)
4965         (python-outline-level, python-backslash-continuation-line-p)
4966         (python-end-of-block, python-end-of-statement, python-mark-block)
4967         (python-beginning-of-block, python-beginning-of-statement)
4968         (python-blank-line-p, python-beginning-of-string)
4969         (python-open-block-statement-p): Delete functions.
4970         (python-indent-line, python-indent-line-1): Delete functions.
4971         (python-indent-line): New function.
4972         (python-indentation-levels): Delete function.
4973         (python-indent-calculate-levels): New function.
4974         (python-proc): Delete function.
4975         (python-shell-get-process): New function.
4976         (python-send-receive): Delete function.
4977         (python-shell-send-string-no-output): New function.
4978         (python-module-path): Delete function.
4979         (python-ffap-module-path): New function.
4980         (python-completion-at-point)
4981         (python-symbol-completions): Delete functions.
4982         (python-completion-complete-at-point): New function.
4983         (python-load-file): Delete function.
4984         (python-shell-send-file): New function.
4985         (python-calculate-indentation): Delete function.
4986         (python-indent-calculate-indentation): New function.
4987         (python-skip-comments/blanks): Delete function.
4988         (python-util-forward-comment): New function.
4989         (python-continuation-line-p): Delete function.
4990         (python-info-continuation-line-p): New function.
4991         (python-which-func, python-current-defun): Delete function.
4992         (python-info-current-defun): New function.
4993         (python-beginning-of-defun): Delete function.
4994         (python-nav-beginning-of-defun): New function.
4995         (python-close-block-statement-p)
4996         (python-block-end-p): Delete function.
4997         (python-info-closing-block): New function.
4998         (python-comint-output-filter-function)
4999         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5000         (python-fill-comment, python-fill-decorator, python-fill-paren)
5001         (python-fill-string, python-imenu-make-element-tree)
5002         (python-imenu-make-tree, python-imenu-tree-assoc)
5003         (python-indent-context, python-indent-dedent-line)
5004         (python-indent-line-function)
5005         (python-indent-post-self-insert-function)
5006         (python-indent-toggle-levels)
5007         (python-info-assignment-continuation-line-p)
5008         (python-info-beginning-of-backlash)
5009         (python-info-block-continuation-line-p)
5010         (python-info-closing-block-message)
5011         (python-info-line-ends-backslash-p)
5012         (python-info-looking-at-beginning-of-defun)
5013         (python-info-ppss-context, python-info-ppss-context-type)
5014         (python-nav-list-defun-positions, python-nav-read-defun)
5015         (python-nav-sentence-end, python-nav-sentence-start)
5016         (python-pdbtrack-comint-output-filter-function)
5017         (python-pdbtrack-set-tracked-buffer)
5018         (python-shell-calculate-exec-path)
5019         (python-shell-calculate-process-environment)
5020         (python-shell-completion--do-completion-at-point)
5021         (python-shell-completion--get-completions)
5022         (python-shell-completion-complete-at-point)
5023         (python-shell-completion-complete-or-indent)
5024         (python-shell-get-or-create-process)
5025         (python-shell-get-process-name)
5026         (python-shell-internal-get-or-create-process)
5027         (python-shell-internal-get-process-name)
5028         (python-shell-internal-send-string, python-shell-make-comint)
5029         (python-shell-parse-command, python-shell-send-setup-code)
5030         (python-skeleton-add-menu-items)
5031         (python-util-clone-local-variables, python-util-position)
5032         (run-python-internal, python-indentation-levels)
5033         (python-nav-beginning-of-defun)
5034         (python-completion-complete-at-point): New functions.
5035         (run-python): Change arguments.  New API requirements.
5037 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5039         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5040         (bug#11649).
5042         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5043         (macroexp--expand-all): Use it.
5045         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5046         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5047         Use `cl-function' instead.
5049 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
5051         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5052         Suggested by Stefan Monnier while discussing bug#11657.
5054 2012-06-14  Sam Steingold  <sds@gnu.org>
5056         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5058 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5060         * play/doctor.el (doctor-doc): Remove parameter and use
5061         doctor-sent instead of sent.
5062         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
5064 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5066         * files.el: Require cl-lib.
5067         (file-name-non-special): Replace case -> cl-case.
5069         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5071         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5072         mapping from #' to function*.
5074 2012-06-13  Chong Yidong  <cyd@gnu.org>
5076         * mouse.el (mouse-drag-track): Do not set the mark if the user
5077         releases the mouse without selecting anything (Bug#11588).
5079 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5081         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5082         as well (bug#11646).
5084         * loadup.el: Count byte-code functions as well.
5086         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5087         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5089         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5090         (bug#11649).  Add cl-defun and cl-defmacro.
5092 2012-06-13  Drew Adams  <drew.adams@oracle.com>
5094         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5095         Fix last change.
5097 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
5099         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5100         Otherwise, it blocks in batch mode.
5102 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
5104         * help-mode.el (bookmark-make-record-default): Declare.
5106 2012-06-13  Chong Yidong  <cyd@gnu.org>
5108         * emacs-lisp/package.el (list-packages): Compute a list of
5109         packages that are newly-available since the last list-packages
5110         invocation.
5111         (package-menu--new-package-list): New var.
5112         (package-menu--generate, package-menu--print-info)
5113         (package-menu--status-predicate, package-menu-mark-install):
5114         Handle new status label "new".
5116 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5118         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5119         conversion to backquotes.
5121 2012-06-12  Chong Yidong  <cyd@gnu.org>
5123         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5124         Rename from gud-inhibit-global-bindings.
5126         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5128         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5129         hook from nxml-glyph-set-hook.
5131         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5132         declaration.
5134         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5136         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5137         Convert to defcustom.
5139 2012-06-12  Drew Adams  <drew.adams@oracle.com>
5141         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5142         New functions.
5143         (help-mode): Use them.
5145 2012-06-11  Glenn Morris  <rgm@gnu.org>
5147         * progmodes/fortran.el (fortran-font-lock-keywords-3):
5148         Use preprocessor face for directives.
5149         (fortran-directive-re): Doc fix.
5151 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5153         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5154         conversion to backquotes (bug#11652).
5156         Fix compiler-expansion of CL's cXXr functions (bug#11673).
5157         * emacs-lisp/cl-lib.el (cl--defalias): New function.
5158         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5159         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5160         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5161         (cl-ninth, cl-tenth): Mark them as inlinable.
5162         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5163         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5164         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5165         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5166         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5167         (cl-list*, cl-adjoin): Don't put an autoload manually.
5168         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5169         (cl--compiler-macro-list*): Add autoload cookie.
5170         (cl--compiler-macro-cXXr): New function.
5172         * help-fns.el (help-fns--compiler-macro): New function extracted from
5173         describe-function-1; follow aliases and use `compiler-macro' property.
5174         (describe-function-1): Use it.
5176 2012-06-11  Chong Yidong  <cyd@gnu.org>
5178         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5179         is uninstalled, if imagemagick is installed.
5181 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5183         * emacs-lisp/cl-lib.el: Use lexical-binding.
5184         (cl-map-extents, cl-maclisp-member): Remove.
5185         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5186         (cl--set-substring, cl--block-wrapper, cl--block-throw)
5187         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5188         * emacs-lisp/cl-extra.el: Use lexical-binding.
5189         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5190         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5191         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5192         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5193         * emacs-lisp/cl-seq.el: Use lexical-binding.
5194         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5195         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5196         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5197         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5198         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5199         CL's internals.
5201 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
5203         Sync with Tramp 2.2.6-pre.
5205         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5206         `print-length' and `print-level' to nil, in order to avoid
5207         truncation.  Reported by Christopher Schmidt
5208         <christopher@ristopher.com>.
5210         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5212         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5213         New defmacro.
5214         (tramp-compat-copy-directory): Add optional argument
5215         COPY-CONTENTS.  It is not handled yet.
5217         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5218         (tramp-ftp-file-name-p): Simplify.
5220         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5221         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5222         connection vector.
5224         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5225         (tramp-methods): Do not use `tramp-password-end-of-line'.
5226         (tramp-completion-function-alist-putty): Handle UNIX case.
5227         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5228         (tramp-do-file-attributes-with-stat)
5229         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5230         gid as real numbers.  They could run out of integer range on cygwin.
5231         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5232         (tramp-sh-handle-expand-file-name): Handle hops.
5233         (tramp-open-connection-setup-interactive-shell):
5234         Use `tramp-cleanup'.  Move check for busyboxes ...
5235         (tramp-find-shell): ... here.  Simplify implementation.
5236         Set "remote-shell" property also for alternative shells.
5237         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5238         If failing, a regular file would be written otherwise.
5239         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5240         (tramp-find-inline-encoding): Cache the coding commands in the
5241         process cache.  Apply test command on the remote side, if defined.
5242         (tramp-find-inline-compress): Cache the compress commands in the
5243         process cache.
5244         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5245         when requested.  Handle hops.
5246         (tramp-current-connection): New defvar.
5247         (tramp-maybe-open-connection): Use `tramp-cleanup'.
5248         Throw `suppress', if there was a failed connection shortly before.
5249         Handle user interrupt.  (Bug#10187)
5250         (tramp-get-inline-compress, tramp-get-inline-coding):
5251         Read connection properties from the process cache.
5253         * net/tramp-smb.el (tramp-smb-server-version)
5254         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5255         New defconsts.
5256         (tramp-smb-prompt): Extend for powershell prompt.
5257         (tramp-smb-file-name-handler-alist): Add handlers for
5258         `process-file', `shell-command' and `start-file-process'.
5259         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5260         (tramp-smb-winexe-shell-command-switch): New defcustoms.
5261         (tramp-smb-file-name-p): Simplify.
5262         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5263         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5264         (tramp-smb-shell-quote-argument): New defuns.
5265         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5266         Implement using "tar".  By this, time-stamps are preserved.
5267         (tramp-smb-handle-copy-file): Handle also the case of directories.
5268         (tramp-smb-do-file-attributes-with-stat)
5269         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5270         Use `tramp-get-connection-buffer').
5271         (tramp-smb-handle-rename-file): Use "rename", when source and
5272         target are on the same share.
5273         (tramp-smb-maybe-open-connection): Handle wrong passwords.
5274         Use `tramp-smb-server-version'.
5275         (tramp-smb-wait-for-output): Remove prompt.
5277         * net/tramp.el (top): Require 'cl.
5278         (tramp-methods, tramp-rsh-end-of-line):
5279         Remove `tramp-password-end-of-line' from docstring.
5280         (tramp-save-ad-hoc-proxies): New defcustom.
5281         (tramp-completion-function-alist): Adapt docstring.
5282         (tramp-default-password-end-of-line): Remove defcustom.
5283         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
5284         (tramp-user-regexp, tramp-file-name-regexp-unified)
5285         (tramp-file-name-regexp-url): Extend regexp by hop separator.
5286         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5287         (tramp-remote-file-name-spec-regexp): New defconst.
5288         (tramp-file-name-structure): Extend structure for hops.
5289         (tramp-get-method-parameter): Move up.
5290         (tramp-file-name-p, tramp-dissect-file-name)
5291         (with-parsed-tramp-file-name): Handle hops.
5292         (tramp-file-name-hop): New defun.
5293         (tramp-make-tramp-file-name): New optional arg HOP.
5294         (tramp-message-show-progress-reporter-message): New defvar.
5295         (tramp-with-progress-reporter): Use it.  We cannot use
5296         `tramp-message-show-message' here, because this suppresses also
5297         error buffers.
5298         (tramp-error-with-buffer): Suppress buffer view, if
5299         `tramp-message-show-message' is nil.
5300         Use `tramp-get-connection-buffer'.
5301         (tramp-cleanup): New defun.
5302         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5303         (tramp-file-name-handler): If `debug-on-error' is set, propagate
5304         an error unchanged.
5305         (tramp-completion-handle-file-name-all-completions): Handle hops.
5306         Fix an error when called from ido.
5307         (tramp-completion-dissect-file-name): Use better local variable
5308         name.  Add hop to the vector.
5309         (tramp-handle-insert-file-contents): Use progress-reporter for the
5310         whole scenario.
5311         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5312         to `t'.
5313         (tramp-check-for-regexp): Simplify search.
5314         (tramp-enter-password): Remove it.  Move implementation ...
5315         (tramp-action-password): ... here.
5316         (tramp-mode-string-to-int, tramp-local-host-p)
5317         (tramp-make-tramp-temp-file, tramp-read-passwd)
5318         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5319         Set tramp-autoload cookie.
5321         * net/trampver.el: Update release number.
5323 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5324             Michael Albinus  <michael.albinus@gmx.de>
5326         * net/tramp.el (tramp-set-completion-function): Fix docstring.
5327         (tramp-parse-group, tramp-parse-file)
5328         (tramp-parse-shostkeys-sknownhosts): New defuns.
5329         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5330         (tramp-parse-shosts-group, tramp-parse-sconfig)
5331         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5332         (tramp-parse-sknownhosts, tramp-parse-hosts)
5333         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5334         Use them.
5335         (tramp-parse-passwd-group, tramp-parse-netrc-group)
5336         (tramp-parse-putty-group): Don't narrow.
5337         (tramp-parse-putty): Make a loop.
5338         (tramp-file-name-handler): Catch the `suppress' signal.
5340 2012-06-11  Chong Yidong  <cyd@gnu.org>
5342         * image.el (imagemagick-register-types): Put the ImageMagick entry
5343         at the end of image-type-file-name-regexps.
5345 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
5347         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5348         (pcase, pcase-let*, pcase-dolist): Use them.
5350 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5352         * emacs-lisp/pcase.el (pcase--let*): New function.
5353         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
5354         (pcase--expand): Use macroexp-let².
5356 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5358         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5359         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5360         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5361         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5362         * emacs-lisp/derived.el: Use pcase instead of `cl'.
5363         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5365 2012-06-10  Glenn Morris  <rgm@gnu.org>
5367         * mail/rmail.el (rmail-yank-current-message): Leave point at
5368         correct position.  (Bug#11660)
5370 2012-06-10  Chong Yidong  <cyd@gnu.org>
5372         * allout-widgets.el: Fix code header.
5374 2012-06-10  Chong Yidong  <cyd@gnu.org>
5376         * cus-edit.el (customize-changed-options-previous-release):
5377         Bump to 24.1.
5379 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
5381         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5383 2012-06-09  Chong Yidong  <cyd@gnu.org>
5385         * ebuff-menu.el (electric-buffer-list): Preserve header line.
5387 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
5389         * window.el (special-display-popup-frame): Don't use
5390         window--display-buffer (Bug#11651).
5392 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
5394         Fix parallel builds: make sure loaddefs.el is not being written
5395         while Lisp files are compiled.
5396         (compile): Don't depend on 'mh-autoloads'.
5397         (compile-CMD, compile-SH): Depend on 'autoloads'.
5398         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5400         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
5402 2012-06-09  Chong Yidong  <cyd@gnu.org>
5404         * face-remap.el (face-remap-add-relative, face-remap-set-base)
5405         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5406         Doc fixes (Bug#11225).
5408 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5410         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5411         a function if there's a clear indication that it has a compiler-macro.
5412         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5413         (macro-declarations-alist): Add arglist to declaration functions.
5414         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5415         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5416         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5417         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5418         Also add autoload to find the compiler macro.
5419         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5420         (cl--compiler-macro-member, cl--compiler-macro-assoc)
5421         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5422         (cl--compiler-macro-get): New functions, replacing calls to
5423         cl-define-compiler-macro.
5424         (cl-typep) [compiler-macro]: Use macroexp-let².
5426 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
5428         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5429         string properly, fixes Bug#11473.
5431 2012-06-08  Chong Yidong  <cyd@gnu.org>
5433         * faces.el (set-face-attribute): Doc fix.
5434         (modify-face): Don't use :bold and :italic.
5435         (error, warning, success): Tweak definitions.
5437         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5438         (custom-modified, custom-set, custom-changed, custom-themed)
5439         (custom-saved, custom-button, custom-button-mouse)
5440         (custom-button-pressed, custom-state, custom-comment-tag)
5441         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5442         (custom-group-subtitle): Use new-style face specs.
5443         (custom-invalid-face, custom-rogue-face, custom-modified-face)
5444         (custom-set-face, custom-changed-face, custom-saved-face)
5445         (custom-button-face, custom-button-pressed-face)
5446         (custom-documentation-face, custom-state-face)
5447         (custom-comment-face, custom-comment-tag-face)
5448         (custom-variable-tag-face, custom-variable-button-face)
5449         (custom-face-tag-face, custom-group-tag-face-1)
5450         (custom-group-tag-face): Remove obsolete face alias.
5452         * epa.el (epa-validity-high, epa-validity-medium)
5453         (epa-validity-low, epa-mark, epa-field-name, epa-string)
5454         (epa-field-name, epa-field-body):
5455         * font-lock.el (font-lock-comment-face, font-lock-string-face)
5456         (font-lock-keyword-face, font-lock-builtin-face)
5457         (font-lock-function-name-face, font-lock-variable-name-face)
5458         (font-lock-type-face, font-lock-constant-face):
5459         * ido.el (ido-first-match, ido-only-match, ido-subdir)
5460         (ido-virtual, ido-indicator, ido-incomplete-regexp):
5461         * speedbar.el (speedbar-button-face, speedbar-file-face)
5462         (speedbar-directory-face, speedbar-tag-face)
5463         (speedbar-selected-face, speedbar-highlight-face)
5464         (speedbar-separator-face):
5465         * whitespace.el (whitespace-newline, whitespace-space)
5466         (whitespace-hspace, whitespace-tab, whitespace-trailing)
5467         (whitespace-line, whitespace-space-before-tab)
5468         (whitespace-space-after-tab, whitespace-indentation)
5469         (whitespace-empty):
5470         * emulation/cua-base.el (cua-global-mark):
5471         * eshell/em-prompt.el (eshell-prompt):
5472         * net/newst-plainview.el (newsticker-new-item-face)
5473         (newsticker-old-item-face, newsticker-immortal-item-face)
5474         (newsticker-obsolete-item-face, newsticker-date-face)
5475         (newsticker-statistics-face, newsticker-default-face):
5476         * net/newst-reader.el (newsticker-feed-face)
5477         (newsticker-extra-face, newsticker-enclosure-face):
5478         * net/newst-treeview.el (newsticker-treeview-face)
5479         (newsticker-treeview-new-face, newsticker-treeview-old-face)
5480         (newsticker-treeview-immortal-face)
5481         (newsticker-treeview-obsolete-face)
5482         (newsticker-treeview-selection-face):
5483         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5484         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5485         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5486         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5487         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5488         (nxml-outline-active-indicator, nxml-outline-ellipsis):
5489         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5490         (mpuz-text):
5491         * progmodes/vera-mode.el (vera-font-lock-number)
5492         (vera-font-lock-function, vera-font-lock-interface):
5493         * textmodes/table.el (table-cell): Use new-style face specs, and
5494         don't use the old :bold and :italic attributes.
5496         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5497         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5498         (ebrowse-member-class, ebrowse-progress): Likewise.
5499         (ebrowse-tree-mark-face, ebrowse-root-class-face)
5500         (ebrowse-file-name-face, ebrowse-default-face)
5501         (ebrowse-member-attribute-face, ebrowse-member-class-face)
5502         (ebrowse-progress-face): Remove obsolete faces.
5504         * progmodes/flymake.el (flymake-errline, flymake-warnline):
5505         Inherit from error and warning faces respectively.
5507         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5508         Likewise.
5509         (flyspell-incorrect-face, flyspell-duplicate-face):
5510         Remove obsolete aliases.
5512 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
5514         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5515         Avoid infloop.
5517 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5519         * startup.el (argv, argi): Make lexically scoped.
5520         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5521         * emacs-lisp/cl-macs.el: Use lexical-binding.
5522         Rename cl-bind-* to cl--bind-*.
5523         * files.el: Don't require `cl' since it doesn't use it.
5524         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5526 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
5528         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5529         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5530         instead of calling external sort utility.
5531         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5533 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
5535         * descr-text.el (describe-char): Mention how to insert the
5536         character, if the current input method doesn't support it.
5537         See the discussion in this thread for the details:
5538         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5540 2012-06-08  Sam Steingold  <sds@gnu.org>
5542         * bindings.el (global-map): Bind XF86Forward to next-buffer and
5543         XF86Back to previous-buffer.
5544         (minibuffer-local-map): Bind them to next-history-element and
5545         previous-history-element respectively.
5546         * help-mode.el (help-mode-map): Bind them to help-go-forward and
5547         help-go-back respectively.
5548         * info.el (Info-mode-map): Bind them to Info-history-forward and
5549         Info-history-back respectively.
5550         These are the keys next to Up on the ThinkPad keyboard.
5552 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5554         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5555         * emacs-lisp/cl-macs.el: Provide itself.
5556         (cl--labels-convert-cache): New var.
5557         (cl--labels-convert): New function.
5558         (cl-flet, cl-labels): New implementation with new semantics, relying on
5559         lexical-binding.
5560         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5561         (cl-closure-vars, cl--function-convert-cache)
5562         (cl--function-convert): Move from cl-macs.el.
5563         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5564         rename by removing the "cl-" prefix.
5565         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5567 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5569         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5570         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5571         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5572         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5573         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5574         (cl-hash-table-count): Add old compatibility aliases.
5576         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5577         Use macroexpand-all-environment instead.
5578         (cl--old-macroexpand): New var.
5579         (cl--sm-macroexpand): New function.
5580         (cl-symbol-macrolet): Use it during macro expansion.
5581         (cl--function-convert-cache): New var.
5582         (cl--function-convert): New function, extracted from
5583         cl-macroexpand-all.
5584         (cl-lexical-let): Use it.
5586         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5587         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5588         (cl-member): Remove old alias.
5590         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5591         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5592         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5593         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5594         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5595         (cl-macroexpand-cmacs): Remove var.
5596         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5597         Use macroexpand-all instead.
5599 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5601         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5602         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5603         (macroexp-copyable-p): New functions and macros.
5604         * emacs-lisp/edebug.el (edebug-unwrap):
5605         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5606         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5607         (pcase--let*): Remove.
5608         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5609         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
5610         macroexp-const-p instead.
5611         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5613         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5614         instead of "cl-" for internal definitions.  Use macroexp-const-p.
5615         (cl-old-bc-file-form): Remove var.
5616         (cl-const-exprs-p): Remove fun.
5617         (cl-labels, cl-macrolet): Use backquote.
5618         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
5619         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5620         (cl-define-setf-expander): Rename from cl-define-setf-method.
5621         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5623         * international/mule-cmds.el: Don't require CL.
5624         (view-hello-file): Don't use `letf'.
5626 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5628         * tmm.el (tmm-prompt): Use string-prefix-p.
5629         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5630         (tmm-add-prompt): Use minibuffer-completion-help.
5631         (tmm-delete-map): Remove.
5633         * subr.el (kbd): Make it its own function.
5635 2012-06-07  Stefan Merten  <smerten@oekonux.de>
5637         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5638         Silence compiler warnings.  Fix versions.
5639         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5640         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5641         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5642         (rst-package-emacs-version-alist): Correct Emacs version to
5643         represent major merge with upstream.
5644         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5646 2012-06-06  Glenn Morris  <rgm@gnu.org>
5648         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5649         Only print environment variables if set.
5651 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5653         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5654         (macroexp--cons): Rename from maybe-cons.
5655         (macroexp--accumulate): Rename from macroexp-accumulate.
5656         (macroexp--all-forms): Rename from macroexpand-all-forms.
5657         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5658         (macroexp--expand-all): Rename from macroexpand-all-1.
5660 2012-06-06  Sam Steingold  <sds@gnu.org>
5662         * calendar/calendar.el (calendar-in-read-only-buffer):
5663         Call `special-mode' to enable the standard read-only keybindings.
5665 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5667         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5668         with "loading" messages (bug#11635).
5670 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
5672         * files.el (enable-remote-dir-locals): New option.
5673         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
5675         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5676         Ensure, that the temp directory is local.
5678         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5679         `temporary-file-directory'.
5681         * progmodes/python.el (python-send-region): Ensure, that the
5682         temporary file is created also in the remote case.
5684 2012-06-06  Glenn Morris  <rgm@gnu.org>
5686         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5687         (vc-rcs-update-changelog): Use it.
5689         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5691         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5692         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5693         (vc-sccs-diff): Replace use of the external vcdiff script.
5695 2012-06-05  Glenn Morris  <rgm@gnu.org>
5697         * ledit.el: Move to obsolete/.
5699 2012-06-05  Sam Steingold  <sds@gnu.org>
5701         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5702         patch (Bug#11140).
5704 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5706         * emacs-lisp/cust-print.el: Move to obsolete.
5708         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5709         compiler-macro expansion.
5711         Add native compiler-macro support.
5712         * emacs-lisp/macroexp.el (macroexpand-all-1):
5713         Support compiler-macros directly.  Properly follow aliases and apply
5714         the compiler macros more thoroughly.
5715         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5716         macroexpand now properly follows aliases.
5717         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5718         (cl-compiler-macroexpand): Use new prop.
5719         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5721         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5723 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
5725         * window.el (get-lru-window, get-mru-window, get-largest-window):
5726         New argument NOT-SELECTED to avoid picking the selected window.
5727         (window--display-buffer-1, window--display-buffer-2): Replace by
5728         new function window--display-buffer
5729         (display-buffer-same-window, display-buffer-reuse-window)
5730         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5731         Use window--display-buffer.
5732         (display-buffer-use-some-window): Remove temporary dedication
5733         hack by calling get-lru-window and get-largest-window with
5734         NOT-SELECTED argument non-nil.  Call window--display-buffer.
5736 2012-06-05  Glenn Morris  <rgm@gnu.org>
5738         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5739         Replace external vcdiff script.
5741 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5743         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5745 2012-06-04  Chong Yidong  <cyd@gnu.org>
5747         * image.el (imagemagick-types-inhibit): Revert last change.
5748         Add INFO and M.
5749         (imagemagick-enabled-types): Remove CIN and EPS*.
5751 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5753         * emacs-lisp/cl-lib.el: Rename from cl.el.
5754         * emacs-lisp/cl.el: New compatibility file.
5755         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5756         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5757         to obey the "cl-" prefix.
5758         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5760 2012-06-03  Glenn Morris  <rgm@gnu.org>
5762         * emacs-lisp/authors.el (authors-aliases): Addition.
5764         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5765         Fix :version.
5767 2012-06-03  Stefan Merten  <smerten@oekonux.de>
5769         * textmodes/rst.el: Add comments.
5770         (rst-transition, rst-adornment): New faces.
5771         (rst-adornment-faces-alist): Make default safe to reevaluate.
5772         Fixes
5773         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5774         Improve customization tags.
5775         (rst-define-level-faces): Clarify meaning.
5777 2012-06-03  Chong Yidong  <cyd@gnu.org>
5779         * progmodes/compile.el (compilation-mode-line-fail)
5780         (compilation-mode-line-run, compilation-mode-line-exit):
5781         New faces.
5782         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5784 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
5786         * progmodes/which-func.el (which-func-update-ediff-windows):
5787         New function.  Use it in ediff-select-hook (Bug#11478).
5789 2012-06-03  Chong Yidong  <cyd@gnu.org>
5791         * bindings.el: Remove explicit help text from format-mode-line.
5792         It is now supplied by mode-line-default-help-echo.
5793         (mode-line-front-space, mode-line-end-spaces)
5794         (mode-line-misc-info): New variables.
5795         (mode-line-modes, mode-line-position): Move the default value to
5796         the variable definition.
5797         (mode-line-default-help-echo): New defcustom.
5798         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5799         (mode-line-modified-help-echo): New functions.
5800         (mode-line-mule-info, mode-line-modified): Use them.
5801         (mode-line-eol-desc, propertized-buffer-identification):
5802         Consistency fixes for help text.
5803         (mode-line-coding-system-map): Allow using mouse-3 to invoke
5804         set-buffer-file-coding-system (Bug#289).
5805         (mode-line-mule-info-help-echo): Update help text.
5807 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5809         * simple.el (execute-extended-command): Set real-this-command
5810         (bug#11506).
5812 2012-06-02  Chong Yidong  <cyd@gnu.org>
5814         Remove incorrect uses of "modeline" in comments, docstrings, and
5815         function/variable names (Bug#10329).
5817         * cus-edit.el (mode-line):
5818         * dframe.el (dframe-mouse-hscroll):
5819         * emacs-lisp/re-builder.el:
5820         * emacs-lisp/easy-mmode.el (define-minor-mode):
5821         * frame.el (set-frame-name):
5822         * help.el (lookup-minor-mode-from-indicator):
5823         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5824         * progmodes/cc-cmds.el (c-toggle-auto-newline)
5825         (c-toggle-hungry-state):
5826         * progmodes/antlr-mode.el (antlr-language-alist):
5827         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5828         * progmodes/vhdl-mode.el (vhdl-mode):
5829         * progmodes/which-func.el (which-func, which-func-cleanup-function):
5830         * term/ns-win.el (ns-face-at-pos):
5831         * term/sup-mouse.el (sup-mouse-report):
5832         * textmodes/flyspell.el (flyspell-mode-line-string):
5833         * textmodes/ispell.el (ispell-highlight-face):
5834         * textmodes/reftex-global.el:
5835         * vc/vc-arch.el (vc-arch-mode-line-string):
5836         * vc/vc-cvs.el (vc-cvs-mode-line-string):
5837         * vc/vc-git.el (vc-git-mode-line-string):
5838         * vc/vc-hooks.el (vc-display-status)
5839         (vc-default-mode-line-string):
5840         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5842         * ansi-color.el (ansi-color-faces-vector): Change default faces.
5844         * dired.el (dired-sort-set-mode-line): Rename from
5845         dired-sort-set-modeline.  All callers changed.
5847         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5848         eshell-status-in-modeline.
5850         * foldout.el (foldout-mode-line-string): Rename from
5851         foldout-modeline-string.  All callers changed.
5852         (foldout-update-mode-line): Rename from foldout-update-modeline.
5854         * subr.el (redraw-modeline): Make into obsolete alias.
5856         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5857         timeclock-modeline-display.  Make old name an alias.
5858         (timeclock-update-mode-line): Likewise.  All callers changed.
5859         (timeclock-mode-line-display): No need to check before using
5860         add-hook.
5861         (timeclock-relative, timeclock-day-over-hook)
5862         (timeclock-use-elapsed, timeclock-mode-string)
5863         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5865         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5866         crisp-mode-modeline-string.
5868         * play/solitaire.el (solitaire-build-mode-line): Rename from
5869         solitaire-build-modeline.  All callers changed.
5871         * play/zone.el (zone-hiding-mode-line): Rename from
5872         zone-hiding-modeline.  All callers changed.
5873         (zone): Remove unusued `modeline-hidden-level' property.
5875         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5876         xscheme-modeline-initialize.  All callers changed.
5878         * strokes.el (strokes-lighter): Rename from
5879         strokes-modeline-string.
5881         * textmodes/sgml-mode.el (html-face-tag-alist)
5882         (html-tag-face-alist): Use mode-line face instead of obsolete
5883         alias modeline.
5885 2012-06-02  Stefan Merten  <smerten@oekonux.de>
5887         * textmodes/rst.el: Always require `cl'.
5888         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5890 2012-06-02  Chong Yidong  <cyd@gnu.org>
5892         * image.el (imagemagick-enabled-types): Rename from
5893         imagemagick-types-enable.  Add many more types.
5894         (imagemagick-types-inhibit): Change default to nil.
5895         (imagemagick-filter-types): Caller changed.
5897 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5899         * emacs-lisp/cl-macs.el: Use backquotes.
5900         (cl-transform-function-property): Use eval-and-compile rather than
5901         abusing `require'.
5902         (defstruct): Use declare-function instead of with-no-warnings.
5904         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5905         (byte-compile-output-docform): Re-add the print-circle bindings.
5906         (byte-compile-fix-header): Use #$ just because it's shorter.
5907         (byte-compile-output-file-form): Remove defun/defmacro.
5909 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
5911         * simple.el (choose-completion): Remove now obsolete binding for
5912         owindow.
5914 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
5916         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5917         in order to avoid "Stack overflow in regexp matcher".
5919 2012-05-31  Glenn Morris  <rgm@gnu.org>
5921         * image.el: For clarity, call imagemagick-register-types at
5922         top-level, rather than relying on a custom :initialize.
5923         (imagemagick-types-enable): New option.  (Bug#11557)
5924         (imagemagick-filter-types): New function.  (Bug#7406)
5925         (imagemagick-register-types): Use imagemagick-filter-types.
5926         If disabling support, remove elements altogether rather
5927         than using an impossible regexp.
5928         (imagemagick-types-inhibit): Give it the default init function.
5930 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5932         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5933         Handle arbitrary file name lengths (Bug#11585).
5935 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
5937         * desktop.el (desktop-read): Clear previous and next buffers for
5938         all windows and bury *Messages* buffer (bug#11556).
5940 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5942         Add `declare' for `defun'.  Align `defmacro's with it.
5943         * emacs-lisp/easy-mmode.el (define-minor-mode)
5944         (define-globalized-minor-mode): Don't autoload the var definitions.
5945         * emacs-lisp/byte-run.el: Use lexical-binding.
5946         (defun-declarations-alist, macro-declarations-alist): New vars.
5947         (defmacro, defun): Use them.
5948         (make-obsolete, define-obsolete-function-alias)
5949         (make-obsolete-variable, define-obsolete-variable-alias):
5950         Use `declare'.
5951         (macro-declaration-function): Mark obsolete.
5952         * emacs-lisp/autoload.el: Use lexical-binding.
5953         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
5955 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5957         * textmodes/ispell.el (ispell-with-no-warnings):
5958         Define as a macro.
5959         (ispell-kill-ispell, ispell-change-dictionary):
5960         Use `called-interactively-p' for Emacs instead of obsolete
5961         `interactive-p'.
5963 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5965         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5966         (macro-declaration-function): Move var from C code.
5967         (macro-declaration-function): Define function with defalias.
5968         * emacs-lisp/macroexp.el (macroexpand-all-1):
5969         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5970         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5971         defun/defmacro any more.
5972         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5973         Provide fallback for unknown arglist.
5974         (byte-compile-arglist-warn): Change calling convention.
5975         (byte-compile-output-file-form): Move print-vars binding.
5976         (byte-compile-output-docform): Simplify accordingly.
5977         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5978         (byte-compile-defmacro-declaration): Remove.
5979         (byte-compile-file-form-defmumble): Generalize to defalias.
5980         (byte-compile-output-as-comment): Return byte-positions.
5981         Simplify callers accordingly.
5982         (byte-compile-lambda): Use `assert'.
5983         (byte-compile-defun, byte-compile-defmacro): Remove.
5984         (byte-compile-file-form-defalias):
5985         Use byte-compile-file-form-defmumble.
5986         (byte-compile-defalias-warn): Remove.
5988 2012-05-29  Stefan Merten  <smerten@oekonux.de>
5990         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5991         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
5993         (rst-mode-abbrev-table): Merge definition.
5994         (rst-mode): Make sure `font-lock-defaults' is buffer local.
5995         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5997 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
5999         * calendar/icalendar.el
6000         (icalendar-export-region): Export UID properly.
6002 2012-05-29  Leo Liu  <sdl.web@gmail.com>
6003         * calendar/icalendar.el (icalendar-import-format):
6004         Add `icalendar-import-format-uid' (Bug#11525).
6005         (icalendar-import-format-uid): New.
6006         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6007         Export UID.
6009 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6011         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6012         different alternative patterns.
6013         (pcase-codegen): Be more careful to preserve identity.
6014         (pcase--u1): Don't forget to mark vars as used.
6016         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6017         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6018         (byte-compile-from-buffer): ...rather than here.
6020         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6021         functions from byte-compile-function-environment.
6023 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
6025         * window.el (window-deletable-p): Avoid deleting the root window
6026         of a frame with an active minibuffer.
6028 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
6030         * simple.el (choose-completion): Use quit-window (Bug#11567).
6032 2012-05-29  Chong Yidong  <cyd@gnu.org>
6034         * whitespace.el (whitespace-cleanup): Fix usage of
6035         whitespace-empty-at-bob-regexp (Bug#11492).
6037 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6039         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6040         revert (Bug#11488).
6042 2012-05-29  Juri Linkov  <juri@jurta.org>
6044         * isearch.el (isearch-mode-map): Bind `M-s _' to
6045         `isearch-toggle-symbol'.  Bind `M-s c' to
6046         `isearch-toggle-case-fold'.
6047         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6048         (isearch-forward): Add `M-s _' to the docstring.
6049         (isearch-forward-symbol, isearch-toggle-case-fold)
6050         (isearch-symbol-regexp): New functions.  (Bug#11381)
6052 2012-05-29  Juri Linkov  <juri@jurta.org>
6054         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
6055         (isearch-occur, isearch-search-and-update): If `isearch-word' is
6056         a function, call it to get the regexp.
6057         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6058         property `isearch-message-prefix' instead of the string "word ".
6059         (isearch-search-fun-default): For the case of `isearch-word',
6060         return a lambda that calls re-search-forward/re-search-backward
6061         with a regexp returned by `word-search-regexp' or by the function
6062         in `isearch-word'.
6064 2012-05-29  Juri Linkov  <juri@jurta.org>
6066         * isearch.el (isearch-search-fun-default): New function.
6067         (isearch-search-fun): Move default part to the new function
6068         `isearch-search-fun-default'.
6069         (isearch-search-fun-function): Set the default value to
6070         `isearch-search-fun-default'.  (Bug#11381)
6072         * comint.el (comint-history-isearch-end):
6073         Use `isearch-search-fun-default'.
6074         (comint-history-isearch-search): Use `isearch-search-fun-default'
6075         and remove spacial case for `isearch-word'.
6076         (comint-history-isearch-wrap): Remove spacial case for
6077         `isearch-word'.
6079         * hexl.el (hexl-isearch-search-function):
6080         Use `isearch-search-fun-default'.
6082         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6083         Use `word-search-regexp' for `isearch-word'.
6085         * misearch.el (multi-isearch-search-fun):
6086         Use `isearch-search-fun-default'.
6088         * simple.el (minibuffer-history-isearch-search):
6089         Use `isearch-search-fun-default' and remove spacial case for
6090         `isearch-word'.
6091         (minibuffer-history-isearch-wrap): Remove spacial case for
6092         `isearch-word'.
6094         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6095         Remove spacial case for `isearch-word'.
6096         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6098 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6100         Decrease XEmacs incompatibilities.
6101         * textmodes/flyspell.el (flyspell-check-pre-word-p):
6102         Use `string-match'.
6103         (flyspell-delete-region-overlays): Use alternative definition for
6104         XEmacs.
6105         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6106         (flyspell-word): Use `process-kill-without-query' if XEmacs.
6107         (flyspell-mode-on): Use `interactive-p' if XEmacs.
6108         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6109         `define-obsolete-face-alias' under XEmacs, but old method.
6111         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6112         `with-no-warnings' definition or Emacs alias.
6113         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6114         (ispell-word): Do not use `region-p' if XEmacs.
6116 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6118         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6119         Check for `ispell-dictionary-base-alist' instead of full
6120         `ispell-dictionary-alist'.
6121         (ispell-init-process): Show spellchecker when starting new Ispell
6122         process.
6124 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6126         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6127         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6129 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
6131         * version.el (motif-version-string, gtk-version-string)
6132         (ns-version-string): Declare.
6134 2012-05-27  Juri Linkov  <juri@jurta.org>
6136         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6137         after the `eval-defun-1' specialcaseing
6138         like in `edebug-eval-defun' (bug#10181).
6140         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6141         like in `eval-defun-1'.
6143 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
6145         * mail/sendmail.el (mail-yank-region):
6146         Recognize rmail-yank-current-message in addition to insert-buffer.
6147         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6148         a *mail* buffer created through rmail-start-mail with sendmail as
6149         mail-user-agent.
6151 2012-05-27  Chong Yidong  <cyd@gnu.org>
6153         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6154         Default to 256 (Bug#11267).
6156         * help.el (describe-mode): Doc fix.
6158 2012-05-26  Glenn Morris  <rgm@gnu.org>
6160         * w32-fns.el (w32-init-info): Remove.
6161         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6163         * info.el (info-initialize): For self-contained NS builds, put the
6164         included info/ directory at the front.  (Bug#2791)
6166         * paths.el (Info-default-directory-list): Make it a defcustom,
6167         mainly so that we can use custom-initialize-delay.
6169 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6171         * subr.el (buffer-has-markers-at): Mark obsolete.
6173         * subr.el (lambda): Use declare.
6175         * emacs-lisp/lisp-mode.el (lambda):
6176         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6178 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6180         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
6182 2012-05-26  Glenn Morris  <rgm@gnu.org>
6184         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6186 2012-05-25  Glenn Morris  <rgm@gnu.org>
6188         * paths.el: Remove no-byte-compile.
6189         * loadup.el: No need to load paths.el uncompiled.
6191         * image.el (imagemagick-types-inhibit): Doc fix.
6193         * version.el: Remove no-byte-compile and associated formatting.
6194         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
6195         is ancient code from when there was an "inc-vers.el".
6197 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6199         * progmodes/gdb-mi.el: Minor style changes.
6200         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6201         Turn into minor modes.
6202         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6203         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6204         (gdb-shell): Remove unneeded let-binding.
6205         (gdb-get-many-fields): Eliminate O(n²) behavior.
6207 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
6209         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6210         platforms that don't link in fontset.c.
6212 2012-05-25  Juri Linkov  <juri@jurta.org>
6214         Use the same diff color scheme as in modern VCSes (bug#10181).
6216         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6217         to avoid confusion with `diff-added' that now uses green colors.
6218         (diff-removed): Use shades of red.
6219         (diff-added): Use shades of green.
6220         (diff-changed): Leave just the yellow color.
6221         (diff-use-changed-face): New variable.
6222         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6223         how to highlight context diff changes.
6224         (diff-refine-change): Use shades of yellow.
6225         (diff-refine-removed): New face that uses shades of red.
6226         (diff-refine-added): New face that uses shades of green.
6227         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6228         `diff-refine-removed' in the call to `smerge-refine-subst'
6229         depending on the value of `diff-use-changed-face'.
6231         * vc/smerge-mode.el (smerge-mine): Use shades of red.
6232         (smerge-other): Use shades of green.
6233         (smerge-base): Use shades of yellow.
6234         (smerge-refined-change): Empty face.
6235         (smerge-refined-removed): New face that uses shades of red.
6236         (smerge-refined-added): New face that uses shades of green.
6237         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
6238         args `props-r' and `props-a', and use them.  Doc fix.
6239         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6240         on its value use different faces `smerge-refined-change',
6241         `smerge-refined-removed', `smerge-refined-added' in the call to
6242         `smerge-refine-subst'.
6244         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6245         Add face condition `min-colors 88' with shades of red.
6246         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6247         `min-colors 88' with shades of green.
6248         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6249         `min-colors 88' with shades of yellow.
6251 2012-05-24  Glenn Morris  <rgm@gnu.org>
6253         * paths.el (prune-directory-list, remote-shell-program): Move to...
6254         * files.el (prune-directory-list, remote-shell-program): ...here.
6255         For the latter, delay initialization, prefer ssh, just search PATH.
6257         * paths.el (term-file-prefix): Move to faces.el (the only user).
6258         * faces.el (term-file-prefix): Move here, make it a defcustom.
6260         * paths.el (news-directory, news-path, news-inews-program):
6261         Move to gnus/nnspool.el.
6263         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6265         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6266         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6267         Make the latter a defcustom, with a delayed initialization.
6269         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6270         These were deleted from Gnus itself late 2010.
6272 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
6274         * progmodes/which-func.el (which-func-ff-hook):
6275         Check against user-error, not error.
6277         * emacs-lisp/edebug.el (top): Do not load or set up loading of
6278         cl-specs.el, which no longer exists.
6280 2012-05-22  Glenn Morris  <rgm@gnu.org>
6282         * info.el (info-emacs-bug): New command.
6283         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6284         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6286 2012-05-21  Glenn Morris  <rgm@gnu.org>
6288         * makefile.w32-in (update-subdirs-SH):
6289         * Makefile.in (update-subdirs): Update for moved update-subdirs.
6291 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6293         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6295         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6296         Simplify Maven regexp, and make sure the file can't start with a space
6297         (bug#11517).
6299 2012-05-21  Glenn Morris  <rgm@gnu.org>
6301         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6302         Scrap superfluous subshells.
6304 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6306         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6307         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6309 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
6311         * calc/calc.el (calc-ensure-consistent-units): New variable.
6313         * calc/calc-units.el (math-consistent-units-p)
6314         (math-check-unit-consistency): New functions.
6315         (calc-quick-units, calc-convert-units):
6316         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6317         is non-nil.
6318         (calc-extract-units): Fix typo.
6320 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6322         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6324         * textmodes/flyspell.el: Commenting style, plus code simplifications.
6325         (flyspell-default-deplacement-commands): Don't spell check after
6326         repeated window/frame switches (e.g. triggered by mouse-movement).
6327         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6328         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6329         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6330         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6331         Remove unused vars.
6332         (flyspell-get-casechars, flyspell-get-not-casechars):
6333         Simplify; Don't bother removing a ] just to add it back.
6334         * textmodes/ispell.el (ispell-program-name): Use executable-find.
6336 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6338         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6339         New functions.
6340         (math-function-table): Add support for more C functions.
6342 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6344         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6345         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6346         Protect delay handling for otherchars against empty otherchars.
6348 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6350         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6351         their respective macro declarations.
6352         * skeleton.el (define-skeleton):
6353         * progmodes/compile.el (define-compilation-mode):
6354         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6355         (define-ibuffer-filter):
6356         * emacs-lisp/generic.el (define-generic-mode):
6357         * emacs-lisp/easy-mmode.el (define-minor-mode)
6358         (define-globalized-minor-mode):
6359         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6360         * emacs-lisp/byte-run.el (defsubst):
6361         * custom.el (deftheme): Add doc-string metadata.
6363 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6365         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6367 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6369         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6371         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6372         * emacs-lisp/cl-macs.el: Idem.
6373         * emacs-lisp/cl-specs.el: Remove.
6375 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         Minor renaming of internal CL functions and variables.
6378         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6379         (cl--position): Rename from cl-position.
6380         (cl--delete-duplicates): Rename from cl-delete-duplicates.
6381         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6382         (cl--random-state): Rename from *random-state*.
6384 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6386         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6387         parens around the arg list (bug#11499).
6389 2012-05-17  Juri Linkov  <juri@jurta.org>
6391         * isearch.el (word-search-regexp, word-search-backward)
6392         (word-search-forward, word-search-backward-lax)
6393         (word-search-forward-lax): Move functions from search.c
6394         (bug#10145, bug#11381).
6396 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6398         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6399         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6400         Delay for otherchars as for normal word components.
6402 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6404         * minibuffer.el (completion--sifn-requote): Fix last change.
6405         (minibuffer-local-must-match-filename-map):
6406         Move define-obsolete-variable-alias before its var.
6408 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6410         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6412         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6413         behavior.
6414         (completion--string-equal-p): New function.
6415         (completion--twq-all): Use it to get better assertion failure data.
6417         Only handle ".." and '..' quoting in shell-mode (bug#11466).
6418         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6419         (shell--requote-argument): New functions.
6420         (shell-completion-vars): Use them.
6421         (shell--parse-pcomplete-arguments): Rename from
6422         shell-parse-pcomplete-arguments.
6423         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
6424         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6425         Obey comint-file-name-quote-list.
6427         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6428         (smie-indent-keyword): Use it.
6430 2012-05-14  Stefan Merten  <smerten@oekonux.de>
6432         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6434 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6436         * net/rlogin.el (rlogin-mode-map): Fix last change.
6438 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
6440         * mail/smtpmail.el (smtpmail-send-command): Send the command and
6441         the following \r\n using a single `process-send-string', since the
6442         Lotus SMTP server refuses to accept any commands if they are sent
6443         with two `process-send-string's (Bug#11444).
6445 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6447         * shell.el (shell-parse-pcomplete-arguments):
6448         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6450 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6452         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6453         (image-transform-scale, image-transform-right-angle-fudge): New vars.
6454         (image-transform-width, image-transform-fit-width): New functions.
6455         (image-transform-properties): Use them.
6456         (image-transform-check-size): New function.
6457         (image-toggle-display-image): Use it (for testing).
6458         (image-transform-set-rotation): Reduce angle mod 360.
6459         Delete obsolete comment.
6461 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6463         * image-mode.el: Fix scaling (bug#11399).
6464         (image-transform-resize): Doc fix.
6465         (image-transform-properties): Default scale is 1 and height should
6466         be an integer.
6468 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6470         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6471         than hard-coding `car', to fix misbehavior when moving forward.
6473 2012-05-13  Chong Yidong  <cyd@gnu.org>
6475         * emacs-lisp/tabulated-list.el (tabulated-list-format)
6476         (tabulated-list-entries, tabulated-list-padding)
6477         (tabulated-list-sort-key): Make permanent-local.
6479         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6480         (electric-buffer-list): Put electric buffer menu
6481         command descriptions in this docstring, instead of the docstring
6482         of electric-buffer-menu-mode.  Code cleanups.
6483         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
6484         Electric-buffer-menu-mode.
6485         (electric-buffer-update-highlight): Minor code cleanup.
6487 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
6489         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6490         (Bug#11447)
6492 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6494         Move define-obsolete-variable-alias before the var's definition.
6495         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6496         * tooltip.el (tooltip-hook):
6497         * textmodes/reftex-toc.el (reftex-toc-map):
6498         * textmodes/reftex-sel.el (reftex-select-label-map)
6499         (reftex-select-bib-map):
6500         * textmodes/reftex-index.el (reftex-index-map)
6501         (reftex-index-phrases-map):
6502         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6503         * progmodes/meta-mode.el (meta-mode-map):
6504         * novice.el (disabled-command-hook):
6505         * loadhist.el (unload-hook-features-list):
6506         * frame.el (blink-cursor):
6507         * files.el (find-file-not-found-hooks, write-file-hooks)
6508         (write-contents-hooks):
6509         * emulation/tpu-edt.el (GOLD-map):
6510         * emacs-lock.el (emacs-lock-from-exiting):
6511         * emacs-lisp/generic.el (generic-font-lock-defaults):
6512         * emacs-lisp/chart.el (chart-map):
6513         * dos-fns.el (register-name-alist):
6514         * dired-x.el (dired-omit-files-p):
6515         * desktop.el (desktop-enable):
6516         * cus-edit.el (custom-mode-hook):
6517         * buff-menu.el (buffer-menu-mode-hook):
6518         * bookmark.el (bookmark-read-annotation-text-func)
6519         (bookmark-exit-hooks):
6520         * allout.el (allout-mode-deactivate-hook)
6521         (allout-exposure-change-hook, allout-structure-added-hook)
6522         (allout-structure-deleted-hook, allout-structure-shifted-hook):
6523         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6524         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6525         comes before the corresponding variable's definition.
6527 2012-05-12  Chong Yidong  <cyd@gnu.org>
6529         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6530         (Buffer-menu-mouse-select): Restore function (Bug#11459).
6531         (Buffer-menu-mode-map): Bind it.
6532         (Buffer-menu--pretty-name): Add a mouse-face property.
6534 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6536         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
6537         (prolog-upper-case-string, prolog-lower-case-string)
6538         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6539         (prolog-use-smie, prolog-smie-grammar): New vars.
6540         (prolog-smie-forward-token, prolog-smie-backward-token)
6541         (prolog-smie-rules): New funs.
6542         (prolog-comment-indent): Remove.
6543         (prolog-mode-variables): Use default comment indentation instead.
6544         Setup SMIE.
6545         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6546         (prolog-mode): Don't call them any more.
6547         (prolog-electric-colon, prolog-electric-dash)
6548         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6550         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6552         * minibuffer.el (completion--twq-all): Again, allow case differences.
6554         * term.el: Move keymap initialization code to be more idiomatic.
6555         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6556         (term-terminal-menu): Move initialization into declaration.
6557         (term-escape-char): Let the user set it in her .emacs.
6559         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6560         Provide SMIE-based indentation (not enabled by default yet).
6561         (sh-mode-map): Don't bind electric keys.
6562         Use electric-pair-mode instead of skeleton-pair.
6563         (sh-assignment-regexp): Fit within 80 columns.
6564         (sh-indent-supported): Specify actual shell name instead of boolean.
6565         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6566         (sh-maybe-here-document): Use it.  Make obsolete.
6567         (sh-electric-here-document-mode) New minor mode.
6568         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
6569         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6570         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6571         (sh-smie-rc-grammar, sh-use-smie): New vars.
6572         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6573         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6574         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6575         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6576         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6577         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6578         (sh-set-shell): Use smie-setup if requested.
6580         * term.el (term-set-escape-char): Properly set term-escape-char.
6581         See http://stackoverflow.com/questions/10524656.
6583 2012-05-10  Chong Yidong  <cyd@gnu.org>
6585         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6586         Use url-generic-parse-url, and handle host names and Windows
6587         filenames properly.
6588         (ffap-url-unwrap-remote): Use url-generic-parse-url.
6589         (ffap-url-unwrap-remote): Accept list values, specifying a list of
6590         URL schemes to work on.
6591         (ffap--toggle-read-only): New function.
6592         (ffap-read-only, ffap-read-only-other-window)
6593         (ffap-read-only-other-frame): Use it.
6594         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6595         necessary for ffap-url-unwrap-remote.
6597 2012-05-10  Dave Abrahams  <dave@boostpro.com>
6599         * cus-start.el (create-lockfiles): Add it.
6601 2012-05-09  Chong Yidong  <cyd@gnu.org>
6603         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6604         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6606 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6608         * shell.el (shell-completion-vars): Fix last change (bug#11348).
6610 2012-05-09  Chong Yidong  <cyd@gnu.org>
6612         * ansi-color.el (ansi-color-process-output): Check for validity of
6613         comint-last-output-start before using it.  This avoids a bad
6614         interaction with gdb-mi's input/output buffer.
6616 2012-05-09  Glenn Morris  <rgm@gnu.org>
6618         * files.el (dir-locals-read-from-file):
6619         Mention dir-locals in any error message.
6621 2012-05-09  Chong Yidong  <cyd@gnu.org>
6623         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6624         package (Bug#11410).
6626         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6627         variables into description.
6629 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6631         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6632         shell-delimiter-argument-list (bug#11348).
6633         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6635 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
6637         * textmodes/rst.el: Silence byte-compiler warnings.
6638         (rst-re-alist, rst-reset-section-caches): Move around.
6639         (rst-re): Use `characterp', not `char-valid-p'.
6640         (font-lock-beg, font-lock-end): Declare.
6642         * progmodes/idlw-shell.el (specs): Remove reference to deleted
6643         variable `idlwave-shell-activate-alt-keybindings' and simplify.
6645         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6647 2012-05-08  Glenn Morris  <rgm@gnu.org>
6649         * files.el (auto-mode-alist): Treat ".make" like ".mk".
6651 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6653         * vc/log-edit.el: Add GNU coding standards highlighting.
6654         (log-edit-font-lock-gnu-style)
6655         (log-edit-font-lock-gnu-keywords): New vars.
6656         (log-edit-font-lock-keywords): New fun.
6657         (log-edit-mode): Don't fold case in font-lock.
6658         (log-edit-font-lock-keywords): Do not assume case-folding.
6660         * imenu.el: Misc cleanup.  Make docstrings out of comments.
6661         Use lexical-binding.
6662         (imenu--index-alist, imenu--last-menubar-index-alist)
6663         (imenu-menubar-modified-tick): Use defvar-local.
6664         (imenu--split-menu): Remove unused var.
6665         (imenu--cleanup-seen): Declare as global.
6666         (imenu--cleanup): Use dolist.
6668         * subr.el (defvar-local): Add debug spec and doc-string position.
6670 2012-05-08  Glenn Morris  <rgm@gnu.org>
6672         * language/burmese.el, language/cham.el, language/czech.el:
6673         * language/english.el, language/georgian.el, language/greek.el:
6674         * language/japanese.el, language/khmer.el, language/korean.el:
6675         * language/lao.el, language/misc-lang.el, language/romanian.el:
6676         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6677         * language/thai.el, language/utf-8-lang.el:
6678         Remove no-byte-compile setting.
6680         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
6682 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6684         * progmodes/make-mode.el (makefile-browse):
6685         Remove unnecessary interactive.  (Bug#11324)
6687 2012-05-07  Glenn Morris  <rgm@gnu.org>
6689         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6691         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6693 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6695         * loadup.el: Preload newcomment.el.
6696         * newcomment.el: Move autoload-only code to toplevel.
6698         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6699         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6700         Handle new :right-align column property.
6701         (tabulated-list-print-col): Idem, plus use `display' text-property to
6702         try and preserve alignment for variable pitch fonts.
6704 2012-05-07  Chong Yidong  <cyd@gnu.org>
6706         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6707         (tabulated-list-use-header-line): New var.
6708         (tabulated-list-init-header): Use it.
6709         (tabulated-list-print-fake-header): New function.
6710         (tabulated-list-print): Use it.
6711         (tabulated-list-sort-button-map): Add non-header-line commands.
6712         (tabulated-list-init-header): Add column name property to basic
6713         labels as well.
6714         (tabulated-list-col-sort): Handle non-header-line button case.
6715         (tabulated-list--sort-by-column-name): Fix a corner case.
6717         * buff-menu.el (list-buffers--refresh):
6718         Handle Buffer-menu-use-header-line.
6720 2012-05-06  Chong Yidong  <cyd@gnu.org>
6722         * buff-menu.el: Convert to Tabulated List mode.
6723         (Buffer-menu-buffer+size-width): Make obsolete.
6724         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6725         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6726         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
6727         documentation into docstring of buffer-menu.
6728         (Buffer-menu-toggle-files-only): Add an informative message.
6729         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6730         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6731         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6732         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6733         (Buffer-menu-execute, Buffer-menu-select)
6734         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6735         (Buffer-menu-bury): Use Tabulated List machinery.
6736         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6737         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6738         Delete.
6739         (list-buffers--refresh): New function.
6740         (list-buffers-noselect): Use it.
6741         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6742         (Buffer-menu--pretty-file-name): New helper functions.
6744         * loadup.el: Preload tabulated-list.
6746         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6747         tabulated-list-sort-column.
6748         (tabulated-list-init-header): Add the initial aligning space even
6749         if tabulated-list-padding is zero.
6751 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
6753         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6754         whose cdr is not a cons cell correctly (bug#11038).
6756 2012-05-06  Chong Yidong  <cyd@gnu.org>
6758         * emacs-lisp/tabulated-list.el (tabulated-list-format):
6759         Accept additional plist in column descriptors.
6760         (tabulated-list-init-header): Obey it.
6761         (tabulated-list-get-entry): New function.
6762         (tabulated-list-put-tag): Use it.  Use string-width instead of
6763         length.
6764         (tabulated-list--column-number): New function.
6765         (tabulated-list-print): Use it.
6766         (tabulated-list-print-col): New function.
6767         Set `tabulated-list-column-name' property on each column's text.
6768         (tabulated-list-print-entry): Use it.
6769         (tabulated-list-delete-entry, tabulated-list-set-col):
6770         New functions.
6771         (tabulated-list-sort-column): New command (Bug#11337).
6773         * buff-menu.el (list-buffers): Move C-x C-b binding from
6774         buff-menu.el to bindings.el.
6776         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6777         :advertised-binding feature.
6779 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
6781         * progmodes/compile.el (compilation-internal-error-properties):
6782         Calculate start position correctly when end-col is set but
6783         end-line is not (Bug#11382).
6785 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
6787         * man.el (Man-unindent): Use text-property-default-nonsticky to
6788         prevent untabify from inheriting face properties (Bug#11408).
6790 2012-05-05  Stefan Merten  <smerten@oekonux.de>
6792         * textmodes/rst.el: Major merge with upstream development up to
6793         Docutils SVN r7399 / rst.el V1.2.1.
6795         Clarify maintainership and authors.
6797         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6798         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6799         (rst-official-version, rst-official-cvs-rev, rst-version)
6800         (rst-package-emacs-version-alist): New functions and variables
6801         for version information.
6803         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6804         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6805         (rst-mode-syntax-table, rst-mode): New and corrected functions
6806         and variables representing reStructuredText features.
6808         (rst-re): New function for reStructuredText regexes.  Use in
6809         many places.
6811         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6812         (rst-mode-map): Rebind keys.
6814         (rst-mode-lazy, rst-font-lock-keywords)
6815         (rst-font-lock-extend-region)
6816         (rst-font-lock-extend-region-internal)
6817         (rst-font-lock-extend-region-extend)
6818         (rst-font-lock-find-unindented-line-limit)
6819         (rst-font-lock-find-unindented-line-match)
6820         (rst-adornment-level, rst-font-lock-adornment-level)
6821         (rst-font-lock-adornment-match)
6822         (rst-font-lock-handle-adornment-pre-match-form)
6823         (rst-font-lock-handle-adornment-matcher): Major revision of
6824         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
6826         (rst-preferred-adornments, rst-adjust-hook)
6827         (rst-new-adornment-down, rst-preferred-bullets)
6828         (rst-preferred-bullets, rst-indent, rst-indent-width)
6829         (rst-indent-field, rst-indent-literal-normal)
6830         (rst-indent-literal-minimized, rst-indent-comment): Change,
6831         extend and improve customization.
6833         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6834         (rst-normalize-cursor-position, rst-get-decoration)
6835         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6836         (rst-rstrip, rst-toc-insert-find-delete-contents)
6837         (rst-shift-fill-region, rst-compute-bullet-tabs)
6838         (rst-debug-print-tabs, rst-debug-mark-found)
6839         (rst-shift-region-guts, rst-shift-region-right)
6840         (rst-shift-region-left, rst-use-char-classes)
6841         (rst-font-lock-keywords-function)
6842         (rst-font-lock-indentation-point)
6843         (rst-font-lock-find-unindented-line-begin)
6844         (rst-font-lock-find-unindented-line-end)
6845         (rst-font-lock-find-unindented-line)
6846         (rst-font-lock-adornment-point, rst-font-lock-level)
6847         (rst-adornment-level-alist): Remove functions and variables.
6849         (rst-compare-adornments, rst-get-adornment-match)
6850         (rst-suggest-new-adornment, rst-get-adornments-around)
6851         (rst-adornment-complete-p, rst-get-next-adornment)
6852         (rst-adjust-adornment, rst-display-adornments-hierarchy)
6853         (rst-straighten-adornments): Standardize function names to
6854         use "adornment" instead of "decoration".  Correct callers.
6855         Similar standardizing in many places.
6857         (rst-update-section, rst-adjust, rst-promote-region)
6858         (rst-enumerate-region, rst-bullet-list-region)
6859         (rst-repeat-last-character): Correct use of `interactive'.
6861         (rst-classify-adornment, rst-find-all-adornments)
6862         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6863         (rst-find-leftmost-column, rst-repeat-last-character):
6864         Refactor functions.
6866         (rst-find-title-line, rst-reset-section-caches)
6867         (rst-get-adornments-around, rst-adjust-adornment-work)
6868         (rst-arabic-to-roman, rst-roman-to-arabic)
6869         (rst-insert-list-pos, rst-insert-list-new-item)
6870         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6871         New functions.
6873         (rst-all-sections, rst-section-hierarchy)
6874         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6875         New variables.
6877         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6878         configuration instead of only buffer.  Change where necessary.
6880         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6881         (rst-shift-region, rst-adaptive-fill): New functions for
6882         indentation and filling.
6884         (rst-comment-line-break, rst-comment-indent)
6885         (rst-comment-insert-comment, rst-comment-region)
6886         (rst-uncomment-region): New functions for handling comments.
6888         (rst-compile): Quote shell arguments.
6890         (rst-compile-pdf-preview, rst-compile-slides-preview):
6891         Delete temporary files after use.
6893 2012-05-05  Glenn Morris  <rgm@gnu.org>
6895         * calendar/cal-html.el: Optionally include holidays in the output.
6896         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6897         (cal-html-holidays): New option.
6898         (cal-html-css-default): Add holiday entry.
6899         (holiday-in-range): Autoload it.
6900         (cal-html-htmlify-entry): Add optional class argument.
6901         (cal-html-htmlify-list): Add optional holidays argument.
6902         (cal-html-insert-agenda-days): Include holidays in the output.
6903         (cal-html-one-month): Maybe include holidays.
6905         * calendar/holidays.el (holiday-in-range):
6906         Move here from cal-tex-list-holidays.
6907         * calendar/cal-tex.el (cal-tex-list-holidays):
6908         Make it an obsolete alias for holiday-in-range.  Update all callers.
6910 2012-05-05  Chong Yidong  <cyd@gnu.org>
6912         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6913         Nextstep.
6915 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
6917         * files.el (file-auto-mode-skip): New var.
6918         (set-auto-mode-1): Use it.
6920 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6922         * repeat.el: Use lexical-binding.
6923         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6924         (repeat-undo-count): Remove.
6925         (repeat):
6926         * progmodes/octave-mod.el (octave-abbrev-start):
6927         * progmodes/f90.el (f90-abbrev-start):
6928         * face-remap.el (text-scale-adjust):
6929         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6931         * emacs-lisp/pcase.el (pcase--let*): New function.
6932         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6933         a bit more.
6934         (pcase--split-pred): Be more clever about ruling out overlap between
6935         a predicate and some constant pattern.
6936         (pcase--q1): Use `null' instead of (eq foo nil).
6938         * subr.el (setq-local, defvar-local): New macros.
6939         (kbd): Redefine as an alias.
6940         (with-selected-window): Leave unrelated frames alone.
6941         (set-temporary-overlay-map): New function.
6943 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6945         * subr.el (user-error): New function.
6946         * window.el (switch-to-buffer):
6947         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6948         (smerge-match-conflict):
6949         * simple.el (previous-matching-history-element)
6950         (next-matching-history-element, goto-history-element, undo-more)
6951         (undo-start):
6952         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6953         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6954         (next-file, tags-loop-scan, list-tags, complete-tag):
6955         * progmodes/compile.el (compilation-loop):
6956         * mouse.el (mouse-minibuffer-check):
6957         * man.el (Man-bgproc-sentinel, Man-goto-page):
6958         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6959         (Info-history-forward, Info-follow-reference, Info-menu)
6960         (Info-extract-menu-item, Info-extract-menu-counting)
6961         (Info-forward-node, Info-backward-node, Info-next-menu-item)
6962         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6963         (Info-next-reference, Info-prev-reference, Info-index)
6964         (Info-index-next, Info-follow-nearest-node)
6965         (Info-copy-current-node-name):
6966         * imenu.el (imenu--make-index-alist)
6967         (imenu-default-create-index-function, imenu-add-to-menubar):
6968         * files.el (basic-save-buffer, recover-file):
6969         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6970         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6971         (checkdoc-message-text, checkdoc-defun):
6972         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6973         * cus-edit.el (customize-changed-options, customize-rogue)
6974         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6975         (custom-variable-mark-to-reset-standard)
6976         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6977         (custom-file):
6978         * completion.el (check-completion-length):
6979         * comint.el (comint-search-arg)
6980         (comint-previous-matching-input-string-position)
6981         (comint-previous-matching-input)
6982         (comint-replace-by-expanded-history-before-point, comint-send-input)
6983         (comint-copy-old-input, comint-backward-matching-input)
6984         (comint-goto-process-mark, comint-set-process-mark):
6985         * calendar/calendar.el (calendar-cursor-to-date): Use it.
6986         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6988 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6990         * dabbrev.el (dabbrev--ignore-case-p): New function.
6991         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6992         Use it.
6994         * files.el (automount-dir-prefix): Mark as obsolete.
6996 2012-05-04  Glenn Morris  <rgm@gnu.org>
6998         * patcomp.el, play/bruce.el: Move to obsolete/.
7000 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
7002         Fix minor Y10k bugs.
7003         * arc-mode.el (archive-unixdate):
7004         * autoinsert.el (auto-insert-alist):
7005         * calc/calc-forms.el (math-this-year):
7006         * emacs-lisp/copyright.el (copyright-current-year)
7007         (copyright-update-year, copyright):
7008         * tar-mode.el (tar-clip-time-string):
7009         * time.el (display-time-update):
7010         Don't assume years have 4 digits.
7012 2012-05-04  Chong Yidong  <cyd@gnu.org>
7014         * dos-w32.el (file-name-buffer-file-type-alist)
7015         (direct-print-region-use-command-dot-com):
7016         * ffap.el (ffap-menu-regexp):
7017         * find-file.el (ff-special-constructs):
7018         * follow.el (follow-debug):
7019         * forms.el (forms--debug):
7020         * iswitchb.el (iswitchb-all-frames):
7021         * ido.el (ido-all-frames):
7022         * emacs-lisp/timer.el (timer-max-repeats):
7023         * mail/feedmail.el (feedmail-mail-send-hook)
7024         (feedmail-mail-send-hook-queued):
7025         * mail/footnote.el (footnote-signature-separator):
7026         * mail/mailabbrev.el (mail-alias-separator-string)
7027         (mail-abbrev-mode-regexp):
7028         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7029         * progmodes/idlwave.el (idlwave-libinfo-file)
7030         (idlwave-default-completion-case-is-down)
7031         (idlwave-library-routines): Convert defvars to defcustoms.
7033         * mail/rmail.el (rmail-decode-mime-charset):
7034         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7035         (idlwave-shell-fix-inserted-breaks)
7036         (idlwave-shell-activate-alt-keybindings)
7037         (idlwave-shell-use-breakpoint-glyph):
7038         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7040 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7042         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7044 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
7046         * progmodes/verilog-mode.el (font-lock-keywords):
7047         Fix mis-highligting auto.  Reported by Craig Barner.
7048         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7049         defines from global name space. Reported by Dan Dever.
7050         (verilog-auto-reset, verilog-auto-reset-widths)
7051         (verilog-auto-tieoff): Support using unbased numbers for
7052         AUTORESET and AUTOTIEOFF.
7053         (verilog-submit-bug-report): Update variable list.
7054         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7055         parenthesis from not matching. Reported by Michael Rytting.
7056         (verilog-auto-template-lint): Fix hash error when linting modules
7057         with no used templates.
7058         (verilog-warn, verilog-warn-error)
7059         (verilog-warn-fatal): When non-interactive report multiple
7060         warnings before exiting.  Suggested by Brad Dobbie.
7061         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7062         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7063         to report unused template errors.  Reported by Brad Dobbie.
7064         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7065         nets, bug438. Reported by Vns Blore.
7066         (verilog-auto-inout-module, verilog-auto-reg)
7067         (verilog-read-decls, verilog-read-sub-decls-sig)
7068         (verilog-signals-edit-wire-reg, verilog-signals-with):
7069         Fix passing of Verilog data types in ANSI input/output ports
7070         such as "output logic" into the AUTOs. Special case "wire" and
7071         "reg" for backwards compatibility presuming Verilog 2001.
7072         (verilog-auto-ascii-enum): Add "auto enum" as alias.
7073         (verilog-preprocess): Fix replication of preprocess output.
7074         Reported by Brad Dobbie.
7075         (verilog-auto-inst-interfaced-ports):
7076         Create verilog-auto-inst-interfaced-ports, bug429.
7077         Reported by Julian Gorfajn.
7078         (verilog-after-save-font-hook)
7079         (verilog-before-save-font-hook): New variable.
7080         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7081         (verilog-save-font-mods): Wrap disabling fontification, reported
7082         by David Rogoff.
7083         (verilog-do-indent, verilog-pretty-declarations-auto)
7084         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7085         Reported by Pierre-David Pfister.
7086         (verilog-set-auto-endcomments): Fix endtask auto comments outside
7087         of class declarations, bug292.  Reported by Kevin Heilman.
7088         (verilog-read-decls): Fix 'parameter type' not appearing in
7089         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
7090         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7091         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7092         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7093         Reported by David Kravitz.
7095 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
7097         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7098         assignment with tests in ifs and for loops.
7099         (verilog-extended-complete-re, verilog-complete-reg): Change so
7100         that DPI inport functions don't look like fuction declarations.
7101         (verilog-pretty-expr): Don't line up assignment
7102         operations to the test and increment in if and for loops
7103         (verilog-extended-complete-re, verilog-complete-reg): Change so
7104         that DPI inport functions don't look like fuction declarations.
7106 2012-05-03  Kenichi Handa  <handa@m17n.org>
7108         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7109         decoding, and show a warning message without signaling an error
7110         (Bug#11282).
7112 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7114         * emacs-lisp/bytecomp.el
7115         (byte-compile-file-form-custom-declare-variable): Compile all elements,
7116         since cconv.el might have introduced :fun-body, internal-make-closure,
7117         and friends for bytecomp to handle (bug#11391).
7118         * custom.el (defcustom): Avoid ((λ ..) ..).
7120 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7122         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7124 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
7126         * notifications.el (dbus-debug):
7127         * term/linux.el (gpm-mouse-enable):
7128         * term/screen.el (xterm-register-default-colors): Declare.
7130 2012-05-02  Chong Yidong  <cyd@gnu.org>
7132         * cus-start.el (gc-cons-percentage, exec-suffixes)
7133         (dos-display-scancodes, dos-hyper-key, dos-super-key)
7134         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7135         (make-cursor-line-fully-visible, void-text-area-pointer)
7136         (font-list-limit): Add customization data.
7138         * allout.el (allout-exposure-change-functions)
7139         (allout-structure-added-functions)
7140         (allout-structure-deleted-functions)
7141         (allout-structure-shifted-functions): Rename abnormal hooks from
7142         *-hook, and convert to defcustoms.
7143         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7144         Convert to defcustoms.
7145         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7147         * allout-widgets.el: Hook callers changed.
7149 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
7151         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7152         the yanked message in preference to the default value of
7153         buffer-file-coding-system.
7155 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
7157         * window.el (display-buffer--action-function-custom-type):
7158         Fix entry.
7160 2012-05-02  Alan Mackenzie  <acm@muc.de>
7162         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7164 2012-05-01  Glenn Morris  <rgm@gnu.org>
7166         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7168         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
7170         * cus-edit.el (custom-variable-documentation): Simplify with format.
7172 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7173             Stefan Monnier  <monnier@iro.umontreal.ca>
7175         * simple.el (suggest-key-bindings, execute-extended-command):
7176         Move from keyboard.c.
7178 2012-05-01  Chong Yidong  <cyd@gnu.org>
7180         * follow.el: Eliminate advice.
7181         (set-process-filter, process-filter, sit-for): Advice deleted.
7182         (follow-mode-off-hook): Obsolete hook removed.
7183         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7184         Vars deleted.
7185         (follow-auto): Use a :set function.
7186         (follow-mode): Rewritten.  Don't advise process filters.
7187         (follow-switch-to-current-buffer-all, follow-scroll-up)
7188         (follow-scroll-down): Assume follow-mode is bound.
7189         (follow-comint-scroll-to-bottom)
7190         (follow-align-compilation-windows): New functions.
7191         (follow--window-sorter): New function.
7192         (follow-all-followers): Use it to explicitly sort windows by their
7193         positions; don't make assumptions about next-window order.
7194         (follow-windows-start-end, follow-delete-other-windows-and-split)
7195         (follow-calc-win-start): Doc fix.
7196         (follow-windows-aligned-p, follow-select-if-visible): Don't call
7197         vertical-motion unnecessarily.
7198         (follow-adjust-window): New function.
7199         (follow-post-command-hook): Use it.
7200         (follow-call-set-process-filter, follow-call-process-filter)
7201         (follow-intercept-process-output, follow-tidy-process-filter-alist)
7202         (follow-stop-intercept-process-output, follow-generic-filter):
7203         Functions deleted.
7204         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7205         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7206         New functions, replacing advice on scroll-bar-* commands.
7207         (follow-mwheel-scroll): New function (Bug#4112).
7209         * comint.el (comint-adjust-point): New function.
7210         (comint-postoutput-scroll-to-bottom): Use it.
7211         Call follow-comint-scroll-to-bottom for Follow mode buffers.
7213 2012-05-01  Glenn Morris  <rgm@gnu.org>
7215         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7216         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7217         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7218         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7219         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7220         Remove no-byte-compile setting.
7222 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7224         * minibuffer.el (completion-table-with-quoting): Fix compatibility
7225         all-completions code to not return a number in the last cdr.
7227 2012-04-30  Leo Liu  <sdl.web@gmail.com>
7229         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7230         read-only error.
7232 2012-04-29  Chong Yidong  <cyd@gnu.org>
7234         * follow.el (follow-calc-win-end): Rewrite to handle partial
7235         screen lines correctly (Bug#8390).
7236         (follow-avoid-tail-recenter): Minor cleanup.
7238 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         Avoid the obsolete `assoc' package.
7241         * speedbar.el (speedbar-refresh): Avoid adelete.
7242         (speedbar-file-lists): Simplify and avoid aput.
7243         * man.el (Man--sections, Man--refpages): New vars, replacing
7244         Man-sections-alist and Man-refpages-alist.
7245         (Man-build-section-alist, Man-build-references-alist):
7246         Use them; avoid aput.
7247         (Man--last-section, Man--last-refpage): New vars.
7248         (Man-follow-manual-reference): Use them.
7249         Use the `default' arg of completing-read.
7250         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
7252 2012-04-27  Chong Yidong  <cyd@gnu.org>
7254         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7256         * startup.el (x-apply-session-resources): New function.
7258         * term/ns-win.el (ns-initialize-window-system):
7259         * term/w32-win.el (w32-initialize-window-system):
7260         * term/x-win.el (x-initialize-window-system): Use it to properly
7261         set menu-bar-mode and other vars from X resources, even if the
7262         initial frame is not a window-system frame (Bug#2299).
7264         * subr.el (read-key): Avoid running filter function when setting
7265         up temporary tool bar entries (Bug#9922).
7267 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7269         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7270         (Bug#11344)
7272 2012-04-27  Chong Yidong  <cyd@gnu.org>
7274         * select.el (xselect--encode-string): New function, split from
7275         xselect-convert-to-string.
7276         (xselect-convert-to-string): Use it.
7277         (xselect-convert-to-filename, xselect-convert-to-os)
7278         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7279         returned strings are properly encoded (Bug#11315).
7281 2012-04-27  Chong Yidong  <cyd@gnu.org>
7283         * simple.el (delete-active-region): Move to killing custom group.
7285 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7287         * progmodes/which-func.el (which-func-current): Quote %
7288         characters for mode-line processing.
7290 2012-04-27  Chong Yidong  <cyd@gnu.org>
7292         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7293         reaching eob (Bug#11286).
7295 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
7297         * progmodes/gdb-mi.el (gdb-control-level): New variable.
7298         (gdb): Make it buffer-local and init to zero.
7299         (gdb-control-commands-regexp): New variable.
7300         (gdb-send): Don't wrap in "-interpreter-exec console" if
7301         gdb-control-level is positive.  Increment gdb-control-level
7302         whenever the command matches gdb-control-commands-regexp, and
7303         decrement it each time the command is "end".  (Bug#11279)
7305 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
7307         * window.el (adjust-window-trailing-edge, enlarge-window)
7308         (shrink-window, window-resize):
7309         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7310         windows (Bug#11276).
7312 2012-04-27  Chong Yidong  <cyd@gnu.org>
7314         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7315         fix "missing prefix" warning.  All callers changed.
7317 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7319         * emacs-lisp/assoc.el: Move to obsolete/.
7321 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7323         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7325         * term/ns-win.el (ns-define-service):
7326         * progmodes/pascal.el (pascal-goto-defun):
7327         * progmodes/js.el (js--read-tab):
7328         * progmodes/etags.el (tags-lazy-completion-table):
7329         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7330         * emacs-lisp/ewoc.el (ewoc--wrap):
7331         * emacs-lisp/assoc.el (aput, adelete, amake):
7332         * doc-view.el (doc-view-convert-current-doc):
7333         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7335 2012-04-26  Chong Yidong  <cyd@gnu.org>
7337         * image.el (image-type-from-buffer): Only return supported image
7338         type (Bug#9045).
7340         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7341         value, for symmetry with diff-end-of-hunk.
7342         (diff-split-hunk, diff-find-source-location)
7343         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7344         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7345         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7346         compute the relevant hunk or file properly (Bug#6005).
7347         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7349 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7351         * vc/vc-mtn.el:
7352         * vc/vc-hg.el:
7353         * vc/vc-git.el:
7354         * vc/vc-dir.el:
7355         * vc/vc-cvs.el:
7356         * vc/vc-bzr.el:
7357         * vc/vc-arch.el:
7358         * vc/vc.el: Replace lexical-let by lexical-binding.
7359         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7360         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7361         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7363 2012-04-26  Chong Yidong  <cyd@gnu.org>
7365         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7366         (diff-mode-shared-map): Bind it to / and [remap undo].
7368         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7369         (ediff-window-setup-function): Use it as the default, to set up
7370         windows based on whether the current frame is graphical (Bug#2138).
7371         (ediff-choose-window-setup-function-automatically): Make obsolete.
7373         * vc/ediff-init.el: Always define ediff-pixel-width/height.
7375 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7377         * ffap.el: Remove old code for obsolete package.
7378         (ffap-complete-as-file-p): Remove.
7380         Use completion-table-with-quoting for comint and pcomplete.
7381         * comint.el (comint--unquote&requote-argument)
7382         (comint--unquote-argument, comint--requote-argument): New functions.
7383         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7384         (comint-quote-filename): Use regexp-opt-charset.
7385         (comint--common-suffix, comint--common-quoted-suffix)
7386         (comint--table-subvert): Remove.
7387         (comint-unquote-function, comint-requote-function): New vars.
7388         (comint--complete-file-name-data): Use them with
7389         completion-table-with-quoting.
7390         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7391         * pcomplete.el (pcomplete-arg-quote-list)
7392         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7393         (pcomplete-unquote-argument-function): Default to non-nil.
7394         (pcomplete-unquote-argument): Simplify.
7395         (pcomplete--common-quoted-suffix): Remove.
7396         (pcomplete-requote-argument-function): New var.
7397         (pcomplete--common-suffix): New function.
7398         (pcomplete-completions-at-point): Use completion-table-with-quoting
7399         and completion-table-subvert.
7401         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7402         (minibuffer--double-dollars): Preserve properties.
7403         (completion--sifn-requote): New function.
7404         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7406         * minibuffer.el: Add support for completion of quoted/escaped data.
7407         (completion-table-with-quoting, completion-table-subvert): New funs.
7408         (completion--twq-try, completion--twq-all): New functions.
7409         (completion--nth-completion): New function.
7410         (completion-try-completion, completion-all-completions): Use it.
7412 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7414         * progmodes/python.el (python-pdbtrack-get-source-buffer):
7415         Use compilation-message if available to find real filename.
7417 2012-04-25  Chong Yidong  <cyd@gnu.org>
7419         * vc/diff-mode.el (diff-setup-whitespace): New function.
7420         (diff-mode): Use it.
7422         * vc/diff.el (diff-sentinel):
7423         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7424         Whitespace mode variables based on diff style (Bug#8612).
7426 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7428         * progmodes/python.el (python-send-region): Add suffix .py to the
7429         temp file.
7431         * files.el (auto-mode-alist): Use javascript-mode instead.
7433 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
7435         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
7437         * net/soap-client.el (soap-resolve-references-for-sequence-type)
7438         (soap-resolve-references-for-array-type): Hack to prevent self
7439         references, see Bug#9.
7440         (soap-parse-envelope): Report the contents of the 'detail' node
7441         when receiving a fault reply.
7442         (soap-parse-envelope): Report the contents of the entire 'detail' node.
7444         * net/soap-inspect.el (soap-sample-value-for-simple-type)
7445         (soap-inspect-simple-type): New function.
7447         * net/soap-client.el (soap-simple-type): New struct.
7448         (soap-default-xsd-types, soap-default-soapenc-types)
7449         (soap-decode-basic-type, soap-encode-basic-type):
7450         support unsignedInt and double basic types.
7451         (soap-resolve-references-for-simple-type)
7452         (soap-parse-simple-type, soap-encode-simple-type): New function.
7453         (soap-parse-schema): Parse xsd:simpleType declarations.
7455         * net/soap-client.el (soap-default-xsd-types)
7456         (soap-default-soapenc-types): Add integer, byte and anyURI types.
7457         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7458         the local name of "soapenc:Array".
7459         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7460         decoding integer, byte and anyURI xsd types.
7462 2012-04-25  Chong Yidong  <cyd@gnu.org>
7464         * cus-edit.el (custom-buffer-create-internal): Update header text.
7466 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7468         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7469         settings on 'system-type', not on 'window-system'.  On MS-Windows,
7470         set interactive-mode on in GDB.
7472 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7474         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7475         (ruby-syntax-propertize-regexp): Remove.
7476         (ruby-syntax-propertize-function): Split regexp into chunks.
7477         Match following code directly.
7479 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
7481         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7482         (ruby-syntax-propertize-regexp): New function.
7483         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7484         by a special keyword.
7486         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7487         (ruby-syntax-general-delimiters-goto-beg)
7488         (ruby-syntax-propertize-general-delimiters): New functions.
7489         (ruby-syntax-propertize-function): Use them to handle GDL.
7490         (ruby-font-lock-keywords): Move old handling of GDL...
7491         (ruby-font-lock-syntactic-keywords): .. to here.
7492         (ruby-calculate-indent): Adjust indentation for GDL.
7494 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
7496         * notifications.el (top): Remove unneeded declarations.
7497         (notifications-specification-version): Change to "1.2".
7498         (notifications-interface, notifications-notify-method)
7499         (notifications-close-notification-method): Fix docstring.
7500         (notifications-get-capabilities-method): New defconst.
7501         (notifications-notify): Add :action-items, :resident and
7502         :transient hints.  Change "image_data" to "image-data" and
7503         "image_path" to "image-path".
7504         (notifications-get-capabilities): New defun.
7506 2012-04-24  Leo Liu  <sdl.web@gmail.com>
7508         * progmodes/python.el: Move hideshow setup to the end.
7510 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
7512         * window.el (handle-select-window): Clear echo area since this is
7513         no more done by read_char (Bug#11304).
7515 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7517         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7518         and `/ M' to filter-derived-mode.
7519         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7520         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7521         (ibuffer-mark-by-mode): Use default rather than initial-input.
7522         (ibuffer-filter-by-derived-mode): Autoload and require-match.
7524 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
7526         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7527         (ibuffer-filter-by-derived-mode): New filter.
7528         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7530 2012-04-23  Andreas Politz  <politza@fh-trier.de>
7532         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7534 2012-04-23  Chong Yidong  <cyd@gnu.org>
7536         * cus-edit.el (customize-apropos, customize-apropos-options):
7537         Disable matching of non-option variables (Bug#11176).
7538         (customize-option, customize-option-other-window)
7539         (customize-changed-options): Doc fix.
7540         (customize-apropos-options, customize-apropos-faces)
7541         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7543         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7544         Fix word list splitting (Bug#11132).
7545         (apropos-symbol, apropos-keybinding, apropos-label)
7546         (apropos-property, apropos-function-button)
7547         (apropos-variable-button, apropos-misc-button): New faces.
7548         (apropos-symbol-face, apropos-keybinding-face)
7549         (apropos-label-face, apropos-property-face, apropos-match-face):
7550         Variables removed (Bug#8396).
7551         (apropos-library-button, apropos-format-plist, apropos-print)
7552         (apropos-print-doc, apropos-describe-plist): Callers changed.
7554 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
7556         * net/xesam.el (xesam-mode-map): Use let-bound map in
7557         initialization.  (Bug#11292)
7559 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7561         Preserve ispell session localwords when switching back to
7562         original buffer.
7564         * textmodes/ispell.el (ispell-buffer-session-localwords):
7565         New buffer-local variable to hold buffer session localwords.
7566         (ispell-kill-ispell): Add option 'clear to delete session
7567         localwords.
7568         (ispell-command-loop, ispell-change-dictionary)
7569         (ispell-buffer-local-words): Preserve session localwords when
7570         needed.
7572         * textmodes/flyspell.el (flyspell-process-localwords)
7573         (flyspell-do-correct): Preserve session localwords when needed.
7575 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7577         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7578         using obsolete `translation-table-for-input'.
7579         (ispell-word, ispell-process-line, ispell-complete-word):
7580         Use plain `insert' instead of removed `ispell-insert-word'.
7582 2012-04-22  Chong Yidong  <cyd@gnu.org>
7584         * cus-edit.el (custom-variable-menu)
7585         (custom-variable-reset-saved, custom-face-menu)
7586         (custom-face-reset-saved): If there is no saved value, make the
7587         "reset-saved" operation bring back the default (Bug#9509).
7588         (custom-face-state): Properly detect themed faces.
7590         * faces.el (face-spec-set): Stop supporting deprecated form of
7591         third arg.
7593 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
7595         Move functions from C to Lisp.  Make non-blocking method calls
7596         the default.  Implement further D-Bus standard interfaces.
7598         * net/dbus.el (dbus-message-internal): Declare function.
7599         Remove unneeded function declarations.
7600         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7601         (dbus-message-type-method-return, dbus-message-type-error)
7602         (dbus-message-type-signal): Declare variables.  Remove local
7603         definitions.
7604         (dbus-interface-dbus, dbus-interface-peer)
7605         (dbus-interface-introspectable, dbus-interface-properties)
7606         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7607         Adapt docstring.
7608         (dbus-interface-objectmanager): New defconst.
7609         (dbus-call-method, dbus-call-method-asynchronously)
7610         (dbus-send-signal, dbus-method-return-internal)
7611         (dbus-method-error-internal, dbus-register-service)
7612         (dbus-register-signal, dbus-register-method): New defuns, moved
7613         from dbusbind.c
7614         (dbus-call-method-handler, dbus-setenv)
7615         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7616         New defuns.
7617         (dbus-call-method-non-blocking): Make it an obsolete function.
7618         (dbus-unregister-object, dbus-unregister-service)
7619         (dbus-handle-event, dbus-register-property)
7620         (dbus-property-handler): Obey the new structure of
7621         `bus-registered-objects'.
7622         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
7623         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7624         Use `dbus-call-method'.
7626 2012-04-22  Chong Yidong  <cyd@gnu.org>
7628         * cus-edit.el (custom-commands, custom-reset-menu)
7629         (Custom-reset-standard): Tweak labels.
7630         (custom-reset-button-menu): Change default to t.
7631         (custom-buffer-create-internal): For the custom-reset-button-menu
7632         case, put the revert button first.
7633         (custom-group-subtitle): New face.
7634         (custom-group-value-create): Align docstring to a specific column.
7636         * wid-edit.el (widget-documentation-link-add): Don't handle
7637         indentation in this function.
7638         (widget-documentation-string-indent-to): New function.
7639         (widget-documentation-string-value-create): Use it.
7641         * autorevert.el (auto-revert):
7642         * epg-config.el (epg):
7643         * ibuffer.el (ibuffer):
7644         * mpc.el (mpc):
7645         * ses.el (ses):
7646         * eshell/eshell.el (eshell):
7647         * net/ange-ftp.el (ange-ftp):
7648         * progmodes/ebnf2ps.el (postscript):
7649         * progmodes/flymake.el (flymake):
7650         * progmodes/prolog.el (prolog):
7651         * progmodes/verilog-mode.el (verilog-mode):
7652         * progmodes/which-func.el (which-func):
7653         * term/xterm.el (xterm):
7654         * textmodes/picture.el (picture):
7655         * textmodes/tildify.el (tildify):
7656         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7657         customization buffers.
7659 2012-04-22  Alan Mackenzie  <acm@muc.de>
7661         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7662         Adding a ) can hide the resulting (..) from searches.  Fix it.
7663         Bound the backward search to the position of the existing (.
7665 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
7667         * progmodes/verilog-mode.el (verilog-mode): Check whether
7668         which-func-modes is t before adding verilog-mode.
7669         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7671 2012-04-21  Leo Liu  <sdl.web@gmail.com>
7673         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7675 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
7677         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7678         filling of the last column of a table (Bug#5635).
7679         (woman-find-next-control-line): New arg, specifying an additional
7680         regexp component for the control line.
7681         (woman2-roff-buffer): Use it.
7682         (woman-break-table): New function.
7683         (woman2-TS): Use it.
7685 2012-04-21  Chong Yidong  <cyd@gnu.org>
7687         * woman.el (woman-set-buffer-display-table, woman-decode-region)
7688         (woman-horizontal-escapes, woman-negative-vertical-space)
7689         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7690         (WoMan-warn-ignored): Use ?\s instead of ?\ .
7692 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7694         * minibuffer.el (completion-file-name-table): Complete user names.
7696 2012-04-20  Leo Liu  <sdl.web@gmail.com>
7698         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7699         and pcase-let*.
7701 2012-04-20  Chong Yidong  <cyd@gnu.org>
7703         * server.el (server-execute): Respect initial-buffer-choice if it
7704         is a string and there are no files to open (Bug#2825).
7705         (server-create-window-system-frame, server-create-tty-frame):
7706         Don't switch buffers here.
7707         (server-process-filter): Only try to open a window system frame if
7708         compiled with graphical support (Bug#8314).
7710 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
7712         * battery.el (battery-echo-area-format): Display remaining time
7713         for sysfs backend too (Bug#11269).
7714         (battery-linux-sysfs): Fix conditional for the charge.
7716 2012-04-20  Chong Yidong  <cyd@gnu.org>
7718         * progmodes/gdb-mi.el (gdb): Revert previous change.
7719         (gdb-inferior-io--init-proc): New function.
7720         (gdb-init-1): Use it.
7721         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7722         responsible for allocating a new pty and hooking it to gdb when
7723         the old pty gets an EIO due to process exit.
7724         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
7725         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7726         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7728 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7730         * window.el (window-min-size, window-sizable, window-min-delta)
7731         (window-max-delta, window--resizable, window-resizable)
7732         (window-total-size, window-full-height-p, window-full-width-p)
7733         (window-in-direction, window--resize-mini-window, window-resize)
7734         (window--resize-child-windows-normal)
7735         (window--resize-child-windows, window--resize-siblings)
7736         (window--resize-this-window, adjust-window-trailing-edge)
7737         (enlarge-window, shrink-window): Doc fixes.
7739 2012-04-20  Chong Yidong  <cyd@gnu.org>
7741         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7742         New function to call delete-process on the gdb-inferior buffer's pty.
7743         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7744         pty process (Bug#11273).
7745         (gdb-update): New arg to suppress talking to the gdb process.
7746         (gdb-done-or-error): Use it.
7747         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7748         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7749         sentinel not being called.
7751         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7753         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7755 2012-04-20  Glenn Morris  <rgm@gnu.org>
7757         * net/network-stream.el (open-network-stream): Doc fix.
7759 2012-04-20  Chong Yidong  <cyd@gnu.org>
7761         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7763 2012-04-20  Alan Mackenzie  <acm@muc.de>
7765         Ensure searching for keywords is case sensitive.
7767         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7768         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7769         (c-defun-name, c-mark-function, c-cpp-define-name)
7770         (c-comment-indent, c-scan-conditionals, c-indent-defun)
7771         (c-context-line-break): Bind case-fold-search to nil.
7773         * progmodes/cc-mode.el (c-font-lock-fontify-region):
7774         Bind case-fold-search to nil.
7776 2012-04-20  Chong Yidong  <cyd@gnu.org>
7778         * mail/sendmail.el (mail-bury): Call return action with the right
7779         Rmail buffer (Bug#11242).
7781         * server.el (server-process-filter): Handle corner case where both
7782         tty and nowait options are present (Bug#11102).
7784 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7786         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7787         (top level): Put into the executable the ident-style '$Id:' tag on
7788         windows-nt as well.
7790 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7792         * electric.el (electric-indent-post-self-insert-function): Check that
7793         electric-indent-mode is enabled in current buffer.
7795 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7797         * imenu.el (imenu-progress-message): Restore; it is "used" in
7798         erc/erc-imenu.el and net/snmp-mode.el.
7800 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7802         * avoid.el (mouse-avoidance-mode): Mark unused arg.
7803         (mouse-avoidance-nudge-mouse): Remove unused binding.
7805         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7807         * descr-text.el (describe-char):
7808         * progmodes/python.el (python-describe-symbol):
7809         Don't call `toggle-read-only', set `buffer-read-only'.
7811         * imenu.el (imenu-default-goto-function): Mark unused args.
7812         (imenu-progress-message): Remove obsolete macro; all callers changed.
7814         * subr.el (keymap-canonicalize): Remove unused binding.
7815         (read-passwd): Mark unused arg.
7817         * tutorial.el (tutorial--display-changes): Remove unused binding.
7818         (tutorial--save-tutorial-to): Remove unused variable.
7820         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7821         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7822         (package-generate-autoloads, package-menu--generate)
7823         (package-menu--find-upgrades): Remove unused bindings.
7825         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7826         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
7827         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7828         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7829         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7830         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7831         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7832         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7833         (cua-delete-char-rectangle): Mark unused args.
7834         (cua-align-rectangle): Remove unused binding.
7836         * mail/rmail.el (compilation--message->loc)
7837         (epa--find-coding-system-for-mime-charset): Declare.
7839         * net/dbus.el (dbus-register-service): Declare.
7840         (dbus-name-owner-changed-handler): Remove unused binding.
7842         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7843         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7844         (nxml-scan-backward-within): Mark unused arg.
7845         (nxml-dynamic-markup-word): Remove unused binding.
7847         * mouse.el (mouse-menu-major-mode-map):
7848         * emacs-lisp/authors.el (authors-scan-change-log)
7849         (authors-add-to-author-list):
7850         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7851         * emacs-lisp/smie.el (smie-auto-fill):
7852         * mail/sendmail.el (mail-bury):
7853         * mail/unrmail.el (unrmail):
7854         * net/tls.el (open-tls-stream):
7855         * textmodes/picture.el (picture-mouse-set-point):
7856         Remove unused bindings.
7858 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
7860         * net/tramp.el (tramp-action-password): Let-bind
7861         `enable-recursive-minibuffers' to t.
7863 2012-04-18  Sam Steingold  <sds@gnu.org>
7865         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7866         instead of 'string to accommodate values like [f11].
7867         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7868         * progmodes/gdb-mi.el: Likewise.
7870 2012-04-18  Leo Liu  <sdl.web@gmail.com>
7872         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7873         current buffer.
7874         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7875         LOCAL is nil.
7877 2012-04-18  Chong Yidong  <cyd@gnu.org>
7879         * simple.el (line-move): Use forward-line if in batch mode
7880         (Bug#11053).
7882 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
7884         * files.el (after-find-file): Do not try to add a final newline if
7885         the buffer is read-only (Bug#11156).
7887 2012-04-17  Richard Stallman  <rms@gnu.org>
7889         * mail/rmail.el (rmail-start-mail):
7890         Pass (rmail-mail-return...) for the return-action.
7891         Pass (rmail-yank-current-message...) for the yank-action.
7892         (rmail-yank-current-message): New function.
7893         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7894         (rmail-reply): Likewise.
7895         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7897         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7898         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
7899         buffer, not newbuf.
7901 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
7903         * server.el (server-ensure-safe-dir): Simplify.
7905 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7907         * emacs-lisp/smie.el: Provide smarter auto-filling.
7908         (smie-auto-fill): New function.
7909         (smie-setup): Use it.
7911         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7913 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
7915         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7916         (comment-indent): Use it.
7918 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7920         * ses.el: The overall change is to add cell renaming, that is
7921         setting fancy names for cell symbols other than name matching
7922         "\\`[A-Z]+[0-9]+\\'" regexp .
7923         (ses-localvars): Add ses--renamed-cell-symb-list.
7924         (ses-create-cell-variable): New defun.
7925         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7926         (ses-relocate-formula): Relocate formulas only for cells the
7927         symbols of which are not renamed, i.e. symbols whose names do not
7928         match regexp "\\`[A-Z]+[0-9]+\\'".
7929         (ses-relocate-all): Relocate values only for cells the symbols of
7930         which are not renamed.
7931         (ses-load): Create cells variables as the (ses-cell ...) are read,
7932         in order to check row col consistency with cell symbol name only
7933         for cells that are not renamed.
7934         (ses-replace-name-in-formula): New defun.
7935         (ses-rename-cell): New defun.
7937 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
7939         * progmodes/perl-mode.el (perl-indent-parens-as-block):
7940         New option (bug#11118).
7941         (perl-calculate-indent): Respect it.
7943 2012-04-17  Glenn Morris  <rgm@gnu.org>
7945         * dired-aux.el (dired-mark-read-string): Doc fix.
7947 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
7949         * dired-aux.el (dired-mark-read-string): Offer optional completion.
7950         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
7952 2012-04-17  Glenn Morris  <rgm@gnu.org>
7954         * mouse.el (mouse-drag-track):
7955         * speedbar.el (speedbar-frame-mode):
7956         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7958 2012-04-16  Leo Liu  <sdl.web@gmail.com>
7960         * progmodes/python.el: Trivial cleanup.
7962 2012-04-16  Glenn Morris  <rgm@gnu.org>
7964         * vc/vc.el (vc-string-prefix-p):
7965         * vc/pcvs-util.el (cvs-string-prefix-p):
7966         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7967         * mpc.el (mpc-string-prefix-p):
7968         Make all of these into obsolete aliases for string-prefix-p.
7969         Update callers.
7970         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7972         * textmodes/two-column.el: Move custom options to the start.
7973         (frame-width): Remove compat definition.
7974         (2C-associate-buffer, 2C-dissociate):
7975         Use with-current-buffer rather than save-excursion.
7976         (2C-dissociate): Force a mode-line update.
7977         (2C-autoscroll): Use ignore-errors.
7979         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7980         Autoload trivia.
7982         * emacs-lisp/cl-extra.el (*random-state*):
7983         Remove unnecessary declaration.
7985         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7987         * play/cookie1.el (cookie-snarf):
7988         Give an explicit error if input file cannot be read.
7990         * play/yow.el (yow-file): Use expand-file-name rather than concat.
7992         * progmodes/perl-mode.el (c-macro-expand):
7993         Remove unnecessary autoload (it is in loaddefs.el).
7995         * textmodes/picture.el (picture-desired-column)
7996         (picture-update-desired-column): Convert comments to doc-strings.
7997         (picture-substitute): Remove function.
7998         (picture-mode-map): Initialize in the defvar.
8000         * woman.el: Remove eval-after-load for tar-mode.
8001         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8002         (woman-tar-extract-file): Autoload it.
8004         * frame.el (automatic-hscrolling): Make this alias obsolete.
8006 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8008         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8009         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8010         (ispell-dictionary-base-alist): Revert to original XEmacs
8011         friendly version for default.  [:alpha:] will be added in
8012         `ispell-set-spellchecker-params' if needed.
8014 2012-04-16  Chong Yidong  <cyd@gnu.org>
8016         * image.el (imagemagick--file-regexp): New variable.
8017         (imagemagick-register-types): Use it.
8018         (imagemagick-types-inhibit): Add :set function.  Allow new value
8019         of t to inhibit all types.
8021         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8022         so we can preload it.
8024         * loadup.el (fboundp): Preload regexp-opt, needed by
8025         imagemagick-register-types.
8027 2012-04-15  Chong Yidong  <cyd@gnu.org>
8029         * frame.el (scrolling): Remove nearly unused customization group.
8031         * scroll-all.el (scroll-all-mode): Move to windows group.
8033 2012-04-15  Chong Yidong  <cyd@gnu.org>
8035         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8037 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8039         Avoid the use of ((lambda ...) ...) in lexical-binding code.
8040         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8042 2012-04-15  Glenn Morris  <rgm@gnu.org>
8044         * simple.el (process-file-side-effects): Doc fix.
8046 2012-04-15  Glenn Morris  <rgm@gnu.org>
8048         * international/mule-cmds.el (set-language-environment): Doc fix.
8050 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8052         * server.el (server-auth-key, server-generate-key): Doc fixes.
8053         (server-get-auth-key): Doc fix.  Use `string-match-p'.
8054         (server-start): Reflow docstring.
8056 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
8058         * server.el (server-generate-key): `called-interactively-p'
8059         requires a parameter.
8061 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
8063         * server.el (server-auth-key): New variable.
8064         (server-generate-key, server-get-auth-key): New function.
8065         (server-start): Use the new variable and functions to allow
8066         setting a permanent server key (bug#9423).
8068 2012-04-14  Leo Liu  <sdl.web@gmail.com>
8070         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8072 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
8074         Spelling fixes.
8075         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8076         Emacs uses American spelling.
8078 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8080         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8081         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
8082         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8083         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
8085 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8087         * progmodes/which-func.el (which-func-modes): Change default.
8089 2012-04-14  Kim F. Storm  <storm@cua.dk>
8091         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8092         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8094 2012-04-14  Chong Yidong  <cyd@gnu.org>
8096         * custom.el (custom-theme-set-variables): Doc fix.
8098 2012-04-14  Glenn Morris  <rgm@gnu.org>
8100         * international/mule.el (set-auto-coding-for-load): Doc fix.
8102 2012-04-14  Alan Mackenzie  <acm@muc.de>
8104         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8105         imenu work again for Objective C Mode.  Correct the *-index values,
8106         these having been disturbed by a previous change in 2011-08.
8108         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8109         Correct two search limits.
8111 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8113         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8115 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
8117         * international/characters.el: Fix sorting.
8119 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8121         * international/characters.el: Add more missing Latin case pairs.
8123 2012-04-14  Glenn Morris  <rgm@gnu.org>
8125         * files.el (dir-locals-set-class-variables): Doc fix.
8127 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8129         * international/characters.el: Add set-case-syntax-pair call for
8130         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8131         counterpart.  (Bug#11209)
8133         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
8135 2012-04-14  Glenn Morris  <rgm@gnu.org>
8137         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8139 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8141         * textmodes/ispell.el (ispell-dictionary-base-alist):
8142         Add data for Hebrew.
8144 2012-04-14  Chong Yidong  <cyd@gnu.org>
8146         * net/rcirc.el (rcirc-cmd-quit):
8147         Revert 2012-03-18 change (Bug#11192).
8149 2012-04-14  Glenn Morris  <rgm@gnu.org>
8151         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8153 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8155         * minibuffer.el (completion-in-region-mode-map):
8156         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
8158 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
8160         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8162 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
8164         * minibuffer.el (minibuffer-local-filename-syntax): New variable
8165         to allow `C-M-f' and `C-M-b' to move to the nearest path
8166         separator (bug#9511).
8168 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
8170         * avoid.el: Require cl when compiling.  And also move the
8171         `provide' to the end.
8173 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8175         * avoid.el (mouse-avoidance-banish-position): New variable.
8176         (mouse-avoidance-banish-destination): Use it (bug#10165).
8178 2012-04-13  Leo Liu  <sdl.web@gmail.com>
8180         * progmodes/which-func.el (which-func-modes): Add objc-mode.
8182 2012-04-13  Ken Brown  <kbrown@cornell.edu>
8184         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8185         this is no longer needed now that cygstart understands file:// URLs.
8186         (browse-url-filename-alist): For the same reason, don't modify
8187         file:// URLs on Cygwin.
8189 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8191         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8192         the region on shift if the binding is already shifted (bug#11221).
8194 2012-04-12  Glenn Morris  <rgm@gnu.org>
8196         * mail/mailpost.el: Move to obsolete/.
8198 2012-04-12  Drew Adams  <drew.adams@oracle.com>
8200         * imenu.el (imenu--generic-function): Ignore invisible definitions
8201         (bug#10123).
8203 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
8205         * hexl.el (hexl-bits): New variable.
8206         (hexl-options): Mention the variable in the doc string.
8207         (hexl-rulerise, hexl-line-displen): New functions.
8208         (hexl-mode): Mention the new variable.
8209         (hexl-mode, hexl-current-address, hexl-current-address):
8210         Use the displen.
8211         (hexl-ascii-start-column): New function.
8212         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8213         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8215 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8217         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8218         '("-i" ENCODING), in 2 separate command-line arguments, to specify
8219         the encoding, as expected by hunspell.
8221 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8223         * battery.el (battery--linux-sysfs-regexp): New const.
8224         (battery-status-function): Use it.  Remove yeeloong special case.
8225         (battery-yeeloong-sysfs): Remove.
8226         (battery-echo-area-format): Remove yeeloong special case.
8228 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8230         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8231         Reported by Noah Friedman.
8233         * subr.el (read-passwd): Use read-string.
8235 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8237         * vcursor.el (vcursor-move): Increase the priority of the overlay
8238         (bug#9663).
8240 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8242         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8243         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8245 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
8247         * textmodes/artist.el (artist-mode): Convert artist-mode to use
8248         define-minor-mode (bug#10760).
8250 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8252         * progmodes/grep.el (rgrep): Tweak the find command line so
8253         that directories matching `grep-find-ignored-files' won't be
8254         pruned (bug#10351).
8256 2012-04-11  Chong Yidong  <cyd@gnu.org>
8258         * startup.el (command-line): Remove support for long-obsolete
8259         variable font-lock-face-attributes.
8261 2012-04-11  Glenn Morris  <rgm@gnu.org>
8263         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8265 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8267         * window.el (window--state-get-1): Obey window-point-insertion-type.
8269 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
8271         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8272         to previous function when point is on the first character of a
8273         function.  Take care of that in `narrow-to-defun' (bug#6157).
8275 2012-04-11  Glenn Morris  <rgm@gnu.org>
8277         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8278         not just file-errors.
8280         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8281         (vc-bzr-sha1): Use internal sha1.
8283 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8285         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8287 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
8289         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8290         that start in the middle of the line (bug#10496).
8292 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
8294         * battery.el (battery-linux-proc-acpi): Only one battery is
8295         discharged at a time, but that seems to confuse battery.el when
8296         computing `rate-type' for the battery not being discharged
8297         (bug#10332).
8299 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8301         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8303         * international/quail.el: Use dolist and simplify.
8304         (quail-define-package, quail-update-keyboard-layout)
8305         (quail-define-rules): Use dolist.
8306         (quail-insert-kbd-layout, quail-get-translation): CSE.
8308         * tmm.el: Use dolist, remove left over hook.
8309         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8310         Use dolist.
8311         (calendar-load-hook): Don't mess with it.
8313         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8314         Use derived-mode-p.  Run the diff asynchronously.
8316 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8318         * obsolete/mouse-sel.el: Add an Obsolete-since header.
8320 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
8322         * misc.el: Display absolute path of loaded DLLs (bug#10424).
8323         (list-dynamic-libraries--loaded): New function.
8324         (list-dynamic-libraries--refresh): Use it.
8326 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
8328         * progmodes/python.el (python-fill-paragraph):
8329         Make python-fill-region in a multiline string work when font-lock is
8330         disabled (bug#7018).
8332 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
8334         * language/european.el (cp775): Add oem/legacy (en)coding on
8335         DOS/MS Windows for the Baltic languages.  There are still plenty
8336         of texts written in this encoding/codepage (bug#6519).
8338 2012-04-10  Glenn Morris  <rgm@gnu.org>
8340         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8341         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8343 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
8345         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8346         next-line "n" and previous-line "p" in order to make recentf more
8347         consistent with ibuffer, dired or org-mode (bug#9387).
8349 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8351         * image.el (put-image): Return the overlay created instead of the
8352         optional input string (bug#7834).  Note that this may break code
8353         that is (for some reason or other) depending on `put-image'
8354         returning the string.
8356         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8358         * simple.el (zap-to-char): Allow zapping using input methods
8359         (bug#1580).
8361         * textmodes/fill.el (fill-region): Leave point and mark where they
8362         were before filling (bug#5399).
8364 2012-04-09  Glenn Morris  <rgm@gnu.org>
8366         * version.el (emacs-bzr-get-version):
8367         Handle lightweight checkouts of local branches.
8369 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
8371         * international/characters.el: Recover lost case pairs.  (Bug#11209)
8373 2012-04-09  Chong Yidong  <cyd@gnu.org>
8375         * custom.el (custom-variable-p): Return nil for non-symbol
8376         arguments instead of signaling an error.
8377         (user-variable-p): Obsolete alias for custom-variable-p.
8379         * apropos.el (apropos-variable):
8380         * files-x.el (read-file-local-variable):
8381         * simple.el (set-variable):
8382         * woman.el (woman-mini-help):
8383         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8385 2012-04-09  Glenn Morris  <rgm@gnu.org>
8387         * startup.el (normal-top-level): Don't look for leim-list.el
8388         in places where it will not be found.  (Bug#910)
8390         * international/mule-cmds.el (set-default-coding-systems):
8391         * files.el (normal-mode):
8392         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
8393         This function was removed with ucs-tables.el in 2008.
8395 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
8397         * textmodes/ispell.el (ispell-check-version): For hunspell, set
8398         ispell-encoding8-command to "-i", without a trailing space.
8399         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8400         separate command-line arguments, to specify the encoding, since
8401         that's how hunspell expects it.
8403 2012-04-08  Glenn Morris  <rgm@gnu.org>
8405         * loadup.el: Load bindings before cus-start.
8406         This reduces somewhat the number of "rogue" settings in emacs -Q.
8408 2012-04-07  Glenn Morris  <rgm@gnu.org>
8410         * version.el (emacs-bzr-get-version): New function.
8411         (emacs-bzr-version): New variable.
8412         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
8413         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8415 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8417         * international/uni-bidi.el, international/uni-category.el:
8418         * international/uni-combining.el, international/uni-decimal.el:
8419         * international/uni-decomposition.el, international/uni-digit.el:
8420         * international/uni-lowercase.el, international/uni-mirrored.el:
8421         * international/uni-name.el, international/uni-numeric.el:
8422         * international/uni-titlecase.el, international/uni-uppercase.el:
8423         Update for Unicode 6.1.
8425 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8427         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8429 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8431         * window.el (shrink-window): Mention the `window-min-height'
8432         variable in the doc string.
8434 2012-04-05  Bastien Guerry  <bzg@altern.org>
8436         * color.el (color-lighten-name): Fix typo.
8438 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8440         * server.el (server--on-display-p): New function.
8441         (server--on-display-p): Use it.
8443 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
8445         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8446         (bug#11145).
8448 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8450         * comint.el (comint--common-quoted-suffix): Check string boundary
8451         before comparing (bug#11158).
8452         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8454 2012-04-04  Chong Yidong  <cyd@gnu.org>
8456         * minibuffer.el (completion-extra-properties): Doc fix.
8458         * subr.el (delayed-warnings-hook): Doc fix.
8460 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
8462         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8463         selection (Bug#11159).
8464         (epa-insert-keys): Inform that the default public key will be
8465         exported if no key is selected.
8467 2012-04-04  Richard Stallman  <rms@gnu.org>
8469         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8471 2012-04-03  Chong Yidong  <cyd@gnu.org>
8473         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8474         mail-insert-file, not its obsolete alias mail-attach-file.
8476 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
8478         * notifications.el (notifications-notify): Fix docstring.
8480 2012-04-02  Glenn Morris  <rgm@gnu.org>
8482         * emacs-lisp/authors.el (authors-aliases): Another addition.
8484 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
8486         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8487         `tramp-compat-call-process' instead of `tramp-local-call-process'.
8488         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8490 2012-04-01  Chong Yidong  <cyd@gnu.org>
8492         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8493         Handle root directory properly.
8494         (copy-directory): Caller changed.
8496         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8497         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8499 2012-03-31  Glenn Morris  <rgm@gnu.org>
8501         * term/xterm.el (xterm-extra-capabilities): Doc fix.
8503         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
8505         * calendar/calendar.el (calendar-window-list)
8506         (calendar-hide-window): Restore.  (Bug#11140)
8507         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8509         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8511 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8513         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8514         Check if file is a symlink (Bug#10489).
8516         * files.el (copy-directory): Likewise.
8518 2012-03-30  Chong Yidong  <cyd@gnu.org>
8520         * image.el (imagemagick-types-inhibit)
8521         (imagemagick-register-types): Doc fix.
8523 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8525         * textmodes/ispell.el (ispell-get-extended-character-mode):
8526         Disable extended-char-mode for hunspell.  hunspell does not support it
8527         and treats ~word as ordinary words in pipe mode.
8529 2012-03-30  Glenn Morris  <rgm@gnu.org>
8531         * tutorial.el (help-with-tutorial): Ensure local variables don't
8532         happen to make the buffer read-only.  (Bug#11127)
8534 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8536         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8537         (perl-calculate-indent): Return `noindent' in strings.
8539 2012-03-28  Sam Steingold  <sds@gnu.org>
8541         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8542         instead of the broken adhockery which does not prevent calendar
8543         buffers from being displayed at random after exit.
8544         (calendar-window-list, calendar-hide-window): Remove the broken
8545         adhockery.
8547 2012-03-28  Glenn Morris  <rgm@gnu.org>
8549         * replace.el (query-replace-map): Doc fix.
8551 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8553         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8554         contents.  (Bug#11109)
8556 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8558         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8559         (bug#11077).
8560         (avl-tree--check, avl-tree--check-node): New funs.
8562 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
8564         * window.el (switch-to-visible-buffer): New option.
8565         (switch-to-prev-buffer, switch-to-next-buffer):
8566         Observe switch-to-visible-buffer.  Make sure that checking for a window
8567         showing a buffer already is done on the same frame.
8569 2012-03-27  Glenn Morris  <rgm@gnu.org>
8571         * startup.el (mail-host-address): Doc fix.
8573 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8575         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8576         than 197 variables.
8578 2012-03-26  Ami Fischman  <ami@fischman.org>
8580         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8582 2012-03-26  Glenn Morris  <rgm@gnu.org>
8584         * files.el (save-buffers-kill-emacs): Doc fix.
8586         * startup.el (normal-top-level, command-line, command-line-1):
8587         Give them doc strings.
8589 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
8591         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8592         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8594 2012-03-25  Chong Yidong  <cyd@gnu.org>
8596         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8597         theme if it was previously enabled before (Bug#11031).
8599         * cus-theme.el (custom-theme-write-faces): Retrieve current face
8600         spec with custom-face-get-current-spec if its :shown-value is not
8601         determined yet (Bug#9337).
8602         (customize-create-theme, custom-theme-revert): Doc fixes.
8604         * button.el (button-at): Minor addition to docstring.
8606 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
8608         * vc/vc.el (vc-merge): Fix a prompt.
8610 2012-03-24  Chong Yidong  <cyd@gnu.org>
8612         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8613         point (Bug#9623).
8615         * button.el (button-at): Minor addition to docstring.
8617 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8619         * newcomment.el (comment-choose-indent): No space after BOL.
8621 2012-03-22  Sam Steingold  <sds@gnu.org>
8623         * window.el (switch-to-prev-buffer): Revert last patch because the
8624         bug turned out to be an advertised feature (Elisp manual 28.14).
8626 2012-03-22  Glenn Morris  <rgm@gnu.org>
8628         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
8629         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8631 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8633         * net/network-stream.el (network-stream-open-starttls): Make error
8634         message under Windows be less misleading.
8636 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
8638         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8639         understands (bug#9942).
8641 2012-03-22  Chong Yidong  <cyd@gnu.org>
8643         * simple.el (end-of-visible-line): Handle return value of
8644         next-single-property-change properly (Bug#9371).
8646 2012-03-22  Kenichi Handa  <handa@m17n.org>
8648         * international/quail.el (quail-insert-kbd-layout): Fix previous
8649         change.  To avoid unwanted bidi reordering, use
8650         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8652 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
8654         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8655         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8656         (ruby-beginning-of-indent): Be more careful with the difference
8657         between word-boundary and symbol boundary.
8658         (ruby-mode-syntax-table): Make : a symbol constituent.
8660 2012-03-21  Andreas Politz  <politza@fh-trier.de>
8662         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8664 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8666         * progmodes/etags.el (tags-completion-at-point-function):
8667         Improve last fix.
8669         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8671 2012-03-21  Sam Steingold  <sds@gnu.org>
8673         * progmodes/etags.el (tags-completion-at-point-function):
8674         Avoid the error when point is inside the pattern.
8676 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
8678         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8679         line (Bug#10855).
8681 2012-03-21  Drew Adams  <drew.adams@oracle.com>
8683         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8685 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
8687         * ido.el (ido-set-current-directory, ido-read-internal)
8688         (ido-choose-completion-string, ido-completion-help): Handle nil
8689         value of ido-completion-buffer (Bug#11008).
8691 2012-03-21  Sam Steingold  <sds@gnu.org>
8693         * window.el (switch-to-prev-buffer): Do not switch to a visible
8694         window previous buffer, just like with the frame previous buffers.
8696 2012-03-21  Chong Yidong  <cyd@gnu.org>
8698         * faces.el (make-face, make-empty-face, copy-face):
8699         * face-remap.el (face-remap-add-relative, face-remap-set-base):
8700         Doc fixes.
8702 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8704         * wid-edit.el (widget-complete-field): Remove (bug#11051).
8705         (widget-complete): Remove broken use of it.
8707 2012-03-20  Chong Yidong  <cyd@gnu.org>
8709         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8710         Use string-width and truncate-string-width to handle arbitrary
8711         characters.
8713 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
8715         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8716         to draw rectangles, not squares.  (Regression introduced by revno
8717         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8719 2012-03-18  Chong Yidong  <cyd@gnu.org>
8721         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8722         it is not yet defined (for temacs).
8724 2012-03-18  Leo Liu  <sdl.web@gmail.com>
8726         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8728 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8730         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8731         (ispell-choices-win-default-height, ispell-silently-savep)
8732         (ispell-dictionary-alist, ispell-encoding8-command)
8733         (ispell-check-version, ispell-aspell-find-dictionary)
8734         (ispell-valid-dictionary-list, ispell-words-keyword)
8735         (ispell-get-word, ispell-internal-change-dictionary)
8736         (ispell-region, ispell-skip-region-list)
8737         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8738         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8739         (ispell-message-text-end, ispell-message)
8740         (ispell-buffer-local-parsing): Doc fix.
8742 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
8744         * htmlfontify.el: Add support for code block fontification for ODT
8745         export (Bug #9914).
8746         (hfy-optimisations): Define new option
8747         `body-text-only'
8748         (hfy-fontify-buffer): Honor above setting.
8749         (hfy-begin-span, hfy-end-span): New routines factored out form
8750         `hfy-fontify-buffer'.
8751         (hfy-begin-span-handler, hfy-end-span-handler): New variables
8752         that permit insertion of custom tags.
8753         (hfy-fontify-buffer): Use above handlers.
8754         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8755         (hfy-face-to-css): Re-defined to be a variable.
8756         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
8757         over multiple runs.  This is made possible by having the caller let
8758         bind a special variable `hfy-user-sheet-assoc'.
8759         (htmlfontify-string): New defun.
8760         (hfy-compile-face-map): Make sure that the last char in the
8761         buffer is correctly fontified.
8762         (hfy-face-resolve-face): Whitespace only change.
8764 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8766         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8767         message more clear.
8769 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8771         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8773 2012-03-16  Alan Mackenzie  <acm@muc.de>
8775         Further optimise the handling of large macros.
8777         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8778         limit to a call of `c-literal-limits'.
8779         (c-determine-+ve-limit): New function.
8780         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8781         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8782         In CASE 5B, restrict a search limit to 500.
8783         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8785         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8786         Restrict macro bounds to +-500 from after-change's BEG END.
8788 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8790         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8792 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
8794         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8795         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
8797 2012-03-16  Glenn Morris  <rgm@gnu.org>
8799         * view.el (view-buffer, view-buffer-other-window)
8800         (view-buffer-other-frame): Doc fixes re special mode-class.
8802         * subr.el (eval-after-load): If named feature is provided not from
8803         a file, run after-load forms.  (Bug#10946)
8805         * calendar/calendar.el (calendar-insert-at-column):
8806         Handle non-unit-width characters a bit better.  (Bug#10978)
8808 2012-03-15  Chong Yidong  <cyd@gnu.org>
8810         * emacs-lisp/ring.el (ring-extend): New function.
8811         (ring-insert+extend): Extend the ring correctly (Bug#11019).
8813         * comint.el (comint-read-input-ring)
8814         (comint-add-to-input-history): Grow comint-input-ring lazily.
8816 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8818         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8819         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8821         * imenu.el: Fix multiple inheritance breakage (bug#9199).
8822         (imenu-add-to-menubar): Don't add a redundant index.
8823         (imenu-update-menubar): Handle a dynamically composed keymap.
8825 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
8827         * mail/sendmail.el (mail-encode-header):
8828         Bind rfc2047-encode-encoded-words to nil.
8830 2012-03-13  Glenn Morris  <rgm@gnu.org>
8832         * calendar/calendar.el (calendar-string-spread):
8833         Handle non-unit-width characters a bit better.  (Bug#10978)
8835 2012-03-13  Leo Liu  <sdl.web@gmail.com>
8837         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8838         directory and file as argument (Bug#10822).
8840 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8842         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8843         For dynamically generated code, follow $PC.
8844         (gdb-disassembly-handler-custom): Handle no function name case.
8846 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
8848         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8849         * emulation/ws-mode.el (ws-query-replace):
8850         * sort.el (sort-regexp-fields):
8851         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
8853 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8855         * dabbrev.el: Fix cycle completion order (bug#10963).
8856         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8857         (dabbrev-completion): Don't use an obarray; provide
8858         a cycle-sort-function.
8860 2012-03-12  Leo Liu  <sdl.web@gmail.com>
8862         * simple.el (kill-new): Use equal-including-properties for comparison.
8863         (kill-do-not-save-duplicates): Doc fix.
8865 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8867         * dabbrev.el: Fix cycle completion (bug#10963).
8868         Use lexical binding and wrap to 80 columns.
8869         (dabbrev-completion): Delay computing the list of completions.
8871 2012-03-12  Kenichi Handa  <handa@m17n.org>
8873         * international/quail.el (quail-insert-kbd-layout): Surround each
8874         row by LRO and PDF instead of inserting many LRMs.  Pad the left
8875         and right of each non-spacing marks.  Insert invisible space
8876         between lower and upper characters to prevent composition.
8878 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8880         * minibuffer.el (minibuffer-complete): Don't get confused when the
8881         function is run twice via different commands (bug#10958).
8882         (complete-with-action): Fix docstring.
8884 2012-03-12  Chong Yidong  <cyd@gnu.org>
8886         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8887         (nxml-completion-at-point-function): New function.
8888         (nxml-mode): Use it.
8889         (nxml-bind-meta-tab-to-complete-flag): Default to t.
8891         * emacs-lisp/package.el (package-unpack, package-unpack-single):
8892         Load generated autoloads file before byte compiling (Bug#10970).
8893         (package--make-autoloads-and-compile): New helper fun.
8895 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
8897         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8899 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
8901         * autorevert.el (auto-revert-handler): Ensure, that
8902         file-readable-p is applied only for local files or in
8903         auto-revert-tail-mode.
8905 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
8907         * server.el (server-eval-at): Handle non-tcp connections.
8908         Decode result string.
8910         * server.el (server-msg-size): New constant.
8911         (server-reply-print): New function.
8912         (server-eval-and-print): Use it.
8913         (server-eval-at): Use server-quote-arg and server-unquote-arg.
8914         Handle -print-nonl.
8916 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
8918         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8919         (Bug#10987).
8921 2012-03-11  Chong Yidong  <cyd@gnu.org>
8923         * simple.el (goto-line): Doc fix (Bug#9938).
8925         * subr.el (save-window-excursion): Doc fix (Bug#9979).
8927         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8928         when finished (Bug#10963).
8930 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
8932         * window.el (split-window-below): Fix bug in case where
8933         split-window-keep-point is nil (Bug#10971).
8935 2012-03-11  Juri Linkov  <juri@jurta.org>
8937         * replace.el (replace-highlight): Set isearch-word to nil
8938         unconditionally.  (Bug#10887)
8940 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
8942         * net/mairix.el (mairix-replace-invalid-chars): Rename from
8943         mairix-replace-illegal-chars; all callers changed.  Don't remove
8944         ^, ~, and = characters: they are meaningful in mairix search specs.
8945         (mairix-widget-create-query): Add usage information about mairix
8946         search forms: negating words, searching for substrings, etc.
8948 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
8950         * international/fontset.el (font-encoding-alist): Add an entry for
8951         ksx1001 (Bug#5667).
8953 2012-03-10  Richard Stallman  <rms@gnu.org>
8955         * mail/sendmail.el (mail-encode-header):
8956         Set rfc2047-encode-encoded-words.
8958         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8960         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8961         view buffer means not swapped.
8962         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8963         (rmail-write-region-annotate): Error if real text has disappeared.
8965         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8967 2012-03-10  Chong Yidong  <cyd@gnu.org>
8969         * emulation/cua-rect.el (cua--init-rectangles):
8970         * emulation/cua-base.el (cua--init-keymaps):
8971         Add delete-forward-char to remappings (Bug#9666).
8973 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
8975         * speedbar.el (speedbar-unhighlight-one-tag-line):
8976         Avoid unhighlighting due to frame switching (Bug#10275).
8978 2012-03-10  Chong Yidong  <cyd@gnu.org>
8980         * minibuffer.el (completion-in-region, completion-help-at-point):
8981         Give the completion field overlay a high priority (Bug#6830).
8983         * dired.el (dired-goto-file): Recognize absolute file name
8984         listings (Bug#7126).
8985         (dired-goto-file-1): New helper function.
8986         (dired-toggle-read-only): Inhibit warnings.
8988 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
8990         * net/dbus.el (dbus-property-handler): Return empty array if
8991         there are no properties.
8993 2012-03-09  Leo Liu  <sdl.web@gmail.com>
8995         * savehist.el (savehist-printable): Stricter check for string
8996         value (Bug#10937).
8998 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
9000         * mail/smtpmail.el (smtpmail-send-it):
9001         Bind coding-system-for-write to *-unix, so that FCC files are kept in
9002         valid mbox format.
9004 2012-03-09  Glenn Morris  <rgm@gnu.org>
9006         * files.el (dir-locals-find-file):
9007         Don't check result is regular, readable.
9008         (dir-locals-read-from-file): Demote errors.
9010 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
9012         * international/quail.el (quail-insert-kbd-layout):
9013         Insert invisible LRM characters before each character in a keyboard
9014         layout cell, to prevent their reordering by bidi display engine.
9015         For details, see the discussion in
9016         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9018 2012-03-08  Alan Mackenzie  <acm@muc.de>
9020         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9021         the starting position; make it extend the marked region when
9022         invoked repeatedly - all under appropriate circumstances.
9023         Fixes bugs #5525, #10906.
9025 2012-03-08  Glenn Morris  <rgm@gnu.org>
9027         * files.el (locate-dominating-file, dir-locals-find-file):
9028         Undo 2012-03-06 change.
9030 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
9032         * international/quail.el (quail-help):
9033         Force bidi-paragraph-direction be left-to-right.  See discussion in
9034         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9035         for the reason.
9037 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
9039         Avoid superfluous registering of signals.  (Bug#10807)
9041         * notifications.el (notifications-on-action-object)
9042         (notifications-on-close-object): New defvars.
9043         (notifications-on-action-signal, notifications-on-closed-signal):
9044         Unregister the signal if not needed any longer.
9045         (notifications-notify): Register `notifications-action-signal' or
9046         `notifications-closed-signal', if :on-action or :on-close has been
9047         passed as argument.
9049 2012-03-07  Chong Yidong  <cyd@gnu.org>
9051         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9052         non-X platforms.
9054 2012-03-06  Glenn Morris  <rgm@gnu.org>
9056         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9057         (x-disown-selection-internal, x-get-selection-internal):
9058         Doc fix (add arglist signatures).  (Bug#10783)
9060 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
9062         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9063         Handle breakpoints with no "type".
9065 2012-03-06  Glenn Morris  <rgm@gnu.org>
9067         * files.el (locate-dominating-file): Add optional predicate argument.
9068         (dir-locals-find-file): Make use of above change.
9070 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
9072         * info.el (Info-insert-dir): Also try "dir.gz".
9074 2012-03-06  Glenn Morris  <rgm@gnu.org>
9076         * files.el (dir-locals-find-file):
9077         Ignore non-readable or non-regular files.  (Bug#10928)
9079         * files.el (locate-dominating-file): Doc fix.
9081 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
9083         * calendar/calendar.el (calendar-set-mode-line):
9084         `getenv' returns a string.  (Bug#10951)
9086 2012-03-05  Leo Liu  <sdl.web@gmail.com>
9088         * simple.el (backward-delete-char-untabify): Constrain point to
9089         field (Bug#10939).
9091         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9093 2012-03-05  Chong Yidong  <cyd@gnu.org>
9095         * simple.el (count-words): If called from Lisp, return the word
9096         count, for symmetry with `count-lines'.  Arglist changed.
9097         (count-words--message): Args changed.  Consolidate counting code
9098         from count-words and count-words-region.
9099         (count-words-region): Caller changed.
9100         (count-lines-region): Make it an obsolete alias.
9102 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
9104         * saveplace.el (save-place-to-alist)
9105         (save-place-ignore-files-regexp): Allow value nil to disable this
9106         feature.
9108 2012-03-04  Chong Yidong  <cyd@gnu.org>
9110         * faces.el (face-spec-reset-face): For the default face, reset the
9111         attributes to default values (Bug#10748).
9113 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9115         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9116         previous patch: Check `message-send-mail-function', and not the
9117         default function (bug#10897).
9119 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
9121         * notifications.el (notifications-on-action-signal)
9122         (notifications-on-closed-signal): Check for unique service name of
9123         incoming event.  Fix error in removing entry.
9124         (top): Register for signals with wildcard service name.
9125         (notifications-notify): Use daemon unique service name for map entries.
9127 2012-03-04  Chong Yidong  <cyd@gnu.org>
9129         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9131 2012-03-04  Glenn Morris  <rgm@gnu.org>
9133         * abbrev.el (copy-abbrev-table, abbrev-table-p)
9134         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9135         (expand-abbrev, define-abbrev-table): Doc fixes.
9137 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9139         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9140         `message-default-send-mail-function' and not `send-mail-function'
9141         when doing the prompting for `sendmail-query-once' before sending
9142         in Message buffers (bug#10897).
9144         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9145         This is inconsistent with all the other stream functions, which leave
9146         the setting up to the higher levels (if so wanted) (bug#10931).
9148 2012-03-02  Alan Mackenzie  <acm@muc.de>
9150         Depessimize the handling of very large macros.
9152         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9153         (c-macro-cache-syntactic): New variables to implement a one
9154         element macro cache.
9155         (c-invalidate-macro-cache): New function.
9156         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9157         Adapt to use the new cache.
9158         (c-state-safe-place): Use better the cache of safe positions.
9159         (c-state-semi-nonlit-pos-cache)
9160         (c-state-semi-nonlit-pos-cache-limit):
9161         New variables for...
9162         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
9163         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9164         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9165         Use c-state-semi-safe-place.
9167         * progmodes/cc-langs.el (c-get-state-before-change-functions):
9168         Add c-invalidate-macro-cache to the C, C++, Obj entries.
9170 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
9172         * jka-compr.el (jka-compr-call-process):
9173         Apply `file-accessible-directory-p' only when the default directory is
9174         not remote.
9176 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
9178         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
9179         access of FILE2, if FILE1 does not exist.
9181         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9182         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9184         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9185         Add "PAGER=" to `process-environment'.
9187 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
9189         * progmodes/sql.el: Bug fix
9190         (sql-get-login-ext): Save login values in globals.
9191         (sql-get-login): Use new version of `sql-get-login-ext'.
9192         (sql-interactive-mode): Set global `sql-connection' to nil.
9193         (sql-connect): Set global values for connection.
9194         (sql-product-interactive): Save global values as buffer local.
9196 2012-02-29  Leo Liu  <sdl.web@gmail.com>
9198         * abbrev.el (define-abbrevs): Reset sys to nil.
9200 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9202         * files.el (file-equal-p): Rename from `files-equal-p'.
9203         Return nil when one or both files don't exist.
9204         (file-subdir-of-p): Now only top directory must exists,
9205         return nil if it doesn't.
9206         (copy-directory): No need to test with `file-subdir-of-p' after
9207         creating dir.
9208         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9209         to `file-equal-p'.
9211 2012-02-28  Glenn Morris  <rgm@gnu.org>
9213         * shell.el (shell-mode):
9214         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9215         * play/landmark.el (landmark-font-lock-face-O):
9216         * play/handwrite.el (handwrite):
9217         * play/gomoku.el (gomoku-O):
9218         * net/browse-url.el (browse-url-browser-display):
9219         * international/mule.el (define-charset):
9220         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9221         * filesets.el (filesets-find-file-delay):
9222         * eshell/em-xtra.el (eshell-xtra):
9223         * eshell/em-unix.el (eshell-grep):
9224         * emulation/viper.el (viper-mode):
9225         * emacs-lisp/regexp-opt.el (regexp-opt-group):
9226         * emacs-lisp/easymenu.el (easy-menu-define):
9227         * calendar/timeclock.el (timeclock-use-display-time):
9228         * bs.el (bs-mode):
9229         * bookmark.el (bookmark-save-flag):
9230         Doc fix (standardize possessive apostrophe usage).
9232 2012-02-27  Chong Yidong  <cyd@gnu.org>
9234         * emulation/viper-cmd.el (viper-intercept-ESC-key):
9235         Fix key-binding lookup for ESC key (Bug#9146).
9237         * font-lock.el (font-lock-specified-p): Rename from
9238         font-lock-spec-present.  Callers changed.
9240 2012-02-27  Daniel Hackney  <dan@haxney.org>
9242         * emacs-lisp/package.el (package-compute-transaction):
9243         Handle holding a package version to t in package-load-list.
9245 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
9247         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9248         (tramp-get-inode, tramp-get-device): Use cached values.
9250 2012-02-26  Alan Mackenzie  <acm@muc.de>
9252         Check there is a font-lock specification before doing initial
9253         fontification.
9255         * font-core.el (font-lock-mode): Move the conditional from
9256         :after-hook to font-lock-initial-fontify.
9257         (font-lock-default-function): Move the check for a specification
9258         to font-lock-spec-present.
9260         * font-lock.el (font-lock-initial-fontify): Call ...
9261         (font-lock-spec-present): New function.
9263 2012-02-26  Jim Blandy  <jimb@red-bean.com>
9265         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9266         (gdb-send): Apply it to the operand of the '-interpreter-exec
9267         console' command, so that we can pass arguments with (say) quotes
9268         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
9270 2012-02-26  Chong Yidong  <cyd@gnu.org>
9272         * help-fns.el (describe-function-1): Clarify description of
9273         remapping (Bug#10844).
9275         * files.el (files-equal-p): Doc fix.
9276         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
9277         and quit the loop once a mismatch is found.
9279 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
9281         * bs.el (bs--show-with-configuration): Don't throw an error
9282         if the window cannot be split; otherwise, subsequent calls to
9283         bs-show fail, restoring a stale window config.  (Bug#10882)
9285 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
9287         * term/ns-win.el (global-map): Bind ns-drag-file to
9288         ns-find-file (Bug#5855, Bug#10050).
9290 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
9292         * calendar/parse-time.el (parse-time-string): Allow extractor to
9293         return nil.
9295 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
9297         * net/tramp.el (tramp-file-name-for-operation):
9298         Add `files-equal-p' and `file-subdir-of-p'.
9300         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9301         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9302         Add COPY-CONTENTS argument.
9304 2012-02-25  Chong Yidong  <cyd@gnu.org>
9306         Add custom groups for VC backends, for consistency with vc-bzr.
9308         * vc/vc-arch.el (vc-arch):
9309         * vc/vc-cvs.el (vc-cvs):
9310         * vc/vc-git.el (vc-git):
9311         * vc/vc-hg.el (vc-hg):
9312         * vc/vc-mtn.el (vc-mtn):
9313         * vc/vc-rcs.el (vc-rcs):
9314         * vc/vc-sccs.el (vc-sccs):
9315         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9316         All relevant defcustoms reassigned.
9318 2012-02-25  Chong Yidong  <cyd@gnu.org>
9320         * newcomment.el (comment-styles): Add autoload (Bug#10868).
9322         * term/x-win.el (x-initialize-window-system): Reduce default for
9323         x-selection-timeout to 5 seconds (Bug#8869).
9325 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9327         * files.el (files-equal-p, file-subdir-of-p): New functions.
9328         (copy-directory): Error when trying to copy a directory on itself.
9329         Add missing copy-contents arg to tramp handler.
9330         * dired-aux.el (dired-copy-file-recursive): Same.
9331         (dired-create-files): Modify destination when source is equal to
9332         dest when copying files.
9333         Return also when dest is a subdir of source.  (Bug#10489)
9335 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
9337         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9338         (Bug#10874)
9340 2012-02-23  Alan Mackenzie  <acm@muc.de>
9342         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9343         parameter "after-hook:" to allow the expansion to run code after
9344         the execution of the mode hooks.
9346         * font-lock.el (font-lock-initial-fontify): New function extracted
9347         from font-lock-mode-internal.
9349         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9350         :after-hook.
9352 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9354         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9355         (completion--cache-all-sorted-completions): New function.
9356         (completion-all-sorted-completions): Use it.
9357         (completion--do-completion, minibuffer-force-complete):
9358         Use it to re-instate the flush hook.
9360         * icomplete.el (icomplete-completions): Replace last fix with a better
9361         one (bug#10850).
9363 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
9365         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9366         when it might call us back infinitely (bug#10797).
9368 2012-02-23  Glenn Morris  <rgm@gnu.org>
9370         * minibuffer.el (completion-category-overrides): Doc fix.
9372 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9374         * minibuffer.el (completion-table-with-context): Fix inf-loop.
9375         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9377 2012-02-23  Glenn Morris  <rgm@gnu.org>
9379         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9380         (authors-obsolete-files-regexps, authors-ignored-files)
9381         (authors-ambiguous-files, authors-renamed-files-alist):
9382         Add more entries.
9384 2012-02-23  Juri Linkov  <juri@jurta.org>
9386         * isearch.el (isearch-occur): Sync interactive spec with occur's
9387         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
9389         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9391 2012-02-22  Juri Linkov  <juri@jurta.org>
9393         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9394         (ucs-insert): Doc fix.  Check for hex digits in the string.
9395         Don't display `nil' in the error message.  (Bug#10857)
9397 2012-02-22  Alan Mackenzie  <acm@muc.de>
9399         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9401 2012-02-22  Glenn Morris  <rgm@gnu.org>
9403         * ffap.el (ffap-c-path):
9404         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
9406 2012-02-22  Chong Yidong  <cyd@gnu.org>
9408         * custom.el (load-theme): Doc fix.
9410 2012-02-22  Glenn Morris  <rgm@gnu.org>
9412         * dired-x.el (dired-guess-shell-alist-default):
9413         Remove escape sequences from nroff output.  (Bug#172)
9415 2012-02-21  Glenn Morris  <rgm@gnu.org>
9417         * vc/emerge.el (emerge-defvar-local):
9418         Set `permanent-local' property rather than unused `preserved'.
9420         * textmodes/picture.el (picture-delete-char): New alias.
9421         (picture-mode-map): Use it.  (Bug#10860)
9422         (picture-mode): Doc fix.
9424 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
9426         * newcomment.el (uncomment-region-default): Remove unused binding.
9428 2012-02-21  Glenn Morris  <rgm@gnu.org>
9430         * textmodes/picture.el (picture-motion, picture-motion-reverse)
9431         (picture-self-insert, picture-tab-chars): Doc fix.
9432         (picture-mode-map): Fix C-a, C-e.
9434 2012-02-20  Glenn Morris  <rgm@gnu.org>
9436         * emacs-lisp/authors.el (authors-aliases): Add another entry.
9438 2012-02-20  Leo Liu  <sdl.web@gmail.com>
9440         * icomplete.el (icomplete-completions): Check FROM arg before
9441         passing to substring (Bug#10850).
9443 2012-02-19  Chong Yidong  <cyd@gnu.org>
9445         * comint.el: Require ansi-color.
9446         (comint-output-filter-functions): Add ansi-color-process-output.
9448         * ansi-color.el: Don't set comint-output-filter-functions; it is
9449         now in the initial value defined in comint.el.
9450         (ansi-color-apply-face-function): New variable.
9451         (ansi-color-apply-on-region): Use it.
9452         (ansi-color-apply-overlay-face): New function.
9454         * shell.el (shell): No need to require ansi-color.
9455         (shell-mode): Use ansi-color-apply-face-function to highlight
9456         color escapes using font-lock-face property (Bug#10835).
9458 2012-02-19  Chong Yidong  <cyd@gnu.org>
9460         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9461         mode-line formats (Bug#10839).
9463 2012-02-18  Glenn Morris  <rgm@gnu.org>
9465         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9467         * mail/undigest.el (unforward-rmail-message): Doc fix.
9469         * saveplace.el (save-place-ignore-files-regexp): Add :version.
9471 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
9473         * international/characters.el (script-list): Sync with the latest
9474         Unicode Character Database.
9476 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
9478         * international/titdic-cnv.el: Remove duplicate coding tag.
9479         * language/cham.el: Likewise.
9480         * language/tai-viet.el: Likewise.
9482 2012-02-18  Glenn Morris  <rgm@gnu.org>
9484         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9485         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9486         (calendar-bahai-all-holidays-flag, calendar-other-dates):
9487         * calendar/diary-lib.el (diary-abbreviated-year-flag):
9488         * calendar/holidays.el (holiday-bahai-holidays)
9489         (calendar-holidays, list-holidays):
9490         Use utf-8 Bahá'í in doc-strings, menus, etc.
9492 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
9494         * saveplace.el (save-place-ignore-files-regexp): New variable
9495         allowing for excluding files from saving their location of point.
9496         The default value matches the temporary commit message editing
9497         files from Git, SVN, Bazaar, and Mercurial.
9498         (save-place-to-alist): Use it.
9500 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
9501             Stefan Monnier  <monnier@iro.umontreal.ca>
9503         * newcomment.el (uncomment-region-default): Don't leave extra space
9504         when an arg is provided (bug#8150).
9506 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
9508         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9510 2012-02-17  Glenn Morris  <rgm@gnu.org>
9512         * net/socks.el: Require network-stream.  (Bug#10599)
9514 2012-02-17  Kenichi Handa  <handa@m17n.org>
9516         * international/charprop.el:
9517         * international/uni-name.el:
9518         * international/uni-old-name.el:
9519         * international/uni-comment.el: Regenerate.
9521 2012-02-16  Glenn Morris  <rgm@gnu.org>
9523         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9524         Interactively in calendar buffer, give an error if not on a date.
9526 2012-02-15  Glenn Morris  <rgm@gnu.org>
9528         * shell.el (shell-delimiter-argument-list):
9529         Revert 2011-02-17 change.  (Bug#8027)
9531 2012-02-15  Chong Yidong  <cyd@gnu.org>
9533         * minibuffer.el (completion-at-point-functions): Doc fix.
9535         * custom.el (defcustom): Doc fix; note use of defvar.
9537 2012-02-15  Glenn Morris  <rgm@gnu.org>
9539         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9540         Doc fixes.
9542 2012-02-14  Glenn Morris  <rgm@gnu.org>
9544         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9546 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
9548         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9549         way the ports list is computed.
9550         (smtpmail-query-smtp-server): Prompt the user for a port number if
9551         we can't connect to any of the standard ports (bug#10810).
9553 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
9555         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9557 2012-02-13  Glenn Morris  <rgm@gnu.org>
9559         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
9561 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
9563         * net/gnutls.el (gnutls-trustfiles): New variable.
9564         (gnutls-negotiate): Use it.
9566 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
9568         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9569         does its stuff if Gnus is running.
9571 2012-02-13  Alan Mackenzie  <acm@muc.de>
9573         Fix a loop in c-set-fl-decl-start.
9575         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9576         c-backward-syntactic-ws actually moves backwards.
9578 2012-02-13  Leo Liu  <sdl.web@gmail.com>
9580         * net/rcirc.el (rcirc-markup-attributes): Move point to the
9581         beginning so that all \C-o chars are removed.
9583 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
9585         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9587 2012-02-12  Alan Mackenzie  <acm@muc.de>
9589         Fix infinite loop with long macros.
9590         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9592 2012-02-12  Chong Yidong  <cyd@gnu.org>
9594         * window.el (display-buffer): Doc fix (Bug#10785).
9596 2012-02-12  Glenn Morris  <rgm@gnu.org>
9598         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9599         (x-disown-selection-internal, x-get-selection-internal):
9600         Sync docs with the xselect.c versions.
9602         * allout-widgets.el: Add missing license notice.
9604 2012-02-11  Glenn Morris  <rgm@gnu.org>
9606         * select.el (x-get-selection-internal, x-own-selection-internal)
9607         (x-disown-selection-internal):
9608         * x-dnd.el (x-get-selection-internal): Update declarations.
9610         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9612         * window.el (window-sides-slots):
9613         * tool-bar.el (tool-bar-position):
9614         * term/xterm.el (xterm-extra-capabilities):
9615         * ses.el (ses-self-reference-early-detection):
9616         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9617         (verilog-auto-wire-type)
9618         (verilog-auto-delete-trailing-whitespace)
9619         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9620         (verilog-auto-tieoff-declaration):
9621         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9622         (sql-oracle-statement-starters, sql-oracle-scan-on):
9623         * progmodes/prolog.el (prolog-align-comments-flag)
9624         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9625         (prolog-left-indent-regexp, prolog-paren-indent-p)
9626         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9627         (prolog-types, prolog-mode-specificators)
9628         (prolog-determinism-specificators, prolog-directives)
9629         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9630         (prolog-electric-dot-flag)
9631         (prolog-electric-dot-full-predicate-template)
9632         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9633         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9634         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9635         (prolog-program-switches, prolog-prompt-regexp)
9636         (prolog-debug-on-string, prolog-debug-off-string)
9637         (prolog-trace-on-string, prolog-trace-off-string)
9638         (prolog-zip-on-string, prolog-zip-off-string)
9639         (prolog-use-standard-consult-compile-method-flag)
9640         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9641         (prolog-imenu-max-lines, prolog-info-predicate-index)
9642         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9643         (prolog-char-quote-workaround):
9644         * progmodes/cc-vars.el (c-defun-tactic):
9645         * net/tramp.el (tramp-encoding-command-interactive)
9646         (tramp-local-end-of-line):
9647         * net/soap-client.el (soap-client):
9648         * net/netrc.el (netrc-file):
9649         * net/gnutls.el (gnutls):
9650         * minibuffer.el (completion-category-overrides)
9651         (completion-cycle-threshold)
9652         (completion-pcm-complete-word-inserts-delimiters):
9653         * man.el (Man-name-local-regexp):
9654         * mail/feedmail.el (feedmail-display-full-frame):
9655         * international/characters.el (glyphless-char-display-control):
9656         * eshell/em-ls.el (eshell-ls-date-format):
9657         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9658         (lisp-lambda-list-keyword-parameter-indentation)
9659         (lisp-lambda-list-keyword-parameter-alignment):
9660         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9661         * dired-x.el (dired-omit-verbose):
9662         * cus-theme.el (custom-theme-allow-multiple-selections):
9663         * calc/calc.el (calc-highlight-selections-with-faces)
9664         (calc-lu-field-reference, calc-lu-power-reference)
9665         (calc-note-threshold):
9666         * battery.el (battery-mode-line-limit):
9667         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9668         (archive-7z-update):
9669         * allout.el (allout-prefixed-keybindings)
9670         (allout-unprefixed-keybindings)
9671         (allout-inhibit-auto-fill-on-headline)
9672         (allout-flattened-numbering-abbreviation):
9673         * allout-widgets.el (allout-widgets-auto-activation)
9674         (allout-widgets-icons-dark-subdir)
9675         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9676         (allout-widgets-theme-dark-background)
9677         (allout-widgets-theme-light-background)
9678         (allout-widgets-item-image-properties-emacs)
9679         (allout-widgets-item-image-properties-xemacs)
9680         (allout-widgets-run-unit-tests-on-load)
9681         (allout-widgets-time-decoration-activity)
9682         (allout-widgets-hook-error-post-time)
9683         (allout-widgets-track-decoration):
9684         Add missing :version tags to new defcustoms and defgroups.
9686         * progmodes/sql.el (sql-ansi-statement-starters)
9687         (sql-oracle-statement-starters): Add custom type.
9689         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9690         (prolog-system-version): Give it a type.
9692 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
9694         * term/pc-win.el (x-select-text, x-selection-owner-p)
9695         (x-own-selection-internal, x-disown-selection-internal)
9696         (x-get-selection-internal): Sync doc strings and argument lists
9697         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
9699 2012-02-11  Leo Liu  <sdl.web@gmail.com>
9701         * progmodes/python.el (python-end-of-statement): Fix infinite
9702         loop.  (Bug#10788)
9704 2012-02-10  Glenn Morris  <rgm@gnu.org>
9706         * international/mule-cmds.el (unify-8859-on-encoding-mode)
9707         (unify-8859-on-decoding-mode): Properly mark as obsolete.
9709 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
9711         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9712         about SMTP before checking the From header.
9714         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9715         into own function for reuse by emacsbug.el.
9717 2012-02-10  Leo Liu  <sdl.web@gmail.com>
9719         * subr.el (condition-case-unless-debug): Rename from
9720         condition-case-no-debug.  All callers changed.
9721         (with-demoted-errors): Fix caller.
9723         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9724         * nxml/rng-valid.el (rng-do-some-validation):
9725         * emacs-lisp/package.el (package-refresh-contents)
9726         (package-menu-execute):
9727         * desktop.el (desktop-create-buffer):
9728         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9730 2012-02-10  Glenn Morris  <rgm@gnu.org>
9732         * textmodes/bibtex.el:
9733         Add missing :version tags for new/changed defcustoms.
9735         * files.el (remote-file-name-inhibit-cache): Doc fixes.
9737 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
9739         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9740         (smtpmail-via-smtp): Use it, or fall back on the From address.
9741         (smtpmail-send-it): Ditto.
9743 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9745         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9746         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
9747         (byte-compile-tmp-var): New const.
9748         (byte-compile-defvar): Use it to minimize .elc size.
9749         Just use `defvar' rather than simulate it (bug#10761).
9751 2012-02-09  Glenn Morris  <rgm@gnu.org>
9753         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
9755         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9756         Add :version tags.
9758         * progmodes/compile.el (compilation-error-screen-columns)
9759         (compilation-first-column, compilation-filter-start): Doc fixes.
9761         * vc/log-view.el (log-view-toggle-entry-display):
9762         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9764         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9765         (report-emacs-bug-can-use-xdg-email):
9766         (report-emacs-bug-insert-to-mailer): Doc fixes.
9767         (report-emacs-bug): Message fix.
9769         * net/browse-url.el (browse-url-can-use-xdg-open)
9770         (browse-url-xdg-open): Doc fixes.
9772         * electric.el (electric-indent-mode, electric-pair-mode)
9773         (electric-layout-rules, electric-layout-mode): Doc fixes.
9774         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9776 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
9778         * server.el (server-unselect-display): Don't inadvertently kill
9779         the current buffer.  (Bug#10729)
9781 2012-02-08  Glenn Morris  <rgm@gnu.org>
9783         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9784         (sql-list-table): Doc fixes.
9786         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9787         Comment out (does nothing).
9789         * completion.el (dynamic-completion-mode):
9790         * dirtrack.el (dirtrack-debug-mode):
9791         * electric.el (electric-layout-mode):
9792         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9793         * face-remap.el (text-scale-mode, buffer-face-mode):
9794         * iimage.el (iimage-mode):
9795         * image-mode.el (image-transform-mode):
9796         * minibuffer.el (completion-in-region-mode):
9797         * scroll-lock.el (scroll-lock-mode):
9798         * simple.el (next-error-follow-minor-mode):
9799         * tar-mode.el (tar-subfile-mode):
9800         * tooltip.el (tooltip-mode):
9801         * vcursor.el (vcursor-use-vcursor-map):
9802         * wid-browse.el (widget-minor-mode):
9803         * emulation/tpu-edt.el (tpu-edt-mode):
9804         * emulation/tpu-extras.el (tpu-cursor-free-mode):
9805         * international/iso-ascii.el (iso-ascii-mode):
9806         * language/thai-util.el (thai-word-mode):
9807         * mail/supercite.el (sc-minor-mode):
9808         * net/goto-addr.el (goto-address-mode):
9809         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9810         * progmodes/cwarn.el (cwarn-mode):
9811         * progmodes/flymake.el (flymake-mode):
9812         * progmodes/glasses.el (glasses-mode):
9813         * progmodes/hideshow.el (hs-minor-mode):
9814         * progmodes/pascal.el (pascal-outline-mode):
9815         * textmodes/enriched.el (enriched-mode):
9816         * vc/smerge-mode.el (smerge-mode):
9817         Doc fixes (minor mode argument).
9819 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
9821         * ls-lisp.el (ls-lisp-sanitize): New function.
9822         (ls-lisp-insert-directory): Use it to fix or remove any elements
9823         in file-alist with missing attributes.  (Bug#4673)
9825 2012-02-07  Alan Mackenzie  <acm@muc.de>
9827         Fix spurious recognition of c-in-knr-argdecl.
9829         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9830         putative K&R region.
9832 2012-02-07  Alan Mackenzie  <acm@muc.de>
9834         * progmodes/cc-engine.el (c-forward-objc-directive):
9835         Prevent looping in "#pragma mark @implementation".
9837 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
9839         * notifications.el (notifications-on-closed-signal): Make `reason'
9840         optional.  (Bug#10744)
9842 2012-02-07  Glenn Morris  <rgm@gnu.org>
9844         * emacs-lisp/easy-mmode.el (define-minor-mode):
9845         Doc fixes for the macro and the mode it defines.
9847         * image.el (imagemagick-types-inhibit): Doc fix.
9849         * cus-start.el (imagemagick-render-type): Add it.
9851 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
9853         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9854         Set the default at load time, too, so that `font-lock-fontify-buffer'
9855         can be called without setting up the entire mode first.  This fixes
9856         a bug in `mm-inline-text' with C MIME parts.
9858 2012-02-06  Chong Yidong  <cyd@gnu.org>
9860         * simple.el (list-processes--refresh): Delete exited processes
9861         (Bug#8094).
9863         * comint.el (comint-next-prompt): next-single-char-property-change
9864         and prev-single-char-property-change never return nil (Bug#8657).
9866         * custom.el (defcustom): Doc fix (Bug#9711).
9868 2012-02-05  Chong Yidong  <cyd@gnu.org>
9870         * cus-edit.el (custom-variable-reset-backup): Quote the value
9871         before storing it in the customized-value property (Bug#6712).
9872         (custom-display): Add a customization type tag.
9873         (custom-buffer-create-internal): Improve tooltip message.
9875         * wid-edit.el (widget-field-value-get): New optional arg to
9876         suppress trailing whitespace truncation.
9877         (character): Use it (Bug#2689).
9879 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
9881         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9882         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9884 2012-02-05  Chong Yidong  <cyd@gnu.org>
9886         * cus-edit.el (custom-variable-value-create): For mismatched
9887         types, show the current value (Bug#7600).
9889         * custom.el (defcustom): Doc fix.
9891 2012-02-05  Glenn Morris  <rgm@gnu.org>
9893         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9895 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
9897         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9898         (pp-buffer): Use `ignore-errors', `looking-at-p'.
9899         (pp-last-sexp): Use `looking-at-p'.
9901 2012-02-04  Glenn Morris  <rgm@gnu.org>
9903         * files.el (revert-buffer):
9904         Doc fix (mention revert-buffer-in-progress-p).
9906         * emacs-lisp/ert-x.el (ert-simulate-command):
9907         Check deferred-action-list (which is obsolete) is bound.
9909         * subr.el (with-wrapper-hook): Doc fixes.
9911         * simple.el (filter-buffer-substring-functions)
9912         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9914 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
9916         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9917         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
9919 2012-02-04  Leo Liu  <sdl.web@gmail.com>
9921         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9923 2012-02-04  Glenn Morris  <rgm@gnu.org>
9925         * image.el (image-extension-data): Add obsolete alias.
9927         * isearch.el (isearch-update): Doc fix.
9929         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9931         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9933 2012-02-03  Glenn Morris  <rgm@gnu.org>
9935         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
9936         (image-animate-timeout): Doc fix.
9938         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9940 2012-02-02  Glenn Morris  <rgm@gnu.org>
9942         * server.el (server-auth-dir): Doc fix.
9943         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
9945         * subr.el (run-mode-hooks): Doc fix.
9947 2012-02-02  Juri Linkov  <juri@jurta.org>
9949         * image-mode.el (image-toggle-display-image): Remove tautological
9950         `major-mode' from the `derived-mode-p' test.
9952 2012-02-02  Kenichi Handa  <handa@m17n.org>
9954         * composite.el (compose-region): Cancel previous change.
9956 2012-02-02  Kenichi Handa  <handa@m17n.org>
9958         * composite.el (compose-region, compose-string): Signal error for
9959         a null string component (Bug#6988).
9961 2012-02-01  Chong Yidong  <cyd@gnu.org>
9963         * view.el (view-buffer-other-window, view-buffer-other-frame):
9964         Handle special modes like view-buffer (Bug#10650).
9965         (view-buffer): Simplify.
9967         * frame.el (set-frame-font): Tweak meaning of third argument.
9969         * dynamic-setting.el (font-setting-change-default-font):
9970         Use set-frame-font (Bug#9982).
9972 2012-02-01  Glenn Morris  <rgm@gnu.org>
9974         * progmodes/compile.el (compilation-internal-error-properties):
9975         Respect compilation-first-column in the "*compilation*" buffer.
9977         * emacs-lisp/easy-mmode.el (define-minor-mode):
9978         Relax :variable's test for a named function.
9980 2012-01-31  Alan Mackenzie  <acm@muc.de>
9982         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9983         off by one error.
9985 2012-01-31  Chong Yidong  <cyd@gnu.org>
9987         * frame.el (set-frame-font): New arg ALL-FRAMES.
9989         * menu-bar.el (menu-set-font): Use set-frame-font.
9991         * faces.el (face-spec-reset-face): Don't apply unspecified
9992         attribute values to the default face.
9994 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
9996         * progmodes/cwarn.el (cwarn): Remove dead link.
9997         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9998         Remove * from defcustom docstrings.
9999         (turn-on-cwarn-mode): Make obsolete.
10000         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10001         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10003 2012-01-31  Glenn Morris  <rgm@gnu.org>
10005         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10006         Fix :variable handling of mode a symbol not equal to modefun.
10007         Allow named functions to be used as the cdr of :variable.
10009 2012-01-30  Glenn Morris  <rgm@gnu.org>
10011         * emacs-lisp/authors.el (authors-fixed-entries):
10012         Remove reference to deleted file rnewspost.el.
10014 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
10016         * window.el (window-with-parameter): Remove unused variable `windows'.
10017         (window--side-check): Remove unused variable `code'.
10018         (window--resize-siblings): Remove unused variable `first'.
10019         (adjust-window-trailing-edge): Remove unused variable `failed'.
10020         (window-deletable-p, window--delete): Remove unused variable `buffer'.
10021         Use `let', not `let*'.
10022         (balance-windows-2): Remove unused variable `found'.
10023         (window--state-put-2): Remove unused variable `splits'.
10024         (window-state-put): Remove unused variable `selected'.
10025         (same-window-p): Use `string-match-p'.
10026         (display-buffer-assq-regexp): Remove unused variable `value'.
10027         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10028         Mark argument ALIST as ignored.
10029         (pop-to-buffer): Remove unused variable `old-window'.
10031 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
10033         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10034         and .lzma compressed files.
10036 2012-01-29  Chong Yidong  <cyd@gnu.org>
10038         * frame.el (window-system-default-frame-alist): Doc fix.
10040         * dynamic-setting.el (font-setting-change-default-font): Don't
10041         change the default face if SET-FONT argument is non-nil (Bug#9982).
10043 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
10045         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10047 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
10049         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10050         breakpoints in files outside current directory (Bug#6098).
10052 2012-01-29  Chong Yidong  <cyd@gnu.org>
10054         * progmodes/python.el: Require ansi-color at top-level.
10056         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10057         Define and use in Emacs Lisp mode (Bug#9360).
10058         (lisp-mode-abbrev-table): Add doc.
10059         (lisp-mode-variables): Don't set local-abbrev-table.
10060         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10062 2012-01-28  Roland Winkler  <winkler@gnu.org>
10064         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10066 2012-01-28  Roland Winkler  <winkler@gnu.org>
10068         * textmodes/bibtex.el (bibtex-entry-alist): New function.
10069         (bibtex-set-dialect): Use it.  Either set global values of
10070         dialect-dependent variables or bind these variables buffer-locally
10071         (Bug#10254).
10072         (bibtex-mode): Call bibtex-set-dialect via
10073         hack-local-variables-hook.
10074         (bibtex-dialect): Update docstring.
10075         Add safe-local-variable predicate.
10076         (bibtex-entry-alist, bibtex-field-alist): Initialize via
10077         bibtex-set-dialect.
10078         (bibtex-mode-map): Define menu for each dialect.
10079         (bibtex-entry): Fix docstring.
10081 2012-01-28  Chong Yidong  <cyd@gnu.org>
10083         * eshell/esh-arg.el (eshell-quote-argument): New function.
10085         * eshell/esh-ext.el (eshell-invoke-batch-file):
10086         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10087         first arg to eshell-parse-command (Bug#10523).
10089 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10091         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10092         `default-directory' is non-nil.
10094 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10096         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10097         line that displays system-configuration-options.  (Bug#9924)
10099 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10101         * descr-text.el (describe-char): Show information about POS, in
10102         addition to information about the character at POS.  Improve and
10103         update the doc string.  Change "code point" to "code point in
10104         charset", to avoid confusion with the character's Unicode code
10105         point shown above that.  (Bug#10129)
10107 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10109         * descr-text.el (describe-char): Show the raw character, not only
10110         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
10111         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10112         for the reasons.
10114 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
10116         * emacs-lisp/package.el (package-install):
10117         Run package-refresh-contents if there is no archive yet (Bug#9798).
10119 2012-01-28  Chong Yidong  <cyd@gnu.org>
10121         * emacs-lisp/package.el (package-maybe-load-descriptor):
10122         New function, split from package-maybe-load-descriptor.
10123         (package-maybe-load-descriptor): Use it.
10124         (package-download-transaction): Fully load required packages
10125         inside the loop, so that `require' calls work (Bug#10593).
10126         (package-install): No need to call package-initialize now.
10128 2012-01-28  Chong Yidong  <cyd@gnu.org>
10130         * simple.el (deactivate-mark): Doc fix (Bug#8614).
10132         * tooltip.el (tooltip-mode): Doc fix.
10133         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10135         * frame.el (set-cursor-color): Doc fix (Bug#352).
10137         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10138         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10140         * cus-edit.el (custom-buffer-create-internal): Fix search button
10141         action (Bug#10542).
10142         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10144 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
10146         * dired.el (dired-mark-files-regexp):
10147         Include any subdirectory components.  (Bug#10445)
10149 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10151         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10152         Handle [host]:port syntax.  (Bug#10533)
10154 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
10156         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10158 2012-01-26  Glenn Morris  <rgm@gnu.org>
10160         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10161         * term.el (term-raw-escape-map): Use Control-X-prefix.
10162         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
10164 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
10166         * window.el (window-state-get, window--state-get-1): Don't deal
10167         with fixed-sizeness of windows.  Simplify code.
10169 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
10171         * window.el (window--state-get-1, window--state-put-2):
10172         Don't save and restore the mark.
10174 2012-01-25  Chong Yidong  <cyd@gnu.org>
10176         * custom.el (custom-variable-p): Doc fix.
10178 2012-01-25  Glenn Morris  <rgm@gnu.org>
10180         * dired.el (dired-goto-file): Handle some of the more common
10181         characters that `ls -b' escapes.  (Bug#10596)
10183         * progmodes/compile.el (compilation-next-error-function):
10184         Respect compilation-first-column in the "*compilation*" buffer.
10185         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
10187         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
10189 2012-01-24  Glenn Morris  <rgm@gnu.org>
10191         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
10193 2012-01-24  Julien Danjou  <julien@danjou.info>
10195         * color.el (color-rgb-to-hsl): Fix value computing.
10196         (color-hue-to-rgb): New function.
10197         (color-hsl-to-rgb): New function.
10198         (color-clamp, color-saturate-hsl, color-saturate-name)
10199         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10200         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10202 2012-01-24  Glenn Morris  <rgm@gnu.org>
10204         * vc/vc-rcs.el (vc-rcs-create-tag):
10205         * vc/vc-sccs.el (vc-sccs-create-tag):
10206         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
10208 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10210         * eshell/esh-util.el (eshell-read-hosts-file):
10211         Skip comment lines.  (Bug#10549)
10213         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
10215 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
10217         * subr.el (display-delayed-warnings): Doc fix.
10218         (collapse-delayed-warnings): New function to collapse identical
10219         adjacent warnings.
10220         (delayed-warnings-hook): Add it.
10222 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
10224         * net/tramp.el (tramp-action-login): Set connection property "login-as".
10226         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10227         (tramp-default-user-alist): Don't add "pscp".
10228         (tramp-do-copy-or-rename-file-out-of-band): Use connection
10229         property "login-as", if set.  (Bug#10530)
10231 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
10233         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10234         "plink1" and "psftp".  (Bug#10530)
10236 2012-01-21  Kenichi Handa  <handa@m17n.org>
10238         * international/mule-cmds.el (prefer-coding-system): Show a
10239         warning message if the default value of file-name-coding-system
10240         was not changed.
10242 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10244         * windmove.el (windmove-reference-loc):
10245         Fix windmove-reference-loc miscalculation.
10247 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
10249         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10250         default unit.
10252 2012-01-21  Glenn Morris  <rgm@gnu.org>
10254         * international/mule.el (auto-coding-alist): Add .tbz.
10256         * files.el (local-enable-local-variables): Doc fix.
10257         (inhibit-local-variables-regexps): Rename from
10258         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
10259         Doc fix.  Add some extensions from auto-coding-alist.
10260         (inhibit-local-variables-suffixes):
10261         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
10262         (inhibit-local-variables-p):
10263         New function, extracted from set-auto-mode-1.
10264         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
10265         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
10266         (hack-local-variables): Doc fix.  Make the mode-only case
10267         respect enable-local-variables and friends.
10268         Respect inhibit-local-variables-regexps for file-locals, but
10269         not for directory-locals.
10270         (set-visited-file-name):
10271         Take account of inhibit-local-variables-regexps.
10272         Whether it applies may change as the file name is changed.
10273         * jka-cmpr-hook.el (jka-compr-install):
10274         * jka-compr.el (jka-compr-uninstall):
10275         Update for inhibit-first-line-modes-suffixes name change.
10277 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
10279         * help-macro.el (make-help-screen): Temporarily restore original
10280         binding for minor-mode-map-alist (Bug#10454).
10282 2012-01-19  Julien Danjou  <julien@danjou.info>
10284         * color.el (color-name-to-rgb): Use the white color to find the max
10285         color component value and return correctly computed values.
10286         (color-name-to-rgb): Add missing float conversion for max value.
10288 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
10290         * window.el (window--state-get-1, window-state-get): Do not use
10291         special state value for window-persistent-parameters.
10292         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
10293         (window--state-put-2): Reset all window parameters to nil before
10294         assigning values of persistent parameters.
10296 2012-01-18  Alan Mackenzie  <acm@muc.de>
10298         Eliminate sluggishness and hangs in fontification of "semicolon
10299         deserts".
10301         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10302         Change value 10000 -> 3000.
10303         (c-state-safe-place): Reformulate so it doesn't stack up an
10304         infinite number of wrong entries in c-state-nonlit-pos-cache.
10305         (c-determine-limit-get-base, c-determine-limit): New functions to
10306         determine backward search limits disregarding literals.
10307         (c-find-decl-spots): Amend commenting.
10308         (c-cheap-inside-bracelist-p): New function which detects "={".
10310         * progmodes/cc-fonts.el
10311         (c-make-font-lock-BO-decl-search-function): Give a limit to a
10312         backward search.
10313         (c-font-lock-declarations): Fix an occurrence of point being
10314         undefined.  Check additionally for point being in a bracelist or
10315         near a macro invocation without a semicolon so as to avoid a
10316         fruitless time consuming search for a declarator.  Give a more
10317         precise search limit for declarators using the new
10318         c-determine-limit.
10320 2012-01-18  Glenn Morris  <rgm@gnu.org>
10322         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10323         (set-auto-mode): Doc fixes.
10325 2012-01-17  Glenn Morris  <rgm@gnu.org>
10327         * isearch.el (search-nonincremental-instead): Fix doc typo.
10329         * dired.el (dired-insert-directory): Handle newlines in directory name.
10330         (dired-build-subdir-alist): Unescape newlines in directory name.
10332 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
10334         * net/tramp.el (tramp-local-end-of-line): New defcustom.
10335         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10336         (tramp-action-terminal): Use it.  (Bug#10530)
10338 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10340         * minibuffer.el (completion--replace): Strip properties (bug#10062).
10342 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
10344         * window.el (window-state-ignored-parameters): Remove variable.
10345         (window--state-get-1): Rename argument MARKERS to IGNORE.
10346         Handle persistent window parameters.  Make copy of clone-of
10347         parameter only if requested.  (Bug#10348)
10348         (window--state-put-2): Install a window parameter only if it has
10349         a non-nil value or an existing parameter shall be overwritten.
10351 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
10353         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10355 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
10357         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10358         don't pass the (nil) value of `upnode' to string-match.
10360 2012-01-14  Chong Yidong  <cyd@gnu.org>
10362         * startup.el (command-line): Fix X resource class for cursorColor.
10363         Fix values recognized by the cursorBlink resource.
10365 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
10367         * epg.el (epg--make-temp-file): Avoid permission race condition
10368         when running on old Emacs versions (bug#10403).
10370 2012-01-14  Glenn Morris  <rgm@gnu.org>
10372         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10374 2012-01-13  Alan Mackenzie  <acm@muc.de>
10376         Fix filling for when filladapt mode is enabled.
10378         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10379         c-mask-paragraph, pass in `fill-paragraph' rather than
10380         `fill-region-as-paragraph'.  (This is a reversion of a previous
10381         change.)
10382         * progmodes/cc-mode.el (c-basic-common-init):
10383         Make fill-paragraph-handle-comment buffer local and set it to nil.
10385 2012-01-13  Glenn Morris  <rgm@gnu.org>
10387         * dired.el (dired-switches-escape-p): New function.
10388         (dired-insert-directory): Use dired-switches-escape-p.
10389         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
10391         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
10393 2012-01-12  Glenn Morris  <rgm@gnu.org>
10395         * mail/sendmail.el (mail-mode): Update paragraph-separate for
10396         changes in adaptive-fill-regexp.  (Bug#10276)
10398 2012-01-11  Alan Mackenzie  <acm@muc.de>
10400         Fix Emacs bug #10463 - put `widen's around the critical spots.
10402         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10403         widen around each invocation of c-state-pp-to-literal.  Remove an
10404         unused let variable.
10406 2012-01-11  Glenn Morris  <rgm@gnu.org>
10408         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
10409         Doc fix.
10411 2012-01-10  Chong Yidong  <cyd@gnu.org>
10413         * net/network-stream.el (network-stream-open-starttls):
10414         Avoid emitting a confusing error message when the server gives a bad
10415         response to the capability command.
10417 2012-01-10  Glenn Morris  <rgm@gnu.org>
10419         * mail/unrmail.el (unrmail): Tweak previous change.
10421 2012-01-09  Chong Yidong  <cyd@gnu.org>
10423         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10425 2012-01-08  Alan Mackenzie  <acm@muc.de>
10427         Optimise font locking in long enum definitions.
10429         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10430         arm to a cond form to handle enums.
10431         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10432         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10434 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10436         * files.el (move-file-to-trash): Preserve default file modes on error.
10437         (Bug#10401)
10439 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10441         * faces.el (set-face-attribute): Clarify the meaning of the nil
10442         frame (bug#10294).
10444         * subr.el (with-selected-frame): Mention that the selected frame
10445         is restored (bug#9980).
10447         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10448         (bug#9759).
10450         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10451         (password-read): Don't autoload unused function.
10453 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
10455         * progmodes/which-func.el (which-func-mode): Turn into a
10456         non-interactive function and mark as obsolete (bug#10428).
10458 2012-01-06  Chong Yidong  <cyd@gnu.org>
10460         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10461         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10462         functions, along with 1 and -1.
10464 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
10466         * time.el (display-time-load-average)
10467         (display-time-default-load-average): Doc fixes.  See the thread
10468         starting at
10469         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10470         for the details.
10472 2012-01-06  Glenn Morris  <rgm@gnu.org>
10474         * mail/unrmail.el (unrmail): Give an explicit error if the input file
10475         has no messages.  (Bug#10377)
10477         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10478         than Info-edit.  (Bug#10385)
10480         * time.el (display-time-load-average, display-time-next-load-average):
10481         Doc fixes.
10483         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10484         local setting of buffer-read-only to the input buffer.  (Bug#10419)
10486         * calendar/calendar.el (calendar-mode):
10487         Locally set scroll-margin to 0.  (Bug#10379)
10489 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
10491         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
10493 2012-01-05  Glenn Morris  <rgm@gnu.org>
10495         * eshell/em-unix.el (diff-no-select): Autoload it.
10496         (eshell/diff): Use diff-no-select.  (Bug#10420)
10498 2012-01-05  Chong Yidong  <cyd@gnu.org>
10500         * shell.el (shell-dynamic-complete-functions): Revert last change.
10501         (shell-command-completion-function): New function.
10502         (shell-completion-vars): Use it to implement
10503         shell-completion-execonly (Bug#10417).
10505         * custom.el (enable-theme): Don't set custom-safe-themes.
10507         * cus-theme.el (custom-theme-merge-theme):
10508         Ignore custom-enabled-themes and custom-safe-themes.
10510 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
10512         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10513         first prompt in `sql-interacive-mode'.
10514         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10515         keywords.
10516         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10517         (sql-product-interactive): Bug fix: Set `sql-buffer' in
10518         context of original buffer.  Invoke `sql-login-hook'.
10520 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
10522         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10523         letters in cite-prefix.
10525 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10527         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10529 2012-01-03  Chong Yidong  <cyd@gnu.org>
10531         * shell.el (shell-dynamic-complete-functions):
10532         Put pcomplete-completions-at-point, so as to try
10533         comint-filename-completion first (Bug#10417).
10535 2012-01-02  Richard Stallman  <rms@gnu.org>
10537         * battery.el (battery-status-function):
10538         Detect when to use battery-yeeloong-sysfs.
10539         (battery-echo-area-format): Add string for Yeeloong.
10540         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10541         (battery-yeeloong-sysfs): New function.
10543 2012-01-02  Chong Yidong  <cyd@gnu.org>
10545         * dirtrack.el (dirtrack-list): Eliminate unused third element.
10546         (dirtrack): Merge code for handling relative filenames in prompt
10547         from shell-dir-cookie-watcher.
10548         (dirtrack-debug-message): New arg to avoid excess format calls.
10550         * shell.el (shell-dir-cookie-re): Variable deleted.
10551         (shell-dir-cookie-watcher): Function deleted.
10552         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10553         with dirtrack-mode.
10555 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
10557         * term/w32-win.el (dynamic-library-alist) <gnutls>:
10558         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10559         libgnutls-26.dll.
10561 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
10563         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10565 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
10567         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10568         headers of non-MIME messages, when rmail-enable-mime is non-nil.
10570 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
10572         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10573         also for alternative shells.
10574         (tramp-open-connection-setup-interactive-shell): Check, whether
10575         the shell is a busybox.
10576         (tramp-send-command): Don't suppress multiple prompts for
10577         busyboxes, it hurts.
10579 2011-12-28  Chong Yidong  <cyd@gnu.org>
10581         * progmodes/gdb-mi.el (gdb-get-source-file-list)
10582         (gdb-get-source-file): Move mode line update to
10583         gdb-get-source-file (Bug#10087).
10585 2011-12-25  Chong Yidong  <cyd@gnu.org>
10587         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10588         gud-gdb-marker-filter without taking it as an argument.
10589         (gud-gdb-run-command-fetch-lines): Caller changed.
10590         (gud-gdb-completion-function): New variable.
10591         (gud-gdb-completion-at-point): Use it.
10592         (gud-gdb-completions-1): Split from gud-gdb-completions.
10594         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10595         function as separate arguments.
10596         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10597         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10598         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10599         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10600         (gdb-stopped, def-gdb-auto-update-trigger)
10601         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10602         (gdb-get-changed-registers, gdb-get-main-selected-frame):
10603         Callers changed.
10604         (gud-gdbmi-completions): New function.
10605         (gdb): Use it for generating the completion table.
10607 2011-12-24  Alan Mackenzie  <acm@muc.de>
10609         Introduce a mechanism to widen the region used in context font
10610         locking.  Use this to protect declarations from losing their contexts.
10612         * progmodes/cc-langs.el (c-before-font-lock-functions):
10613         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10614         (c-before-context-fontification-functions): New defvar, a list of
10615         functions to be run just before context (etc.) font locking.
10617         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10618         New, functionality extracted from
10619         c-neutralize-syntax-in-and-mark-CPP.
10620         (c-in-after-change-fontification): New variable.
10621         (c-after-change): Set c-in-after-change-fontification.
10622         (c-set-fl-decl-start): Rejig its interface, so it can be called
10623         from both after-change and context fontifying.
10624         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10625         New functions.
10626         (c-standard-font-lock-fontify-region-function): New variable.
10627         (c-font-lock-fontify-region): New function.
10629 2011-12-24  Juri Linkov  <juri@jurta.org>
10631         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10632         (Bug#10348)
10634 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
10636         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10637         existence of source file.  (Bug#10325)
10639 2011-12-23  Alan Mackenzie  <acm@muc.de>
10641         Fix unstable fontification inside templates.
10643         * progmodes/cc-langs.el (c-before-font-lock-functions):
10644         Newly created from the singular version.  The (c c++ objc) entry now
10645         additionally has c-set-fl-decl-start.  The other languages (apart
10646         from AWK) have that as a single entry.
10648         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10649         The functionality for "local" declarations has been extracted to
10650         c-set-fl-decl-start.
10652         * progmodes/cc-mode.el (c-common-init, c-after-change):
10653         Changes due to pluralisation of c-before-font-lock-functions.
10654         (c-set-fl-decl-start): New function, extracted from
10655         c-font-lock-enclosing-decls and enhanced.
10657 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
10659         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10661 2011-12-22  Juri Linkov  <juri@jurta.org>
10663         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
10665 2011-12-22  Chong Yidong  <cyd@gnu.org>
10667         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10669 2011-12-21  Drew Adams  <drew.adams@oracle.com>
10671         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
10673 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10675         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10677 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
10679         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
10680         highlighting and support.  Fix up comments for capitalization.
10681         (cfengine-mode-debug): New var.
10682         (cfengine3-mode): Change the modeline indicator to "CFE3".
10683         (cfengine3-font-lock-keywords): Improve defun highlighting.
10684         (cfengine2-actions): Rename from `cfengine-actions'.
10685         (cfengine2-font-lock-keywords): Rename from
10686         `cfengine-font-lock-keywords'.
10687         (cfengine2-imenu-expression): Rename from
10688         `cfengine-imenu-expression'.
10689         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10690         (cfengine2-beginning-of-defun): Rename from
10691         `cfengine-beginning-of-defun'.
10692         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10693         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10694         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
10695         modeline indicator to "CFE2".
10696         (cfengine-mode): Defalias to `cfengine-auto-mode'.
10697         (cfengine-mode-abbrevs): Mark obsolete.
10699 2011-12-21  Chong Yidong  <cyd@gnu.org>
10701         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10702         filename argument.
10704 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
10706         * window.el (window-normalize-buffer-to-display): Remove.
10707         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10709 2011-12-19  Chong Yidong  <cyd@gnu.org>
10711         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10712         Don't signal an error in a predicate function; return non-nil.
10713         (vc-dir-mark-file): Move the error here.
10714         (vc-dir-mark-unmark): If acting on the region, keep going if one
10715         of the entries cannot be marked/unmarked.
10716         (vc-dir-mark-all-files): If current entry is a directory, mark
10717         only child files, as documented.
10719 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10721         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10722         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10723         addition.
10725 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
10727         * term/ns-win.el (ns-get-selection-internal)
10728         (ns-store-selection-internal): Declare.
10729         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10730         Declare as obsolete.
10731         (ns-get-pasteboard, ns-paste-secondary):
10732         Use ns-get-selection-internal.
10733         (ns-set-pasteboard,  ns-copy-including-secondary):
10734         Use ns-store-selection-internal.
10736 2011-12-17  Chong Yidong  <cyd@gnu.org>
10738         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10739         (vc-deduce-fileset): Doc fix.
10741 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
10743         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10745 2011-12-13  Sam Steingold  <sds@gnu.org>
10747         * man.el (Man-getpage-in-background): When running under a
10748         window-system, ignore $MANWIDTH and $COLUMNS.
10750 2011-12-15  Kenichi Handa  <handa@m17n.org>
10752         * language/ethio-util.el: Change coding tag to utf-8-emacs.
10753         (setup-ethiopic-environment-internal): Comment out key-binding for
10754         ethio-toggle-punctuation.
10756 2011-12-13  Alan Mackenzie  <acm@muc.de>
10758         Add the switch statement to AWK Mode.
10760         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10761         "default" to the keywords regexp.
10763         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10764         expression as the rest.
10765         (c-nonlabel-token-key): Allow string literals for AWK.
10766         Refactor for the other modes.
10768         Large brace-block initialisation makes CC Mode slow: Fix.
10769         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10770         routines.  Limit backward searching in c-font-lock-enclosing.decl.
10772         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10773         pp-state and literal type in addition to the limits.
10774         (c-state-safe-place): New defun, extracted from c-state-literal-at.
10775         (c-state-literal-at): Use the above new defun.
10776         (c-slow-in-literal, c-fast-in-literal): Remove.
10777         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10779         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10780         being in a literal.  Add a limit for backward searching.
10782         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10783         c-slow-in-literal.
10785 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10787         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10789 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
10791         * window.el (delete-other-windows): Use correct frame in call to
10792         window-with-parameter.
10794 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
10796         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10797         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10798         (makefile-gmake-statements, makefile-makepp-statements):
10799         Use it and add new makepp keywords.
10800         (makefile-makepp-font-lock-keywords): Add new patterns.
10801         (makefile-match-function-end): Match new [...] and [[...]].
10803 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
10805         * ses.el (ses-call-printer-return, ses-cell-property-get)
10806         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10807         (ses-create-cell-variable, ses-reset-header-string)
10808         (ses-cell-set-formula, ses-repair-cell-reference-all)
10809         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10810         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10811         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10812         (ses-aset-with-undo, ses-load, ses-truncate-cell)
10813         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10814         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10815         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10816         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10817         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10818         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10819         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10820         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10822 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10824         * ses.el: The overall change is to add cell renaming, that is
10825         setting fancy names for cell symbols other than name matching
10826         "\\`[A-Z]+[0-9]+\\'" regexp .
10827         (ses-create-cell-variable): New defun.
10828         (ses-relocate-formula): Relocate formulas only for cells the
10829         symbols of which are not renamed, i.e. symbols whose names do not
10830         match regexp "\\`[A-Z]+[0-9]+\\'".
10831         (ses-relocate-all): Relocate values only for cells the symbols of
10832         which are not renamed.
10833         (ses-load): Create cells variables as the (ses-cell ...) are read,
10834         in order to check row col consistency with cell symbol name only
10835         for cells that are not renamed.
10836         (ses-replace-name-in-formula): New defun.
10837         (ses-rename-cell): New defun.
10839 2011-12-11  Chong Yidong  <cyd@gnu.org>
10841         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10842         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10844 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
10846         * window.el (other-window): Fix docstring.
10848 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10850         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10851         `from' or `to' address before taking its substring.
10852         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10853         encoded name is chopped in the middle of the encoded string, and
10854         thus displayed encoded.
10856 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
10858         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10860 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10862         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
10863         to use texinfo-update-node and commands that call it if the
10864         Texinfo file uses @node lines without next/prev/up pointers.
10865         Correct outdated description about texinfo-master-menu.
10866         (texinfo-all-menus-update, texinfo-master-menu)
10867         (texinfo-update-node, texinfo-every-node-update)
10868         (texinfo-multiple-files-update): Doc fix.  Warn against updating
10869         all the @node lines.
10870         (texinfo-master-menu): Only call texinfo-update-node if the prefix
10871         argument is numeric.  Explain better in the doc string what the
10872         function really does.
10873         (texinfo-insert-master-menu-list): Improve the error message
10874         displayed if there's no menu in the Top node.
10875         (Bug#2975)  See also this thread:
10876         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10878 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
10880         * speedbar.el (speedbar-supported-extension-expressions):
10881         Add .adb and .ads, commonly used for Ada source code (bug#10256).
10883 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
10885         * printing.el (pr-mode-alist):
10886         * simple.el (filter-buffer-substring-functions)
10887         (completion-list-insert-choice-function):
10888         * window.el (window-with-parameter, window-atom-root)
10889         (window-sides-slots, window-size-fixed, window-min-delta)
10890         (window-max-delta, window--resize-mini-window)
10891         (window--resize-child-windows-normal, window-tree)
10892         (delete-other-windows, quit-window, split-window)
10893         (display-buffer-record-window, special-display-buffer-names)
10894         (special-display-regexps, special-display-popup-frame)
10895         (same-window-p, split-window-sensibly)
10896         (display-buffer-overriding-action, display-buffer-alist)
10897         (display-buffer-base-action, display-buffer, switch-to-buffer)
10898         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10899         (fit-window-to-buffer, recenter-positions)
10900         (mouse-autoselect-window-state, mouse-autoselect-window-select):
10901         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10902         and remove unneeded backslashes in docstrings.
10904 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10906         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10908         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10909         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10910         end in ".mk".
10911         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10912         when reading the makefile (bug#10116).
10914 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10916         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10917         (bug#10116).
10919 2011-12-06  Glenn Morris  <rgm@gnu.org>
10921         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10923 2011-12-06  Chong Yidong  <cyd@gnu.org>
10925         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10927 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
10929         * textmodes/table.el (table-shorten-cell): Fix typo.
10931 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
10933         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10935 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
10937         * descr-text.el (describe-char): Fix display of strong
10938         right-to-left characters and directional embeddings and overrides.
10940         * simple.el (what-cursor-position): Fix display of codepoints of
10941         strong right-to-left characters.
10943 2011-12-05  Chong Yidong  <cyd@gnu.org>
10945         * faces.el (read-color): Doc fix.
10947 2011-12-05  Glenn Morris  <rgm@gnu.org>
10949         * align.el (align--set-marker): Add doc-string.
10950         Don't try to move something that is not a marker.  (Bug#10216)
10952 2011-12-04  Glenn Morris  <rgm@gnu.org>
10954         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10955         overly zealous deletion of trailing whitespace.
10957 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
10959         * server.el (server-delete-client): On Windows, do not try to delete
10960         the only terminal.
10961         (server-process-filter): On Windows, treat requests for a tty frame as
10962         if they were for a GUI frame if the running server is in GUI mode.
10964 2011-12-03  Glenn Morris  <rgm@gnu.org>
10966         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
10968 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10970         * electric.el: Streamline electric-indent's hook.
10971         (electric-indent-chars): Revert to simple list.
10972         (electric-indent-functions): New var.
10973         (electric-indent-post-self-insert-function): Use it.
10975         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10976         there's no inferior buffer (bug#10196).
10977         (prolog-consult-compile): Don't use toggle-read-only.
10979 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
10981         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10982         interrupt.  (Bug#10187)
10984 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10986         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10987         (bug#9160).
10989         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10990         (bug#10191).
10992 2011-12-02  Juri Linkov  <juri@jurta.org>
10994         * info.el (Info-search): Display "end of manual" when Isearch
10995         reaches the end of single-file Info manual.  (Bug#9918)
10997 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
10999         * isearch.el (isearch-message-prefix): Run the input method part
11000         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
11002 2011-12-02  Juri Linkov  <juri@jurta.org>
11004         * isearch.el (isearch-occur): Use `word-search-regexp' for
11005         `isearch-word'.
11006         (isearch-search-and-update): Add condition for `isearch-word' and
11007         call `word-search-regexp'.  (Bug#10145)
11009 2011-12-01  Glenn Morris  <rgm@gnu.org>
11011         * eshell/em-hist.el (eshell-hist-initialize):
11012         Handle eshell-history-size nil and HISTSIZE set or unset.
11013         (eshell-history-file-name, eshell-history-size): Fix custom type.
11015 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11017         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11019 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
11021         * progmodes/verilog-mode.el (verilog-pretty-expr):
11022         Rework verilog-pretty-expr to handle new assignment operators in system
11023         verilog, such as += *= and the like.
11024         (verilog-assignment-operator-re): Regular expression to find the
11025         assigment operator in a verilog assignment.
11026         (verilog-assignment-operation-re): Regular expression to find an
11027         assignment statement for pretty-expr.
11028         (verilog-in-attribute-p): Query returns true if point is in an
11029         attribute context; used to skip these for expression line up from
11030         pretty-expr.
11031         (verilog-in-parameter-p): Query returns true if point is in an
11032         parameter definition context; used to skip these for expression
11033         line up from pretty-expr.
11034         (verilog-in-parenthesis-p): Query returns true if point is in a
11035         parenthetical expression, specifically ( ) but not [ ] or { };
11036         used by pretty-expr.
11037         (verilog-just-one-space): If there is no space, don't add one.
11038         (verilog-get-lineup-indent-2): Specifically skip just attribute
11039         contexts for expression lineup, rather than skipping all
11040         parenthetical expressions.
11041         (verilog-calculate-indent): Fix comment, and fix indent.
11042         (verilog-do-indent): Indent declarations in lists (suggested by
11043         Joachim Lechner).
11044         (verilog-mode-abbrev-table): Populate abbrev mode with the various
11045         skeleton items.
11046         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11047         by Alain Mellan).
11049 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
11051         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11052         parameters with embedded comments.  Reported by Ray Stevens.
11053         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11054         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11055         Reported by Tim Holt.
11056         (verilog-auto): Fix AUTOing a upper module then AUTOing module
11057         instantiated by upper module causing wrong expansion until AUTOed a
11058         second time.  Reported by K C Buckenmaier.
11059         (verilog-diff-auto): Fix showing .* as a difference when
11060         `verilog-auto-star-save' off.  Reported by Dan Dever.
11061         (verilog-auto-reset, verilog-read-always-signals)
11062         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11063         temporary signals in reset list if
11064         verilog-auto-reset-blocking-in-non is nil, and match assignment
11065         style to each signal's assignment type, bug381.
11066         Reported by Thomas Esposito.
11067         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11068         (verilog-uvm-statement-re): Support UVM indentation and
11069         highlighting, with old OVM keywords only.
11070         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11071         Support AUTOTIEOFF creating non-wire data types.
11072         Suggested by Jonathan Greenlaw.
11073         (verilog-auto-insert-lisp, verilog-delete-to-paren)
11074         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11075         (verilog-inject-sense, verilog-read-inst-pins)
11076         (verilog-read-sub-decls, verilog-read-sub-decls-line):
11077         Fix mismatching parenthesis inside commented out code when deleting
11078         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
11079         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11080         non-numeric vector width.  Reported by Alex Reed.
11081         (verilog-auto-ascii-enum): Add "onehot" option to work around not
11082         detecting signals with parameter widths.  Reported by Alex Reed.
11083         (verilog-auto-delete-trailing-whitespace):
11084         With `verilog-auto-delete-trailing-whitespace' remove trailing
11085         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
11086         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11087         Fix verilog-scan-cache corruption when running user AUTO expansion
11088         hooks that call indentation routines.
11089         (verilog-simplify-range-expression): Fix typo ignoring lower case
11090         identifiers.
11091         (verilog-delete-auto): Fix delete-autos to also remove user created
11092         automatics, as long as they start with AUTO.
11093         (verilog-batch-diff-auto, verilog-diff-auto)
11094         (verilog-diff-function): Add `verilog-diff-auto' and bind to
11095         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
11096         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11097         (verilog-in-paren-quick, verilog-re-search-backward-quick)
11098         (verilog-re-search-forward-quick, verilog-syntax-ppss):
11099         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11100         is disabled and its cache will get corrupt, causing AUTOS not to
11101         expand.  Instead use only -quick functions.
11102         (verilog-scan-region): Fix scanning over escaped quotes.
11103         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11104         (verilog-re-search-backward-quick)
11105         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11106         related functions now ignore strings, to fix misparsing of strings
11107         with magic comments embedded in them.
11108         (verilog-read-auto-template):
11109         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11110         Reported by Brad Dobbie.
11111         (verilog-read-auto-template):
11112         Fix 'verilog-auto-inst-template-numbers' with comments.
11113         Reported by Brad Dobbie.
11114         (verilog-auto-inst, verilog-auto-inst-param)
11115         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11116         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
11117         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11118         debugging templates without merge conflicts, bug357.
11119         Reported by Brad Dobbie.
11120         (verilog-read-auto-template):
11121         Fix verilog-auto-inst-template-numbers with multiple templates.
11122         Reported by Brad Dobbie.
11123         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11124         abbrevs so user won't be asked to save.
11125         (verilog-read-auto-lisp-present): Fix to start at beginning of
11126         buffer in case called outside of verilog-auto.
11127         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11128         to "X-2".  Reported by Matthew Myers.
11129         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11130         all inputs from module templates.  Reported by Leith Johnson.
11131         (verilog-module-inside-filename-p): Fix locating programs as with
11132         modules.
11133         (verilog-auto-inst-port): Fix vl-width expressions when using
11134         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
11135         (verilog-decls-get-regs, verilog-decls-get-signals,
11136         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11137         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11138         verilog-read-decls): Combine reg and wire structures into one var
11139         structure to represent SystemVerilog concepts.
11140         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11141         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11142         (verilog-auto-wire-type, verilog-insert-definition):
11143         Add verilog-auto-wire-type and AUTOLOGIC to support using
11144         SystemVerilog "logic" keyword instead of "wire"/"reg".
11145         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11146         to declares outputs that also have assignments (presumably in an
11147         ifdef or generate if so there's not a driver conflict).
11148         Reported by Matthew Myers.
11149         (verilog-auto-declare-nettype, verilog-insert-definition):
11150         Add verilog-auto-declare-nettype to fix declarations using
11151         `default_nettype none.  Reported by Julian Gorfajn.
11152         (verilog-read-always-signals-recurse, verilog-read-decls)
11153         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11154         malformed end statement, bug325.  Reported by Joshua Wise and
11155         Andrew Drake.
11156         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11157         (verilog-inst-comment-re): Fix not deleting Interfaced comment
11158         when expanding .* in interfaces, bug320.
11159         Reported by Pierre-David Pfister.
11160         (verilog-read-module-name): Fix import statements between module
11161         name and open parenthesis, bug317.
11162         Reported by Pierre-David Pfister.
11163         (verilog-simplify-range-expression): Fix simplification of
11164         multiplications inside AUTOWIRE connections, bug303.
11165         (verilog-auto-inst-port): Support parameter expansion in
11166         multidimensional arrays.
11167         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11168         after "assert property".  Reported by Julian Gorfajn.
11169         (verilog-simplify-range-expression): Fix "couldn't merge" errors
11170         with multiplication, bug303.
11171         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11172         Reported by Jan Frode Lonnum.
11174 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
11176         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11177         (hfy-shell-file-name, hfy-shell):
11178         * international/fontset.el (x-decompose-font-name): Fix typos.
11180 2011-11-29  Ken Brown  <kbrown@cornell.edu>
11182         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11183         (gdb-version): Remove defvar.
11184         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11185         (gdb-gud-context-command, gdb-non-stop-handler)
11186         (gdb-current-context-command, gdb-stopped): Use it.
11187         (gdb-init-1): Enable pretty printing here.
11188         (gdb-non-stop-handler): Don't enable pretty-printing here.
11189         Check to see if the target supports non-stop mode; if not, turn off
11190         non-stop mode.  Use the following.
11191         (gdb-check-target-async): New defun.
11192         (gud-watch, gdb-stopped): Fix whitespace.
11193         (gdb-get-source-file): Don't try to display the source file if
11194         `gdb-main-file' is nil.
11196 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11198         * align.el: Try to generate fewer markers (bug#10047).
11199         (align--set-marker): New macro.
11200         (align-region): Use it.
11202 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11204         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11206 2011-11-29  Chong Yidong  <cyd@gnu.org>
11208         * indent.el (indent-for-tab-command, indent-according-to-mode):
11209         Doc fix.
11210         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
11212 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
11214         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11215         aware of remote file names.  (Bug#10124)
11217 2011-11-29  Chong Yidong  <cyd@gnu.org>
11219         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11221 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11223         * files.el (find-file): Don't use force-same-window (bug#10144).
11224         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11225         use pop-to-buffer if the selected window can't be used.
11226         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11228 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
11230         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11231         special-mode-map.
11233 2011-11-28  Chong Yidong  <cyd@gnu.org>
11235         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11237 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
11239         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11240           gdb-get-source-file-list on gdb-create-source-file-list.
11242 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
11244         * whitespace.el (whitespace-newline): Use a different foreground
11245         color for 16-color light-background displays.
11247 2011-11-24  Chong Yidong  <cyd@gnu.org>
11249         * window.el (display-buffer--special-action): Doc fix.
11251 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
11253         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11254         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11255         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11256         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11257         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11258         (avl-tree-stack-first):
11259         * emacs-lisp/cconv.el (cconv--analyse-use):
11260         * net/gnutls.el (gnutls-negotiate): Fix typos.
11262 2011-11-24  Glenn Morris  <rgm@gnu.org>
11264         * lpr.el (lpr-windows-system, lpr-lp-system):
11265         * mail/binhex.el (binhex-begin-line):
11266         * progmodes/grep.el (grep-history, grep-find-history):
11267         * textmodes/flyspell.el:
11268         * vc/pcvs-defs.el (cvs-global-menu):
11269         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11270         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11271         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11273         * net/tls.el: Fix case of "GnuTLS".
11275         * paths.el (rmail-file-name): Format doc-string for make-docfile.
11277         * version.el (emacs-build-system): Give it a doc-string.
11279 2011-11-24  Juri Linkov  <juri@jurta.org>
11281         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11283 2011-11-24  Glenn Morris  <rgm@gnu.org>
11285         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11286         if called on a non-mime message just toggle the headers.  (Bug#8006)
11288 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
11290         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11291         (allout-lead-with-comment-string, allout-structure-deleted-hook)
11292         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11293         (allout-rebullet-heading, allout-open-sibtopic)
11294         (allout-toggle-current-subtree-encryption)
11295         (allout-toggle-subtree-encryption, allout-encrypt-string)
11296         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11297         (allout-distinctive-bullets-string, allout-auto-activation):
11298         * window.el (window-normalize-buffer-to-display):
11299         * progmodes/verilog-mode.el (verilog-batch-indent):
11300         * textmodes/bibtex.el (bibtex-field-braces-opt)
11301         (bibtex-field-strings-opt):
11302         * vc/cvs-status.el (cvs-tree-merge):
11303         Fix typos.
11305 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
11307         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11308         `non-essential' to t, in order to avoid remote connections.
11310 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
11312         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11313         On MS-DOS and MS-Windows, compare with loaddefs.el
11314         case-insensitively.
11316 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11318         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
11320 2011-11-23  Glenn Morris  <rgm@gnu.org>
11322         * paths.el (rmail-file-name): Reformat the doc-string so that it
11323         is picked up.
11325         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11326         (rmail-auto-file): Ignore case in the "special" field names,
11327         as mail-fetch-field does for all others.
11329         * mail/rmail.el (rmail-forward):
11330         * mail/rmailkwd.el (rmail-set-label):
11331         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11332         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
11334         * mail/rmail.el (rmail-current-message): Doc fix.
11336         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
11338 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11340         * server.el (server-eval-and-print): Allow C-g (bug#6585).
11342 2011-11-22  Glenn Morris  <rgm@gnu.org>
11344         * mail/rmailmm.el (test-rmail-mime-handler)
11345         (test-rmail-mime-bulk-handler)
11346         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11348 2011-11-21  Juri Linkov  <juri@jurta.org>
11350         * calc/calc.el (calc-read-key-sequence):
11351         Let-bind `input-method-function' to nil.  (Bug#10018)
11353 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11355         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11356         Tell the caller that the next line needs recomputation, even
11357         though it doesn't start a sexp (bug#10094).
11359 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11363 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11365         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11366         Use force-same-window.
11368 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11370         * descr-text.el (describe-char-unicode-data):
11371         * json.el (json-string-escape):
11372         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11373         (Footnote-unicode, Footnote-style-p):
11374         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11376 2011-11-20  Chong Yidong  <cyd@gnu.org>
11378         * window.el (replace-buffer-in-windows): Restore interactive spec.
11380 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11382         * electric.el (electric-indent-mode): Fix last change (too optimistic).
11384         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11385         (byte-compile-global-not-obsolete-vars): New var.
11386         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11387         Use it.
11388         (byte-compile-warn-obsolete): Align text with the one in *Help*.
11390 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11392         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11393         * progmodes/pascal.el (electric-pascal-equal):
11394         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11395         * xml.el (xml-substitute-special): Fix typos.
11397 2011-11-20  Glenn Morris  <rgm@gnu.org>
11399         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11400         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11401         Doc fixes.
11402         (rmail-decode-mime-charset): Mark as obsolete.
11404         * mail/rmailsum.el (rmail-message-regexp-p-1):
11405         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11406         Before using mime functions, check they are set.  (Bug#10077)
11408 2011-11-19  Juri Linkov  <juri@jurta.org>
11410         * info.el (Info-finder-find-node): Use `package--builtins' instead
11411         of `package-alist'.  Use node names formed by the pattern "Keyword "
11412         and the keyword name.
11414 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11416         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11418 2011-11-19  Juri Linkov  <juri@jurta.org>
11420         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11421         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
11422         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11423         `old-history', `old-history-forward'.  Add let-binding
11424         `window-selected'.  Remove calls to `kill-buffer',
11425         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
11426         before calling `Info-find-node', so `Info-find-node-2' will reread
11427         the Info file.  Restore window positions only when `window-selected'
11428         is non-nil.
11430 2011-11-19  Juri Linkov  <juri@jurta.org>
11432         * isearch.el (isearch-lazy-highlight-new-loop):
11433         Remove condition `(not isearch-error)'.  (Bug#9918)
11435         * misearch.el (multi-isearch-search-fun): Add condition
11436         `(not bound)' to ignore lazy-highlighting search.
11437         Add the search-failed message "end of multi" when the end of
11438         multi-sequence is reached.  Uncapitalize the search-failed
11439         message "Repeat for next buffer".
11441         * info.el (Info-search): Add the search-failed message
11442         "end of the manual" when the end of the manual is reached
11443         in Isearch mode.
11445 2011-11-19  Juri Linkov  <juri@jurta.org>
11447         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11448         Use non-destructive `remove' instead of `delete' because
11449         `Info-history-list' stored to `Info-isearch-initial-history-list' in
11450         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11452 2011-11-19  Juri Linkov  <juri@jurta.org>
11454         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11455         to nil instead of binding `search-ring' and `regexp-search-ring'.
11456         (Bug#9185)
11458 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11460         * simple.el (line-move): Force movement by logical lines for any
11461         hscrolled window, not only when auto-hscroll-mode is on.
11462         (line-move-visual): Update doc string to that effect.  (Bug#10076)
11464 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11466         * language/european.el (macintosh): Define as alias for mac-roman.
11468 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11470         * mail/rmailmm.el (rmail-mime-display-header)
11471         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11472         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11473         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11474         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11475         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11476         of a raw aref.
11477         (rmail-mime-entity-segment): To get past the tagline, move forward
11478         2 more lines, to account for the 2 empty lines that precede and
11479         follow the line with the buttons.
11480         (rmail-mime-update-tagline): Move one more line, to get past the
11481         empty line that follows the buttons in the tagline.  (Bug#9520)
11483 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
11485         * window.el (window-max-delta-1, window-min-delta-1)
11486         (window-min-size-1, window-state-get-1, window-state-put-1)
11487         (window-state-put-2): Use "window--" prefix.
11489 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11491         * emacs-lisp/smie.el: Improve warnings and conflict detection.
11492         (smie-warning-count): New var.
11493         (smie-set-prec2tab): Use it.
11494         (smie-bnf->prec2): Improve warnings.  Add docstring.
11495         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11496         (smie-bnf--set-class): New function.
11497         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
11498         corner case.
11500         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11501         (compilation-error-properties, compilation-move-to-column):
11502         Handle compilation-first-column while in the target buffer.
11504         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11505         Don't hardcode point-min==1.
11507         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11508         (eshell-rewrite-for-command): Remove workaround.
11509         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11510         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11511         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11513         * files-x.el (modify-file-local-variable): Obey commenting conventions.
11515 2011-11-17  Glenn Morris  <rgm@gnu.org>
11517         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11518         Ignore buffer-local generated-autoload-file if it is the same
11519         as the global value.  (Bug#10049)
11521 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
11523         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11524         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11525         (reftex-toc-previous-heading, reftex-toc-max-level)
11526         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11527         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11528         (reftex-toc-do-promote, reftex-toc-promote-prepare)
11529         (reftex-toc-promote-action, reftex-toc-extract-section-number)
11530         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11531         (reftex-toc-rename-label, reftex-toc-visit-location)
11532         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11533         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11534         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11535         leaving "*toc*" only for references to the buffer.
11537 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
11539         * window.el (window-resize, delete-window, split-window):
11540         Replace window-splits by window-combination-resize.
11541         * cus-start.el (window-splits): Replace by window-combination-resize.
11543 2011-11-17  Glenn Morris  <rgm@gnu.org>
11545         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11546         Make bash entry derive from sh entry, not shell entry.
11548 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
11550         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11551         local file name.
11553 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11555         * menu-bar.el (menu-bar-file-menu):
11556         * printing.el (pr-ps-utility):
11557         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11558         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11559         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11560         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11561         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11562         (icalendar--convert-cyclic-to-ical)
11563         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11564         (icalendar--convert-ical-to-diary)
11565         (icalendar--convert-recurring-to-diary)
11566         (icalendar--convert-non-recurring-all-day-to-diary)
11567         (icalendar-import-format-sample):
11568         * progmodes/idlw-shell.el (idlwave-shell-mode):
11569         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11570         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11571         (vhdl-ps-print-init): Fix typos.
11573 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
11575         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11576         FSF and collapse date sequence, obscure author/maintainer email address
11577         better, remove extra version line, track relocation of author's webpage.
11579         * progmodes/python.el (python-pdbtrack-input-prompt)
11580         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11581         regular python pdb prompts.  Adjustments shamelessly taken exactly as
11582         suggested in EmacsWiki page (tiny change):
11583         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11585 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11587         * expand.el (expand-pos, expand-index, expand-point):
11588         Remove redundant info from docstring.
11589         (expand-add-abbrevs): Doc fix.
11590         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11591         (expand-sample-perl-mode-expand-list): Fix typos.
11593         * net/dbus.el (dbus-event-member-name):
11594         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11595         * term/pc-win.el (msdos-create-frame-with-faces):
11596         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11598 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
11600         * window.el (split-window, window-state-get-1)
11601         (window-state-put-1, window-state-put-2): Rename occurrences of
11602         window-nest to window-combination-limit.
11603         * cus-start.el (window-nest): Rename to window-combination-limit.
11605 2011-11-16  Chong Yidong  <cyd@gnu.org>
11607         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11608         regexp (Bug#10033).
11610 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11612         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11613         `completing-read' will remove *Completions* and will preserve
11614         current-buffer for us.
11615         (tmm-add-prompt): Users of *Completions* will always (re)set its
11616         major mode.
11617         (tmm-old-comp-map): Remove.
11619 2011-11-16  Glenn Morris  <rgm@gnu.org>
11621         * mail/rmailedit.el: Require rmailmm when compiling.
11622         (rmail-old-mime-state): New declaration.
11623         (rmail-edit-current-message): If editing a mime message,
11624         edit the "raw" message from the mbox buffer.
11625         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
11627 2011-11-15  Glenn Morris  <rgm@gnu.org>
11629         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11630         which wasn't being used.  Add optional arg to force given state.
11631         (rmail-mime): Add optional arg to force given state.
11633 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11635         * allout.el (allout-encryption-plaintext-sanitization-regexps):
11636         * frame.el (display-mm-dimensions-alist):
11637         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11638         (outline-move-subtree-down):
11639         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11640         (newsticker--treeview-do-get-node):
11641         * net/quickurl.el (quickurl-list-buffer-name):
11642         * progmodes/dcl-mode.el (dcl-mode):
11643         * progmodes/gdb-mi.el (gdb-mapcar*):
11644         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11646 2011-11-15  Glenn Morris  <rgm@gnu.org>
11648         * mail/rmail.el (rmail-file-coding-system): It's only ever used
11649         in a boolean sense, so just make it a boolean, and fix the doc.
11650         (rmail-show-mime-function, rmail-mime-feature)
11651         (rmail-require-mime-maybe): Doc fixes.
11652         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11654         * mail/rmailmm.el (rmail-show-mime): Doc fix.
11656 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11658         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11659         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11660         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11661         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11663 2011-11-15  Glenn Morris  <rgm@gnu.org>
11665         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11666         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11667         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11668         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11669         (rmail-mime, rmail-show-mime): Doc fixes.
11671         * term/ns-win.el (mode-line-frame-identification):
11672         Leave it alone.  (Bug#10051)
11674         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
11676         * mail/rmailout.el (rmail-output-to-rmail-buffer):
11677         Handle empty buffers.  (Bug#9978)
11679 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
11681         * international/mule.el (define-charset):
11682         * mail/rmailmm.el (rmail-mime-find-header-encoding):
11683         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11684         * progmodes/verilog-mode.el (verilog-backward-token):
11685         * textmodes/ispell.el (lookup-words):
11686         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11688 2011-11-14  Glenn Morris  <rgm@gnu.org>
11690         * progmodes/executable.el
11691         (executable-make-buffer-file-executable-if-script-p):
11692         Handle file-modes returning nil.
11694         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11695         message - not necessary, and causes problems.  (Bug#9831)
11697         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11699         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11701         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11702         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
11703         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11705 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
11707         * window.el (window-resize, delete-window): Use window-splits
11708         variable instead of function.
11709         (window-state-get-1, window-state-put-2, window-state-put):
11710         Don't deal with windows' splits status.
11712 2011-11-12  Glenn Morris  <rgm@gnu.org>
11714         * apropos.el (apropos-do-all, apropos-library, apropos-value)
11715         (apropos-documentation): Doc fixes.
11717 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
11719         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11720         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11722 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11724         * electric.el (electric-indent-post-self-insert-function): Make it
11725         possible for a char to only indent in some circumstances.
11726         (electric-indent-mode): Simplify.
11728 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
11730         * window.el (windows-with-parameter): Remove unused function.
11731         (windows-at-side): Rename to window-at-side-list.
11732         (window-check, window-atom-check, window-atom-check-1)
11733         (window-side-check, window-size-ignore, window-size-fixed-1)
11734         (window-in-direction-2): Prefix with "window--".
11735         (window-tree-1): Rename to window--subtree, fix doc-string.
11737 2011-11-11  Glenn Morris  <rgm@gnu.org>
11739         * subr.el (eval-after-load): If FILE is already loaded,
11740         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
11742 2011-11-10  Glenn Morris  <rgm@gnu.org>
11744         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11745         Call svn via vc-svn-command rather than vc-do-command.
11746         (vc-svn-command): Add --non-interactive.  (Bug#9993)
11747         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11749         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11750         Add toggle-read-only.  (Bug#7292)
11751         * files.el (toggle-read-only): Mention that it should only
11752         be used interactively.  (Bug#10006)
11754 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11756         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11757         Adjust regexp for OCaml warnings.
11759         * electric.el (electric-pair-post-self-insert-function): Let user
11760         turn it off buffer-locally (bug#9932).
11762         * progmodes/python.el (python-beginning-of-statement):
11763         Rewrite (bug#2703).
11765         * progmodes/compile.el: Better handle TABs (bug#9749).
11766         (compilation-internal-error-properties)
11767         (compilation-next-error-function): Obey the target buffer's
11768         compilation-error-screen-columns.
11770 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
11772         * progmodes/meta-mode.el: Remove obsolete comments.
11773         (meta-right-comment-regexp, meta-ignore-comment-regexp):
11774         Fix typos in docstrings.
11776 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
11778         * window.el (window-size-fixed-p): Rewrite doc-string.
11779         (window-resizable-p): Rename to window--resizable-p.  Update callers.
11780         (window--resizable): New function.  Make all callers of
11781         window-resizable call window--resizable instead.
11782         (window-resizable): Rewrite in terms of window--resizable.
11784 2011-11-08  Glenn Morris  <rgm@gnu.org>
11786         * progmodes/delphi.el (delphi-mode-syntax-table):
11787         Let define-derived-mode define a proper syntax table.  (Bug#9994)
11789 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11791         * window.el: Stay away from defsubst.
11792         (window-list-no-nils): Remove.
11793         (window-state-get-1, window-state-get): Use backquote instead.
11795 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11797         * emacs-lisp/find-func.el (find-function-read):
11798         Fix incorrect use of default argument in `completing-read'.
11800 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
11802         * window.el (display-buffer-function, special-display-function):
11803         Mention display-buffer-record-window but do not mention
11804         help-setup parameter in doc-strings.
11805         (window-min-delta): Fix doc-string typo.
11807 2011-11-08  Chong Yidong  <cyd@gnu.org>
11809         * window.el (window-total-height, window-total-width): Doc fix.
11810         (window-body-size): Move from C.
11811         (window-body-height, window-body-width): Move to C.
11813 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11815         * window.el: Make special-display like display-buffer-alist (bug#9532).
11816         (display-buffer--special-action): New function, morphed
11817         from display-buffer--special.
11818         (display-buffer): Use it to handle special-display-buffers at higher
11819         priority (just after display-buffer-alist).
11820         (display-buffer-fallback-action, display-buffer--other-frame-action)
11821         (pop-to-buffer-same-window): Remove display-buffer--special.
11823 2011-11-07  Glenn Morris  <rgm@gnu.org>
11825         * calendar/cal-menu.el (cal-menu-set-date-title):
11826         Do nothing if not in a calendar.  (Bug#9976)
11828 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11830         * files.el (find-file): Always use selected-window.
11832 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
11834         * window.el (window-combinations): Make WINDOW argument
11835         mandatory.  Rewrite doc-string.
11836         (walk-window-subtree, window-atom-check, window-min-delta)
11837         (window-max-delta, window--resize-this-window)
11838         (window--resize-root-window-vertically, window-tree)
11839         (balance-windows, window-state-put): Rewrite doc-strings as to
11840         not mention the term "subwindow".
11841         (window--resize-subwindows-skip-p): Rename to
11842         window--resize-child-windows-skip-p.
11843         (window--resize-subwindows-normal): Rename to
11844         window--resize-child-windows-normal.
11845         (window--resize-subwindows): Rename to
11846         window--resize-child-windows.
11847         (window-or-subwindow-p): Rename to window--in-subtree-p.
11849 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11851         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11852         Ensure that mbox format messages end in two newlines (Bug#9974).
11854 2011-11-06  Chong Yidong  <cyd@gnu.org>
11856         * window.el (window-combination-p): Function deleted; its
11857         side-effect is not used in any existing code.
11858         (window-combinations, window-combined-p): Call window-*-child
11859         directly.
11861 2011-11-05  Chong Yidong  <cyd@gnu.org>
11863         * window.el (window-valid-p): Rename from window-any-p.
11864         (window-size-ignore, window-state-get): Callers changed.
11865         (window-normalize-window): Rename from window-normalize-any-window.
11866         New arg LIVE-ONLY, replacing window-normalize-live-window.
11867         (window-normalize-live-window): Delete.
11868         (window-combination-p, window-combined-p, window-combinations)
11869         (walk-window-subtree, window-atom-root, window-min-size)
11870         (window-sizable, window-sizable-p, window-size-fixed-p)
11871         (window-min-delta, window-max-delta, window-resizable)
11872         (window-resizable-p, window-full-height-p, window-full-width-p)
11873         (window-current-scroll-bars, window-point-1, set-window-point-1)
11874         (window-at-side-p, window-in-direction, window-resize)
11875         (adjust-window-trailing-edge, maximize-window, minimize-window)
11876         (window-deletable-p, delete-window, delete-other-windows)
11877         (record-window-buffer, unrecord-window-buffer)
11878         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11879         (quit-window, split-window, window-state-put)
11880         (set-window-text-height, fit-window-to-buffer)
11881         (shrink-window-if-larger-than-buffer): Callers changed.
11883 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
11885         * mail/rmail.el (rmail-simplified-subject): Decode subject with
11886         rfc2047-decode-string.
11887         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11888         warnings.
11890         * window.el (window-body-height, window-body-width): Mention in
11891         the doc string that the return values are in frame's canonical
11892         units.  (Bug#9949)
11894 2011-11-03  Alan Mackenzie  <acm@muc.de>
11896         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11897         change in cc-engine.el.
11899 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11901         * window.el (switch-to-buffer): Use `force-same-window' interactively.
11903 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
11905         * window.el (quit-window): Call unrecord-window-buffer after
11906         showing another buffer in the window.  (Bug#9937)
11907         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11909 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
11911         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11912         Accept status with more than 9 shelves.  (Bug#9935)
11913         Reported by Colin D Bennett <colin@gibibit.com>.
11915 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
11917         * help.el (with-help-window): Don't reference
11918         temp-buffer-show-specifiers in doc-string.
11920 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11922         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11923         menu-item.
11925 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11927         * whitespace.el: New version 13.2.2.
11928         (whitespace-newline-mode): Disable properly.  Reported by Sarah
11929         <EmacsWiki>.
11931 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
11933         * net/newst-treeview.el: Remove "Time-stamp".
11934         (newsticker--group-manage-orphan-feeds): Do not call
11935         newsticker--treeview-tree-update.
11936         (newsticker-treeview-update, newsticker-treeview):
11937         Call newsticker--treeview-tree-update if necessary.
11939 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
11941         * window.el (window-iso-combination-p, window-iso-combined-p)
11942         (window-iso-combinations): Remove "iso-" infix.
11943         Suggested by Chong Yidong.
11944         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11945         (window-max-delta-1, window-resize, window--resize-siblings)
11946         (window--resize-this-window, adjust-window-trailing-edge)
11947         (split-window, balance-windows-1)
11948         (shrink-window-if-larger-than-buffer):
11949         * calendar/calendar.el (calendar-generate-window):
11950         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11952 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11954         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11955         in place (bug#9907).
11956         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11957         (eshell-rewrite-if-command, eshell-rewrite-for-command)
11958         (eshell-structure-basic-command, eshell-rewrite-while-command)
11959         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11960         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11961         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11962         (eshell-do-pipelines-synchronously, eshell-eval-command):
11963         Use backquotes and prefer setq to set.
11964         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11965         (eshell-macrop): Use functionp.
11966         (eshell-do-eval): Handle multiple expressions in `while' body.
11968 2011-10-30  Chong Yidong  <cyd@gnu.org>
11970         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11971         instead of set-mark (Bug#9810).
11973 2011-10-30  Chong Yidong  <cyd@gnu.org>
11975         * window.el (split-window-below, split-window-right): Rename from
11976         split-window-above-each-other and split-window-side-by-side
11977         respectively.  All callers changed.
11978         (split-window-sensibly, split-window-sensibly): Use them.
11979         (split-window-keep-point): Doc fix.
11981         * isearch.el: Add isearch-scroll property to split-window-below
11982         and split-window-right.
11984         * follow.el (follow-mode):
11985         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11986         * progmodes/ada-xref.el (ada-gdb-application):
11987         * emulation/vip.el (vip-buffer-in-two-windows):
11988         * image-dired.el (image-dired-dired-with-window-configuration):
11989         * dired-x.el (dired-do-find-marked-files):
11990         * dired.el (dired-pop-to-buffer):
11991         * bs.el (bs--show-with-configuration):
11992         * vc/emerge.el (emerge-setup-windows):
11993         * textmodes/two-column.el (2C-two-columns):
11994         * textmodes/reftex-toc.el (reftex-toc):
11995         * progmodes/gdb-mi.el (gdb-setup-windows):
11996         * progmodes/fortran.el (fortran-window-create):
11997         * net/newst-treeview.el (newsticker--treeview-window-init):
11998         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11999         * emulation/tpu-edt.el (tpu-gold-map):
12000         * emulation/crisp.el (crisp-mode-map):
12001         * calendar/calendar.el (calendar-basic-setup): Callers changed.
12003 2011-10-29  Chong Yidong  <cyd@gnu.org>
12005         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12007         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12009         * textmodes/flyspell.el (flyspell-word): Fix char offset for
12010         forged Ispell output (Bug#7904).
12012         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12014 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12016         * doc-view.el: Avoid ugly errors about not finding nil.
12017         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12018         (doc-view-dvipdf-program, doc-view-unoconv-program)
12019         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12020         Avoid nil or absolute file name as default value.
12021         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12023 2011-10-28  Alan Mackenzie  <acm@muc.de>
12025         * progmodes/cc-defs.el (c-version): -> 5.32.2.
12027 2011-10-28  Alan Mackenzie  <acm@muc.de>
12029         Amend the handling of c-beginning/end-of-defun in nested declaration
12030         scopes.
12032         * progmodes/cc-vars.el (c-defun-tactic): Move here from
12033         cc-langs.el.  Change it to a defcustom.
12035         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12036         cc-vars.el.
12038         * progmodes/cc-engine.el (c-beginning-of-statement-1):
12039         Prevent "class foo : bar" being spuriously recognized as a label.
12041         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12042         Add parameter `inclusive' (to include enclosing braces in the region).
12043         (c-widen-to-enclosing-decl-scope): New function.
12044         (c-while-widening-to-decl-block): New macro.
12045         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12046         outward for defun boundaries, and correspondingly change symbol
12047         `respect-enclosure' to `go-outward'.
12048         (c-declaration-limits): Change algorithm to report only the "innermost"
12049         defun's boundaries.
12051 2011-10-28  Deniz Dogan  <deniz@dogan.se>
12053         * net/rcirc.el (rcirc-mode): Use hard newlines.
12055 2011-10-28  Alan Mackenzie  <acm@muc.de>
12057         Amend to indent and fontify macros "which include their own semicolon"
12058         correctly, using the "virtual semicolon" mechanism.
12060         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12062         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12063         Recode to scan one line at a time rather than having \n and \r
12064         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12065         (c-forward-label): Amend for virtual semicolons.
12066         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12068         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12069         of the new C macros.
12071         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12072         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12073         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12074         (c-opt-cpp-macro-define): Make into a full language variable.
12075         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12076         AWK Mode (including \n, \r) removed, no longer needed.
12078         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12079         Invoke c-make-macro-with-semi-re.
12081         * progmodes/cc-vars.el (c-macro-with-semi-re):
12082         (c-macro-names-with-semicolon): New variables.
12083         (c-make-macro-with-semi-re): New function.
12085 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12087         * vc/log-edit.el: Fill empty field rather than adding new one.
12088         (log-edit-add-field): New function.
12089         (log-edit-insert-changelog): Use it.
12091 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
12093         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12095 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12097         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12098         (gdb--check-interpreter): New function.
12099         (gdb): Use it.
12101 2011-10-27  Glenn Morris  <rgm@gnu.org>
12103         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12104         (least-positive-float, least-negative-float)
12105         (least-positive-normalized-float, least-negative-normalized-float)
12106         (float-epsilon, float-negative-epsilon):
12107         Remove unnecessary declarations.
12109         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12110         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12111         (least-positive-float, least-negative-float)
12112         (least-positive-normalized-float, least-negative-normalized-float)
12113         (float-epsilon, float-negative-epsilon): Add doc-strings,
12114         based on those in cl.texi.
12116         * files.el (set-visited-file-name): If the major-mode changed,
12117         reload the local variables.  (Bug#9796)
12119 2011-10-27  Chong Yidong  <cyd@gnu.org>
12121         * subr.el (change-major-mode-after-body-hook): New hook.
12122         (run-mode-hooks): Run it.
12124         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12125         Use change-major-mode-before-body-hook.
12127         * simple.el (fundamental-mode):
12128         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12129         change introducing fundamental-mode-hook.
12131 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
12133         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12135 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
12137         * ido.el (ido-file-name-all-completions-1): Do not require
12138         tramp.el explicitly.  (Bug#7583)
12140 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12142         * progmodes/octave-mod.el:
12143         * progmodes/octave-inf.el: Update maintainer.
12145 2011-10-26  Chong Yidong  <cyd@gnu.org>
12147         * subr.el (with-wrapper-hook): Rewrite doc.
12149 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
12151         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12152         filenames "/method:foo:".  (Bug#9793)
12154 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12156         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12157         (bug#9865).
12159 2011-10-24  Glenn Morris  <rgm@gnu.org>
12161         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
12163 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
12165         * notifications.el: Add the requirement of a running D-Bus session
12166         bus to the Commentary.
12168 2011-10-24  Juri Linkov  <juri@jurta.org>
12170         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12171         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12172         (Bug#9364)
12174 2011-10-24  Juri Linkov  <juri@jurta.org>
12176         * info.el (Info-following-node-name-re): Add newline to the list
12177         of allowed characters for leading space.  (Bug#9824)
12179 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12181         * progmodes/octave-inf.el (inferior-octave-mode-map):
12182         Fix C-c C-h binding.
12183         * progmodes/octave-mod.el (octave-help): Remove.
12185 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
12187         Sync with Tramp 2.2.3.
12189         * net/tramp-cache.el (top): Pacify byte-compiler using
12190         `init-file-user' and `site-run-file'.
12192         * net/trampver.el: Update release number.
12194 2011-10-23  Chong Yidong  <cyd@gnu.org>
12196         * files.el (toggle-read-only): Remove obsolete comment about
12197         version control.
12199         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12200         for toggle-read-only.  Note that this hasn't called vc-next-action
12201         since 2008-05-02, though it wasn't documented at the time.
12203         * vc/ediff-init.el (ediff-toggle-read-only-function):
12204         Use toggle-read-only.
12206 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
12208         Fix bug #9560, sporadic wrong indentation; improve instrumentation
12209         of c-parse-state.
12211         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12212         correct faulty logical expression.
12213         (c-parse-state-state, c-record-parse-state-state):
12214         (c-replay-parse-state-state): New defvar/defuns.
12215         (c-debug-parse-state): Use new functions.
12217 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
12219         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12220         last fix.  Use window-in-direction correctly.
12222 2011-10-21  Chong Yidong  <cyd@gnu.org>
12224         * progmodes/idlwave.el (idlwave-mode):
12225         * progmodes/vera-mode.el (vera-mode): No need to set
12226         require-final-newline; that's done in prog-mode.
12227         Suggested by Stefan Monnier.
12229 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
12231         * mouse.el (mouse-drag-window-above)
12232         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12233         (mouse-drag-mode-line-1, mouse-drag-header-line)
12234         (mouse-drag-vertical-line-rightward-window): Remove.
12235         (mouse-drag-line): New function.
12236         (mouse-drag-mode-line, mouse-drag-header-line)
12237         (mouse-drag-vertical-line): Call mouse-drag-line.
12238         * window.el (window-at-side-p, windows-at-side): New functions.
12240 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
12242         * tar-mode.el (tar-grind-file-mode):
12243         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
12245 2011-10-21  Chong Yidong  <cyd@gnu.org>
12247         * progmodes/idlwave.el (idlwave-mode):
12248         * progmodes/vera-mode.el (vera-mode):
12249         Use mode-require-final-newline.
12251 2011-10-20  Glenn Morris  <rgm@gnu.org>
12253         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
12255 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
12257         * emulation/cua-base.el (cua-set-mark): Fix case of string.
12259 2011-10-20  Chong Yidong  <cyd@gnu.org>
12261         * emulation/cua-base.el (cua-mode):
12262         * mail/footnote.el (footnote-mode):
12263         * mail/mailabbrev.el (mail-abbrevs-mode):
12264         * net/xesam.el (xesam-minor-mode):
12265         * progmodes/bug-reference.el (bug-reference-mode):
12266         * progmodes/cap-words.el (capitalized-words-mode):
12267         * progmodes/compile.el (compilation-minor-mode)
12268         (compilation-shell-minor-mode):
12269         * progmodes/gud.el (gud-tooltip-mode):
12270         * progmodes/hideif.el (hide-ifdef-mode):
12271         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12272         * progmodes/subword.el (subword-mode):
12273         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12274         * progmodes/which-func.el (which-function-mode):
12275         * term/tvi970.el (tvi970-set-keypad-mode):
12276         * term/vt100.el (vt100-wide-mode):
12277         * textmodes/flyspell.el (flyspell-mode):
12278         * textmodes/ispell.el (ispell-minor-mode):
12279         * textmodes/nroff-mode.el (nroff-electric-mode):
12280         * textmodes/paragraphs.el (use-hard-newlines):
12281         * textmodes/refill.el (refill-mode):
12282         * textmodes/reftex.el (reftex-mode):
12283         * textmodes/rst.el (rst-minor-mode):
12284         * textmodes/sgml-mode.el (html-autoview-mode)
12285         (sgml-electric-tag-pair-mode):
12286         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12287         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12288         * emulation/crisp.el (crisp-mode):
12289         * emacs-lisp/eldoc.el (eldoc-mode):
12290         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12291         minor mode behavior.
12293 2011-10-19  Juri Linkov  <juri@jurta.org>
12295         * descr-text.el (describe-char): Add #x2010 and #x2011 to
12296         the list of hard-coded chars with escape-glyph face.
12298 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12302 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
12304         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12305         running process.
12307 2011-10-19  Glenn Morris  <rgm@gnu.org>
12309         * vc/vc-bzr.el (vc-bzr-after-dir-status):
12310         Ignore ignored files.  (Bug#9726)
12312 2011-10-19  Chong Yidong  <cyd@gnu.org>
12314         Doc fix for minor modes, stating that an omitted argument enables
12315         the mode unconditionally when called from Lisp.
12317         * abbrev.el (abbrev-mode):
12318         * allout.el (allout-mode):
12319         * autoinsert.el (auto-insert-mode):
12320         * autoarg.el (autoarg-mode, autoarg-kp-mode):
12321         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12322         (global-auto-revert-mode):
12323         * battery.el (display-battery-mode):
12324         * composite.el (global-auto-composition-mode)
12325         (auto-composition-mode):
12326         * delsel.el (delete-selection-mode):
12327         * desktop.el (desktop-save-mode):
12328         * dired-x.el (dired-omit-mode):
12329         * dirtrack.el (dirtrack-mode):
12330         * doc-view.el (doc-view-minor-mode):
12331         * double.el (double-mode):
12332         * electric.el (electric-indent-mode, electric-pair-mode):
12333         * emacs-lock.el (emacs-lock-mode):
12334         * epa-hook.el (auto-encryption-mode):
12335         * follow.el (follow-mode):
12336         * font-core.el (font-lock-mode):
12337         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12338         * help.el (temp-buffer-resize-mode):
12339         * hilit-chg.el (highlight-changes-mode)
12340         (highlight-changes-visible-mode):
12341         * hi-lock.el (hi-lock-mode):
12342         * hl-line.el (hl-line-mode, global-hl-line-mode):
12343         * icomplete.el (icomplete-mode):
12344         * ido.el (ido-everywhere):
12345         * image-file.el (auto-image-file-mode):
12346         * image-mode.el (image-minor-mode):
12347         * iswitchb.el (iswitchb-mode):
12348         * jka-cmpr-hook.el (auto-compression-mode):
12349         * linum.el (linum-mode):
12350         * longlines.el (longlines-mode):
12351         * master.el (master-mode):
12352         * mb-depth.el (minibuffer-depth-indicate-mode):
12353         * menu-bar.el (menu-bar-mode):
12354         * minibuf-eldef.el (minibuffer-electric-default-mode):
12355         * mouse-sel.el (mouse-sel-mode):
12356         * msb.el (msb-mode):
12357         * mwheel.el (mouse-wheel-mode):
12358         * outline.el (outline-minor-mode):
12359         * paren.el (show-paren-mode):
12360         * recentf.el (recentf-mode):
12361         * reveal.el (reveal-mode, global-reveal-mode):
12362         * rfn-eshadow.el (file-name-shadow-mode):
12363         * ruler-mode.el (ruler-mode):
12364         * savehist.el (savehist-mode):
12365         * scroll-all.el (scroll-all-mode):
12366         * scroll-bar.el (scroll-bar-mode):
12367         * server.el (server-mode):
12368         * shell.el (shell-dirtrack-mode):
12369         * simple.el (auto-fill-mode, transient-mark-mode)
12370         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12371         (line-number-mode, column-number-mode, size-indication-mode)
12372         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12373         * strokes.el (strokes-mode):
12374         * time.el (display-time-mode):
12375         * t-mouse.el (gpm-mouse-mode):
12376         * tool-bar.el (tool-bar-mode):
12377         * tooltip.el (tooltip-mode):
12378         * type-break.el (type-break-mode-line-message-mode)
12379         (type-break-query-mode):
12380         * view.el (view-mode):
12381         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12382         (global-whitespace-mode, global-whitespace-newline-mode):
12383         * xt-mouse.el (xterm-mouse-mode): Doc fix.
12385         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12386         Fix autogenerated docstring.
12388 2011-10-19  Juri Linkov  <juri@jurta.org>
12390         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12391         by checking environment variables "DESKTOP_SESSION" and
12392         "XDG_CURRENT_DESKTOP".  (Bug#9779)
12394 2011-10-19  Juri Linkov  <juri@jurta.org>
12396         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12397         (browse-url-chromium-program, browse-url-chromium-arguments):
12398         New defcustoms.
12399         (browse-url-default-browser): Check for `browse-url-chromium' and
12400         call `browse-url-chromium-program'.
12401         (browse-url-chromium): New command.  (Bug#9779)
12403 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
12405         * facemenu.el (list-colors-duplicates): On Windows, detect more
12406         duplicates by assuming that only colors matching "^System" are
12407         special "system colors".  (Bug#9722)
12409 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12411         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12412         to distinguish the author from the committer.
12414 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
12416         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12418 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
12420         * international/mule.el (sgml-html-meta-auto-coding-function):
12421         Add support for detecting encoding in HTML5 specified only as
12422         <meta charset="UTF-8">.  Implementation just makes http-equiv and
12423         content-type parts from HTML4 encoding string optional.  (Bug#9716)
12425 2011-10-18  Glenn Morris  <rgm@gnu.org>
12427         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
12429 2011-10-18  Chong Yidong  <cyd@gnu.org>
12431         * faces.el (cursor): Doc fix.
12433 2011-10-17  Chong Yidong  <cyd@gnu.org>
12435         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12437 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
12439         * dirtrack.el (dirtrack): Support shell buffers with path
12440         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
12442 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
12444         * json.el: Bump version to 1.3 and note change in History.
12445         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12447 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12449         * comint.el (comint-insert-input, comint-send-input)
12450         (comint-get-old-input-default, comint-backward-matching-input)
12451         (comint-next-prompt): Use nil instead of `input' for field property of
12452         past user input (bug#114).
12454         * minibuffer.el (completion--replace): Inherit surrounding properties
12455         (bug#114).
12456         (minibuffer-complete-and-exit): Use it.
12458         * comint.el (comint--table-subvert): Quote the all-completions output
12459         (bug#9160).
12461 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
12463         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12465         * menu-bar.el (menu-bar-file-menu): Add entry for making new
12466         window on right of selected.  (Bug#9350) Reword other window
12467         entries and separate them from frame entries.
12469 2011-10-15  Glenn Morris  <rgm@gnu.org>
12471         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12472         Doc fixes.
12474 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
12476         * net/network-stream.el (network-stream-open-starttls):
12477         Improve detection of failure due to lack of TLS support.
12479         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12480         putting the input text in front and in bold.
12482 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12484         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12486         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12487         empty buffer.
12489         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12490         unread-command-events rather than pushing yet-another event.
12492 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
12494         * mail/sendmail.el (sendmail-query-once): Improve the wording of
12495         the explanation of the possible choices.  Make the options passed
12496         to completing-read shorter.
12498 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12500         * textmodes/flyspell.el (flyspell-large-region): Make sure
12501         extended character mode is used if defined (Bug#1339).
12503 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
12505         * simple.el (what-cursor-position): Fix the display of the
12506         character info for LRE, LRO, RLE, and RLO characters by appending
12507         an invisible PDF.
12509 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12511         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12512         even in case of error; add debug spec; simplify data flow.
12513         (with-timeout-handler): Remove.
12515 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
12517         Fix Bug#6019, Bug#9315.
12519         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12520         complete `buffer-file-name', the local file name part could look
12521         remotely (for example on VMS).
12523         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12524         `tramp-run-real-handler'.
12525         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12526         already quoted by '"'.
12528         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12529         Let `file-name-handler-alist' be nil, the local file name part
12530         could look remotely (for example on VMS).
12532 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12534         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12535         from here...
12536         (flyspell-post-command-hook): ...to here.
12538 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12540         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12541         if not needed.
12542         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
12543         using completion.  Protect against "slow" callers.
12544         Remove the "message hack".
12546 2011-10-11  Juri Linkov  <juri@jurta.org>
12548         * isearch.el (isearch-lazy-highlight-word): New variable.
12549         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12550         Use it.  (Bug#9727)
12552 2011-10-11  Glenn Morris  <rgm@gnu.org>
12554         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12555         like f90-previous-statement does.
12557 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12559         * eshell/eshell.el (eshell-command): History should be saved
12560         only in interactive use, to avoid error.
12562 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12564         * minibuffer.el (completion-file-name-table): Fix last change,
12565         i.e. ignore normal errors but not the other ones.
12567 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
12569         * window.el (special-display-buffer-names)
12570         (special-display-regexps): Remove some remnants of earlier
12571         changes from doc-strings.
12572         (quit-windows-on): New function.
12574         * vc/vc.el (vc-revert, vc-rollback):
12575         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12576         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
12577         (Bug#6183) (Bug#7074) (Bug#7447)
12579 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
12581         * window.el (frame-auto-hide-function): Add version tag.
12582         (Bug#9699)
12584 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
12586         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12587         condition.
12589 2011-10-09  Leo Liu  <sdl.web@gmail.com>
12591         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12592         (Bug#9701)
12594 2011-10-08  Glenn Morris  <rgm@gnu.org>
12596         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12597         before the first code statement zero indent.  (Bug#9690)
12599 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
12601         * simple.el (count-words-region): Always count in the region.
12602         Report the number of lines and characters too.
12603         (count-words): New command, which counts in the buffer if the
12604         region is inactive, as count-words-region used to.
12605         (count-words--message): New function.  Handle plurals.
12606         (count-lines-region): Make it an alias for count-words-region.
12608         * bindings.el (esc-map): Replace count-lines-region with
12609         count-words-region.
12611 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
12613         * window.el (window--delete): Delete dedicated frame
12614         unconditionally when argument KILL is non-nil.  (Bug#9699)
12615         (switch-to-buffer): Fix doc-string typo.
12617 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12619         * eshell/eshell.el (eshell-command): Avoid using hooks.
12621 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
12623         * bindings.el ([M-left],[M-right]): Bind to left-word and
12624         right-word respectively.
12626 2011-10-07  Glenn Morris  <rgm@gnu.org>
12628         * cus-start.el (debug-on-quit): Fix custom type.
12630 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12632         * subr.el (define-key-after): Clarify that the function is not
12633         useful for non-menu keymaps.
12635         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12637 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12639         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12640         in current minibuffer (Fix bug with recursive minibuffers).
12642 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
12644         * progmodes/gdb-mi.el (gdb): Doc fix.
12646 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
12648         * window.el (frame-auto-hide-function): New option replacing
12649         frame-auto-delete.  Suggested by Stefan Monnier.
12650         (window--delete): Call frame-auto-hide-function instead of
12651         investigating frame-auto-delete.
12652         (window-point-1, set-window-point-1): New functions.
12653         (window-in-direction, record-window-buffer, window-state-get-1)
12654         (display-buffer-record-window): Use window-point-1 instead of
12655         window-point.
12656         (set-window-buffer-start-and-point): Use set-window-point-1.
12658 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12660         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12662 2011-10-05  Glenn Morris  <rgm@gnu.org>
12664         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12665         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
12667 2011-10-05  Leo Liu  <sdl.web@gmail.com>
12669         * subr.el (read-char-choice): Fix argument to buffer-live-p which
12670         works with buffer object.
12672 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12674         * mpc.el (mpc-tool-bar-map): Add labels.
12676 2011-10-04  Glenn Morris  <rgm@gnu.org>
12678         * calendar/holidays.el (calendar-check-holidays): Doc fix.
12680 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
12682         * window.el (window--delete): New function.
12683         (frame-auto-delete): Resuscitate option.
12684         (bury-buffer, replace-buffer-in-windows)
12685         (quit-window): Rewrite using window--delete.
12686         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12687         Pass display-buffer-mark-dedicated to window--display-buffer-2
12688         (Bug#9639).
12690 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12692         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12693         returns a list (bug#9554).  Add remote file name completion.
12694         * comint.el (comint--table-subvert): Curry and get quote&unquote
12695         functions as arguments.
12696         (comint--complete-file-name-data): Adjust call accordingly.
12697         * pcomplete.el (pcomplete--table-subvert): Remove.
12698         (pcomplete-completions-at-point): Use comint--table-subvert instead.
12700         * minibuffer.el (completion-table-case-fold): Use currying.
12701         (completion--styles-type, completion--cycling-threshold-type):
12702         New constants.
12703         (completion-styles, completion-category-overrides)
12704         (completion-cycle-threshold): Use them.
12705         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12706         completion-table-case-fold.
12708 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
12710         * minibuffer.el (completion-category-overrides): Fix type of styles
12711         and add more user friendly tags (bug#9660).
12713 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12715         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12716         (mule-input-method-string): New widget.
12717         (default-input-method, language-info-custom-alist): Use it.
12719 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12721         * pcomplete.el: Require comint.
12722         (pcomplete--common-suffix): Remove.
12723         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12724         (pcomplete--table-subvert): Sync with comint--table-subvert.
12725         (pcomplete--entries): Use comint-completion-file-name-table.
12726         * comint.el (comint-unquote-filename): Simplify.
12727         (comint-completion-file-name-table): New function (bug#9616).
12728         (comint--complete-file-name-data): Use it.
12730         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12731         (pcmpl-gnu-tar-buffer): Remove.
12732         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12733         around.  Make sure pcomplete-suffix-list is only changed temporarily.
12734         Don't look inside the tar's file if it's too large.
12736 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
12738         * cus-edit.el (custom-mode-map):
12739         * epa.el (epa-key-list-mode-map):
12740         * man.el (Man-mode-map):
12741         * startup.el (splash-screen-keymap):
12742         * simple.el (special-mode-map): Use scroll-up-command and
12743         scroll-down-command.
12745         * progmodes/idlw-help.el (idlwave-help-mode-map):
12746         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12747         * net/newst-plainview.el (newsticker-mode-map):
12748         * emulation/ws-mode.el (wordstar-mode-map):
12749         * emulation/vi.el (vi-com-map):
12750         * calc/calc-graph.el (calc-graph-show-dumb):
12751         * term/sun.el (terminal-init-sun):
12752         * term/ns-win.el (global-map):
12753         * progmodes/grep.el (grep-mode-map):
12754         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12755         * mail/rmail.el (rmail-mode-map):
12756         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12758         * custom.el (custom-safe-themes, load-theme): Treat value of t for
12759         custom-safe-themes as special.
12761 2011-10-01  Julien Danjou  <julien@danjou.info>
12763         * notifications.el (notifications-notify): Fix docstring.
12765 2011-10-01  Per Starbäck  <per@starback.se>
12767         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
12769 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
12771         * startup.el (command-line-1): Fix last fix by inserting
12772         initial-scratch-message into *scratch* before displaying it.
12773         (Bug#9605) and (Bug#9636)
12775 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
12777         * simple.el (line-move): If auto-hscroll-mode is disabled and the
12778         window is hscrolled, move by logical lines.  (Bug#9607)
12779         (line-move-visual): Update the doc string to the above effect.
12781 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
12783         * window.el (display-buffer-record-window): When WINDOW is the
12784         selected window use `point' instead of `window-point'.  (Bug#9626)
12786         * startup.el (command-line-1): Use insert-before-markers when
12787         inserting initial-scratch-message.  (Bug#9605)
12789         * help.el (help-window): Remove variable.
12791 2011-09-29  Glenn Morris  <rgm@gnu.org>
12793         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12795 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
12797         * descr-text.el (describe-char-categories): Accept category
12798         descriptions more than one line long.
12800 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12802         * simple.el (delete-trailing-whitespace): Fix last change.
12804         * progmodes/perl-mode.el (perl-syntax-propertize-function):
12805         Don't confuse "y => 3" as the beginning of a `y' operation.
12807         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12808         object has more than 4 slots (bug#9613).
12810 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
12812         * subr.el (with-output-to-temp-buffer):
12813         * net/quickurl.el (quickurl, quickurl-browse-url):
12814         Fix typos in docstrings.
12816 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
12818         * minibuffer.el (completion-styles)
12819         (completion-category-overrides): Cross reference each other in doc
12820         strings.
12822 2011-09-27  Glenn Morris  <rgm@gnu.org>
12824         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12825         to split-string.  (Bug#9606)
12827 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12829         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12830         (bug#9615).
12832 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
12834         * emacs-lisp/package.el (list-packages): Fix echo area message.
12836 2011-09-27  Leo Liu  <sdl.web@gmail.com>
12838         * ido.el (ido-read-internal): Accept cons cell HIST arg.
12840 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
12842         * net/dbus.el (dbus-unregister-object): Don't release services for
12843         registered signals.  (Bug#9581)
12845 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
12847         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12848         function that picks between cfengine 2 and 3 support
12849         automatically.  Update docs accordingly.
12851 2011-09-22  Kenichi Handa  <handa@m17n.org>
12853         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12854         ZERO.
12855         (indian-itrans-v5-table-for-tamil): New variable.
12856         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12858 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
12860         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12861         that's true if the current command involved collapsing of text.
12862         It's reset to false at the beginning of the next command.
12863         (allout-post-command-business): Move the cursor to the beginning
12864         of entry if the cursor is hidden and collapsing activity just
12865         happened.
12867 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
12869         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12870         tracking (Bug#9541).
12872 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
12874         * net/newst-reader.el (newsticker-html-renderer)
12875         (newsticker-show-news): Automatically load html rendering package
12876         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
12877         because w3m-fill-column is let-bound" and the error "Symbol's value
12878         as variable is void: w3m-fill-column".
12880 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
12882         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12883         Release services only if they are defined.  (Bug#9581)
12885 2011-09-23  Richard Stallman  <rms@gnu.org>
12887         * textmodes/paragraphs.el (forward-sentence): For backwards case,
12888         distinguish start of paragraph from start of its text.
12890         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12892         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12893         (rmail-generate-viewer-buffer): Put that hook on view buffer.
12894         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12896 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
12898         * international/mule-diag.el (mule-diag): Insert a newline after
12899         each fontset description.
12901 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12903         * simple.el (delete-trailing-whitespace):
12904         Document last change; simplify.
12906 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
12908         * simple.el (delete-trailing-whitespace): Also delete
12909         extra newlines at the end of the buffer.
12911         * textmodes/picture.el: Make motion commands obey shift-select-mode.
12912         (picture-newline): Use forward-line so as to ignore fields.
12914 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12916         * subr.el (with-wrapper-hook): Fix edebug spec.
12918 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12920         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12921         (bug#4538).
12923 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
12925         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12926         Fix nasty bug using wrong cached values.
12928 2011-09-23  Alan Mackenzie  <acm@muc.de>
12930         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12932 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
12934         * window.el (pop-to-buffer): Ensure right window is selected if we
12935         chose another frame.
12937 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
12939         * simple.el (what-cursor-position): Use get-char-property-change
12940         and next-single-char-property-change, to be able to show display
12941         properties that come from overlays as well as text properties.
12943 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
12945         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12947         * cmuscheme.el (run-scheme, switch-to-scheme):
12948         * cus-edit.el (customize-group, custom-buffer-create)
12949         (customize-browse):
12950         * info.el (info):
12951         * shell.el (shell):
12952         * mail/sendmail.el (mail):
12953         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12955 2011-09-22  Richard Stallman  <rms@gnu.org>
12957         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12958         move back only to line beg, don't move back over blank lines.
12960 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
12962         * files.el (copy-directory): Set directory attributes only in case
12963         they could be retrieved from the source directory.  (Bug#9565)
12965 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
12967         * progmodes/hideshow.el (hs-looking-at-block-start-p)
12968         (hs-find-block-beginning, hs-hide-level-recursive):
12969         Ignore strings as well as comments.  (Bug#9502)
12971 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
12973         * progmodes/sql.el (sql-comint-postgres):
12974         Convert port number to a string.  (Bug#9566)
12976 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
12978         * window.el (quit-window): Undedicate window when switching to
12979         previous buffer.  Reported by Thierry Volpiatto
12980         <thierry.volpiatto@gmail.com>.
12981         (special-display-popup-frame): When popping up a new frame reset
12982         its previous buffers to nil.  Simplify code.
12984 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
12986         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12987         and process filter, as done also in `shell-command'.
12989 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
12991         * window.el (set-window-buffer-start-and-point):
12992         Call set-window-start with NOFORCE argument t.
12993         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12994         (quit-window): Reword doc-string.  Handle new format of
12995         quit-restore parameter.  Don't delete window if it has a
12996         previous buffer we can show instead of the present one.
12997         (display-buffer-record-window): Rewrite using a new format for
12998         the quit-restore window parameter
12999         (special-display-popup-frame, display-buffer-same-window)
13000         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13001         (display-buffer-pop-up-window, display-buffer-use-some-window):
13002         Adapt symbol passed to display-buffer-record-window.
13003         * help.el (help-window-setup): Handle new format of quit-restore
13004         parameter.
13006 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13008         * faces.el (face-list): Fix docstring (bug#9564).
13010         * window.el (display-buffer--action-function-custom-type):
13011         Don't include internal functions in the Custom interface.
13013 2011-09-20  Juri Linkov  <juri@jurta.org>
13015         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13016         (Info-forward-node, Info-backward-node, Info-next-preorder)
13017         (Info-last-preorder): Use it.  (Bug#9528)
13019 2011-09-20  Juri Linkov  <juri@jurta.org>
13021         * info.el (Info-last-preorder): Visit last menu item only when
13022         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13024 2011-09-20  Julien Danjou  <julien@danjou.info>
13026         * password-cache.el (password-cache-remove): Remove entries even if the
13027         value is nil, so that password with a nil value (negative caching) is
13028         possible to invalidate.
13030 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
13032         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13033         all whitespace around breakpoint.  (Bug#9553)
13034         (f90-find-breakpoint): Only break at whitespace inside a comment.
13036 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13038         * minibuffer.el (completion-file-name-table): Keep track of errors.
13039         (completion-table-with-predicate): Handle the case where pred1 is nil.
13040         * pcomplete.el (pcomplete-completions-at-point): Simplify.
13042 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13044         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13045         (debugger-return-value): Signal an error if the debugging context does
13046         not await any return value.
13048         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13049         * image-mode.el (image-toggle-display-text)
13050         (image-toggle-display-image): Stay away from evil `intangible'.
13052 2011-09-19  Leo Liu  <sdl.web@gmail.com>
13054         * replace.el (occur-revert-arguments): Make it permanent-local.
13055         (occur-mode): Don't call font-lock-defontify.
13057 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
13059         * net/ldap.el (ldap-search-internal): Don't push empty search
13060         result (Bug#9508).
13062 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13064         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13066 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
13068         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13069         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13071 2011-09-18  Juri Linkov  <juri@jurta.org>
13073         * buff-menu.el (Buffer-menu-mode-map):
13074         * dired.el (dired-mode-map):
13075         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13076         (lisp-interaction-mode-map):
13077         * emacs-lisp/package.el (package-menu-mode-map):
13078         * epa.el (epa-key-list-mode-map):
13079         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13080         (menu-bar-options-menu):
13081         * outline.el (outline-mode-menu-bar-map):
13082         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13083         * vc/vc-dir.el (vc-dir-menu-map):
13084         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13085         Capitalize non-function content words in menu item strings.
13087         * dired.el (dired-mode-map): Add menu item for
13088         `image-dired-dired-toggle-marked-thumbs'.
13090 2011-09-18  Juri Linkov  <juri@jurta.org>
13092         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13093         to `isearch-case-fold-search' and restore its original value
13094         after the `isearch-mode' call.
13096 2011-09-18  Juri Linkov  <juri@jurta.org>
13098         * progmodes/grep.el (grep-process-setup): Don't check code for 1
13099         because `zgrep' returns 1 for successful matches (bug#9226).
13101 2011-09-18  Juri Linkov  <juri@jurta.org>
13103         * info.el (Info-extract-menu-node-name): Check the second match
13104         for empty string (second test-case of bug#9528).
13105         (Info-last-preorder): Let-bind `Info-history' to nil to not add
13106         intermediate nodes to the history (first test-case of bug#9528).
13108 2011-09-18  Juri Linkov  <juri@jurta.org>
13110         * info.el (Info-mode-syntax-table): New variable.
13111         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13113 2011-09-18  Juri Linkov  <juri@jurta.org>
13115         * info.el (Info-file-supports-index-cookies):
13116         Increment line-beginning-position's arg from 3 to 4 because makeinfo
13117         outputs one more line for long file names (bug#4142).
13119 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13121         * newcomment.el (comment-normalize-vars): If prompting for
13122         comment-start, set comment-start-skip too (Bug#8424).
13124 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
13126         * icomplete.el: Fix previous fix of Bug#5849.
13127         (icomplete-mode): Don't set completion-show-inline-help.
13128         (icomplete-minibuffer-setup): Set completion-show-inline-help
13129         locally during icompletion.
13131 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13133         * woman.el (woman2-process-escapes): Don't delete unrecognized
13134         escapes (Bug#7843).
13136         * files.el (inhibit-first-line-modes-regexps): Add image files.
13137         (hack-local-variables-prop-line): Return nil for malformed
13138         prop-lines (Bug#9044).
13140 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
13142         * net/tramp.el (top): Don't require 'shell.
13143         (tramp-methods): Fix docstring.
13144         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13145         Return complete remote file name.  Handle "smb" case.
13146         Use `tramp-tmpdir', if defined for the respective method.
13147         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13149         * net/tramp-compat.el (top): Require 'shell.
13151         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13152         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13153         `tramp-current-host'.
13154         (tramp-get-remote-tmpdir): Remove.
13156         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13157         `tramp-tmpdir' entries.
13158         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13159         (tramp-smb-handle-file-attributes): Ignore errors.
13160         (tramp-smb-wait-for-output): Check also for process end.
13162 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13164         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13165         when sending QUIT (bug#9312).
13167 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
13169         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13170         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13171         occur-mode-display-occurrence.
13172         (occur-edit-mode): Add usage message.
13173         (occur-cease-edit): New command.
13174         (occur-after-change-function): Use text properties to find the
13175         position of the prefix text.
13176         (occur-engine): Set stickiness of prefix text properties.
13178 2011-09-17  Glenn Morris  <rgm@gnu.org>
13180         * progmodes/etags.el (complete-tag):
13181         Fix call to completion-in-region.  (Bug#9526)
13183 2011-09-17  Juri Linkov  <juri@jurta.org>
13185         * textmodes/ispell.el (ispell-word): Add to the error message
13186         the word, ispell program name and current dictionary (bug#9121).
13187         (ispell-tex-arg-end): Capitalize "error" in the error message.
13189 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
13191         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13192         check.  (Bug#4251)
13194 2011-09-17  Juri Linkov  <juri@jurta.org>
13196         * window.el (window-safe-min-height, window-safe-min-width):
13197         Fix typos (followup to bug#9522).
13199 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
13201         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13203 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
13205         * simple.el (line-move): If goal-column is set, move by logical
13206         lines, not by display lines.  (Bug#971)
13207         (next-line, previous-line, goal-column, line-move-visual): Doc fix
13208         to reflect the above change.
13210 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13212         * image.el (imagemagick-register-types): Use regexp-opt.
13214 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13216         * window.el (display-buffer-base-action): Rename from
13217         display-buffer-default-action.  Make default value empty.
13218         (display-buffer-overriding-action): Convert to defvar.
13219         (display-buffer-fallback-action): New var.
13221 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13223         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13224         declaration.
13225         (package--add-to-archive-contents): If there is a duplicate entry
13226         with an older version, remove it.
13227         (package-menu-mark-delete, package-menu-mark-install)
13228         (package-menu-mark-unmark): Make unused args optional.
13229         (package-menu-mark-obsolete-for-deletion):
13230         Use package-menu-get-status instead of a regexp search.
13231         (package-menu-get-status): Use tabulated-list-entry.
13232         (package-menu-mark-upgrades): New command.
13233         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
13234         (package-menu-execute): Do installation before deletion.
13235         (package-menu-refresh, package-menu-execute): Use derived-mode-p
13236         instead of checking major-mode.
13237         (package-menu--find-upgrades): New function.
13239 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13241         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13242         passwords in the log buffer.
13243         (smtpmail-process-filter): Update the process marker so that the
13244         "broken by peer" status message is inserted in the right place.
13246 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13248         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13249         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13250         bibtex-completion-at-point-function.
13251         (bibtex-completion-at-point-function): Use them.
13253         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13255         * mpc.el (mpc-constraints-tag-lookup): New function.
13256         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13257         also to browser "album|playlist".
13259 2011-09-14  Juri Linkov  <juri@jurta.org>
13261         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
13262         (isearch-edit-string): Use length of `isearch-string' when
13263         `isearch-fail-pos' returns nil.
13264         (isearch-message): Remove duplicate code and call
13265         `isearch-fail-pos' with arg `t'.
13267 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
13269         * replace.el (occur-mode-goto-occurrence): Don't force using other
13270         window (Bug#9499).
13272         * dired-aux.el (dired-do-chmod): Don't provide initial input.
13274 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
13276         * window.el (display-buffer-window): Remove.
13277         (display-buffer-record-window): Use help-setup window parameter
13278         instead of variable display-buffer-window.
13279         (display-buffer-function, special-display-buffer-names)
13280         (special-display-function): Mention help-setup parameter instead
13281         of display-buffer-window in doc-string.
13282         * help.el (help-window-setup): New argument help-window.
13283         Use help-window-setup parameter instead of display-buffer-window.
13284         Reword some messages.
13285         (with-help-window): Pass window used for displaying the buffer
13286         to help-window-setup.  Don't set display-buffer-window.
13288 2011-09-13  Glenn Morris  <rgm@gnu.org>
13290         * emacs-lisp/debug.el (debugger-make-xrefs):
13291         Preserve point.  (Bug#9462)
13293 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13295         * window.el (window-deletable-p): Use next-frame.
13297 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
13299         * window.el (window-auto-delete): Remove.
13300         (window-deletable-p): Remove argument FORCE.  Don't deal with
13301         dedication and previous buffers.
13302         (switch-to-prev-buffer): Don't delete window.
13303         (delete-windows-on): Delete a window's frame if and only if the
13304         window is dedicated.
13305         (replace-buffer-in-windows): Delete buffer's window or frame if
13306         and only if window is dedicated.
13307         (quit-window): Handle quit-restore as before last change.
13308         (bury-buffer): Delete window only if window-deletable-p returns t.
13310 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13312         * window.el (window-deletable-p): Never delete the last frame on a
13313         given terminal.
13315 2011-09-13  Glenn Morris  <rgm@gnu.org>
13317         * help.el (describe-key-briefly): Copy previous standard-output change.
13319 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
13321         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
13323 2011-09-13  Glenn Morris  <rgm@gnu.org>
13325         * emacs-lisp/lisp-mode.el (lisp-indent-function):
13326         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13328 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
13330         * dired-aux.el (dired-mark-read-string): Don't return default
13331         value on empty input (Bug#9361).
13332         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13333         Omit initial minibuffer contents.
13334         (dired-do-chmod): Signal an error on empty input.
13335         (dired-mark-read-string): Don't return default on empty input.
13337         * files.el (file-modes-symbolic-to-number): Doc fix.
13339 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13341         * international/mule-cmds.el (ucs-completions): Remove.
13342         (read-char-by-name): Use complete-with-action instead; add metadata.
13344 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13346         * window.el (display-buffer--action-function-custom-type)
13347         (display-buffer--action-custom-type): New vars.
13348         (display-buffer-alist, display-buffer-default-action)
13349         (display-buffer-overriding-action): Add defcustom types.
13351         * frame.el (delete-other-frames): Doc fix (Bug#276).
13353 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13355         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13357 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13359         Change modes that used same-window-* vars to use switch-to-buffer.
13361         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13362         Use switch-to-buffer.
13364         * cus-edit.el (customize-group, custom-buffer-create)
13365         (customize-browse, custom-buffer-create-other-window):
13366         Use switch-to-buffer or switch-to-buffer-other-window.
13368         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13369         (Info-prev, Info-up, Info-speedbar-goto-node)
13370         (info-display-manual): Use switch-to-buffer.
13371         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13373         * mail/sendmail.el (mail): Use switch-to-buffer.
13374         (mail-recover): Use switch-to-buffer-other-window.
13376         * cmuscheme.el (run-scheme, switch-to-scheme):
13377         * ielm.el (ielm):
13378         * shell.el (shell):
13379         * net/rlogin.el (rlogin):
13380         * net/telnet.el (telnet, rsh):
13381         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13383 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13385         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13387 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13389         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13390         so don't mention it (bug#9301).
13391         (dired-sort-toggle-or-edit): Clarify string further.
13393         * faces.el (face-spec-set-match-display): Make `(type graphic)'
13394         match `x', `w32' and `ns', like the manual says (bug#9029).
13396         * subr.el (eval-after-load): Doc string clarification (bug#9125).
13397         (process-kill-buffer-query-function): Mention the buffer name in
13398         the query.
13400         * image-mode.el (image-next-line): The line parameter is mandatory
13401         (bug#9258).
13403         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13404         which can be useful (bug#9301).
13406         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13408         * subr.el (match-string): Mention that the current buffer should
13409         be the same as the search was done in (bug#9282).
13411         * facemenu.el: Disable the remove-* commands if the mark isn't
13412         active (bug#9162).
13414 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13416         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13417         of display-buffer.
13418         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13420         * replace.el (occur-mode-goto-occurrence)
13421         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13422         and display-buffer.
13424         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13425         display-buffer.
13427         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13428         special-display and same-window variables.
13429         (mail-other-window): Use switch-to-buffer-other-window.
13430         (mail-other-frame): USe switch-to-buffer-other-frame.
13432         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13433         Use display-buffer-other-frame.
13434         (gdb-display-gdb-buffer): Use pop-to-buffer.
13436         * progmodes/gud.el (gud-goto-info): Use info-other-window.
13438         * progmodes/python.el: Don't set same-window-buffer-names.
13440         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13442         * window.el (display-buffer-alist): Add *Python*.
13444 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13446         * window.el (display-buffer-alist): Add entry for buffers
13447         previously handled same-window-*.
13448         (display-buffer-alist, display-buffer-default-action)
13449         (display-buffer-overriding-action): Mark as risky.
13450         (display-buffer-alist): Document action function changes.
13451         (display-buffer--same-window-action)
13452         (display-buffer--other-frame-action): New variables.
13453         (switch-to-buffer, display-buffer-other-frame): Use them.
13454         (display-buffer): Rename reuse-frame entry to reusable-frames.
13455         (display-buffer-reuse-selected-window): Function deleted.
13456         (display-buffer-reuse-window): Handle reusable-frames alist entry.
13457         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13458         (display-buffer-special): New function.
13459         (display-buffer--maybe-pop-up-frame-or-window): Rename from
13460         display-buffer-reuse-or-pop-window.  Split off special-display
13461         part into display-buffer-special.
13462         (display-buffer-use-some-window): Don't perform any special
13463         pop-up-frames handling.
13464         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13465         (display-buffer--maybe-same-window): Rename from
13466         display-buffer-maybe-same-window.
13468         * info.el: Don't set same-window-regexps.
13469         (info-setup): New function.
13470         (info-other-window, info): Call it.
13472         * cus-edit.el: Don't set same-window-regexps.
13473         (customize-group): New argument.
13474         (customize-group-other-window): Use it.
13475         (customize-face, customize-face-other-window): Likewise.
13476         (custom-buffer-create-other-window): Use pop-to-buffer directly.
13478         * net/rlogin.el:
13479         * net/telnet.el:
13480         * progmodes/gud.el: Don't set same-window-regexps.
13482         * cmuscheme.el:
13483         * ielm.el:
13484         * shell.el:
13485         * mail/sendmail.el:
13486         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13488 2011-09-10  Juri Linkov  <juri@jurta.org>
13490         * isearch.el (isearch-edit-string): Remove obsolete mention of
13491         `C-w' (`isearch-yank-word-or-char') from docstring.
13492         (isearch-query-replace): Fix typo in docstring (bug#9466).
13494 2011-09-10  Juri Linkov  <juri@jurta.org>
13496         * paren.el (show-paren-function): Don't show escaped parens.
13497         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
13499 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
13501         * mail/sendmail.el (mml-to-mime, mml-attach-file)
13502         (mm-default-file-encoding): Remove autoload forms, they are
13503         replaced with autoload cookies in mml.el and mm-encode.el.
13504         (mail-add-attachment): New command.
13505         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13506         (mail-mode): Mention mail-insert-file and mail-add-attachment in
13507         the doc string.
13508         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13510 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
13512         * simple.el (count-words-region): Use buffer if there's no region
13513         (bug#9429).
13515 2011-09-09  Juri Linkov  <juri@jurta.org>
13517         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13518         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13519         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
13521 2011-09-09  Alan Mackenzie  <acm@muc.de>
13523         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13524         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
13526 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
13528         Fix for Savannah bug#9392.
13529         * simple.el (mail-encode-mml): New defvar.
13531         * mail/rmail.el (mail-encode-mml): Add a defvar.
13532         (rmail-enable-mime-composing): Default to t.
13533         (rmail-forward): Use MIME method of forwarding only if both
13534         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13535         Set mail-encode-mml non-nil if the MIME method was used.
13537         * mail/sendmail.el (mml-to-mime): Add autoload form.
13538         (mail-encode-mml): Add a defvar.
13539         (mail-mode): Make mail-encode-mml buffer-local and initialize it
13540         to nil.
13541         (mail-send): If mail-encode-mml is non-nil, run the outgoing
13542         message through mml-to-mime, and reset mail-encode-mml to nil.
13544 2011-09-09  Glenn Morris  <rgm@gnu.org>
13546         * woman.el (woman-if-body): When processing an .el block,
13547         do not delete the next .el block as well.  (Bug#9447)
13548         (woman-special-characters): Add oq, cq, and hy characters.
13550 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13552         * window.el (window-deletable-p): Make sure window is live before
13553         invoking window-prev-buffers.
13555 2011-09-08  Leo Liu  <sdl.web@gmail.com>
13557         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
13559 2011-09-08  Juri Linkov  <juri@jurta.org>
13561         * progmodes/compile.el (compilation-environment): Make it
13562         a defcustom (bug#8340).
13564 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13566         * window.el (frame-auto-delete): Rename to window-auto-delete.
13567         Make it control auto-deletion of windows and/or frames.
13568         (window-deletable-p): New argument FORCE.  Rewrite conditions
13569         for deleting window/frame.  (Bug#9419)
13570         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13571         Rewrite handling of case when window/frame can be deleted.
13572         (delete-windows-on): Call window-deletable-p with new FORCE
13573         argument t.  (Bug#9456)
13575 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
13577         * help-mode.el (help-mode): Restore autoload.
13579 2011-09-07  Juri Linkov  <juri@jurta.org>
13581         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13582         `compilation-environment'.  Set buffer-local
13583         `compilation-environment' to `thisenv' later after (funcall mode).
13584         (Bug#8340)
13586         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
13587         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13588         instead of replacing its value.  (Bug#8340)
13590 2011-09-07  Juri Linkov  <juri@jurta.org>
13592         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13593         based on text properties put by `grep-filter' instead of matching
13594         escape sequences.
13595         (grep-mode): Set buffer-local `compilation-error-screen-columns'
13596         to the value of `grep-error-screen-columns' (bug#9438).
13598 2011-09-07  Juri Linkov  <juri@jurta.org>
13600         * simple.el (next-error-highlight, next-error-highlight-no-select):
13601         Doc fix (bug#9432).
13603 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
13605         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13606         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
13608 2011-09-07  Leo Liu  <sdl.web@gmail.com>
13610         * net/rcirc.el (rcirc-mode): Conditionally initialize
13611         rcirc-input-ring.
13613 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13615         * emacs-lisp/find-func.el (find-function-C-source): Only set
13616         find-function-C-source-directory after checking that we found a source
13617         file there (bug#9440).
13619 2011-09-06  Alan Mackenzie  <acm@muc.de>
13621         * isearch.el (isearch-other-meta-char): Wherever a key list is
13622         unread, "unread" the prefix arg, too.  This fixes bug #8901.
13624 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
13626         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13628 2011-09-05  Juri Linkov  <juri@jurta.org>
13630         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13632 2011-09-05  Juri Linkov  <juri@jurta.org>
13634         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13635         keeping point where processing of grep matches begins, and
13636         continue to delete remaining escape sequences from the same point.
13637         (grep-filter): Make leading zero optional in "0?1;31m" because
13638         git-grep emits "\033[1;31m" escape sequences unlike expected
13639         "\033[01;31m" as GNU Grep does (bug#9408).
13640         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13642 2011-09-05  Juri Linkov  <juri@jurta.org>
13644         * subr.el (y-or-n-p): Capitalize "yes".
13646 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
13648         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
13649         `tramp-cache-unload-hook' where appropriate.
13650         (tramp-methods): Rename `tramp-remote-sh' to
13651         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
13652         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13654         * net/tramp-sh.el (top): Don't require 'shell.
13655         (tramp-methods): Add `tramp-remote-shell' and
13656         `tramp-remote-shell-args' entries.
13657         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13658         (tramp-sh-handle-shell-command): Remove.
13659         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13660         Use `tramp-remote-shell'.
13662 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
13664         * mail/sendmail.el (sendmail-query-once-function): Delete.
13665         (sendmail-query-once): Save directly to send-mail-function.
13666         Update message-send-mail-function too.
13668         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13670 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13672         * progmodes/python.el (python-mode-map): Use correct function to
13673         start python interpreter from menu-bar (as reported by Geert
13674         Kloosterman).
13675         (inferior-python-mode-map): Fix typo.
13676         (python-shell-map): Remove.
13678 2011-09-03  Deniz Dogan  <deniz@dogan.se>
13680         * net/rcirc.el (rcirc-print): Simplify code for
13681         rcirc-scroll-show-maximum-output.  There is no need to walk
13682         through all windows to find the right one.
13684 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13686         * help.el (help-return-method): Doc fix.
13688 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
13690         * window.el (window-deletable-p): Don't return a non-nil value
13691         when there's a buffer that was shown in the window before.
13692         (Bug#9419)
13693         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13694         Set window's previous buffers to nil.
13696 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
13698         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13699         newline before and after the tag line, so it doesn't interfere
13700         with determining the paragraph direction of bidirectional text.
13702 2011-09-03  Leo Liu  <sdl.web@gmail.com>
13704         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
13706 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13708         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13709         (pop-to-buffer): Change interactive spec.  Pass second argument
13710         directly to display-buffer.
13711         (display-buffer): Fix interactive spec.  Use functionp to
13712         distinguish between a function and a list of functions.
13714         * abbrev.el (edit-abbrevs):
13715         * arc-mode.el (archive-extract):
13716         * autoinsert.el (auto-insert):
13717         * bookmark.el (bookmark-bmenu-list):
13718         * files.el (find-file):
13719         * view.el (view-buffer):
13720         * progmodes/compile.el (compilation-goto-locus):
13721         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13723 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13725         * window.el (display-buffer-alist): Doc fix.
13726         (display-buffer): Add docstring.  Don't treat
13727         display-buffer-default specially.
13728         (display-buffer-reuse-selected-window)
13729         (display-buffer-same-window, display-buffer-maybe-same-window)
13730         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13731         (display-buffer-pop-up-window)
13732         (display-buffer-reuse-or-pop-window)
13733         (display-buffer-use-some-window): New functions.
13734         (display-buffer-default-action): Use them.
13735         (display-buffer-default): Delete.
13736         (pop-to-buffer-1): Fix choice of actions.
13738 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13740         * minibuffer.el (completion--insert-strings): Don't get confused by
13741         completion entries that end with an LF char.
13743 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
13745         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13747 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
13749         * window.el (display-buffer): Restore interactive spec.
13750         (display-buffer-same-window, display-buffer-other-window):
13751         New functions.
13752         (pop-to-buffer-1): New function.  Use the above.
13753         (pop-to-buffer, pop-to-buffer-same-window): Use it.
13754         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13756         * view.el (view-buffer-other-window, view-buffer-other-frame):
13757         Just use pop-to-buffer.
13759 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13761         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
13763 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
13765         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
13767 2011-08-31  Richard Stallman  <rms@gnu.org>
13769         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13770         of the separation of rmail-view-buffer from rmail-buffer.
13771         If you say no to "replace original", the decrypt is in the
13772         view buffer.  If you say yes, the decrypt goes into the
13773         rmail buffer also.
13775 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
13777         * window.el (display-buffer-window): Rewrite doc-string.
13778         (display-buffer-record-window): New function.
13779         (display-buffer-macro-specifiers)
13780         (display-buffer-even-window-sizes, display-buffer-set-height)
13781         (display-buffer-set-width, display-buffer-in-window)
13782         (display-buffer-reuse-window, display-buffer-split-specifiers)
13783         (display-buffer-side-specifiers, display-buffer-split-window-1)
13784         (display-buffer-split-window, display-buffer-split-atom-window)
13785         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13786         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13787         (display-buffer-other-window-means-other-frame)
13788         (display-buffer-normalize-special)
13789         (display-buffer-normalize-default)
13790         (display-buffer-normalize-argument)
13791         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13792         (display-buffer-normalize-specifiers, display-buffer-frame)
13793         (display-buffer-same-window, display-buffer-same-frame)
13794         (display-buffer-other-window)
13795         (display-buffer-same-frame-other-window)
13796         (display-buffer-other-frame, pop-to-buffer-same-window)
13797         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13798         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13799         (switch-to-buffer-same-frame)
13800         (switch-to-buffer-other-window-same-frame)
13801         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13802         (display-buffer-alist-set-1, display-buffer-alist-set-2)
13803         (display-buffer-alist-set): Remove.
13804         (display-buffer-function, special-display-buffer-names)
13805         (special-display-regexps, special-display-function):
13806         In doc-string refer to display-buffer-window and quit-restore
13807         parameter.
13808         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13809         (special-display-frame-alist, special-display-popup-frame)
13810         (same-window-buffer-names, same-window-regexps, same-window-p)
13811         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13812         (split-window-preferred-function, split-height-threshold)
13813         (split-width-threshold, window-splittable-p)
13814         (split-window-sensibly, window--try-to-split-window)
13815         (window--frame-usable-p, even-window-heights)
13816         (window--even-window-heights, window--display-buffer-1)
13817         (window--display-buffer-2, display-buffer-other-frame):
13818         Restore old Emacs 23 code, order and doc-strings where applicable.
13819         (display-buffer-default, display-buffer-assq-regexp): New functions.
13820         (display-buffer-alist): Rewrite doc-string.
13821         (display-buffer-default-action)
13822         (display-buffer-overriding-action): New variables.
13823         (display-buffer, switch-to-buffer): Rewrite.
13824         (pop-to-buffer): Restore Emacs 23 behavior but use
13825         window-normalize-buffer-to-display.
13826         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13827         Restore Emacs 23 behavior but use
13828         window-normalize-buffer-to-switch-to.
13829         (pop-to-buffer-same-window): Rewrite.
13830         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13831         Rewrite using Emacs 23 options.
13833 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
13835         * net/tramp.el (tramp-root-regexp): Remove.
13836         (tramp-completion-file-name-regexp-unified)
13837         (tramp-completion-file-name-regexp-separate)
13838         (tramp-completion-file-name-regexp-url): Don't use leading volume
13839         letter on w32 systems.  (Bug#5303, Bug#9311)
13840         (tramp-drop-volume-letter): Simplify definition.
13841         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13843 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13845         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13846         (bug#9356).
13848 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
13850         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13852 2011-08-29  Juri Linkov  <juri@jurta.org>
13854         * isearch.el (isearch-done): Don't display message "Mark saved"
13855         when arg `edit' is non-nil to prevent its flicker in the echo area.
13857 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13859         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13860         obsolete packages for deletion.
13862 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
13864         * help-mode.el (help-mode-map): Add special-mode-map to parent.
13865         (help-mode): Derive help-mode from special-mode.  Don't invoke
13866         view-mode from help-mode.
13867         (help-xref-override-view-map): Remove.
13868         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13869         view-mode is not used anymore.
13871 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13873         * server.el (server-port): Doc fix.
13875         * cus-theme.el (custom-theme-choose-mode): Inherit from
13876         special-mode (Bug#9124).
13877         (custom-theme-choose-mode-map): Add special-mode to parent.
13879 2011-08-28  Alan Mackenzie  <acm@muc.de>
13881         * progmodes/cc-fonts.el
13882         (c-make-font-lock-BO-decl-search-function): New function.
13883         (c-basic-matchers-after - "Fontify the clauses after various
13884         keywords"): Extract the three keyword lists for the 3 erroneous
13885         constructs from the list of four, and use the new function above
13886         in place of an old one.
13888 2011-08-28  Deniz Dogan  <deniz@dogan.se>
13890         * net/rcirc.el (rcirc-insert-prev-input)
13891         (rcirc-insert-next-input): Remove unused argument.
13893 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13895         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13897 2011-08-27  Alan Mackenzie  <acm@muc.de>
13899         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13900         handle function pointer parameters properly.
13902 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
13904         * window.el (display-buffer-reuse-window): Fix case where
13905         selected window was reused with non-nil OTHER-WINDOW argument.
13906         (Bug#9381)
13908 2011-08-27  Deniz Dogan  <deniz@dogan.se>
13910         * net/rcirc.el (rcirc-check-auth-status): Adding support for
13911         oftc's NickServ messages.
13913 2011-08-27  Glenn Morris  <rgm@gnu.org>
13915         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
13917 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
13919         * emacs-lisp/package.el (package-install): Call package-initialize
13920         if called interactively.
13922 2011-08-26  Leo Liu  <sdl.web@gmail.com>
13924         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
13926 2011-08-25  Juri Linkov  <juri@jurta.org>
13928         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13929         `search-whitespace-regexp' (bug#9364).
13931 2011-08-25  Juri Linkov  <juri@jurta.org>
13933         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13934         `regexp-search-ring' to their global values to protect from
13935         updating by `read-from-minibuffer' (bug#9185).
13937 2011-08-25  Juri Linkov  <juri@jurta.org>
13939         * textmodes/ispell.el (ispell-command-loop): Add newline
13940         at the end of the "Use option `i'..." line.
13942 2011-08-25  Juri Linkov  <juri@jurta.org>
13944         * battery.el (display-battery-mode): If `battery-status-function'
13945         or `battery-mode-line-format' is nil, display the message and set
13946         `display-battery-mode' to nil (bug#9363).
13948 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
13950         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13951         bidi-string-mark-left-to-right; they are unnecessary now.
13953 2011-08-25  Deniz Dogan  <deniz@dogan.se>
13955         * net/quickurl.el: Documentation typo fixes.
13957 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
13959         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13961 2011-08-25  Glenn Morris  <rgm@gnu.org>
13963         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13965         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13966         (smtpmail-via-smtp): Handle nil response from smtp.
13968 2011-08-24  Juri Linkov  <juri@jurta.org>
13970         * proced.el (proced-marked): Inherit from `error' instead of
13971         `font-lock-warning-face'.
13973         * ibuffer.el (ibuffer-marked-face): Change default face from
13974         `font-lock-warning-face' to `warning'.
13975         (ibuffer-deletion-face): Change default face from
13976         `font-lock-type-face' to `error'.
13978         * battery.el (battery-update): Use the face `error' instead of
13979         `font-lock-warning-face' (bug#6117).
13981 2011-08-24  Juri Linkov  <juri@jurta.org>
13983         * faces.el (success): Change face color from "Green3" to
13984         "ForestGreen" on light background (bug#9353).
13986 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
13988         * window.el (quit-window): Rename from quit-restore-window.
13989         Use same arglist as old quit-window.
13990         (frame-auto-delete): Doc fix.
13992         * view.el (view-mode-exit): Use quit-window.
13994 2011-08-24  Juri Linkov  <juri@jurta.org>
13996         * isearch.el (isearch-ring-adjust1): Start visiting previous
13997         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13998         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13999         for empty search string (when the last search string is reused
14000         automatically) to adjust the isearch ring to the last element and
14001         prepare the correct index for further M-p commands (bug#9185).
14003 2011-08-24  Kenichi Handa  <handa@m17n.org>
14005         * international/ucs-normalize.el: If decomposition property of
14006         CHAR is the default one (i.e. a list of CHAR itself), treat it as
14007         nil.
14008         (nfd, nfkd): Likewise.
14010 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14012         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14013         from process filters aren't reliably transmitted to the surrounding
14014         accept-process-output.
14015         (mpc-proc-check): New function.
14016         (mpc-proc-sync): Use it (bug#8293)
14018 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14020         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14021         Add compatibility functions (bug#9313).
14023 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
14025         * cus-start.el (all): Add entry for bidi-paragraph-direction.
14027         * international/uni-bidi.el: Regenerate.
14029 2011-08-23  Kenichi Handa  <handa@m17n.org>
14031         * international/charprop.el:
14032         * international/uni-bidi.el:
14033         * international/uni-category.el:
14034         * international/uni-combining.el:
14035         * international/uni-comment.el:
14036         * international/uni-decimal.el:
14037         * international/uni-decomposition.el:
14038         * international/uni-digit.el:
14039         * international/uni-lowercase.el:
14040         * international/uni-mirrored.el:
14041         * international/uni-name.el:
14042         * international/uni-numeric.el:
14043         * international/uni-old-name.el:
14044         * international/uni-titlecase.el:
14045         * international/uni-uppercase.el: Regenerate.
14047 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
14049         * help.el (help-window-setup): Fix message displayed when other
14050         window is reused.  (Bug#9341)
14052 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14054         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14055         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14057         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14058         Mark obsolete.
14059         * shell.el (shell-parse-pcomplete-arguments): New function.
14060         (shell-completion-vars): Use it instead (bug#9160).
14062 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14064         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14065         strings and comments (bug#9333).
14067         * emacs-lisp/debug.el (debug-arglist): New function.
14068         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
14069         (debug-on-entry-1): Handle interpreted closures (bug#9120).
14071 2011-08-22  Juri Linkov  <juri@jurta.org>
14073         * progmodes/compile.el (compilation-mode-font-lock-keywords):
14074         Revert regexp that highlights output switches to its old
14075         pre-2010-10-28 value and remove one `?' from it (bug#9319).
14077         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14078         to check for empty output (bug#9226).
14080 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
14082         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14083         symbol-constituent as the default, as that stops font-lock from
14084         working properly (Bug#8843).
14086 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14088         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14089         `coding-system-for-*' around the process open call to avoid
14090         auth-source side effects.
14091         (smtpmail-try-auth-methods): Expand the secret password.
14092         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14093         probe hangs.
14095 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14097         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14099         * emacs-lisp/find-func.el (find-function-noselect): New arg
14100         lisp-only.
14102         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14103         signal an error for built-in functions (Bug#6664).
14105 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14107         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14108         (smtpmail-try-auth-methods): Use it.
14110 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14112         * font-lock.el (font-lock-fontify-region)
14113         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14114         (font-lock-default-unfontify-buffer)
14115         (font-lock-default-fontify-region)
14116         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14118         * progmodes/compile.el (compilation-error-properties):
14119         Fix confusion between file struct and message struct (Bug#9319).
14120         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14121         `ant' regexp.
14123         * net/browse-url.el (browse-url-firefox): Don't call
14124         browse-url-firefox-sentinel unless using -remote (Bug#9328).
14126 2011-08-20  Glenn Morris  <rgm@gnu.org>
14128         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14130         * tutorial.el (tutorial--default-keys): Update some default bindings.
14132         * files.el (hack-local-variables): Fully ignore case for "mode:".
14134 2011-08-20  Alan Mackenzie  <acm@muc.de>
14136         Resolve invalid use of a regexp in regexp-opt.
14138         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14139         detection for a java annotation.
14141         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14142         detection for a java annotation.
14144         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14145         handling for java.
14146         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14148 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
14150         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14151         (Bug#9274).
14153 2011-08-20  Alan Mackenzie  <acm@muc.de>
14155         Fontify CPP expressions correctly when starting in the middle of
14156         such a construct.  Mainly for when jit-lock etc. starts a chunk
14157         here.
14159         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14160         variable.
14161         (c-make-font-lock-search-form): New function, extracted from
14162         c-make-font-lock-search-function.
14163         (c-make-font-lock-search-function): Use the above function.
14164         (c-make-font-lock-context-search-function): New function.
14165         (c-cpp-matchers): Enhance the preprocessor expression case with
14166         the above function
14167         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14168         which takes an expression.
14170         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14172 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
14174         * window.el (display-buffer-reuse-window)
14175         (display-buffer-pop-up-window): Don't reuse or split a side
14176         window.
14178 2011-08-19  Glenn Morris  <rgm@gnu.org>
14180         * files.el (hack-local-variables-prop-line, hack-local-variables):
14181         Downcase "Mode:".  (Bug#9331)
14183 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
14185         * international/characters.el: Add L and R categories.
14187         * subr.el (bidi-string-mark-left-to-right): Rename from
14188         string-mark-left-to-right.  Use category search.
14190         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14192 2011-08-18  Juri Linkov  <juri@jurta.org>
14194         * faces.el (error, warning, success): New faces with definitions
14195         copied from old default values of `font-lock-warning-face',
14196         `compilation-warning', `compilation-info' (bug#6117).
14198         * font-lock.el (font-lock-warning-face): Inherit from `error'.
14200         * progmodes/compile.el (compilation-error): Inherit from `error'.
14201         (compilation-warning): Inherit from `warning'.
14202         (compilation-info): Inherit from `success'.
14204         * dired.el (dired-marked): Inherit from `warning'.
14205         (dired-flagged): Inherit from `error'.
14207 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14209         * mail/smtpmail.el (auth-source): Require to avoid problems with
14210         binding variables (bug#9298).  Also clean up some unused
14211         autoloads.
14213         * net/network-stream.el (network-stream-open-starttls):
14214         Support using starttls.el without using gnutls-cli.
14216 2011-08-17  Juri Linkov  <juri@jurta.org>
14218         * progmodes/grep.el (rgrep): Handle the case when
14219         `grep-find-command' is a cons cell (bug#9278).
14221 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
14223         * window.el (display-buffer-pop-up-frame): Run frame creation
14224         function with BUFFER current (as special-display-popup-frame
14225         does).  Reported by Drew Adams.
14227 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
14229         * epa-mail.el: Simplify GnuPG group expansion using
14230         epg-expand-group.
14231         (epa-mail-group-alist, epa-mail-group-modtime)
14232         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14233         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14234         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14235         Remove.
14237 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
14239         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14241 2011-08-16  Alan Mackenzie  <acm@muc.de>
14243         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14244         Correct, to avoid the inside of macros.
14246 2011-08-16  Richard Stallman  <rms@gnu.org>
14248         * epa-mail.el: Handle GnuPG group definitions.
14249         (epa-mail-group-alist, epa-mail-group-modtime)
14250         (epa-mail-gnupg-conf-file): New variables.
14251         (epa-mail-parse-groups, epa-mail-sync-groups)
14252         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14253         (epa-mail-expand-recipients): New functions.
14254         (epa-mail-encrypt): Call epa-mail-expand-recipients.
14256         * mail/rmail.el (rmail-epa-decrypt): New command.
14258         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14259         Don't bind buffer-read-only, just inhibit-read-only.
14260         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14261         (epa-decrypt-armor-in-region): Make error message clearer.
14263 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14265         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14266         and "a2b" to "ab" for `prefix'.
14268 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
14270         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14271         filter groups.
14272         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
14273         Fourquet (Bug#8804).
14275 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
14277         * startup.el (argi): Declare as global variable (bug#9275).
14279 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
14281         * subr.el (string-mark-left-to-right): Search the entire string
14282         for RTL script, not just the terminating character.  Doc fix.
14284 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14286         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14287         New function.
14288         (js--regexp-literal, js-syntax-propertize-function): Remove.
14289         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14290         (js-mode-map): Don't rebind electric keys.
14291         (js-insert-and-indent): Remove.
14292         (js-mode): Setup electric-layout and electric-indent instead.
14294         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14296 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
14298         * epa.el (epa-progress-callback-function): Fix the logic of
14299         displaying progress.
14300         * epa-file.el (epa-file-insert-file-contents): Make progress
14301         display more user-friendly.
14302         (epa-file-write-region): Ditto.
14304 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
14306         * subr.el (string-mark-left-to-right): New function.
14308         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14309         Use string-mark-left-to-right.
14310         (list-buffers-noselect): Caller changed.
14312         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14313         Use string-mark-left-to-right.
14314         (tabulated-list-print): Recenter after moving point.
14316 2011-08-10  Juri Linkov  <juri@jurta.org>
14318         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14319         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14320         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14322 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
14324         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14325         (Bug#7554).
14327 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14329         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14330         character.  (Bug#6594)
14332 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
14334         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14335         (image-dired--with-db-file): New macro.
14336         (image-dired-write-tags, image-dired-remove-tag)
14337         (image-dired-create-gallery-lists, image-dired-write-comments)
14338         (image-dired-get-comment, image-dired-mark-tagged-files)
14339         (image-dired-list-tags, image-dired-gallery-generate): Use it.
14340         (image-dired-gallery-generate): Use insert-file-contents.
14342         * time.el (display-time-world-list, display-time-world-display):
14343         * time-stamp.el (time-stamp-string):
14344         * vc/add-log.el (add-change-log-entry): Use setenv instead of
14345         set-time-zone-rule (Bug#7337).
14347 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
14349         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14350         (epg-error-to-string, epg-errors-to-string): New function.
14351         (epg-wait-for-completion): Reverse errors list.
14352         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14353         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14354         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14355         (epg-sign-keys, epg-generate-key-from-file)
14356         (epg-generate-key-from-string): Format errors by using
14357         epg-errors-to-string (bug#9255).
14358         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14360 2011-08-07  Juri Linkov  <juri@jurta.org>
14362         * faces.el (list-faces-display): Remove extra angle bracket
14363         from `help-mode-map'.
14365         * info.el (Info-history-toc-nodes): Doc fix.
14367         * longlines.el (longlines-mode): Doc fix.
14369 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14371         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14372         of statements and in a few more cases (bug#9183).
14374         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14375         New functions.
14376         (cl-transform-lambda): Use them (bug#9239).
14378 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
14380         * window.el (display-buffer-same-window)
14381         (display-buffer-same-frame, display-buffer-other-window)
14382         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14383         (pop-to-buffer-other-window)
14384         (pop-to-buffer-same-frame-other-window)
14385         (pop-to-buffer-other-frame): Make them defuns.
14386         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14388 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14390         * subr.el (make-composed-keymap): Move from C.  Change calling
14391         convention, and improve docstring to bring attention to a subtle point.
14392         * minibuffer.el (completing-read-default): Adjust accordingly.
14394 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
14396         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14397         (tramp-open-shell): Use `tramp-shell-quote-argument'.
14399         * net/trampver.el: Update release number.
14401 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14403         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14404         "in" (bug#9190).
14406 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14408         * mail/sendmail.el (sendmail-query-once): Restore the current
14409         buffer after querying (bug#9074).
14411         * dired.el (dired-flagged): Use different faces for marked and
14412         flagged files (bug#6117).
14414         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14415         (bug#4433).
14417         * ido.el (ido-mode): Switch off the message if called
14418         non-interactively.
14420         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14421         before 587, since it appears that that's more likely to work for
14422         more people.
14424         * cus-edit.el (custom-file): When running under emacs -q, always
14425         refuse to save the customizations, even if the .emacs file doesn't
14426         exist.
14428         * info.el: Remove the `Info-beginning-of-buffer' function
14429         (bug#8325).
14431         * net/network-stream.el (network-stream-open-starttls):
14432         Use `starttls-available-p' to see whether starttls.el can be used.
14434 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
14436         * window.el (display-buffer-in-window): Don't set dedicated status
14437         of window here (Bug#9215).
14438         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14439         (display-buffer-pop-up-side-window)
14440         (display-buffer-in-side-window): Set dedicated status of window here.
14442 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14444         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14445         before binding generated-autoload-file.
14447 2011-08-01  Deniz Dogan  <deniz@dogan.se>
14449         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14451 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
14453         Sync with Tramp 2.2.2.
14455         * net/trampver.el: Update release number.
14457 2011-07-30  Juri Linkov  <juri@jurta.org>
14459         * dired-aux.el (dired-touch-initial): Remove function.
14460         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14461         current time, and `default' to the last modification time of the
14462         current marked file (bug#6887).
14464 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
14466         * simple.el (goto-line): Use string-to-number to provide a
14467         numeric argument to read-number (bug#9163).
14469 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
14471         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14472         connection process, it could be nil.
14474 2011-07-27  Leo Liu  <sdl.web@gmail.com>
14476         Simplify url handling in rcirc-mode.
14478         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14479         (rcirc-browse-url-at-mouse): Remove.
14480         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14482 2011-07-26  Alan Mackenzie  <acm@muc.de>
14484         Fontify bitfield declarations properly.
14486         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14487         (c-symbol-chars): Now exported as a lang variable.
14488         (c-not-primitive-type-keywords): New lang variable.
14490         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14491         QT keyword "more" to prevent "more slots: ...." being spuriously
14492         parsed as a bitfield declaration.
14494         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14495         Refactor and enhance to handle bitfield declarations.
14496         (c-punctuation-in): New function.
14497         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14498         declarations properly.
14500 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
14502         * calendar/icalendar.el (icalendar--all-events): Take care of
14503         multiple vcalendars in a single file.
14504         (icalendar--convert-float-to-ical): Checkdoc fixes.
14506 2011-07-25  Deniz Dogan  <deniz@dogan.se>
14508         * image.el (insert-image): Clarifying docstring.
14510 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
14512         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14513         `tramp-send-command-and-check' if there is no error.
14514         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14516 2011-07-22  Alan Mackenzie  <acm@muc.de>
14518         Prevent cc-langs.elc being loaded at run time.
14520         * progmodes/cc-mode.el: Remove two autoload forms which loaded
14521         cc-langs.
14523         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14524         "(require 'cc-langs)".  Quote a form so it will evaluate at
14525         (cc-mode's) compilation time.
14527 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
14529         * net/tramp.el (tramp-file-name-handler): Avoid recursive
14530         loading.  (Bug#9114)
14532 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
14534         * window.el (display-buffer-pop-up-window)
14535         (display-buffer-pop-up-side-window)
14536         (display-buffer-in-side-window): Call display-buffer-set-height
14537         and display-buffer-set-width after setting the new window's
14538         buffer so `fit-window-to-buffer' and friends work on the right buffer.
14540 2011-07-20  Sam Steingold  <sds@gnu.org>
14542         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14543         (etags-tags-included-tables): Call `convert-standard-filename' on
14544         the file names contained in TAGS so that windows Emacs can handle
14545         TAGS files created by cygwin ctags.
14547 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14549         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14550         which apparently didn't work.
14552 2011-07-19  Roland Winkler  <winkler@gnu.org>
14554         * proced.el (proced-send-signal): For *Marked Processes* buffer
14555         put point at beginning of buffer.
14557 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
14559         * proced.el (proced-format): Make header lines align with the text
14560         (bug#1779).
14562 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14564         * view.el (view-buffer): Allow running in `special' modes if we're
14565         visiting a file (bug#8615).
14567 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
14569         * window.el (display-buffer-alist-of-strings-p)
14570         (display-buffer-alist-set-1, display-buffer-alist-set-2):
14571         New functions.
14572         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14573         more accurately.
14575 2011-07-18  Alan Mackenzie  <acm@muc.de>
14577         Fontify declarators properly when, e.g., a jit-lock chunk begins
14578         inside a declaration.
14580         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14582         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14583         New function.
14584         (c-complex-decl-matchers): Insert reference to
14585         c-font-lock-enclosing-decls.
14587         * progmodes/cc-engine.el (c-backward-single-comment):
14588         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14589         to nil around calls to (forward-comment -1).
14591 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14593         * image.el (put-image): Doc typo fix.
14595         * progmodes/etags.el (tags-search): Doc typo fix.
14597         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14598         password if we get errors 550 to 554.
14600 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14602         * net/gnutls.el (gnutls-log-level): Remove.
14604         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14605         indentation character (bug#6380).
14607         * files.el (buffer-offer-save): Made permanently local (bug#6241).
14609         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14610         to clarify what the problem is (bug#4291).
14612         * simple.el (current-kill): Clarify what
14613         `interprogram-paste-function' does (bug#7500).
14614         (auto-fill-mode): Document `auto-fill-function' in relation to
14615         `auto-fill-mode' (bug#2470).
14617 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
14619         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14620         method if slot is read-only (bug#9035).
14622 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
14624         * frame.el (select-frame-set-input-focus): New argument NORECORD.
14625         * window.el (pop-to-buffer): Select window used even if it was
14626         selected before, see discussion of (Bug#8615), (Bug#6954).
14627         Pass argument NORECORD on to select-frame-set-input-focus.
14629 2011-07-15  Glenn Morris  <rgm@gnu.org>
14631         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
14632         Respect help-form.
14634 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
14636         * net/gnutls.el (gnutls-min-prime-bits): New variable.
14637         (gnutls-negotiate): Use it.
14639 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14641         * net/gnutls.el (gnutls-negotiate):
14642         Upcase `gnutls-algorithm-priority'.
14644 2011-07-15  Glenn Morris  <rgm@gnu.org>
14646         * jka-compr.el (jka-compr-verbose): Move from here...
14647         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
14648         Add missing :version tag.
14649         * info.el: No need to require jka-compr when compiling.
14651 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14653         * net/gnutls.el (gnutls-algorithm-priority): New variable.
14654         (gnutls-negotiate): Use it.
14656         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14658         * info.el (Info-beginning-of-buffer): New command.
14659         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14660         announcing `b' as the key (bug#8325).
14661         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14663         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14665         * international/mule-cmds.el
14666         (describe-specified-language-support): Make the error message
14667         clearer (bug#8905).
14669         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14671         * isearch.el (isearch-barrier): Add a doc string, since it's
14672         mentioned in a function doc string (bug#8678).
14674 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
14676         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14677         buffer argument (Bug#9083) and self-identifying label argument.
14679 2011-07-15  Glenn Morris  <rgm@gnu.org>
14681         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
14683 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14685         * man.el (Man-fontify-manpage): Fix message when formatting the
14686         man page (bug#7929).
14688 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14690         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14691         argument LRM; if non-nil, append an invisible LRM character to the
14692         buffer name.
14693         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14694         last argument non-nil, when formatting buffer names.
14695         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14696         paragraph direction.
14698 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14700         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14701         the man page name (bug#7929).
14703         * image.el (put-image): Mention the `put-image' overlay property
14704         (bug#7834).
14706         * scroll-bar.el (set-scroll-bar-mode): Mention that
14707         `scroll-bar-mode' lists the values (bug#7772).
14709         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14710         command (bug#7729).
14712         * rect.el (apply-on-rectangle): Return the point after the last
14713         operation.
14714         (string-rectangle): Go to the point after the last operation
14715         (bug#7522).
14717         * printing.el (pr-toggle-region): Clarify the documentation
14718         slightly (bug#7493).
14720         * time.el (display-time-update):
14721         Allow `display-time-mail-function' to return nil (bug#7158).
14722         Fix suggested by Detlev Zundel.
14724         * vc/diff.el (diff): Clarify the order the file names are read
14725         (bug#7111).
14727         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14728         the doc string (bug#7015).
14730         * font-lock.el (font-lock-maximum-decoration): Mention what
14731         numeric levels mean (bug#6935).
14733         * startup.el (initial-buffer-choice): Don't mention the `none'
14734         selection, which is against policy.
14736 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
14738         * window.el (display-buffer-normalize-special):
14739         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14741 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14743         * subr.el (version<, version<=, version=): Mention "-CVS" and
14744         "-12345" alpha version numbers.
14746 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14748         * bindings.el: Add advertised binding for set-mark-command
14749         (Bug#5772).
14751 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14753         * bindings.el (mode-line-other-buffer):
14754         * bookmark.el (bookmark-bmenu-2-window):
14755         * bs.el (bs-cycle-next, bs-cycle-previous):
14756         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14757         switch-to-buffer.
14759         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14760         Delete.
14762 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
14764         * follow.el (follow-debug-message, follow-redisplay):
14765         * jka-cmpr-hook.el (with-auto-compression-mode):
14766         Fix typos in docstrings.
14768 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14770         * subr.el (with-silent-modifications): Clarify somewhat what the
14771         macro inhibits (bug#6525).
14773         * simple.el (eval-expression): Note what it does if called
14774         interactively (bug#6495).
14776 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14778         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14779         Use pop-to-buffer buffer-or-name if it is nil.
14781         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14782         Remove switch-to-buffer.
14784 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14786         * files.el (make-directory): Clarify that an error will be raised
14787         if there's an error (bug#6397).
14789         * startup.el (initial-buffer-choice): Add `none' as a choice
14790         (bug#6234).
14792         * subr.el (add-hook): Clarify section about buffer-local hooks
14793         (bug#6218).
14795         * dired.el (dired-flagged): Clarify doc string (bug#6117).
14797 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14799         * tabify.el (untabify): Preserve the current column so that point
14800         doesn't move (bug#6032).
14802 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14804         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14805         Rewrite to avoid awkward possessive "s" (bug#5986).
14807 2011-07-13  Glenn Morris  <rgm@gnu.org>
14809         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
14810         (dired-insert-directory): Give a message the first time
14811         if ls is found not to support --dired.
14813 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14815         * simple.el (toggle-truncate-lines): Clarify what is toggled
14816         (bug#5580).  Text by Drew Adams.
14818 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14820         * simple.el (blink-matching-open): Make the error message from the
14821         last change less verbose.
14823 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
14825         * font-lock.el (font-lock-comment-face): Use the high contrast
14826         "yellow" color for font-lock-comment-face on low color terminals
14827         using a dark background color (bug#4221).
14829 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14831         * dired.el (dired-insert-set-properties): Make the doc string
14832         reflect what it does now (bug#5325).
14834         * simple.el (blink-matching-open): Say that we were unable to find
14835         the match within the limit, if we're limited (bug#5122).
14837         * international/mule-cmds.el (prefer-coding-system): Add an
14838         example (bug#4869).
14840         * progmodes/etags.el (tags-search): Document `file-list-form'
14841         (bug#4731).
14843 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
14845         * net/browse-url.el (browse-url-default-browser)
14846         (browse-url-browser-function): Make the default browser choice a
14847         bit more logical (bug#4300).  Also clean up the doc string.
14849 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14851         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14852         binary endings (bug#4440).
14854 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14856         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14857         which can be pretty annoying (bug#8971).
14859         * jka-compr.el (jka-compr-verbose): New variable, and use
14860         throughout (bug#8971).
14862         * info.el (Info-find-file): Fall back on the installation
14863         directory if we can't find the info node anywhere else.
14865 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
14867         * vc/vc.el (vc-revert-file):
14868         Don't set file time-stamp in the past.  (Bug#5181)
14870 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14872         * files.el (after-find-file): Give a better error message when
14873         trying to find a symlink that points to a file that doesn't exist
14874         (bug#4398).
14876         * progmodes/cc-vars.el: Remove (probably) misleading comment
14877         (bug#4396).
14879 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14881         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14883 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14885         * mouse-sel.el: Hack restoring functionality, while keeping
14886         compatibility with 2010-07-03 changes to mouse selection.
14887         (mouse-sel-primary-overlay): New var.
14888         (mouse-sel-selection-alist): Use it.
14889         (mouse-sel-mode): Doc fix; remove points that are default features
14890         of mouse.el.
14892 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14894         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14895         Fix previous fix (bug#2490).
14897 2011-07-12  Roland Winkler  <winkler@gnu.org>
14899         * textmodes/bibtex.el (bibtex-initialize):
14900         Use pop-to-buffer-same-window.
14901         (bibtex-search-entries): Fix interactive call.
14903 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14905         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14906         Fontise bytecomp Error lines more correctly (bug#2490).
14907         Fix suggested by Johan BockgÃ¥rd.
14909         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14911         * dired-x.el (dired-guess-default): Use `delete-dups'.
14913 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14915         * dired.el (dired-mark-prompt):
14916         * dired-aux.el (dired-read-shell-command): Doc fix.
14918 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14920         * mail/sendmail.el (sendmail-query-once):
14921         Use `customize-save-variable' unconditionally, now that it works under
14922         emacs -Q.
14924         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14926         * cus-edit.el (custom-file): Take an optional no-error variable.
14927         (customize-save-variable): Set the variable, and give a warning if
14928         running under "emacs -q".
14930 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
14932         * loadhist.el (unload-feature-special-hooks):
14933         Add `auto-coding-functions', `fill-nobreak-predicate' and
14934         `find-directory-functions' (bug#5327).
14936 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14938         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14940         * cus-edit.el (custom-guess-name-alist): -alist variables should
14941         use the `alist' type (bug#3120).  Suggested by Drew Adams.
14943         * printing.el: Add documentation to all the `pr-toggle-' commands.
14945 2011-07-11  Leo Liu  <sdl.web@gmail.com>
14947         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14948         backends where it makes sense (bug#2623).
14950 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14952         * dired-x.el (dired-guess-default): Remove duplicate shell command
14953         entries (bug#2028).
14954         (dired-guess-default): Fix grammar in doc string (bug#2028).
14955         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14957         * subr.el (remove-duplicates): New conveniency function.
14959 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14961         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14962         (bug#1526).
14964 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
14966         * window.el (display-buffer-normalize-default): Don't invert
14967         meaning of even-window-heights.  Reported by Eli Zaretskii
14968         <eliz@gnu.org>.
14970 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
14972         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14974 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
14976         * window.el (display-buffer): Fix arguments to
14977         display-buffer-reuse-window in last change.
14979         * faces.el (link): Use a less saturated blue on light backgrounds.
14981         * startup.el (fancy-startup-text, fancy-about-text)
14982         (fancy-startup-tail): Use font-lock faces, for background safety.
14984 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
14986         * emulation/viper-cmd.el (viper-change-state-to-vi):
14987         Limit triggering of abbrev expansion (Bug#9038).
14989 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
14991         * window.el (display-buffer-default-specifiers): Remove.
14992         (display-buffer-macro-specifiers): Remove default specifiers.
14993         (display-buffer-alist): Default to nil.
14994         (display-buffer-reuse-window): New optional argument other-window.
14995         (display-buffer-pop-up-window): Allow splitting internal
14996         windows.  Check whether a live window was created.
14997         (display-buffer-other-window-means-other-frame)
14998         (display-buffer-normalize-arguments): Rename to
14999         display-buffer-normalize-argument and rewrite.  Set the
15000         other-window specifier.
15001         (display-buffer-normalize-special): New function.
15002         (display-buffer-normalize-options): Rename to
15003         display-buffer-normalize-default and rewrite.
15004         (display-buffer-normalize-options-inhibit): Remove.
15005         (display-buffer-normalize-specifiers): Rewrite.
15006         (display-buffer): Process other-window specifier and call
15007         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
15008         more faithfully.
15009         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15010         (display-buffer-alist-set): Don't handle 'unset default values.
15011         (display-buffer-in-window, display-buffer-alist-set):
15012         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
15013         <tassilo@member.fsf.org>.
15015 2011-07-09  Leo Liu  <sdl.web@gmail.com>
15017         * register.el (insert-register): Restore accidental change on
15018         2011-06-26.  (Bug#9028)
15020 2011-07-09  Glenn Morris  <rgm@gnu.org>
15022         * subr.el (remq): Handle the empty list.  (Bug#9024)
15024 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
15026         * mail/sendmail.el (send-mail-function): No longer delay custom
15027         initialization.
15028         * custom.el (custom-initialize-delay): Doc fix.
15030 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15032         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15034 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
15036         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15037         human-friendly prompt.
15039 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15041         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15042         provided by a particular plugin.
15044 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15046         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15047         save customizations (with "emacs -Q"), just set the variable
15048         instead of erroring out.
15050         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15052 2011-07-08  Juri Linkov  <juri@jurta.org>
15054         * arc-mode.el (archive-zip-expunge, archive-zip-update)
15055         (archive-zip-update-case): Use 7z if found by `executable-find'.
15056         The order of searching the available programs is the same as in
15057         `archive-zip-extract' (bug#8968).
15059 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15061         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15062         (menu-bar-options-menu): Tweak descriptions.
15064 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15066         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15067         menu items into verb phrases (bug#1421).  Also refill to fit under
15068         80 columns.
15070 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15072         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15073         (Info-read-node-name): Doc fix (Bug#1084).
15075         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15076         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15077         (end-of-sexp, beginning-of-sexp)
15078         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15079         (forward-symbol, forward-same-syntax, word-at-point)
15080         (sentence-at-point): Doc fix (Bug#1144).
15082 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15084         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15085         should cover it (bug#1281).
15087         * cus-edit.el (custom-show): Mark as obsolete.
15089         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15090         negotiation fails, then possibly try again with a non-encrypted
15091         connection (bug#9017).
15093         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15094         be used.
15096 2011-07-07  Richard Stallman  <rms@gnu.org>
15098         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15099         property, and handle its changed format.
15100         Look for the correct line number.
15101         Use file's line contents (but not past first =) to find
15102         correct line in message.
15104 2011-07-07  Kenichi Handa  <handa@m17n.org>
15106         * international/characters.el (build-unicode-category-table):
15107         Delete it.
15108         (unicode-category-table): Set it by unicode-property-table-internal.
15110         * international/mule-cmds.el (char-code-property-alist): Move to
15111         to src/chartab.c.
15112         (get-char-code-property): Call unicode-property-table-internal to
15113         load a file.  Call get-unicode-property-internal where necessary.
15114         (put-char-code-property): Call unicode-property-table-internal to
15115         load a file.  Call put-unicode-property-internal where necessary.
15116         put-unicode-property-internal where necessary.
15117         (char-code-property-description):
15118         Call unicode-property-table-internal to load a file.
15120         * international/charprop.el:
15121         * international/uni-bidi.el:
15122         * international/uni-category.el:
15123         * international/uni-combining.el:
15124         * international/uni-comment.el:
15125         * international/uni-decimal.el:
15126         * international/uni-decomposition.el:
15127         * international/uni-digit.el:
15128         * international/uni-lowercase.el:
15129         * international/uni-mirrored.el:
15130         * international/uni-name.el:
15131         * international/uni-numeric.el:
15132         * international/uni-old-name.el:
15133         * international/uni-titlecase.el:
15134         * international/uni-uppercase.el: Regenerate.
15136         * loadup.el: Load international/charprop.el before
15137         international/characters.
15139 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15141         * window.el (next-buffer, previous-buffer): Signal an error if
15142         called from a minibuffer window.
15144         * bindings.el: Revert 2011-07-04 change.
15146 2011-07-06  Richard Stallman  <rms@gnu.org>
15148         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15149         (rmail-mime-insert-bulk, rmail-mime-insert-text):
15150         Treat markers like ints.
15151         (rmail-mime-entity): Doc fix.
15153 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15155         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15156         defcustom again for backwards compatibility.
15158         * simple.el (shell-command-on-region): Fill.
15160         * dired-aux.el (dired-kill-line): Add a doc string.
15162         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15163         to "\\sw\\|\\s_" (bug#358).
15165         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15166         (dired-unmark-backward): Ditto.
15167         (dired-flag-backup-files): Ditto.
15169         * dired-x.el (dired-mark-sexp): Ditto.
15171 2011-07-06  Richard Stallman  <rms@gnu.org>
15173         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15174         (rmail-mime-entity): New arg TRUNCATED.
15175         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15176         New functions.
15177         (rmail-mime-save): Warn if entity is truncated.
15178         (rmail-mime-toggle-hidden): Likewise, for showing.
15179         (rmail-mime-process-multipart): Record when an entity is truncated.
15181         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15182         if ENTITY is a string.
15184 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15186         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15187         of faces when `M-C-x'-ing their definitions (bug#8378).
15188         Also clean up the code slightly.
15190         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15191         because that makes the colors go away.
15193         * mail/sendmail.el (send-mail-function): Change the default to
15194         `sendmail-query-once'.
15195         (sendmail-query-once): Add an autoload cookie.
15197         * net/network-stream.el (network-stream-open-starttls): Try using
15198         a plain connection even if the server offered STARTTLS, and we
15199         kinda wanted to use it, if Emacs doesn't have any STARTTLS
15200         capability.  This should make smtpmail.el work in slightly more
15201         configurations.
15203 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
15205         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15206         New defun.
15207         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15209 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
15211         * progmodes/sql.el: Version 3.0
15212         (sql-product-alist): Add product :completion-object,
15213         :completion-column, and :statement attributes.
15214         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15215         (sql-mode-syntax-table): Mark all punctuation.
15216         (sql-font-lock-keywords-builder): Temporarily remove fallback on
15217         ansi keywords.
15218         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15219         (sql-mode-oracle-font-lock-keywords): Improve.
15220         (sql-oracle-show-reserved-words): New function for development.
15221         (sql-product-font-lock): Simplify for source code buffers.
15222         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15223         New functions.
15224         (sql-highlight-product): Set product specific syntax table.
15225         (sql-mode-map): Add statement movement functions.
15226         (sql-ansi-statement-starters, sql-oracle-statement-starters):
15227         New variable.
15228         (sql-statement-regexp, sql-beginning-of-statement)
15229         (sql-end-of-statement, sql-signum): New functions.
15230         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15231         (sql-show-sqli-buffer): Bug fix.
15232         (sql-interactive-mode): Store connection data as buffer local.
15233         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
15234         with sql-interactive-mode.
15235         (sql-save-connection): Save buffer local settings.
15236         (sql-connection-menu-filter): Change menu entry name.
15237         (sql-product-interactive): Bug fix.
15238         (sql-preoutput-hold): New variable.
15239         (sql-interactive-remove-continuation-prompt): Bug fixes.
15240         (sql-debug-redirect): New variable.
15241         (sql-str-literal): New function.
15242         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15243         Redesign.
15244         (sql-oracle-save-settings, sql-oracle-restore-settings)
15245         (sql-oracle-list-all, sql-oracle-list-table): New functions.
15246         (sql-completion-object, sql-completion-column)
15247         (sql-completion-sqlbuf): New variables.
15248         (sql-build-completions-1, sql-build-completions)
15249         (sql-try-completion): New functions.
15250         (sql-read-table-name): Use them.
15251         (sql-contains-names): New buffer local variable.
15252         (sql-list-all, sql-list-table): Use it.
15253         (sql-oracle-completion-types): New variable.
15254         (sql-oracle-completion-object, sql-sqlite-completion-object)
15255         (sql-postgres-completion-object): New functions.
15257 2011-07-06  Glenn Morris  <rgm@gnu.org>
15259         * window.el (pop-to-buffer): Doc fix.
15261 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
15263         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15265 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
15267         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15269         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15271 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
15273         * button.el (button): Inherit from link face.  Suggested by Dan
15274         Nicolaescu.
15276 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15278         * progmodes/gdb-mi.el: Fit in 80 columns.
15279         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15280         switch-to-buffer.
15282         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15283         if imenu is simply not configured (bug#8941).
15285 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
15287         * allout.el (allout-post-undo-hook): New allout outline-change
15288         event hook to signal undo activity.
15289         (allout-post-command-business): Run allout-post-undo-hook if an
15290         undo just occurred.
15291         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15292         * allout-widgets.el (allout-widgets-after-undo-function):
15293         Ensure the integrity of the current item's decoration after it has been
15294         in the vicinity of an undo.
15295         (allout-widgets-mode): Include allout-widgets-after-undo-function
15296         on the new allout-post-undo-hook.
15298 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15300         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15301         Let define-derived-mode define it.
15302         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15303         cycles of abbrev-table inheritance (bug#8998).
15305 2011-07-05  Roland Winkler  <winkler@gnu.org>
15307         * textmodes/bibtex.el: Add support for biblatex.
15308         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15309         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15310         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15311         (bibtex-entry-alist, bibtex-field-alist): New variables.
15312         (bibtex-entry-field-alist): Obsolete alias for
15313         bibtex-BibTeX-entry-alist.
15314         (bibtex-entry-alist, bibtex-field-alist): New widgets.
15315         (bibtex-set-dialect): New command.
15316         (bibtex-entry-type, bibtex-entry-head)
15317         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15318         Bind via bibtex-set-dialect.
15319         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15320         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15321         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15322         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15323         Define via bibtex-set-dialect.
15324         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15325         Obey bibtex-no-opt-remove-re.
15326         (bibtex-vec-push, bibtex-vec-incr): New functions.
15327         (bibtex-format-entry, bibtex-field-list)
15328         (bibtex-print-help-message, bibtex-validate)
15329         (bibtex-search-entries): Use new format of bibtex-entry-alist.
15331 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15333         * progmodes/compile.el (compilation-goto-locus):
15334         * net/tramp-cmds.el (tramp-append-tramp-buffers):
15335         * bs.el (bs-cycle-next, bs-cycle-previous):
15336         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15337         * bindings.el (mode-line-other-buffer):
15338         * autoinsert.el (auto-insert):
15339         * arc-mode.el (archive-extract):
15340         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15342 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15344         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15345         Fix check of `emacs-lock-unlockable-modes'.
15346         Coerce true values of `emacs-lock--try-unlocking' to t.
15348 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15350         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15351         * emacs-lock.el: New file.
15353 2011-07-05  Julien Danjou  <julien@danjou.info>
15355         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15356         than `boundp' to check if face is set.
15358 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15360         * register.el (registerv-make):
15361         * window.el (window-min-height): Fix typos in docstrings.
15363 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
15365         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15366         Update doc string.
15368 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15370         * server.el (server-execute): Catch quit and call
15371         `server-return-error' to pass the error back to emacsclient and
15372         close the connection (bug#8942).
15374 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
15376         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15377         insecure exception for current topic.  Also note that auto-saves
15378         are handled differently.
15380         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15381         State variables for tracking auto-save inhibition situation.
15383         (allout-write-contents-hook-handler): Rename from
15384         'allout-write-file-hook-handler', and describe how it depends on
15385         write-contents-functions sensitivity to non-nil value to prevent
15386         file write.
15388         (allout-auto-save-hook-handler): Remove.  auto-save does not check
15389         this in individual buffers, only in the starting buffer, so this
15390         is not the right way for us to inhibit auto-save in a buffer
15391         according to its condition.
15393         (allout-mode): Use new allout-write-contents-hook-handler, and
15394         only with write-contents-functions.  Remove auto-save provisions -
15395         they're implemented elsewhere.
15397         (allout-before-change-handler): If undo is in progress, note that
15398         for attention of allout-post-command-business.
15400         (allout-post-command-business): If the command we're following was
15401         an undo, check for change in the status of encrypted items and
15402         adjust auto-save inhibitions accordingly.
15404         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15405         according to whether there are or aren't any plain-text topics
15406         pending encryption.
15408         (allout-inhibit-auto-save-info-for-decryption):
15409         Adjust buffer-saved-size and some allout state to inhibit auto-saves
15410         if there are plain-text topics pending encryption.
15412         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15413         buffer-saved-size and some allout state to not inhibit auto-saves
15414         if there are no longer any plain-text topics pending encryption.
15416         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15417         No longer provide for exemption of the current topic.
15419 2011-07-04  Juri Linkov  <juri@jurta.org>
15421         Add 7z operations to delete and save changed members (bug#8968).
15422         * arc-mode.el (archive-7z-expunge, archive-7z-update):
15423         New defcustoms.
15424         (archive-7z-write-file-member): New function.
15425         (archive-7z-summarize): Fix the number of dashes in the
15426         listing output.
15428 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15430         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15431         (bug#8958).
15433 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
15435         * bindings.el: Ignore next-buffer and previous-buffer in
15436         minibuffer-local-map.
15438         * font-lock.el (font-lock-builtin-face): Change light background
15439         color to dark slate blue (Bug#6693).
15441 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
15443         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15445 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15447         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15448         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15449         Add switch-to-buffer.
15451 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15453         * isearch.el (isearch-search-fun-function): Clarify further the
15454         meaning of the function returned.
15456 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
15458         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15460         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15461         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15462         Use it.
15463         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
15464         `tramp-default-remote-path' does not exist.
15465         (tramp-send-command-and-read): New optional argument NOERROR.
15466         (tramp-open-connection-setup-interactive-shell)
15467         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15468         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15469         (tramp-process-sentinel): Flush also process' connection property.
15470         (tramp-sh-handle-start-file-process): Do not set process
15471         sentinel.  It is done now ...
15472         (tramp-maybe-open-connection): ... here.  (Bug#8929)
15474 2011-07-04  MON KEY  <monkey@sandpframing.com>
15476         * play/animate.el (animate-string): Doc fixes and allow changing
15477         the buffer name (bug#5417).
15479 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15481         * play/animate.el (animation-buffer-name): Rename from *animate*.
15483 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
15485         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15486         This is simpler and helps future-proof the code.
15487         (timer-until): Use time-subtract and float-time.
15488         (timer--time-less-p): Use time-less-p.
15490 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15492         * type-break.el (timep): Use the value of `float-time' to avoid a
15493         byte-compiler warning.
15495         * server.el (server-eval-and-print): Return any result, even nil.
15497 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
15499         * type-break.el: Accept time formats that the builtins accept.
15500         (timep, type-break-time-difference): Accept any format that
15501         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15502         This is simpler and helps future-proof the code.
15503         (type-break-time-difference): Round rather than ignoring
15504         subseconds components.
15506 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15508         * info.el (Info-apropos-matches): Make non-interactive, since it
15509         doesn't seem to do anything useful as a command (bug#8829).
15511 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
15513         * frame.el (frame-background-mode, frame-set-background-mode):
15514         Move from faces.el.
15515         (frame-default-terminal-background): New function.
15517         * custom.el (custom-push-theme): Don't record faces in `changed'
15518         theme; this doesn't work correctly for per-frame face settings.
15519         (disable-theme): Use face-set-after-frame-default to reset faces.
15520         (custom--frame-color-default): New function.
15522 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15524         * dired.el (dired-flagging-regexp): Remove unused variable
15525         (bug#8769).
15527 2011-03-29  Kevin Ryde  <user42@zip.com.au>
15529         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15530         `perl-Test2' extend to match possible "fail #N" rep count
15531         (bug#8377).
15533 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15535         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15536         `smtpmail-via-smtp' now returns the error instead of nil.
15538         * isearch.el (isearch-search-fun-function): Clarify the doc string
15539         (bug#8101).
15541 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
15543         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15544         unnecessary spaces (bug#8987).
15546 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15548         * net/network-stream.el (open-network-stream): Use the
15549         :end-of-capability command thoughout.
15551 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15553         * net/network-stream.el (open-network-stream): Add the
15554         :end-of-capability command parameter, used by pop3.el.
15556 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15558         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15560         * fringe.el (fringe-query-style): Remove redundant text " (type ?
15561         for list)" (bug#6475).
15563         * files.el (file-expand-wildcards): Ignore non-readable
15564         sub-directories while trying to find matches instead of signaling
15565         an error (bug#6297).
15567         * man.el (Man-reference-regexp): Allow matching possible
15568         word-wrapped references (bug#6289).
15570         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15571         for consistency with the other vc buffers (bug#6197).
15572         (vc-checkin): Ditto.
15574         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15576         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15578 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15580         * custom.el (defcustom): Clarify that :set is only used in the
15581         Customize user interface (bug#6089).
15583         * progmodes/flymake.el (flymake-mode): If the buffer isn't
15584         associated with a file, refuse to run instead of erroring out
15585         (bug#6084).
15587         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15588         the doc string, since it appears that using `fill-column' always
15589         controls the width (bug#7845).
15591         * simple.el (shell-command-on-region): Say where the error output
15592         went if `shell-command-default-error-buffer' is set (bug#6857).
15594 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
15596         * allout.el (allout-yank-processing): Adjust cursor position for
15597         backwards-deleted space.
15599         (allout-rebullet-heading): Register changes with
15600         allout-exposure-changed-hook, so the modified topic is properly
15601         decorated.
15603 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15605         * minibuffer.el (completion-in-region): Document PREDICATE
15606         (bug#7136).
15608         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15609         of keyword/argument pairs (bug#6904).
15611         * replace.el (multi-occur):
15612         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15614 2011-07-02  Drew Adams  <drew.adams@oracle.com>
15616         * dired.el (dired-mark-if): Make the message about whether it's
15617         marking or unmarking clearer (bug#8523).
15619 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15621         * disp-table.el (display-table-print-array): New function.
15622         (describe-display-table): Use it to print the vectors more pretty
15623         (Bug#8859).
15625 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
15627         * window.el (window-state-get-1): Don't assign clone numbers.
15628         Add clone-of item to list of window parameters.
15629         (window-state-put-2): Don't process clone numbers.
15630         (display-buffer-alist): Fix doc-string.
15632 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15634         * subr.el (remq): Don't allocate if it's not needed.
15635         (keymap--menu-item-binding, keymap--menu-item-with-binding)
15636         (keymap--merge-bindings): New functions.
15637         (keymap-canonicalize): Use them to refine the canonicalization.
15638         * minibuffer.el (minibuffer-local-completion-map)
15639         (minibuffer-local-must-match-map): Move initialization from C.
15640         (minibuffer-local-filename-completion-map): Move initialization from C;
15641         don't inherit from anything here.
15642         (minibuffer-local-filename-must-match-map): Make obsolete.
15643         (completing-read-default): Use make-composed-keymap to combine
15644         minibuffer-local-filename-completion-map with either
15645         minibuffer-local-must-match-map or
15646         minibuffer-local-filename-completion-map.
15648 2011-07-01  Glenn Morris  <rgm@gnu.org>
15650         * type-break.el (type-break-time-sum): Use dolist.
15652         * textmodes/flyspell.el (flyspell-word-search-backward):
15653         Replace CL function.
15655 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15657         * mouse.el (mouse--strip-first-event): New function.
15658         (function-key-map): Use it to map fringe clicks to normal clicks
15659         by default.
15661         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15662         (vc-bzr-revision-completion-table): Add support for annotate and date.
15664         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15665         inherit from parent.
15667 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15669         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15670         (dired-show-file-type): Doc fixup (bug#8818).
15672         * dired.el (dired-mode): Fix up the doc string as suggested by
15673         Drew Adams (bug#8817).
15675         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15676         cookie, since the manual says that it should be possible to add
15677         this function to `find-file-hook' (bug#8709).
15679 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15681         * progmodes/cfengine.el: Moved all cfengine3.el functionality
15682         here.  Noted Ted Zlatanov as the maintainer.
15683         (cfengine-common-settings, cfengine-common-syntax): New functions
15684         to set up common things between `cfengine-mode' and
15685         `cfengine3-mode'.
15686         (cfengine3-mode): New mode.
15687         (cfengine3-defuns cfengine3-defuns-regex
15688         (cfengine3-class-selector-regex cfengine3-category-regex)
15689         (cfengine3-vartypes cfengine3-font-lock-keywords)
15690         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15691         (cfengine3-indent-line): Add from cfengine3.el.
15693 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
15695         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15697         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15699 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
15701         * window.el (same-window-buffer-names, same-window-regexps)
15702         (same-window-p, special-display-frame-alist)
15703         (special-display-popup-frame, special-display-function)
15704         (special-display-buffer-names, special-display-regexps)
15705         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15706         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15707         (split-window-preferred-function, split-height-threshold)
15708         (split-width-threshold, even-window-heights)
15709         (display-buffer-mark-dedicated, window-splittable-p)
15710         (split-window-sensibly, window-safely-shrinkable-p):
15711         Un-obsolete.
15712         (display-buffer): Don't spread args with function specifier
15713         because special-display-popup-frame won't like it.
15715 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
15717         Time-stamp simplifications and fixes.
15718         These improve accuracy slightly, and future-proof the code
15719         against some potential changes to current-time format.
15721         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15722         by using time-since and float-time.
15724         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15725         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
15726         + NNN microseconds".
15728         * type-break.el (type-break-time-sum): Rewrite using time-add.
15730         * play/hanoi.el (hanoi-current-time-float): Remove.
15731         All uses replaced by float-time.
15733         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15734         This yields a more-accurate answer.
15735         (rng-time-to-float): Remove; no longer needed.
15737         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15739         * calendar/timeclock.el (timeclock-seconds-to-time):
15740         Defalias to seconds-to-time, since they're the same thing.
15742         * emacs-lisp/elp.el (elp-elapsed-time):
15743         * emacs-lisp/benchmark.el (benchmark-elapse):
15744         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15746 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15748         * window.el (bury-buffer): Don't iconify the only frame.
15749         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15750         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
15752 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
15754         * eshell/em-smart.el (eshell-smart-display-navigate-list):
15755         Add mouse-yank-primary.
15757 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15759         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15761 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15763         * emacs-lisp/find-func.el (find-library--load-name): New fun.
15764         (find-library-name): Use it to find relative load names when provided
15765         absolute file name (bug#8803).
15767 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15769         * textmodes/flyspell.el (flyspell-word): Consider words that
15770         differ only in case as potential doublons (bug#5687).
15772         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15773         Remove two rather uninteresting debugging-like messages to make
15774         debbugs.el more silent.
15776         * comint.el (comint-password-prompt-regexp): Accept "Response" as
15777         a password-like phrase.
15779 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
15781         * progmodes/cc-guess.el: New file.
15783         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15785         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15786         derived from `c-basic-common-init'.
15788         * progmodes/cc-mode.el (top-level): Require cc-guess.
15789         (c-basic-common-init): Use `cc-choose-style-for-mode'.
15791 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
15793         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15795 2011-06-30  Alan Mackenzie  <acm@muc.de>
15797         * progmodes/cc-engine.el (c-guess-continued-construct):
15798         Correct the handling of template-args-cont, particularly for when font
15799         lock is disabled.  Name this case as "CASE G".
15801 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
15803         * allout.el (allout-yank-processing): Fix injection of extra space
15804         between bullet and non-whitespace character in first topic when
15805         pasting, ensuring that the actual spacing in the pasted topic
15806         following the bullet char is preserved.  This extra space was
15807         causing pasted encrypted topics to get a decrypted status even
15808         when the content was actually still encrypted.  Now the decryption
15809         status from before the paste is preserved.
15811         (allout-flag-region): Set all allout overlays so they evaporate
15812         when reduced to zero length (evanescent), to prevent overlay
15813         leakage.
15815 2011-06-30  Glenn Morris  <rgm@gnu.org>
15817         * w32-fns.el (w32-charset-info-alist): Declare.
15819         * find-dired.el (find-grep-options): Simplify.
15821         * term/ns-win.el (ns-set-resource): Declare.
15823         * ses.el (row, col): Declare dynamic variables honestly.
15825         * textmodes/reftex-parse.el (index-tags): Declare.
15827 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
15829         * cus-edit.el (customize-push-and-save): New function.
15831         * files.el (hack-local-variables-confirm): Use it.
15833         * custom.el (load-theme): New arg NO-CONFIRM.
15834         Use customize-push-and-save (Bug#8720).
15835         (custom-enabled-themes): Doc fix.
15837         * cus-theme.el (customize-create-theme)
15838         (custom-theme-merge-theme): Callers to load-theme changed.
15840 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15842         * thingatpt.el (thing-at-point-short-url-regexp): Require that
15843         short URLs have at least one dot in them (bug #7614).
15845         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15846         nil, because using a pty is apparently too slow (bug #895).
15848 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15850         * mail/sendmail.el (sendmail-query-once): New function.
15851         (sendmail-query-once-function): New variable.
15853 2011-06-29  Glenn Morris  <rgm@gnu.org>
15855         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15857         * ses.el (top-level): Require cl when compiling.
15858         (ses-set-localvars): Fix error statement.
15859         Call it at compile time to silence a storm of warnings.
15861 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
15863         * window.el (normalize-live-buffer): Rename to
15864         window-normalize-buffer.
15865         (normalize-live-frame): Rename to window-normalize-frame.
15866         (normalize-any-window): Rename to window-normalize-any-window.
15867         (normalize-live-window): Rename to window-normalize-live-window.
15868         (make-window-atom): Rename to window-make-atom.
15869         (window-resize-reset): Rename to window--resize-reset.
15870         (window-resize-reset-1): Rename to window--resize-reset-1.
15871         (resize-mini-window): Rename to window--resize-mini-window.
15872         (resize-subwindows-skip-p): Rename to
15873         window--resize-subwindows-skip-p.
15874         (resize-subwindows-normal): Rename to
15875         window--resize-subwindows-normal.
15876         (resize-subwindows): Rename to window--resize-subwindows.
15877         (resize-other-windows): Rename to window--resize-siblings.
15878         (resize-this-window): Rename to window--resize-this-window.
15879         (resize-root-window): Rename to window--resize-root-window.
15880         (resize-root-window-vertically): Rename to
15881         window--resize-root-window-vertically.
15882         (normalize-buffer-to-display): Rename to
15883         window-normalize-buffer-to-display.
15884         (normalize-buffer-to-switch-to): Rename to
15885         window-normalize-buffer-to-switch-to.
15886         Correspondingly update all callers of the functions listed
15887         above.
15888         (display-buffer-alist, display-buffer-normalize-arguments)
15889         (display-buffer-normalize-options, display-buffer)
15890         (display-buffer-alist-set): Use "function" instead of
15891         "fun-with-args".
15893 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
15895         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15896         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
15897         debbugs.gnu.org.  Mention acknowledgment email.
15899 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15901         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15902         buffer multibyteness, since it shouldn't matter.
15904 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
15906         * window.el (display-buffer-in-side-window): Handle dedicated
15907         windows as in display-buffer-reuse-window.
15908         (display-buffer-normalize-alist): Use value of override
15909         specifier.
15910         (display-buffer-normalize-specifiers): Use value of
15911         other-window-means-other-frame specifier.
15912         (display-buffer-alist): Rewrite some texts in widgets.
15913         (display-buffer): Spread arguments when calling function
15914         specified by fun-with-args.
15916 2011-06-28  Deniz Dogan  <deniz@dogan.se>
15918         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15919         Unnest `let'.
15921         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15922         selectors (Bug#5732).
15923         (css-proprietary-nmstart-re): Use `regexp-opt'.
15925 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
15927         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15928         (eshell-ls-date-format): New defcustom.
15929         (eshell-ls-file): Use it.
15931 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15933         * help-fns.el (describe-variable): Fix message for terminal-local vars.
15935 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
15937         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15938         (ange-ftp-make-tmp-name): New arg.
15939         (ange-ftp-file-local-copy): Use it.
15941 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
15943         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15944         no-conversion (Bug#8870).
15946 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
15948         * window.el (window-right, window-left, window-child)
15949         (window-child-count, window-last-child)
15950         (window-iso-combination-p, walk-window-tree-1)
15951         (window-atom-check-1, window-tree-1, delete-window)
15952         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15953         new naming conventions - window-vchild, window-hchild,
15954         window-next and window-prev are now called window-top-child,
15955         window-left-child, window-next-sibling and window-prev-sibling
15956         respectively.
15957         (resize-window-reset): Rename to window-resize-reset.
15958         (resize-window-reset-1): Rename to window-resize-reset-1.
15959         (resize-window): Rename to window-resize.
15960         (window-min-height, window-min-width)
15961         (resize-mini-window, resize-this-window, resize-root-window)
15962         (resize-root-window-vertically, adjust-window-trailing-edge)
15963         (enlarge-window, shrink-window, maximize-window)
15964         (minimize-window, delete-window, quit-restore-window)
15965         (split-window, balance-windows, balance-windows-area-adjust)
15966         (balance-windows-area, window-state-put-2)
15967         (display-buffer-even-window-sizes, display-buffer-set-height)
15968         (display-buffer-set-width, set-window-text-height)
15969         (fit-window-to-buffer): Rename all "resize-window" prefixed
15970         calls to use the "window-resize" prefix convention.
15971         (display-buffer-alist): Fix symbol for label specifier.
15972         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15973         corresponding specifier.
15974         Reported by Juanma Barranquero <lekktu@gmail.com>.
15976 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15978         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15979         convention.
15980         (ses-call-printer): Does not pass an empty string to formatter when the
15981         cell is empty to keep from barking printer Calc math-format-value.
15983 2011-06-27  Richard Stallman  <rms@gnu.org>
15985         * battery.el (battery-mode-line-limit): New variable.
15986         (battery-update): Handle it.
15988         * mail/rmailmm.el (rmail-mime-process-multipart):
15989         Handle truncated messages.
15991 2011-06-27  Glenn Morris  <rgm@gnu.org>
15993         * progmodes/flymake.el (flymake-err-line-patterns):
15994         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
15996 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15998         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15999         (ses--clean-!, ses--clean-_): New functions.
16000         (ses-range): Add configurability of readout order, and conversion
16001         to Calc vector.
16003         * ses.el (ses-repair-cell-reference-all): New function.
16004         (ses-cell-symbol): Set macro as safe, so that it can be used in
16005         formulas.
16007         * ses.el: Update cycle detection algorithm.
16008         (ses-localvars): Add ses--Dijkstra-attempt-nb and
16009         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16010         (ses-set-localvars): New function.
16011         (ses-make-cell): Add property-list as a cell element.
16012         (ses-cell-property-get-fun, ses-cell-property-get)
16013         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16014         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16015         New functions.
16016         (ses-cell-property-set, ses-cell-property-pop)
16017         (ses-cell-property-get-handle): New macro.
16018         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16019         New aliases, used for code readability.
16020         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16021         cycle detection.
16022         (ses-self-reference-early-detection): New defcustom.
16023         (ses-formula-references): Robustify against self-referring cells.
16024         (ses-mode): Use ses-set-localvars.
16025         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16026         before lauching the update processing.
16027         (ses-initialize-Dijkstra-attempt): New function.
16028         (ses-recalculate-cell): Update for cycle detection based on
16029         Dijkstra algorithm.
16031         * ses.el: Fix commenting and indenting convention.
16033 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16035         * bs.el (bs-cycle-next): Complete last change.
16037 2011-06-27  Drew Adams  <drew.adams@oracle.com>
16039         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16041 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16043         * net/network-stream.el (network-stream-open-starttls):
16044         Don't re-get capabilities unless we've reestablished connection.
16045         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16047         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16048         to binary to possibly avoid line encoding issues on Windows (among
16049         other things).
16051 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16053         * net/network-stream.el (open-network-stream): Return an :error
16054         saying what the problem was, if possible.
16056         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16057         server.
16059         * net/network-stream.el (network-stream-open-starttls): If we
16060         wanted to use STARTTLS, and the server offered it, but we weren't
16061         able to because we had no STARTTLS support, then close the connection.
16062         (open-network-stream): Return an :error element, if present.
16064 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16066         * hl-line.el (hl-line-sticky-flag): Doc fix.
16067         (global-hl-line-sticky-flag): New option (Bug#8323).
16068         (global-hl-line-highlight): Obey it.
16070         * vc/vc.el (vc-revert-show-diff): Default to t.
16072 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
16074         * allout-widgets.el (allout-widgets-post-command-business):
16075         Stop decorating intermediate isearch matches.  They're not being
16076         undecorated when an isearch is continued past, and isearch
16077         automatically collapses them.  This leads to "widget leaks", where
16078         decorated items accumulate in collapsed areas.  Lines with lots of
16079         hidden widgets can slow down cursor travel, substantially.
16080         Too much complicated machinery would be needed to ensure undecoration,
16081         so we're doing without this nicety.
16083         (allout-widgets-tally-string): Don't try to do a hash-table-count
16084         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
16085         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16086         *Messages* when allout-widgets-maintain-tally is t.
16088 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
16090         * window.el (display-buffer-normalize-argument): Rename to
16091         display-buffer-normalize-arguments.  Handle special meaning of
16092         LABEL argument.  Respect special-display-function when popping up
16093         a new frame.  Fix code searching for a window showing the buffer
16094         on another frame.
16095         (display-buffer-normalize-specifiers):
16096         Call display-buffer-normalize-arguments.
16097         (display-buffer-in-window): Don't undedicate the window if its
16098         buffer remains the same.
16099         Reported by Drew Adams <drew.adams@oracle.com>.
16100         (display-buffer-alist): Add choice for same-window macro
16101         specfier.
16102         (display-buffer): Mention special meaning of LABEL argument in
16103         doc-string.  Fix quoting.  Don't pop up a new frame even as
16104         fallback.
16106 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
16108         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16109         avoid deleting the current window in some cases (bug#8911).
16111 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
16113         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16114         (Bug#8934)
16116 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16118         * net/network-stream.el (network-stream-open-starttls):
16119         Use built-in TLS support if `gnutls-available-p' is true.
16120         (network-stream-open-tls): Ditto.
16122 2011-06-26  Leo Liu  <sdl.web@gmail.com>
16124         * register.el (registerv): New struct.
16125         (registerv-make): New function.
16126         (jump-to-register, describe-register-1, insert-register):
16127         Support the jump-func, print-func and insert-func slot of a registerv
16128         struct.  (Bug#8415)
16130 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16132         * vc/vc.el (vc-revert-show-diff): New defcustom.
16133         (vc-diff-internal): New arg specifying diff buffer.
16134         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
16135         reuse an existing *vc-diff* buffer (Bug#8927).
16137         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16139 2011-06-26  Glenn Morris  <rgm@gnu.org>
16141         * progmodes/f90.el (f90-critical-indent): New option.
16142         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16143         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16144         (f90-mode): Doc fix.
16145         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16146         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16147         (f90-beginning-of-block, f90-next-block, f90-indent-region)
16148         (f90-match-end): Handle block, critical.
16150 2011-06-25  Glenn Morris  <rgm@gnu.org>
16152         * calendar/diary-lib.el (diary-included-files): Doc fix.
16153         (diary-include-files): New function, extracted from
16154         diary-include-other-diary-files and diary-mark-included-diary-files.
16155         (diary-include-other-diary-files, diary-mark-included-diary-files):
16156         Just call diary-include-files.
16157         (diary-mark-entries): Reset diary-included-files on first call.
16159         * calendar/diary-lib.el (diary-mark-entries)
16160         (diary-mark-included-diary-files):
16161         Visit included diary-files in temp buffers.
16163         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16164         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16165         (f90-start-block-re, f90-imenu-generic-expression)
16166         (f90-looking-at-program-block-start, f90-no-block-limit):
16167         Add support for submodules.
16169         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16170         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16172 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
16174         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16175         buffer-file-type before setting its value, to avoid disastrous
16176         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
16178 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16180         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16182         * ses.el (ses-unload-function):
16183         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16185         * proced.el (proced-unload-function):
16186         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16188 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
16190         * server.el (server-create-window-system-frame): Add parameters arg.
16191         (server-process-filter): Doc fix.  Handle frame-parameters.
16193 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16195         Fix bug#8730, bug#8781.
16197         * loadhist.el (unload--set-major-mode): New function.
16198         (unload-feature): Use it.
16200         * progmodes/python.el (python-after-info-look): Add autoload cookie.
16201         (python-unload-function): New function.
16203 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16205         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16207 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
16209         * net/browse-url.el (browse-url-firefox-program): Add icecat to
16210         the candidates list.
16212 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
16214         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16216 2011-06-23  Richard Stallman  <rms@gnu.org>
16218         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16219         (rmail-variables): Set next-error-move-function.
16220         (rmail-what-message): Take argument POS.
16221         (rmail-next-error-move): New function.
16223 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16225         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16226         messages for adjacent non-terminals.
16228 2011-06-23  Richard Stallman  <rms@gnu.org>
16230         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16231         (rmail-show-message-1): Preserve buffer modified flag.
16232         (rmail-start-mail): Don't specify use of rmail-mail-return;
16233         that's done by mail-bury now.
16234         (rmail-mail-return): Handle arg NEWBUF.
16236 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
16238         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16239         SIZE is a number.
16241 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
16243         * window.el (get-lru-window, get-mru-window)
16244         (get-largest-window): Never return a minibuffer window.
16245         (display-buffer-pop-up-window): Fix a bug that could lead to
16246         reusing the minibuffer window.
16247         (display-buffer): Pass original specifier argument to
16248         display-buffer-function instead of the normalized one.
16249         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16251 2011-06-22  Leo Liu  <sdl.web@gmail.com>
16253         * minibuffer.el (completing-read-function)
16254         (completing-read-default): Move from minibuf.c
16256 2011-06-22  Richard Stallman  <rms@gnu.org>
16258         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16259         to Rmail even if not started by a special Rmail command.
16261         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16262         Copy the buffer currently showing just one message.
16264 2011-06-22  Roland Winkler  <winkler@gnu.org>
16266         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16267         (bibtex-clean-entry): First delete the old key so that a
16268         customized algorithm for generating the new key does not get
16269         confused by the old key.
16270         (bibtex-url): Obey regexp of first step.
16271         (bibtex-search-entries): Do not use add-to-list with local
16272         list-var.
16274 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16276         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16277         stored a user name, then query for the password first, instead of
16278         waiting for SMTP to give an error message and the trying again.
16280 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
16282         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16283         BUFFER in call-process.
16285 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16287         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16288         QUIT twice.
16289         (smtpmail-try-auth-methods): Require user name and password from
16290         auth-source.
16292 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
16294         * window.el (display-buffer-default-specifiers)
16295         (display-buffer-alist): Remove entries for pop-up-frame-alist.
16296         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16297         (split-window): Normalize SIDE argument (Bug#8916).
16299         * frame.el (pop-up-frame-alist, pop-up-frame-function)
16300         (special-display-frame-alist, special-display-popup-frame):
16301         Remove duplicate declarations.  These are now in window.el.
16303 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16305         * mail/smtpmail.el (smtpmail-via-smtp):
16306         Set :use-starttls-if-possible so that we always use STARTTLS if the
16307         server supports it.  SMTP servers that support STARTTLS commonly
16308         require it.
16310         * net/network-stream.el (network-stream-open-starttls): Support
16311         upgrading to STARTTLS always, even if we don't have built-in support.
16312         (open-network-stream): Add the :always-query-capabilities keyword.
16314         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16315         upgrades with `open-network-stream', and rely solely on
16316         auth-source for all credentials.  Big changes throughout the file,
16317         but in particular:
16318         (smtpmail-auth-credentials): Remove.
16319         (smtpmail-starttls-credentials): Remove.
16320         (smtpmail-via-smtp): Check for servers saying they want AUTH after
16321         MAIL FROM, too.
16323         * net/network-stream.el (network-stream-open-starttls):
16324         Provide support for client certificates both for external and built-in
16325         STARTTLS.
16326         (auth-source): Require.
16327         (open-network-stream): Document the :client-certificate keyword.
16328         (network-stream-certificate): Change cert-cert to cert and
16329         cert-key to key.
16331 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
16333         * net/tramp-cache.el (top): Don't load the persistency file when
16334         "emacs -Q" has been called.
16336 2011-06-21  Tim Harper  <timcharper@gmail.com>
16338         * term/ns-win.el (ns-initialize-window-system):
16339         Set application-specific `ApplePressAndHoldEnabled' system
16340         resource to NO as it is not yet supported by the NS port.
16342 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
16344         * misc.el (list-dynamic-libraries--refresh): Compute header here...
16345         (list-dynamic-libraries): ...not here.
16347 2011-06-21  Leo Liu  <sdl.web@gmail.com>
16349         * subr.el (sha1): Implement sha1 using secure-hash.
16351 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
16353         * window.el (display-buffer-alist): In default value do not
16354         enforce searching a window on any but the selected frame.
16355         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16356         (display-buffer-select-window): Remove function.
16357         (display-buffer-in-window): When a window on another frame gets
16358         reused, do not select it any more but just raise its frame if
16359         necessary (Bug#8851) and (Bug#8856).
16360         (display-buffer-normalize-options): Handle pop-up-frames related
16361         options more faithfully.
16362         (pop-to-buffer): Don't rely on `display-buffer' selecting the
16363         window if it is on another frame.
16364         (display-buffer-alist, display-buffer-default-specifiers):
16365         Don't make new frame unsplittable by default.
16366         (display-buffer-normalize-argument): Fix doc-string typo and use
16367         'same-frame-other-window instead of 'other-window when associating
16368         with display-buffer-macro-specifiers.
16370 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
16372         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16373         New functions.
16374         (5x5-mode-map, 5x5-mode-menu): Bind them.
16375         (5x5-draw-grid): Tweak the solver's rendering.
16377 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16379         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16380         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16382 2011-06-21  Drew Adams  <drew.adams@oracle.com>
16384         * menu-bar.el: Use function variable instead of switch-to-buffer.
16385         (menu-bar-select-buffer-function): New variable.
16386         (menu-bar-update-buffers): Use it (bug#8876).
16388 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16390         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16391         variable's status.
16393 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
16395         * x-dnd.el (x-dnd-version-from-flags)
16396         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16397         and long as number (Bug#8899).
16398         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16400 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16402         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16403         (completion-try-completion, completion-all-completions): Compute the
16404         metadata argument if it's missing; make it optional (bug#8795).
16406         * wid-edit.el: Use lex-bind and move towards completion-at-point.
16407         (widget-complete): Use new :completion-function property.
16408         (widget-completions-at-point): New function.
16409         (default): Use :completion-function instead of :complete.
16410         (widget-default-completions): Rename from widget-default-complete;
16411         Rewrite.
16412         (widget-string-complete, widget-file-complete, widget-color-complete):
16413         Remove functions.
16414         (file, symbol, function, variable, coding-system, color):
16415         * international/mule-cmds.el (default-input-method, charset)
16416         (language-info-custom-alist):
16417         * cus-edit.el (face): Use new property :completions.
16419         * progmodes/pascal.el (pascal-completions-at-point): New function.
16420         (pascal-mode): Use it.
16421         (pascal-mode-map): Use completion-at-point.
16422         (pascal-toggle-completions): Make obsolete.
16423         (pascal-complete-word, pascal-show-completions):
16424         * progmodes/octave-mod.el (octave-complete-symbol):
16425         Redefine as obsolete alias.
16426         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16427         Signal absence of completion info for old Octave,
16428         (inferior-octave-complete): Redefine as obsolete alias.
16429         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16430         (meta-completions-at-point): Rename from meta-complete-symbol and
16431         adapt it for use on completion-at-point-functions.
16432         (meta-common-mode): Use it.
16433         (meta-looking-at-backward, meta-match-buffer): Remove.
16434         (meta-complete-symbol): Redefine as obsolete alias.
16435         (meta-common-mode-map): Use completion-at-point.
16436         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16437         (makefile-mode-map): Use completion-at-point.
16438         (makefile-completions-at-point): Rename from makefile-complete and
16439         adapt it for use on completion-at-point-functions.
16440         (makefile-mode): Use it.
16441         (makefile-complete): Redefine as obsolete alias.
16443 2011-06-20  Deniz Dogan  <deniz@dogan.se>
16445         * net/rcirc.el: Delete trailing whitespaces once and for all.
16447 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
16449         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16451 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
16453         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16455         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16457 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
16459         * window.el (display-buffer-other-window-means-other-frame):
16460         Call display-buffer-normalize-alist.
16461         (display-buffer-normalize-specifiers-1): Rename to
16462         display-buffer-normalize-argument.  New argument other-frame.
16463         Rewrite.
16464         (display-buffer-normalize-specifiers-2): Rename to
16465         display-buffer-normalize-options.
16466         (display-buffer-normalize-alist-1): New function.
16467         (display-buffer-normalize-specifiers-3): Rename to
16468         display-buffer-normalize-alist.
16469         Call display-buffer-normalize-alist-1.
16470         (display-buffer-normalize-options-inhibit): New variable.
16471         (display-buffer-normalize-specifiers): Rewrite calling
16472         display-buffer-normalize-alist,
16473         display-buffer-normalize-argument, and
16474         display-buffer-normalize-options.  Don't call the latter if
16475         display-buffer-normalize-options-inhibit is non-nil.
16476         (frame-auto-delete): New option.
16477         (window-deletable-p): Use frame-auto-delete.
16478         (window-list-no-nils, window-state-ignored-parameters)
16479         (window-state-get-1, window-state-get, window-state-put-list)
16480         (window-state-put-1, window-state-put-2, window-state-put):
16481         New functions.
16482         (display-buffer-normalize-options): Move special-display-p group
16483         after pop-up-frame group (Bug#8851) and (Bug#8856).
16485 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
16487         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16488         groups (Bug#8776).
16489         (rx-submatch-n): New function.
16490         (rx): Document it.
16492         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16493         (Bug#8768).
16495         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16497         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16499         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16500         anytime existing face settings are present (Bug#8889).
16502         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16503         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16504         Remove unused argument.
16506 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
16508         * window.el (display-buffer-default-specifiers):
16509         Remove pop-up-frame.  Add pop-up-window-min-height,
16510         pop-up-window-min-width, and another reuse-window specifier
16511         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
16512         (display-buffer-normalize-specifiers-2):
16513         Handle split-height-threshold and split-width-threshold also when
16514         pop-up-windows is unset.  Add a reuse-window specifier for the
16515         case popping up a new window fails.
16516         (special-display-popup-frame): Remove double quoting.
16517         (display-buffer-normalize-specifiers-1): Fix thinko.
16519 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16521         * shell.el (shell-completion-vars): Set pcomplete-termination-string
16522         according to comint-completion-addsuffix.
16524         * pcomplete.el: Convert to lexical binding and fix bug#8819.
16525         (pcomplete-suffix-list): Mark as obsolete.
16526         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16527         pcomplete-seen in the closure.
16528         (pcomplete-comint-setup): Setup completion-at-point as well.
16529         (pcomplete--entries): New function.
16530         (pcomplete--env-regexp): New var.
16531         (pcomplete-entries): Rewrite to work with partial-completion and
16532         without relying on pcomplete-suffix-list.
16533         (pcomplete-pare-list): Remove, unused.
16535 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16537         * window.el (display-buffer-alist): Set pop-up-window-min-height
16538         and pop-up-window-min-width in default value.  Reported by
16539         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
16540         other-window-means-other-frame.
16541         (display-buffer-macro-specifiers): Comment out entry for
16542         other-window specifier.
16543         (display-buffer-other-window-means-other-frame): New function.
16544         (display-buffer-normalize-specifiers-1): New arguments
16545         buffer-name and label.  Treat other-window case specially.
16546         (display-buffer-normalize-specifiers-2): Treat other-window case
16547         specially.
16548         (display-buffer-normalize-specifiers-3): New function.
16549         (display-buffer-normalize-specifiers):
16550         Call display-buffer-normalize-specifiers-3.
16552 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16554         * window.el (same-window-p): Fix two typos introduced when
16555         adding with-no-warnings.
16556         (display-buffer-normalize-specifiers-1): Don't check
16557         pop-up-frames for 'unset initialization.
16558         (display-buffer-normalize-specifiers-2): Major rewrite using
16559         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16560         (pop-up-frames, display-buffer-reuse-frames)
16561         (display-buffer-mark-dedicated): Don't initialize to 'unset.
16562         Suggested by David Engster <deng@randomsample.de>.
16563         (even-window-heights): Initialize to 'unset.
16564         (display-buffer-alist-set): Handle new 'unset initializations.
16565         (display-buffer-macro-specifiers): Don't pop up a new frame in the
16566         other window case.
16568 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
16570         * window.el (display-buffer-normalize-specifiers-1):
16571         Respect current value of pop-up-frames for most reasonable values of
16572         second argument of display-buffer (Bug#8865).
16573         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16574         (switch-to-buffer-other-window-same-frame)
16575         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
16576         Adams (Bug#8875).
16577         (display-buffer): Don't check noninteractive when calling
16578         display-buffer-pop-up-frame.
16579         (display-buffer-pop-up-frame): Never pop up a frame in
16580         noninteractive mode (Bug#8857).
16581         (enlarge-window, shrink-window): Don't report an error when the
16582         window can't be resized as requested (Bug#8862).
16584 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16586         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16588         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16590         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16592 2011-06-15  Alan Mackenzie  <acm@muc.de>
16594         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16595         for declarators, disable knr checking to speed up for normal files.
16596         2: Refactor, replacing a sequence of nested if forms by a cond form.
16598 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16600         * net/network-stream.el (open-network-stream): Add the keyword
16601         :always-query-capabilities for the case where you want to force a
16602         `plain' network connection, but the protocol still requires the
16603         capabilitiy command (i.e., SMTP and EHLO).
16605         * subr.el (process-live-p): Rename from `process-alive-p' for
16606         consistency with other `-live-p' functions.
16608 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16610         * window.el (same-window-buffer-names, same-window-regexps)
16611         (special-display-frame-alist, special-display-popup-frame)
16612         (special-display-function, special-display-buffer-names)
16613         (special-display-regexps, pop-up-frame-alist)
16614         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16615         (pop-up-windows, split-window-preferred-function)
16616         (split-height-threshold, split-width-threshold, even-window-heights)
16617         (display-buffer-mark-dedicated): Don't encourage the use of
16618         display-buffer-alist from Elisp code.
16620 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
16622         * progmodes/python.el (python-mode): Derive from prog-mode.
16623         * progmodes/ps-mode.el (ps-mode):
16624         * progmodes/mixal-mode.el (mixal-mode):
16625         * progmodes/cfengine.el (cfengine-mode):
16626         * progmodes/ld-script.el (ld-script-mode): Likewise.
16628 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
16630         * window.el (display-buffer-alist): Trim default value to avoid
16631         popping up a new frame (Bug#8857) or reusing an arbitrary window
16632         on another frame.
16633         (display-buffer): Do not fall back on popping up a new frame in
16634         batch mode (Bug#8857).
16636 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
16638         * cus-theme.el (describe-theme-1): Use custom-theme-p.
16639         (custom-theme-summary): New function.
16640         (customize-themes): Use it.
16642 2011-06-13  Glenn Morris  <rgm@gnu.org>
16644         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16646 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
16648         * help.el (help-window): Remove variable.
16649         (help-window-point-marker, temp-buffer-max-height)
16650         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16651         (help-print-return-message): Don't set help-window.
16652         (resize-temp-buffer-window): Rewrite cod eand doc-string.
16653         (help-window-setup-finish): Remove.
16654         (help-window-display-message, help-window-setup)
16655         (with-help-window): Major rewrite based on new
16656         display-buffer-window variable.
16658         * help-mode.el (help-mode-finish): Remove help-window related
16659         code.
16661         * view.el (view-exits-all-viewing-windows): Remove reference to
16662         view-return-to-alist in doc-string.
16663         (view-return-to-alist): Make obsolete.
16664         (view-buffer): Call pop-to-buffer-same-window and remove
16665         undo-window code.
16666         (view-buffer-other-window): Call pop-to-buffer-other-window and
16667         simplify code.  Ignore second argument.
16668         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16669         simplify code.  Ignore second argument.
16670         (view-return-to-alist-update): Make obsolete.
16671         (view-mode-enter): Rename second argument to QUIT-RESTORE.
16672         Rewrite using quit-restore window parameters.
16673         (view-mode-exit): Rename second argument to EXIT-ONLY.
16674         Rewrite using quit-restore-window.
16675         (View-exit, View-exit-and-edit, View-leave, View-quit)
16676         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16677         appropriate arguments.
16678         (view-end-message): Use quit-restore window parameter.
16680         * window.el (display-buffer-function): Rewrite doc-string.
16681         (display-buffer-window, display-buffer-alist): New variables.
16682         (display-buffer-split-specifiers)
16683         (display-buffer-side-specifiers)
16684         (display-buffer-macro-specifiers): New constants.
16685         (display-buffer-even-window-sizes, display-buffer-set-height)
16686         (display-buffer-set-width, display-buffer-select-window)
16687         (display-buffer-in-window, display-buffer-reuse-window)
16688         (display-buffer-split-window-1, display-buffer-split-window)
16689         (display-buffer-split-atom-window, display-buffer-pop-up-window)
16690         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16691         (display-buffer-in-side-window, normalize-buffer-to-display)
16692         (display-buffer-normalize-specifiers-1)
16693         (display-buffer-normalize-specifiers-2)
16694         (display-buffer-normalize-specifiers, display-buffer-frame):
16695         New functions.
16696         (display-buffer): Major rewrite.
16697         (display-buffer-other-window, display-buffer-other-frame)
16698         (pop-to-buffer, switch-to-buffer-other-window)
16699         (switch-to-buffer-other-frame): Rewrite.
16700         (display-buffer-same-window, display-buffer-same-frame)
16701         (display-buffer-same-frame-other-window)
16702         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16703         (pop-to-buffer-other-window)
16704         (pop-to-buffer-same-frame-other-window)
16705         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16706         (switch-to-buffer-other-window-same-frame): New functions.
16707         (same-window-p, special-display-p): Rewrite disabling warnings.
16708         Make obsolete.
16709         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16710         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16711         Make obsolete
16712         (same-window-buffer-names, same-window-regexps)
16713         (special-display-frame-alist, special-display-popup-frame)
16714         (special-display-function, special-display-buffer-names)
16715         (special-display-regexps, pop-up-frame-alist)
16716         (pop-up-frame-function, split-window-preferred-function)
16717         (split-height-threshold, split-width-threshold)
16718         (even-window-heights): Make obsolete.
16720 2011-06-12  Glenn Morris  <rgm@gnu.org>
16722         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
16723         Misc simplifications.
16725 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
16727         * window.el (window-safely-shrinkable-p): Restore function which
16728         was inadvertently removed in change from 2011-06-11.  Declare as
16729         obsolete.
16731         * calendar/calendar.el (calendar-generate-window):
16732         Use window-iso-combined-p instead of combination of one-window-p and
16733         window-safely-shrinkable-p.
16735 2011-06-12  Glenn Morris  <rgm@gnu.org>
16737         * progmodes/fortran.el (fortran-mode-syntax-table):
16738         * progmodes/f90.el (f90-mode-syntax-table):
16739         Set % to punctuation.  (Bug#8820)
16740         (f90-find-tag-default): Remove, no longer needed.
16742 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
16744         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16746 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
16748         * image.el (image-animated-p): Return animation delay in seconds.
16749         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16750         (image-animate-timeout): Remove DELAY argument.  Don't assume
16751         every subimage has the same delay; get it from image-animated-p.
16752         (image-animate): Caller changed.
16754 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
16756         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16757         to ignored backtrace functions.
16759 2011-06-11  Glenn Morris  <rgm@gnu.org>
16761         * calendar/appt.el (appt-disp-window-function): Doc fix.
16762         (appt-check): Handle overlapping appointments.  (Bug#8337)
16764 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
16766         * window.el (window-tree-1, window-tree): New functions, moving
16767         the latter to window.el.
16768         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16769         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16770         (bw-refresh-edges): Remove.
16771         (balance-windows-1, balance-windows-2): New functions.
16772         (balance-windows): Rewrite in terms of window tree functions,
16773         balance-windows-1 and balance-windows-2.
16774         (bw-adjust-window): Remove.
16775         (balance-windows-area-adjust): New function with functionality of
16776         bw-adjust-window but using resize-window.
16777         (set-window-text-height): Rewrite doc-string.
16778         Use normalize-live-window and resize-window.
16779         (enlarge-window-horizontally, shrink-window-horizontally):
16780         Rename argument to DELTA.
16781         (window-buffer-height): New function.
16782         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16783         Rewrite using new window resize routines.
16784         (kill-buffer-and-window, mouse-autoselect-window-select):
16785         Use ignore-errors instead of condition-case.
16786         (quit-window): Call delete-frame instead of delete-windows-on
16787         for the only buffer on frame.
16789 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16791         * loadup.el (top-level): Load window before files for the sake
16792         of replace-buffer-in-windows.
16794         * files.el (read-buffer-to-switch)
16795         (switch-to-buffer-other-window)
16796         (switch-to-buffer-other-frame, display-buffer-other-frame):
16797         Move to window.el.
16799         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16800         (previous-buffer): Move to window.el.
16802         * bindings.el (unbury-buffer): Move to window.el.
16804         * window.el (delete-other-windows-vertically): Move after
16805         definition of delete-other-windows.
16806         (other-window, delete-windows-on, replace-buffer-in-windows):
16807         Move here from window.c.
16808         (record-window-buffer, unrecord-window-buffer)
16809         (set-window-buffer-start-and-point, switch-to-prev-buffer)
16810         (switch-to-next-buffer): New functions.
16811         (get-next-valid-buffer, last-buffer, next-buffer): Move here
16812         from simple.el.  Call switch-to-next-buffer.
16813         (previous-buffer): Move here from simple.el.
16814         Call switch-to-prev-buffer.
16815         (bury-buffer): Move here from buffer.c.  Switch to previous
16816         buffer when window cannot be deleted.
16817         (unbury-buffer): Move here from bindings.el.
16818         (ctl-x-map): Move binding for other-window from window.c to
16819         here.
16820         (read-buffer-to-switch, switch-to-buffer-other-window)
16821         (switch-to-buffer-other-frame): Move here from files.el.
16822         (normalize-buffer-to-switch-to): New functions.
16823         (switch-to-buffer): Move here from buffer.c.
16824         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16826 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16828         * window.el (window-min-height, window-min-width): Move here
16829         from window.c.  Add defcustoms and rewrite doc-strings.
16830         (resize-mini-window, resize-window): New functions.
16831         (adjust-window-trailing-edge, enlarge-window, shrink-window):
16832         Move here from window.c.
16833         (maximize-window, minimize-window): New functions.
16834         (delete-window, delete-other-windows, split-window): Move here
16835         from window.c.
16836         (window-split-min-size): New function.
16837         (split-window-keep-point): Mention split-window-above-each-other
16838         instead of split-window-vertically.
16839         (split-window-above-each-other, split-window-vertically):
16840         Rename split-window-vertically to split-window-above-each-other
16841         and provide defalias for old definition.
16842         (split-window-side-by-side, split-window-horizontally):
16843         Rename split-window-horizontally to split-window-side-by-side
16844         and provide defalias for the old definition.
16845         (ctl-x-map): Move bindings for delete-window,
16846         delete-other-windows and enlarge-window here from window.c.
16847         Replace bindings for split-window-vertically and
16848         split-window-horizontally by bindings for
16849         split-window-above-each-other and split-window-side-by-side.
16851         * cus-start.el (all): Remove entries for window-min-height and
16852         window-min-width.  Add entries for window-splits and
16853         window-nest.
16855 2011-06-09  Glenn Morris  <rgm@gnu.org>
16857         * calendar/appt.el (appt-mode-line): New function.
16858         (appt-check, appt-disp-window): Use it.
16860         * files.el (hack-one-local-variable-eval-safep):
16861         Allow minor-modes with explicit +/-1 arguments.
16863 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
16865         * term/xterm.el (xterm): Add defgroup.
16866         (xterm-extra-capabilities): Add defcustom to supply known xterm
16867         capabilities, skip querying them, or query them (default).
16868         (terminal-init-xterm): Use it.
16869         (terminal-init-xterm-modify-other-keys): New function to set up
16870         modifyOtherKeys support to simplify `terminal-init-xterm'.
16872 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
16874         * window.el (resize-window-reset, resize-window-reset-1)
16875         (resize-subwindows-skip-p, resize-subwindows-normal)
16876         (resize-subwindows, resize-other-windows, resize-this-window)
16877         (resize-root-window, resize-root-window-vertically)
16878         (window-deletable-p, window-or-subwindow-p)
16879         (frame-root-window-p): New functions.
16881 2011-06-09  Glenn Morris  <rgm@gnu.org>
16883         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16884         (ange-ftp-get-files): Use it.
16886 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
16888         * mail/sendmail.el (mail-recover-1, mail-recover):
16889         * files.el (recover-file, recover-session):
16890         Handle dired-listing-switches not being just a single short option.
16892 2011-06-09  Glenn Morris  <rgm@gnu.org>
16894         * calendar/appt.el (appt-display-message, appt-disp-window):
16895         Handle lists of appointments.
16897 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16899         * window.el (one-window-p): Move down in code.
16900         Rewrite doc-string.
16901         (window-current-scroll-bars): Rewrite doc-string.
16902         Normalize live window argument.
16903         (walk-windows, get-window-with-predicate, count-windows):
16904         Rewrite doc-string.  Use window-list-1.
16905         (window-in-direction-2, window-in-direction, get-mru-window):
16906         New functions.
16908 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
16910         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16911         Doc fix (Bug#8713).
16913 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
16915         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16917 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
16919         * loadhist.el (unload-feature-special-hooks):
16920         Add `comint-output-filter-functions'.
16922 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
16924         * calendar/appt.el (appt-check): Move some initializations into the let.
16926 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16928         * window.el (window-height): Defalias to window-total-height.
16929         (window-width): Defalias to window-body-width.
16931 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
16933         * image-mode.el (image-toggle-animation): New command.
16934         (image-mode-map): Bind it to RET.
16935         (image-mode): Update message.
16936         (image-toggle-display-image): Avoid a spurious cache flush.
16937         (image-transform-rotation): Doc fix.
16938         (image-transform-properties): Return quickly in the normal case.
16939         (image-animate-loop): Rename from image-animate-max-time.
16941         * image.el (image-animate-max-time): Move to image-mode.el.
16942         (create-animated-image): Remove unnecessary function.
16943         (image-animate): Rename from image-animate-start.  New arg.
16944         (image-animate-stop): Remove; just use image-animate-timer.
16945         (image-animate-timer): Use car-safe.
16946         (image-animate-timeout): Rename argument.
16948 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
16950         * window.el (get-lru-window, get-largest-window): Move here from
16951         window.c.  Rename first argument to ALL-FRAMES.
16952         Rephrase doc-strings.
16953         (get-buffer-window-list): Rewrite using window-list-1.
16954         Rephrase doc-string.
16955         (window-safe-min-height, window-safe-min-width): New constants.
16956         (window-size-ignore, window-min-size, window-min-size-1)
16957         (window-sizable, window-sizable-p, window-size-fixed-1)
16958         (window-size-fixed-p, window-min-delta-1, window-min-delta)
16959         (window-max-delta-1, window-max-delta, window-resizable)
16960         (window-resizable-p, window-total-height, window-total-width)
16961         (window-body-width): New functions.
16962         (window-full-height-p, window-full-width-p): Rewrite using
16963         window-total-size.
16964         (window-body-height): Rewrite using window-body-size.
16966 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
16968         * window.el (window-right, window-left, window-child)
16969         (window-child-count, window-last-child, window-any-p)
16970         (normalize-live-buffer, normalize-live-frame)
16971         (normalize-any-window, normalize-live-window)
16972         (window-iso-combination-p, window-iso-combined-p)
16973         (window-iso-combinations)
16974         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16975         (windows-with-parameter, window-with-parameter)
16976         (window-atom-root, make-window-atom, window-atom-check-1)
16977         (window-atom-check, window-side-check, window-check):
16978         New functions.
16979         (ignore-window-parameters, window-sides, window-sides-vertical)
16980         (window-sides-slots): New variables.
16981         (window-size-fixed): Move down in code.  Minor doc-string fix.
16983 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
16985         * comint.el (comint-dynamic-complete-as-filename)
16986         (comint-dynamic-complete-filename): Correctly call
16987         completion-in-region.
16989 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16991         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16992         in last change.
16994 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16996         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16997         (rcirc): Use it to prompt for encryption.
16999 2011-06-05  Roland Winkler  <winkler@gnu.org>
17001         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17002         (bibtex-search-entries): New command bound to C-c C-a.
17003         (bibtex-display-entries): New function.
17005 2011-06-05  Roland Winkler  <winkler@gnu.org>
17007         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17008         (bibtex-insert-kill): After yanking insert newline if necessary.
17009         (bibtex-initialize): Call bibtex-string-files-init only once.
17010         (bibtex-mode): Do not call easy-menu-add.
17011         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17012         (bibtex-yank): Set arg properly if nil.
17014 2011-06-05  Roland Winkler  <winkler@gnu.org>
17016         * textmodes/bibtex.el (bibtex-search-entry-globally):
17017         New variable.
17018         (bibtex-search-entry): Use it.
17020 2011-06-05  Roland Winkler  <winkler@gnu.org>
17022         * textmodes/bibtex.el (bibtex-entry-format): New option
17023         sort-fields.
17024         (bibtex-format-entry, bibtex-reformat): Honor this option.
17025         (bibtex-parse-entry): Return fields in proper order.
17027 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
17029         * doc-view.el (doc-view-remove-if): Move computation of result out
17030         of `dolist' to silence misleading lexical-binding warning.
17032 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
17034         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17035         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17037 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17039         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17040         "SunOS 5.10".
17042 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17044         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17045         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17046         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17047         (tramp-parse-putty):
17048         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17049         (tramp-completion-function-alist-ssh)
17050         (tramp-completion-function-alist-telnet)
17051         (tramp-completion-function-alist-su)
17052         (tramp-completion-function-alist-putty): Set `tramp-autoload'
17053         cookie.
17055         * net/tramp-ftp.el:
17056         * net/tramp-sh.el:
17057         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17058         load "tramp.el" `tramp-set-completion-function'.
17060 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17062         * shell.el: Require and use pcomplete.
17063         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17064         (shell-completion-vars): Set pcomplete-default-completion-function.
17066 2011-06-04  Deniz Dogan  <deniz@dogan.se>
17068         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17069         `memq' (Bug#8799).
17071 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17073         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17075 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
17077         * bs.el (bs--mark-unmark, bs--nth-wrapper):
17078         * mpc.el (mpc-select-extend, mpc-songpointer-context):
17079         * vc/log-view.el (log-view-beginning-of-defun):
17080         * vc/smerge-mode.el (smerge-apply-resolution-patch)
17081         (smerge-refine-forward, smerge-refine-chopup-region):
17082         Silence warning for unused `dotimes' counter variables.
17084 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17086         * net/tramp.el (tramp-with-progress-reporter): Rename from
17087         with-progress-reporter.  Use `declare'.
17088         * net/tramp-smb.el:
17089         * net/tramp-sh.el:
17090         * net/tramp-gvfs.el: Update all uses.
17092 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
17094         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17095         buffer isn't killed before making it current.
17097 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17099         Silence various byte-compiler warnings.
17100         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17101         `access-type' and new obsolescence format.
17102         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17103         new format.
17104         (byte-compile-check-variable): New `access-type' argument.
17105         Only warn if the access-type is obsolete.
17106         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17107         (byte-compile-variable-set): Adjust callers.
17108         * help-fns.el (describe-variable): Adjust to new obsolescence format.
17109         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17110         setting it as obsolete.
17111         * simple.el (minibuffer-completing-symbol):
17112         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17113         access as obsolete.
17114         * minibuffer.el (minibuffer-completing-file-name): Don't make it
17115         obsolete yet.
17116         * international/quail.el (quail-mouse-choose-completion): Remove unused
17117         code referring to obsolete var.
17118         (quail-choose-completion-string): Remove.
17119         * server.el (server-clients-with, server-kill-buffer-query-function)
17120         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17121         * proced.el (proced-send-signal):
17122         * emacs-lisp/lisp.el (lisp-complete-symbol):
17123         Replace completion-annotate-function with completion-extra-properties.
17125 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17127         * simple.el (goto-line): Use read-number.
17128         (overriding-map-is-bound): Remove.
17129         (saved-overriding-map): Change default.
17130         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17131         Take the map as argument.
17132         (universal-argument, negative-argument, digit-argument): Use it.
17133         (restore-overriding-map): Adjust.
17134         (do-auto-fill): Use fill-forward-paragraph.
17135         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17137         * minibuffer.el (minibuffer-inactive-mode-map): New var.
17138         (minibuffer-inactive-mode): New major mode.
17139         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17140         the *Messages* buffer" hack.
17141         (mouse-popup-menubar): Don't burp if the event is a normal key.
17143         Miscellaneous tweaks.
17144         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17145         lexical scoping as in subr.el's dolist and dotimes.
17146         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17147         Silence compiler warning.
17148         * thingatpt.el (forward-whitespace): Trivial coding style fix.
17149         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17150         * international/ccl.el (ccl-compile): Trivial simplification.
17151         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17152         * emacs-lisp/testcover.el (testcover-end): Remove spurious
17153         `printflag' argument.
17154         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17155         Purecopy the whole obsolescence data.
17157 2011-06-01  Leo Liu  <sdl.web@gmail.com>
17159         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17160         improve doc-string as suggested by Marco Pessotto
17161         <melmothx@gmail.com>.
17162         (rcirc-print): Fix last change.
17164 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17166         * minibuffer.el (complete-with-action): Return nil for the metadata and
17167         boundaries of non-functional tables.
17168         (completion-table-dynamic): Return nil for the metadata.
17169         (completion-table-with-terminator): Add default case, using
17170         complete-with-action.
17171         (completion--metadata): New function.
17172         (completion-all-sorted-completions, minibuffer-completion-help): Use it
17173         to try and avoid pathological performance problems.
17174         (completion--embedded-envvar-table): Return `category' metadata.
17176 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17178         * subr.el (process-alive-p): New tiny convenience function.
17180 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17182         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17183         content but also its previous major mode.
17185 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
17187         * emacs-lisp/debug.el (debug): Restore the previous content of the
17188         *Backtrace* buffer when we exit with C-M-c.
17190 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17192         * minibuffer.el: Add metadata method to completion tables.
17193         (completion-category-overrides): New defcustom.
17194         (completion-metadata, completion--field-metadata)
17195         (completion-metadata-get, completion--styles)
17196         (completion--cycle-threshold): New functions.
17197         (completion-try-completion, completion-all-completions):
17198         Add `metadata' argument to choose completion-styles.
17199         (completion--do-completion): Use metadata to choose cycling.
17200         (completion-all-sorted-completions): Use metadata for sorting.
17201         Remove :completion-cycle-penalty which is not needed any more.
17202         (completion--try-word-completion): Add `metadata' argument.
17203         (minibuffer-completion-help): Check metadata for annotation function
17204         and sorting.
17205         (completion-file-name-table): Return `category' metadata.
17206         (minibuffer-completing-file-name): Make obsolete.
17207         * simple.el (minibuffer-completing-symbol): Make obsolete.
17208         * icomplete.el (icomplete-completions): Pass new `metadata' param to
17209         completion-try-completion.
17211 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17213         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17215 2011-05-30  Leo Liu  <sdl.web@gmail.com>
17217         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17218         (rcirc-print): Decode all incoming messages (bug#8744).
17219         (rcirc-decode-coding-system): Allow value nil for automatic coding
17220         system detection.
17222 2011-06-01  Glenn Morris  <rgm@gnu.org>
17224         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17226 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17228         * image.el (image-animate-max-time): Allow nil and t values.
17229         Default to nil.
17230         (create-animated-image): Doc fix.
17231         (image-animate-start): Remove second arg; just use
17232         image-animate-max-time.
17233         (image-animate-timeout): Doc fix.  Args changed.
17235         * image-mode.el (image-toggle-display-image): Ensure that the
17236         image spec passed to the animate timer is the same object as in
17237         the buffer's display property (Bug#6981).
17238         (image-transform-properties): Doc fix.
17240         * image.el (image-animate-max-time): Default to nil.
17242 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
17244         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17245         entire buffer list (Bug#8184).
17247 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17249         * image.el (imagemagick-types-inhibit)
17250         (imagemagick-register-types): Doc fix.
17252 2011-05-29  Deniz Dogan  <deniz@dogan.se>
17254         * net/rcirc.el (rcirc): Use the user's stored encryption method by
17255         default.
17257 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17259         * select.el: Don't perform clipboard-manager saving in hooks;
17260         leave the hooks empty.
17262 2011-05-28  Leo Liu  <sdl.web@gmail.com>
17264         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17265         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
17266         (occur-edit-mode): New major mode (Bug#8463).
17267         (occur-after-change-function): New function.
17268         (occur-engine): Give Occur tags a read-only property.
17270 2011-05-28  Kevin Ryde  <user42@zip.com.au>
17272         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17274 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17276         * bindings.el (help-echo): Make the initial non-indicator dash
17277         empty on graphical terminals (Bug#7295).
17279         * files.el (auto-mode-alist): Move config rule after the
17280         in-stripping one (Bug#8547).
17282         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17284         * startup.el (normal-splash-screen): Remove gratuitous mode-line
17285         setting (Bug#8740).
17287 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
17289         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17290         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17291         (Bug#8539).
17293 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17295         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17297 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
17299         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17300         (hs-hide-block-at-point, hs-find-block-beginning)
17301         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17302         (Bug#8279).
17304 2011-05-28  Glenn Morris  <rgm@gnu.org>
17306         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
17308 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17310         * help-fns.el (describe-function-1): If the function is a derived
17311         major mode, print the parent mode.
17313         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17314         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17316 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17318         * minibuffer.el (completion--capf-wrapper): Check applicability before
17319         returning non-nil for non-exclusive completion data.
17320         * progmodes/etags.el (tags-completion-at-point-function):
17321         * info-look.el (info-lookup-completions-at-point): Mark as
17322         non-exclusive.
17323         (info-complete): Adjust accordingly.
17325         * info-look.el: Convert to lexical-binding and completion-at-point.
17326         (info-lookup-completions-at-point): New function.
17327         (info-complete): Use it and completion-in-region.
17329 2011-05-28  Drew Adams  <drew.adams@oracle.com>
17331         * isearch.el: Let M-e start with point at the first mismatched char.
17332         (isearch-fail-pos): New function.
17333         (isearch-edit-string): Use it.
17335 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17337         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17339 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
17341         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
17342         traversal functions for avl-trees.
17343         (avl-tree--stack): New struct.
17344         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17345         (avl-tree-enter): Add optional `updatefun' arg.
17346         (avl-tree--do-enter): Add optional `updatefun' arg.
17347         Change return value.
17348         (avl-tree-delete): Add optional `test' and `nilflag' args.
17349         (avl-tree--do-delete): Add `test' and `nilflag' args.
17350         Change return value.
17351         (avl-tree-member): Add optional `nilflag'
17352         (avl-tree-member-p): New function.
17353         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17354         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17355         (avl-tree-stack-empty-p): New functions.
17357         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17358         avl-tree--del-balance1 and make it work both ways.
17359         (avl-tree--del-balance2): Remove.
17360         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17361         make it work both ways.
17362         (avl-tree--enter-balance2): Remove.
17363         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17364         New macros.
17365         (avl-tree--mapc, avl-tree-map): Add direction argument.
17367 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
17369         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17371 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
17373         * select.el: Support clipboard managers with built-in function
17374         x-clipboard-manager-save, via delete-frame-functions and
17375         kill-emacs-hook.
17376         (xselect-convert-to-targets): Add MULTIPLE target to list.
17377         (xselect-convert-to-save-targets): New function.
17379 2011-05-27  Kenichi Handa  <handa@m17n.org>
17381         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17382         let-binding rfc2047-encode-encoded-words to nil.
17384 2011-05-27  Glenn Morris  <rgm@gnu.org>
17386         * mail/emacsbug.el: Don't require url-util.
17388         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
17390         * files.el (set-auto-mode):
17391         Also respect mode: entries at the end of the file.  (Bug#8586)
17393 2011-05-26  Glenn Morris  <rgm@gnu.org>
17395         * files.el (hack-local-variables-prop-line, hack-local-variables):
17396         Downcase mode names, as seems to be traditional.
17397         (hack-local-variables, hack-local-variables-apply): Doc fixes.
17399         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17400         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
17402 2011-05-25  Julien Danjou  <julien@danjou.info>
17404         * textmodes/rst.el (rst-define-level-faces): Do not define face
17405         symbol if it is already defined.
17407 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17409         * play/5x5.el (5x5-new-game, 5x5-randomize):
17410         Reset 5x5-solver-output to nil when a new grid is cast.
17411         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17412         these debugging traces, as defmacro breaks the compiled code.
17414 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17416         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17418 2011-05-24  Leo Liu  <sdl.web@gmail.com>
17420         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17421         (vc-bzr-sha1): Adapt.
17423         * sha1.el: Remove.  Function `sha1' is now builtin.
17425         * bindings.el: Provide sha1 feature.
17427 2011-05-24  Kenichi Handa  <handa@m17n.org>
17429         * mail/sendmail.el: Require `rfc2047'.
17430         (mail-insert-from-field): Do not perform RFC2047 encoding.
17431         (mail-encode-header): New function.
17432         (sendmail-send-it): Set buffer-file-coding-system of the work
17433         buffer to the return value of select-message-coding-system.
17434         Call mail-encode-header.
17436         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17438 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
17440         * mail/supercite.el (sc-default-cite-frame):
17441         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17443 2011-05-24  Glenn Morris  <rgm@gnu.org>
17445         * progmodes/python.el (brm-menu): Declare.
17447         * emulation/viper.el (viper-set-hooks): Declare.
17449         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17450         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17451         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17452         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17453         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17454         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17456 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17458         Add an :exit-function for completion-at-point.
17460         * minibuffer.el (completion--done): New fun.
17461         (completion--do-completion): Use it.  New arg `expect-exact'.
17462         (minibuffer-complete, minibuffer-complete-word): Don't output message,
17463         since completion--do-completion does it for us now.
17464         (minibuffer-force-complete): Use completion--done and
17465         completion--replace.  Handle sole-completion case with more care.
17466         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17467         (completion-extra-properties): New var.
17468         (completion-annotate-function): Make obsolete.
17469         (minibuffer-completion-help): Adjust accordingly.
17470         Use completion-list-insert-choice-function.
17471         (completion-at-point, completion-help-at-point):
17472         Bind completion-extra-properties.
17473         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17474         * simple.el (completion-list-insert-choice-function): New var.
17475         (completion-setup-function): Preserve it.
17476         (choose-completion): Pay attention to it, shuffle the code a bit.
17477         (choose-completion-string): New arg `insert-function'.
17479         * textmodes/bibtex.el: Convert to lexical binding.
17480         (bibtex-mode-map): Use completion-at-point.
17481         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17482         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17483         (bibtex-complete): Define as obsolete alias.
17484         (bibtex-complete-internal): Remove.
17485         (bibtex-format-entry): Remove unused sub-group in regexp.
17486         * shell.el (shell--command-completion-data)
17487         (shell-environment-variable-completion):
17488         * pcomplete.el (pcomplete-completions-at-point):
17489         * comint.el (comint--complete-file-name-data): Use :exit-function
17490         instead of completion-table-with-terminator so it also works for
17491         choose-completion.
17493 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17495         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17497         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17498         (bug#8710).
17500         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17502 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
17504         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17505         customization variable and implement: If non-nil, auto-fill will
17506         be inhibited while on topic's header line.
17508 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17510         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17511         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
17512         always have a solution in grid size = 5 cases.
17513         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17514         (5x5-solver-output, 5x5-log-buffer): New vars.
17515         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17516         Make these variables buffer local to achieve 5x5 multi-session-ness.
17517         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17518         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17519         (5x5-solve-suggest): New funs.
17520         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17521         randomize a grid so that we ensure that there is always a solution.
17522         (5x5-make-random-grid): Allow other movement than flipping.
17524 2011-05-23  Kevin Ryde  <user42@zip.com.au>
17526         * emacs-lisp/advice.el (ad-read-advised-function):
17527         Use `function-called-at-point' as the default, if it has
17528         advice and passes PREDICATE.
17530 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17532         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17533         byte-compile-lambda if it's actually a lambda.
17535         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17536         Fix function quoting.  Use backquote better.
17538 2011-05-22  Yuanle Song  <sylecn@gmail.com>
17540         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17541         matching (Bug#8516).
17543 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
17545         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17546         different face (Bug#8178).
17548 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
17550         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17551         defface (Bug#8144).
17553 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17555         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17556         funcall as well (bug#8712).  Warn when performing those conversions.
17557         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17559         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17561 2011-05-22  Glenn Morris  <rgm@gnu.org>
17563         * files.el (hack-local-variables-prop-line): Small simplifications.
17564         (hack-local-variables, hack-local-variables-prop-line):
17565         If MODE-ONLY, return the mode, rather than just `t'.
17567 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17569         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17571 2011-05-21  Glenn Morris  <rgm@gnu.org>
17573         * files.el (hack-local-variables-prop-line, hack-local-variables):
17574         If only interested in the mode, don't bother doing the other stuff.
17576         * image-mode.el (image-after-revert-hook):
17577         Redraw all frames on which the image is visible.  (Bug#8567)
17579         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
17581         * wid-edit.el (widget-checklist-match-inline):
17582         Fix 2011-04-19 change.  (Bug#8649)
17584 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17586         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17587         Also allow singlespace after single-letter capitals followed by a dot.
17589         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17590         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17592 2011-05-20  Nix  <nix@esperi.org.uk>
17594         * files.el (basic-save-buffer-2):
17595         Fix handling of break-hardlink-on-save with non-existent files.
17597 2011-05-19  Deniz Dogan  <deniz@dogan.se>
17599         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17600         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17602 2011-05-19  Glenn Morris  <rgm@gnu.org>
17604         * progmodes/f90.el (f90-type-def-re):
17605         Handle "type, bind(c)".  (Bug#8691)
17607         * emacs-lisp/autoload.el (batch-update-autoloads):
17608         Set autoload-excludes by parsing loadup.el rather than Makefiles.
17610 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
17612         * net/tramp.el (tramp-process-actions): Set "first-password-request"
17613         property for the correct connection in case of multihops.
17615 2011-05-18  Glenn Morris  <rgm@gnu.org>
17617         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17618         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17620         Rationalize calendar handling of day and month abbrev-arrays.
17621         * calendar/calendar.el (calendar-customized-p): New function.
17622         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17623         (calendar-day-name-array, calendar-month-name-array): Doc fix.
17624         Add :set function.
17625         (calendar-abbrev-length, calendar-day-abbrev-array)
17626         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17627         (calendar-day-abbrev-array, calendar-month-abbrev-array):
17628         Elements may no longer be nil.
17629         (calendar-day-name, calendar-month-name):
17630         Update for changed nature of abbrev arrays.
17631         * calendar/diary-lib.el (diary-name-pattern):
17632         Update for changed nature of abbrev arrays.
17633         (diary-mark-entries-1): Update calendar-make-alist calls.
17634         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17635         * calendar/cal-html.el (cal-html-day-abbrev-array):
17636         Simply inherit from calendar-day-abbrev-array.
17638 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17640         * progmodes/grep.el (grep-mode): Disable default
17641         compilation-directory-matcher setting (bug#8684).
17643 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
17645         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17646         instead of "head" and "tail".  There were problems with SunOS 5.9,
17647         and it performs better.
17649 2011-05-17  Glenn Morris  <rgm@gnu.org>
17651         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17653         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17654         Replace obsolete function.
17656         * shell.el (pcomplete-parse-arguments-function): Declare.
17658         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17659         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17660         (appt-check): Doc fixes.
17661         (appt-disp-window-function, appt-delete-window-function):
17662         Remove needless special case in custom :type.
17663         (appt-display-count): Default to 0, not nil.
17664         (appt-check): Reset appt-display-count to 0, not nil.
17666 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
17668         * progmodes/python.el (python-font-lock-keywords):
17669         Add the Python 3.X keyword "nonlocal" (bug#8639).
17671 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17673         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17675 2011-05-16  Kevin Ryde  <user42@zip.com.au>
17677         * info-look.el (makefile-automake-mode): New setups, looking in
17678         automake manual, then makefile-mode.
17679         (makefile-mode): Remove automake manual, have it just in
17680         makefile-automake-mode since there's various things different or
17681         not relevant to plain make.
17682         (makefile-mode): Remove "other-modes" non-existent automake-mode,
17683         believe a hypothetical automake-mode would go to makefile-mode,
17684         not the other way around.
17686 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
17688         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17689         hunk-end tags (Bug#8672).
17691         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17692         vc-annotate-show-diff-revision-at-line (Bug#8671).
17694 2011-05-14  Glenn Morris  <rgm@gnu.org>
17696         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17697         in the middle of an existing one with multiple authors.  (Bug#8645)
17698         (change-log-font-lock-keywords): Also handle multiple author lines
17699         with leading tabs.  (Bug#8644)
17701         * calendar/appt.el (appt-check): Rename some local variables.
17702         Some simplification/reordering.
17704         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17705         (feedmail-sendmail-f-doesnt-sell-me-out)
17706         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17707         (feedmail-debug-sit-for, feedmail-queue-express-hook)
17708         (feedmail-queue-runner-message-sender): Set :version.
17709         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17710         (bbdb-dwim-net-address, vm-mail): Declare.
17711         (feedmail-binmail-gnulinuxish-template):
17712         Rename from feedmail-binmail-linuxish-template.
17713         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17714         Use insert-buffer-substring.
17716 2011-05-14  Bill Carpenter  <bill@carpenter.org>
17718         * mail/feedmail.el (feedmail-patch-level): Increase.
17719         (feedmail-debug): New custom group.
17720         (feedmail-confirm-outgoing-timeout)
17721         (feedmail-sendmail-f-doesnt-sell-me-out)
17722         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17723         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17724         (feedmail-sender-line, feedmail-from-line)
17725         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17726         (feedmail-spray-this-address)
17727         (feedmail-spray-address-fiddle-plex-list)
17728         (feedmail-queue-use-send-time-for-date)
17729         (feedmail-queue-use-send-time-for-message-id)
17730         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17731         (feedmail-buffer-eating-function):
17732         Doc fixes.
17733         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17734         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17735         (feedmail-message-action-scroll-down): New functions.
17736         (feedmail-queue-directory, feedmail-queue-draft-directory):
17737         Use expand-file-name.
17738         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17739         Remove C-v help entry.
17740         (feedmail-queue-buffer-file-name): New variable.
17741         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17742         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17743         (feedmail-message-action-send-strong, feedmail-message-action-edit)
17744         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17745         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17746         (feedmail-message-action-toggle-spray)
17747         (feedmail-run-the-queue-no-prompts)
17748         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17749         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17750         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17751         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17752         (feedmail-envelope-deducer, feedmail-fiddle-from)
17753         (feedmail-fiddle-sender, feedmail-default-date-generator)
17754         (feedmail-fiddle-date, feedmail-fiddle-message-id)
17755         (feedmail-fiddle-spray-address)
17756         (feedmail-fiddle-list-of-spray-fiddle-plexes)
17757         (feedmail-fiddle-list-of-fiddle-plexes)
17758         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17759         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17760         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17761         Change default.  Doc fix.
17762         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17763         (feedmail-binmail-linuxish-template): New constant.
17764         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
17765         Respect feedmail-sendmail-f-doesnt-sell-me-out.
17766         (feedmail-send-it): Add debug call.
17767         Use feedmail-queue-buffer-file-name, and
17768         feedmail-send-it-immediately-wrapper.
17769         (feedmail-message-action-send): Add debug call.
17770         Use feedmail-send-it-immediately-wrapper.
17771         (feedmail-queue-express-to-queue): Add debug call.
17772         Run feedmail-queue-express-hook.
17773         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
17774         (feedmail-message-action-help-blat):
17775         Rename from feedmail-queue-send-edit-prompt-help-first.
17776         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
17777         Check line-endings.  Handle errors better.
17778         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17779         Doc fix.  Add debug call.
17780         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
17781         Use feedmail-queue-send-edit-prompt-inner.
17782         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17783         (feedmail-queue-send-edit-prompt-inner): New function, extracted
17784         from feedmail-queue-send-edit-prompt.
17785         (feedmail-queue-send-edit-prompt-help)
17786         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17787         (feedmail-tidy-up-slug): Add debug call.
17788         Respect feedmail-queue-slug-suspect-regexp.
17789         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17790         (feedmail-dump-message-to-queue): Add debug call.
17791         Expand queue-directory.
17792         (feedmail-dump-message-to-queue): Change message slightly.
17793         Use feedmail-say-chatter.
17794         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
17795         (feedmail-send-it-immediately-wrapper): New function.
17796         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
17797         Insert empty string rather than newline.  Handle full-frame case.
17798         Use catch/throw.  Use feedmail-say-chatter.
17799         (feedmail-fiddle-from): Try mail-host-address.
17800         (feedmail-default-message-id-generator): Doc fix.
17801         Bind system-time-locale.  Handle missing end.
17802         (feedmail-fiddle-x-mailer): Add debug call.
17803         Handle feedmail-x-mailer-line being nil.
17804         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17805         Add debug call.  Use buffer-substring-no-properties.
17806         (feedmail-say-debug, feedmail-say-chatter): New functions.
17807         (feedmail-find-eoh): Give an explicit error.
17809 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
17811         * net/newst-treeview.el (newsticker-treeview-face): Change default
17812         family from helvetica to sans.
17813         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17814         etc/images/newsticker.
17816         * net/newst-reader.el (newsticker-feed-face): Change default
17817         family from helvetica to sans.
17819         * net/newst-plainview.el (newsticker-new-item-face)
17820         (newsticker-old-item-face, newsticker-immortal-item-face)
17821         (newsticker-obsolete-item-face, newsticker-date-face)
17822         (newsticker-statistics-face): Change default family from
17823         helvetica to sans.
17824         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17825         etc/images/newsticker.
17827         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17828         (newsticker--process-auto-mark-filter-match): Tell user about
17829         auto-marking.
17831 2011-05-13  Didier Verna  <didier@xemacs.org>
17833         Common Lisp indentation improvements on defmethod and lambda-lists.
17834         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17835         TODO entries.
17836         (lisp-lambda-list-keyword-parameter-indentation)
17837         (lisp-lambda-list-keyword-parameter-alignment)
17838         (lisp-lambda-list-keyword-alignment): New customizable user options.
17839         (lisp-indent-defun-method): Improve docstring.
17840         (extended-loop-p): Fix comment.
17841         (lisp-indent-lambda-list-keywords-regexp): New variable.
17842         (lisp-indent-lambda-list): New function.
17843         (lisp-indent-259): Use it.
17844         (lisp-indent-defmethod): Support for more than one
17845         method qualifier and properly indent methods lambda-lists.
17846         (defgeneric): Provide a missing common-lisp-indent-function property.
17848 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17850         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17851         bounds for the empty string (bug#8667).
17853 2011-05-13  Glenn Morris  <rgm@gnu.org>
17855         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17857         * mail/sendmail.el (sendmail-program): Try executable-find first.
17858         (sendmail-send-it): `sendmail-program' cannot be unbound.
17860         * calendar/appt.el (appt-make-list): Simplify.
17861         (appt-time-msg-list): Doc fix.
17862         (appt-check): Change mode-line message at the time of the appointment.
17864 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17866         * progmodes/ld-script.el (ld-script-keywords)
17867         (ld-script-builtins): Update keywords list.
17869 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17871         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17873         * shell.el (shell-completion-vars): New function.
17874         (shell-mode):
17875         * simple.el (read-shell-command): Use it.
17876         (blink-matching-open): No need for " [...]" in minibuffer-message.
17878 2011-05-12  Glenn Morris  <rgm@gnu.org>
17880         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17881         (appt-check): Simplify.
17883 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
17885         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17886         literal "/dev/null".
17888 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17890         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17891         Fix typo.
17893 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
17895         * progmodes/which-func.el (which-function):
17896         Use add-log-current-defun instead of add-log-current-defun-function,
17897         which might not be defined (Bug#8260).
17899 2011-05-12  Glenn Morris  <rgm@gnu.org>
17901         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17902         Let byte-compile-initial-macro-environment always take precedence.
17904 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17906         * net/rcirc.el: Add support for SSL/TLS connections.
17907         (rcirc-server-alist): New field `encryption'.
17908         (rcirc): Check `encryption' settings.
17909         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
17910         Merge make-local-variable into `set'.
17911         (rcirc--connection-open-p): New function.
17912         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17913         the process is not a network process (e.g. running gnutls-cli).
17914         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17915         Make rcirc-(en|de)code-coding-system local here.
17916         (rcirc-mode): Merge make-local-variable into `set'.
17917         (rcirc-parent-buffer): Make permanent buffer-local.
17918         (rcirc-multiline-minor-mode): Don't do it here.
17919         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17920         there's no server buffer.
17922 2011-05-11  Glenn Morris  <rgm@gnu.org>
17924         * newcomment.el (comment-kill): Prefix "unused" local.
17926         * term/w32console.el (get-screen-color): Declare.
17928         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17929         Handle symbol elements of byte-compile-initial-macro-environment.
17931 2011-05-10  Leo Liu  <sdl.web@gmail.com>
17933         * bookmark.el (bookmark-bmenu-mode-map):
17934         Bind bookmark-bmenu-search to `/'.
17936         * mail/footnote.el: Convert to utf-8 encoding.
17937         (footnote-unicode-string, footnote-unicode-regexp): New variable.
17938         (Footnote-unicode): New function.
17939         (footnote-style-alist): Add unicode style to the list.
17940         (footnote-style): Doc fix.
17942 2011-05-10  Jim Meyering  <meyering@redhat.com>
17944         Fix doubled-word typos.
17945         * international/quail.el (quail-insert-kbd-layout): and and -> and
17946         * kermit.el: and and -> and
17947         * net/ldap.el (ldap-search-internal): to to -> to
17948         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17949         * progmodes/js.el (js-mode): and and -> and
17950         * textmodes/artist.el (artist-move-to-xy): at at -> at
17951         (artist-draw-region-trim-line-endings): if if -> if
17952         And Safetyc -> Safety.
17953         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17955 2011-05-10  Glenn Morris  <rgm@gnu.org>
17956             Stefan Monnier  <monnier@iro.umontreal.ca>
17958         * files.el (hack-one-local-variable-eval-safep):
17959         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
17961 2011-05-10  Glenn Morris  <rgm@gnu.org>
17963         * calendar/diary-lib.el (diary-list-entries-hook)
17964         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17965         (diary-nongregorian-marking-hook, diary-list-entries)
17966         (diary-include-other-diary-files, diary-mark-entries)
17967         (diary-mark-included-diary-files): Doc fixes.
17969 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17971         * misc.el: Require tabulated-list.el during compilation.
17973 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17975         * progmodes/compile.el (compilation-start):
17976         Run compilation-filter-hook for the async case too.
17977         (compilation-filter-hook): Doc fix.
17979 2011-05-09  Deniz Dogan  <deniz@dogan.se>
17981         * wdired.el: Remove outdated installation comment.  Fix usage
17982         comment.
17984 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17986         * misc.el: Implement new command `list-dynamic-libraries'.
17987         (list-dynamic-libraries--loaded-only-p): New variable.
17988         (list-dynamic-libraries--refresh): New function.
17989         (list-dynamic-libraries): New command.
17991 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17993         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17994         Fix the ant regexp to handle end-line and end-column info from jikes.
17995         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
17996         higher priority to avoid clobbering by gnu.
17998 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18000         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18001         if the face has existing theme settings (Bug#8454).
18003 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
18005         * progmodes/perl-mode.el (perl-imenu-generic-expression):
18006         Only match variables declared via `my' or `our' (Bug#8261).
18008         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18009         special file names `.' and `..' (Bug#8259).
18011 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18013         * progmodes/grep.el (grep-mode-font-lock-keywords):
18014         Remove buffer-changing entries.
18015         (grep-filter): New function.
18016         (grep-mode): Add it to compilation-filter-hook.
18018         * progmodes/compile.el (compilation-filter-hook)
18019         (compilation-filter-start): New defvars.
18020         (compilation-filter): Call compilation-filter-hook prior to
18021         updating the process mark.
18023 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18025         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18027 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
18029         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18030         mailclient-send-it even if window-system is nil.  (Bug#8595)
18032         * term/w32console.el (terminal-init-w32console):
18033         Call get-screen-color and use its output to set the frame
18034         background-mode.  (Bug#8597)
18036 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18038         Make bytecomp.el understand that defmethod defines funs (bug#8631).
18039         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18040         New functions.
18041         (defgeneric, eieio--defmethod): Use them.
18042         (eieio-defgeneric): Remove.
18043         (defmethod): Call defgeneric in a way visible to the byte-compiler.
18045 2011-05-07  Glenn Morris  <rgm@gnu.org>
18047         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18048         Use let rather than let*.
18049         (timeclock-find-discrep): Remove unused local.
18051         * calendar/diary-lib.el (diary-comment-start): Doc fix.
18053         * calendar/appt.el (appt-time-msg-list): Doc fix.
18055 2011-05-06  Noah Friedman  <friedman@splode.com>
18057         * apropos.el (apropos-print-doc): Only use
18058         emacs-lisp-docstring-fill-column when it is bound to an integer,
18059         per that variable's documentation.
18061 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18063         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18064         and warnings are not silently discarded (e.g. use -d instead of -P).
18066 2011-05-06  Glenn Morris  <rgm@gnu.org>
18068         * calendar/appt.el (appt-message-warning-time): Doc fix.
18069         (appt-warning-time-regexp): New option.
18070         (appt-make-list): Respect appt-message-warning-time.
18072         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18073         New options.
18074         (diary-add-to-list): Strip comments from the displayed string.
18075         (diary-mode): Set comment-start and comment-end.
18077         * vc/diff-mode.el (smerge-refine-subst): Declare.
18078         (diff-refine-hunk): Don't require smerge-mode when compiling.
18080 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
18082         * simple.el (list-processes): Return nil as the docstring says.
18084 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18086         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18087         to "".
18088         (ange-ftp-write-region, ange-ftp-insert-file-contents)
18089         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18090         determining of binary transfer.  (Bug#7383)
18092 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18094         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18095         Fix port computation bug.  (Bug#8618)
18097 2011-05-05  Glenn Morris  <rgm@gnu.org>
18099         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18101         * simple.el (shell-dynamic-complete-functions)
18102         (comint-dynamic-complete-functions): Declare.
18104         * net/network-stream.el (gnutls-negotiate):
18105         * simple.el (tabulated-list-print): Fix declarations.
18107         * progmodes/gud.el (syntax-symbol, syntax-point):
18108         Remove unnecessary and incorrect declarations.
18110         * emacs-lisp/check-declare.el (check-declare-scan):
18111         Handle byte-compile-initial-macro-environment in bytecomp.el
18113 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18115         Fix earlier half-done eieio-defmethod change (bug#8338).
18116         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18117         Streamline and change calling convention.
18118         (defmethod): Adjust accordingly and simplify.
18119         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18120         new eieio--defmethod.
18121         (slot-boundp): Minor CSE simplification.
18123 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
18125         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18126         (glasses-make-readable): Use glasses-separate-capital-groups.
18128 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
18130         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18131         (warning-series): Doc fix.
18132         (display-warning): Don't try to create the buffer if we just found it.
18134 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
18136         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18137         (autoload-find-generated-file): New function.
18138         (generate-file-autoloads): Bind generated-autoload-file to
18139         buffer-file-name.
18140         (update-file-autoloads, update-directory-autoloads):
18141         Use autoload-find-generated-file.  If called interactively, prompt for
18142         output file (Bug#7989).
18143         (batch-update-autoloads): Doc fix.
18145 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
18147         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18149 2011-05-04  Glenn Morris  <rgm@gnu.org>
18151         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18152         function, so it follows changes in calendar-date-style.
18153         (diary-fancy-date-matcher): New function.
18154         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18155         (diary-fancy-font-lock-fontify-region-function):
18156         Use diary-fancy-date-pattern as a function.
18158         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18159         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
18161 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
18163         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18164         instead of positional arguments.  Allow :keylist and :crlfiles
18165         arguments.
18166         (open-gnutls-stream): Call it.
18168         * net/network-stream.el (network-stream-open-starttls): Adjust to
18169         call `gnutls-negotiate' with :process and :hostname arguments.
18171 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18173         * minibuffer.el (completion--message): New function.
18174         (completion--do-completion, minibuffer-complete)
18175         (minibuffer-force-complete, minibuffer-complete-word): Use it.
18176         (completion--do-completion): Don't ignore completion-auto-help when in
18177         icomplete-mode.
18179         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18180         internal encoding (e.g. tibetan zero is not whitespace).
18181         (global-whitespace-mode): Prefer save-current-buffer.
18182         (whitespace-trailing-regexp): Remove useless save-match-data.
18183         (whitespace-empty-at-bob-regexp): Minor simplification.
18185 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
18187         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18189 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
18191         * textmodes/ispell.el (ispell-add-per-file-word-list):
18192         Use `concat' to create string for insertion.
18194 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18196         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18197         Avoid open-line which runs post-self-insert-hook.
18198         (bibtex-fill-entry): Remove unused `end' var.
18200 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
18202         * textmodes/ispell.el (ispell-add-per-file-word-list):
18203         Protect against `nil' value of `comment-start' (Bug#8579).
18205 2011-05-03  Leo Liu  <sdl.web@gmail.com>
18207         * isearch.el (isearch-yank-pop): New command.
18208         (isearch-mode-map): Bind it to `M-y'.
18209         (isearch-forward): Mention it.
18211 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18213         * simple.el (minibuffer-complete-shell-command): Remove.
18214         (minibuffer-local-shell-command-map): Use completion-at-point.
18215         (read-shell-command): Setup completion vars here instead.
18216         (read-expression-map): Bind TAB to symbol completion.
18218         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18219         error directly rather via storing it into `results'.
18221 2011-05-02  Leo Liu  <sdl.web@gmail.com>
18223         * vc/diff.el: Fix description.
18225 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18227         * server.el (server-eval-at): New function.
18229 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18231         * net/network-stream.el (open-network-stream): Take a :nowait
18232         parameter and pass it on to `make-network-process'.
18233         (network-stream-open-plain): Ditto.
18235 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18237         * faces.el (face-spec-set-match-display): Don't match toolkit
18238         options on terminal frames.
18240 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18242         * progmodes/pascal.el: Use lexical binding.
18243         (pascal-mode-map): Remove author preferences.
18245         * pcomplete.el (pcomplete-std-complete): Don't abuse
18246         completion-at-point.
18248 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18250         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18251         removing code that has been dead since 1991 or so.
18253         * startup.el (command-line): When warning about "_emacs", use a
18254         delayed warning to allow the user to filter it out.
18256 2011-04-28  Deniz Dogan  <deniz@dogan.se>
18258         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18259         user has not joined.
18261 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18263         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18264         aren't any completions at point.
18266 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18268         * subr.el (display-delayed-warnings): New function.
18269         (delayed-warnings-hook): New variable.
18271 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18273         * minibuffer.el (completion-at-point, completion-help-at-point):
18274         Don't presume that a given completion-at-point-function will always
18275         use the same calling convention.
18277         * pcomplete.el (pcomplete-completions-at-point):
18278         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
18279         pcomplete-seen is non-nil.
18280         (pcomplete-comint-setup): Also recognize the new comint/shell
18281         completion functions.
18282         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18283         pcomplete-seen is non-nil.
18285 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
18287         * calendar/icalendar.el (diary-lib): Add require statement.
18288         (icalendar--create-uid): Read out a uid from a text-property on
18289         the first character in the entry.  This allows for code to add its
18290         own uid to the entry.
18291         (icalendar--convert-float-to-ical): Add export of
18292         `diary-float'-entries save for those with the optional DAY
18293         argument.
18295 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
18297         * subr.el (shell-quote-argument): Use alternate escaping strategy
18298         when we spot a variable reference in a string.
18300 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18302         * cus-start.el (all): Define customization for debug-on-event.
18304 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18306         * subr.el (shell-quote-argument): Escape correctly under Windows.
18308 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18310         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18312 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
18314         * net/tramp.el (tramp-process-actions): Add POS argument.
18315         Delete region between POS and (pos).
18317         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18318         Use `nil' position in `tramp-process-actions' call.
18319         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18321         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18322         position in `tramp-process-actions' call.
18324         * net/trampver.el: Update release number.
18326 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18328         * custom.el (defcustom): Obey lexical-binding.
18330         Fix octave-inf completion problems reported by Alexander Klimov.
18331         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18332         Inherit from octave-mode-syntax-table.
18333         (inferior-octave-mode): Set info-lookup-mode.
18334         (inferior-octave-completion-at-point): New function.
18335         (inferior-octave-complete): Use it and completion-in-region.
18336         (inferior-octave-dynamic-complete-functions): Use it as well, and use
18337         comint-filename-completion.
18338         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18339         symbol elements which shouldn't be word elements.
18340         (octave-font-lock-keywords, octave-beginning-of-defun)
18341         (octave-function-header-regexp): Adjust regexps accordingly.
18342         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18344 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
18346         * net/gnutls.el (gnutls-errorp): Declare before first use.
18348 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
18350         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18351         verify-error, and verify-hostname-error parameters.  Check whether
18352         default trustfile exists before going to use it.  Add missing
18353         argument to gnutls-message-maybe call.  Return value.
18354         Reported by Claudio Bley <claudio.bley@gmail.com>.
18355         (open-gnutls-stream): Add usage example.
18357         * net/network-stream.el (network-stream-open-starttls): Give host
18358         parameter to `gnutls-negotiate'.
18359         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18360         * subr.el (shell-quote-argument): Escape correctly under Windows.
18362 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
18364         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18365         Use correct match group (bug#8438).
18367 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18369         * emacs-lisp/package.el (package-built-in-p): Fix typo.
18370         (package-menu--generate): New arg specifying packages to show.
18371         (package-menu-refresh, package-menu-execute, list-packages):
18372         Callers changed.
18373         (package-show-package-list): New function, replacing deleted
18374         package--list-packages (renamed because it is non-internal).
18376         * finder.el (finder-list-matches): Use package-show-package-list
18377         instead of deleted package--list-packages.
18379         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18380         Based on a previous implementation by Juanma Barranquero (Bug#8366).
18381         (vc-annotate-mode-map): Bind it to RET.
18383 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
18385         * progmodes/etags.el (next-file): Don't use set-buffer to change
18386         buffers (Bug#8478).
18388 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18390         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18392         * apropos.el (apropos-label-face): Avoid variable-pitch face.
18393         (apropos-accumulator): Doc fix.
18394         (apropos-function, apropos-macro, apropos-command)
18395         (apropos-variable, apropos-face, apropos-group, apropos-widget)
18396         (apropos-plist): Add face property.
18397         (apropos-symbols-internal): Fix indentation.
18398         (apropos-print): Simplify help, and recognize apropos-multi-type.
18399         (apropos-print-doc): Use button-type-get to extract the button's
18400         face property.  Fill docstring (Bug#8352).
18402 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
18404         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18406         * play/mpuz.el (mpuz-silent): Doc fix.
18407         (mpuz-mode-map): Use mapc.
18408         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18409         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18410         Fix typos in docstrings.
18412         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18413         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18415         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18417 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
18419         * minibuffer.el (completion--do-completion): Avoid the "Next char
18420         not unique" prompt if icomplete-mode is enabled (Bug#5849).
18422         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18423         mouse-2 into unread-command-events, it is interpreted correctly.
18425         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18426         (image-toggle-display): Doc fix.
18428 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
18430         * textmodes/page.el (what-page): Use line-number-at-pos to
18431         calculate line number (Bug#6825).
18433 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18435         * eshell/esh-mode.el (find-tag-interactive): Declare function.
18436         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18437         Pass argument NO-DEFAULT to `find-tag-interactive'.
18439 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18441         Lexical-binding cleanup.
18443         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18444         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18445         * progmodes/ada-prj.el (ada-prj-initialize-values)
18446         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18447         (ada-prj-show-value):
18448         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18449         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18450         (antlr-invalidate-context-cache, antlr-options-menu-filter)
18451         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18452         * progmodes/bug-reference.el (bug-reference-push-button):
18453         * progmodes/fortran.el (fortran-line-length):
18454         * progmodes/glasses.el (glasses-change):
18455         * progmodes/octave-mod.el (octave-fill-paragraph):
18456         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18457         (python-pdbtrack-grub-for-buffer, python-sentinel):
18458         * progmodes/sql.el (sql-save-connection):
18459         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18460         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18461         Mark unused parameters.
18463         * progmodes/compile.el (compilation--flush-directory-cache)
18464         (compilation--flush-parse, compile-internal): Mark unused parameters.
18465         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18466         (compilation-next-error-function): Remove unused variable `timestamp'.
18468         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18469         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18471         * progmodes/dcl-mode.el (dcl-end-of-command):
18472         Remove unused variable `start'.
18473         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18474         (dcl-option-value-basic, dcl-option-value-offset)
18475         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18476         Mark unused parameters.
18477         (dcl-save-local-variable): Remove unused variable `val'.
18478         (mode): Declare.
18480         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18481         Mark unused parameters.
18482         (delphi-ignore-changes): Move before first use.
18483         (delphi-charset-token-at): Remove unused variable `start'.
18484         (delphi-else-start): Remove unused variable `if-count'.
18485         (delphi-comment-block-start, delphi-comment-block-end):
18486         Remove unused variable `kind'.
18487         (delphi-indent-line): Remove unused variable `new-point'.
18489         * progmodes/ebrowse.el (ebrowse-files-list)
18490         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18491         Mark unused parameters.  Don't quote `lambda'.
18492         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18493         Don't quote `lambda'.
18494         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18495         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18496         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18497         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18498         Use `ignore-errors'.
18499         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18500         (ebrowse-view/find-file-and-search-pattern)
18501         (ebrowse-view/find-member-declaration/definition):
18502         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18503         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18504         Rename parameter PREFIX-ARG to PREFIX.
18505         (ebrowse-tags-read-name): Remove unused variables `start' and
18506         `member-info'.
18507         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18508         to `tags-file'.
18510         * progmodes/etags.el (local-find-tag-hook): Declare.
18511         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18512         Mark unused parameters.
18514         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18515         (executable-interpret): Mark unused parameter.
18517         * progmodes/flymake.el (flymake-process-sentinel)
18518         (flymake-after-change-function)
18519         (flymake-create-temp-with-folder-structure)
18520         (flymake-get-include-dirs-dot): Mark unused parameters.
18521         (flymake-safe-delete-directory): Remove unused variable `err'.
18523         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18524         (speedbar-timer-fn, speedbar-line-text)
18525         (speedbar-change-expand-button-char, speedbar-delete-subblock)
18526         (speedbar-center-buffer-smartly): Declare functions.
18527         (gdb-find-watch-expression): Remove unused variable `array'.
18528         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18529         (gdb-starting): Mark unused parameters.
18530         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18531         (gdb-table-string): Remove unused variable `res'.
18532         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18533         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18534         (gdb-display-buffer): Remove unused variable `cur-size'.
18536         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18537         allow lexical-binding compilation.
18538         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18539         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18540         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18541         Mark unused parameters.
18542         (gud-gdb-marker-filter): Remove unused variable `match'.
18543         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18544         lambda expressions and funcall them, instead of using `fset'.
18546         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18547         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18549         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18550         variable `header-beg'; use `let'.
18552         * progmodes/icon.el (indent-icon-exp): Remove unused variables
18553         `restart', `last-sexp' and `at-do'.
18555         * progmodes/js.el (js--debug): Mark unused parameter.
18556         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18557         (js--splice-into-items): Remove unused variable `item'.
18558         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18560         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18561         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18562         (makefile-complete): Remove unused variable `try'.
18563         (makefile-fill-paragraph, makefile-match-function-end):
18564         Mark unused parameters.
18566         * progmodes/octave-inf.el (inferior-octave-complete):
18567         Remove unused variable `proc'.
18568         (inferior-octave-output-digest): Mark unused parameter.
18570         * progmodes/perl-mode.el (perl-calculate-indent):
18571         Remove unused variable `err'.
18573         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18574         (prolog-indent-line): Mark unused parameters.
18575         (prolog-indent-line): Remove unused variable `beg'.
18577         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18578         (reporter-dont-compact-list): Declare.
18580         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18581         Remove unused variable `char'.
18582         (sh-debug): Mark unused parameter.
18583         (sh-get-indent-info): Remove unused variable `start'.
18584         (sh-calculate-indent): Remove unused variable `var'.
18586         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18587         (simula-electric-keyword): Remove unused variable `null'.
18588         (simula-search-backward, simula-search-forward): Remove unused
18589         variables `begin' and `end'.
18591         * progmodes/vera-mode.el (vera-guess-basic-syntax):
18592         Remove unused variable `pos'.
18593         (vera-electric-tab, vera-comment-uncomment-region):
18594         Mark unused parameters.
18595         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18597 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
18599         * emacs-lisp/package.el (package--builtins, package-alist)
18600         (package-load-descriptor, package-built-in-p, package-activate)
18601         (define-package, package-installed-p)
18602         (package-compute-transaction, package-buffer-info)
18603         (package--push): Doc fix.  Distinguish more clearly between
18604         version strings and version lists.
18606 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
18608         Lexical-binding cleanup.
18610         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18611         (5x5-make-mutate-best):
18612         * play/fortune.el (fortune-in-buffer):
18613         * play/gomoku.el (gomoku-init-display):
18614         * play/solitaire.el (solitaire, solitaire-do-check):
18615         * play/tetris.el (tetris-default-update-speed-function):
18616         Mark unused parameters.
18618         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18619         (bubbles--shift): Remove unused variable `char-org'.
18620         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
18621         (bubbles--show-images): Remove unused variable `char'.
18623         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18624         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18625         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18626         (decipher-analyze-buffer): Use ?\s.
18627         (decipher-make-checkpoint): Remove unused variable `mapping'.
18629         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18631         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18632         Remove unused variable `result'; use `let'.
18634         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18635         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18636         (gametree-children-shown-p, gametree-compute-reduced-score):
18637         Use `ignore-errors'.
18639         * play/handwrite.el (ps-lpr-switches): Declare.
18640         (handwrite): Remove unused variables `pmin' and `lastp'.
18642         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18644         * play/landmark.el (landmark-init-display)
18645         (landmark-update-naught-weights): Mark unused parameters.
18646         (landmark-y): Remove unused variable `noise'.  Simplify.
18647         (landmark-human-plays): Remove unused variable `score'.
18649         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18650         (mpuz-try-proposal): Remove unused variable `game'.
18652         * play/zone.el (life-patterns): Declare.
18654 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
18656         * vc/vc.el (ediff-vc-internal): Declare function.
18658 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18660         * shell.el: Use lexical-binding and std completion UI.
18661         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18662         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18663         comint-preoutput-filter-functions rather than on
18664         comint-output-filter-functions.
18665         (shell-command-completion, shell--command-completion-data)
18666         (shell-filename-completion, shell-environment-variable-completion)
18667         (shell-c-a-p-replace-by-expanded-directory): New functions.
18668         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18669         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18670         (shell-dynamic-complete-environment-variable): Use them.
18671         (shell-dynamic-complete-as-environment-variable)
18672         (shell-dynamic-complete-as-command): Remove.
18673         (shell-match-partial-variable): Match past point.
18674         * comint.el: Clean up use of completion-at-point-functions.
18675         (comint-completion-at-point): New function.
18676         (comint-mode): Use it completion-at-point-functions.
18677         (comint-dynamic-complete): Make it obsolete.
18678         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18679         (comint-c-a-p-replace-by-expanded-history): New function.
18680         (comint-dynamic-complete-functions)
18681         (comint-replace-by-expanded-history): Use it.
18682         * minibuffer.el (completion-table-with-terminator): Allow dynamic
18683         termination strings.  Try harder to avoid second try-completion.
18684         (completion-in-region-mode-map): Disable bindings that don't work yet.
18686         * comint.el: Use lexical-binding.  Require CL.
18687         (comint-dynamic-complete-functions): Use comint-filename-completion.
18688         (comint-completion-addsuffix): Tweak custom type.
18689         (comint-filename-completion, comint--common-suffix)
18690         (comint--common-quoted-suffix, comint--table-subvert)
18691         (comint--complete-file-name-data): New functions.
18692         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18693         (comint-dynamic-list-filename-completions): Use them.
18694         (comint-dynamic-simple-complete): Make obsolete.
18696         * minibuffer.el (completion-in-region-mode):
18697         Keep completion-in-region-mode--predicate global.
18698         (completion-in-region--postch):
18699         Assume completion-in-region-mode--predicate is not null.
18701         * progmodes/flymake.el (flymake-start-syntax-check-process):
18702         Obey `dir'.  Simplify.
18704         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18705         we're in VC after all.
18707 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
18709         * vc/vc.el (vc-diff-build-argument-list-internal)
18710         (vc-version-ediff, vc-ediff): New commands.
18711         (vc-version-diff): Use vc-diff-build-argument-list-internal.
18713 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18715         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18716         add sanity check.
18718         * obsolete/erc-hecomplete.el: Make obsolete.
18719         * obsolete/: Standardize obsolescence info in the header.
18721 2011-04-20  Glenn Morris  <rgm@gnu.org>
18723         * calendar/solar.el (solar-horizontal-coordinates):
18724         Use the longitude argument rather than `calendar-longitude'.
18725         (solar-date-next-longitude): Remove unused locals.
18727 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18729         * whitespace.el: New version 13.2.1.
18731 2011-04-20  felix  <EmacsWiki>  (tiny change)
18733         * whitespace.el (global-whitespace-mode): Keep highlight when
18734         switching between major modes on a file.
18736 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18738         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18739         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18740         multi-line comments as well.
18742 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
18744         Lexical-binding cleanup.
18746         * arc-mode.el (archive-mode-revert):
18747         * cmuscheme.el (scheme-interactively-start-process):
18748         * custom.el (custom-initialize-delay):
18749         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18750         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18751         * emacs-lock.el (emacs-lock-clear-sentinel):
18752         * ezimage.el (defezimage):
18753         * follow.el (follow-avoid-tail-recenter):
18754         * fringe.el (set-fringe-mode-1):
18755         * generic-x.el (bat-generic-mode-compile):
18756         * help-mode.el (help-info-variable, help-do-xref)
18757         (help-mode-revert-buffer):
18758         * help.el (view-emacs-todo):
18759         * iswitchb.el (iswitchb-completion-help):
18760         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18761         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18762         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18763         * locate.el (locate-update):
18764         * longlines.el (longlines-encode-region)
18765         (longlines-after-change-function):
18766         * outline.el (outline-isearch-open-invisible):
18767         * ps-def.el (declare-function, charset-dimension, char-width)
18768         (encode-char):
18769         * ps-mule.el (ps-mule-plot-string):
18770         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18771         (recentf-edit-list-select, recentf-edit-list-validate)
18772         (recentf-open-files-action):
18773         * rect.el (delete-whitespace-rectangle-line)
18774         (rectangle-number-line-callback):
18775         * register.el (window-configuration-to-register)
18776         (frame-configuration-to-register):
18777         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18778         * select.el (xselect-convert-to-string, xselect-convert-to-length)
18779         (xselect-convert-to-targets, xselect-convert-to-delete)
18780         (xselect-convert-to-filename, xselect-convert-to-charpos)
18781         (xselect-convert-to-lineno, xselect-convert-to-colno)
18782         (xselect-convert-to-os, xselect-convert-to-host)
18783         (xselect-convert-to-user, xselect-convert-to-class)
18784         (xselect-convert-to-name, xselect-convert-to-integer)
18785         (xselect-convert-to-atom, xselect-convert-to-identity):
18786         * subr.el (declare, ignore, process-kill-without-query)
18787         (text-clone-maintain):
18788         * terminal.el (te-get-char, te-tic-sentinel):
18789         * tool-bar.el (tool-bar-make-keymap):
18790         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18791         * type-break.el (type-break-mode, type-break-noninteractive-query):
18792         * view.el (View-back-to-mark):
18793         * wid-browse.el (widget-browse-action, widget-browse-widget)
18794         (widget-browse-widgets, widget-browse-sexp):
18795         * widget.el (define-widget-keywords):
18796         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18797         Mark unused parameters.
18799         * align.el (align-adjust-col-for-rule): Mark unused parameter.
18800         (align-areas): Remove unused variable `look'.
18801         (align-region): Remove unused variables `real-end' and `pos-list'.
18803         * apropos.el (apropos-score-doc): Remove unused variable `i'.
18805         * bindings.el (mode-line-modified, mode-line-remote):
18806         Mark unused parameters.
18807         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18809         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18810         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18812         * comint.el (comint-history-isearch-pop-state)
18813         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18814         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18815         (comint-substitute-in-file-name): Doc fix.
18817         * completion.el (cmpl-statistics-block): Mark unused parameter.
18818         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18819         (save-completions-to-file, load-completions-from-file):
18820         Remove unused local variable `e'.
18822         * composite.el (compose-chars): Remove unused variable `len'.
18823         (lgstring-insert-glyph): Remove unused variable `g'.
18824         (compose-glyph-string): Remove unused variables `ascent',
18825         `descent', `lbearing' and `rbearing'.
18826         (compose-glyph-string-relative): Remove unused variables
18827         `lbearing', `rbearing' and `wadjust'.
18828         (compose-gstring-for-graphic): Remove unused variables `header',
18829         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
18830         (compose-gstring-for-terminal): Remove unused variables `header'
18831         and `nchars'.  Use `let', not `let*'.
18833         * cus-edit.el (Custom-set, Custom-save, custom-reset)
18834         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18835         (Custom-buffer-done, custom-buffer-create-internal)
18836         (custom-browse-visibility-action, custom-browse-group-tag-action)
18837         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18838         (widget-magic-mouse-down-action, custom-toggle-parent)
18839         (custom-add-parent-links, custom-toggle-hide-variable)
18840         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18841         (custom-toggle-hide-face, face, hook, custom-group-link-action)
18842         (custom-face-menu-create, custom-variable-menu-create, get)
18843         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18844         (custom-reset-standard-save-and-update): Remove unused variable `value'.
18845         (customize-apropos): Remove unused variable `tests'.
18846         (custom-group-value-create): Remove unused variable `hidden-p'.
18847         (sort-fold-case): Declare.
18849         * cus-theme.el (custom-reset-standard-faces-list)
18850         (custom-reset-standard-variables-list): Declare.
18851         (customize-create-theme, custom-theme-revert, custom-theme-write)
18852         (custom-theme-choose-mode, customize-themes, custom-theme-save):
18853         Mark unused parameters.
18855         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18857         * delim-col.el (delimit-columns-max): Move defvar before first use.
18859         * descr-text.el (describe-char-categories): Don't quote `lambda'.
18860         (describe-char): Don't quote `lambda'.  Mark unused parameter.
18862         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18863         (auto-insert): Declare.
18864         (desktop-restore-file-buffer): Rename desktop-* parameters;
18865         mark unused ones.
18866         (desktop-create-buffer): Rename desktop-* parameters and bind them.
18867         (desktop-buffer): Rename desktop-* parameters.
18869         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18870         (dframe-reposition-frame-xemacs, dframe-help-echo)
18871         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18872         Mark unused parameters.
18874         * dired-aux.el (backup-extract-version-start, overwrite-query)
18875         (overwrite-backup-query, rename-regexp-query)
18876         (rename-non-directory-query): Declare.
18877         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18878         (dired-add-entry): Remove unused variable `orig-file-name'.
18879         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18880         Use parameter PRESERVE-TIME instead of accessing dynamic variable
18881         `dired-copy-preserve-time' directly.
18882         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18883         (dired-insert-subdir-newpos): Rename unused variable `pos'.
18885         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18886         (dired-virtual-revert, dired-make-relative-symlink):
18887         Mark unused parameters.
18888         (manual-program): Declare.
18889         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18890         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18891         wrapped in `with-no-warnings' to avoid replacing one warning by another.
18893         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18895         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18897         * echistory.el (electric-history-in-progress, Helper-return-blurb):
18898         Declare.
18900         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18902         * electric.el (Electric-command-loop): Rename parameter
18903         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18905         * expand.el (expand-in-literal): Remove unused variable `here'.
18907         * facemenu.el (facemenu-add-new-color):
18908         Remove unused variable `docstring'.
18910         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18911         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18912         (face-attr-construct): Mark unused parameter.  Doc fix.
18913         (read-color): Remove unused variable `hex-string'.
18915         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18916         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18917         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18918         (display-buffer-other-frame): Remove unused variable `old-window'.
18919         (kill-buffer-hook): Declare.
18920         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18921         Mark unused parameters.
18922         (after-find-file): Pass 1 to `auto-save-mode', not t.
18924         * files-x.el (auto-insert): Declare.
18925         (modify-file-local-variable-prop-line): Remove unused variable `val'.
18927         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18928         variable `buf'.  Mark unused parameter.
18929         (find-lisp-insert-directory): Mark unused parameter.
18931         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18932         (format-encode-region): Remove unused variables `cur-buf' and `result'.
18933         (format-common-tail): Remove, unused.
18934         (format-deannotate-region): Remove unused variable `loc'.
18935         (format-annotate-region): Remove unused variable `p'.
18936         (format-annotate-single-property-change): Remove unused variables
18937         `default' and `tail'.
18939         * forms.el (read-file-filter): Declare.
18940         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18942         * frame.el (frame-creation-function-alist): Mark unused parameter.
18943         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18945         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18946         Remove unused parameters.
18947         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18948         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18950         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18951         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18952         (hfy-prepare-tag-map): Mark unused parameters.
18953         (htmlfontify-buffer): Use `called-interactively-p'.
18955         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18956         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18957         (ibuffer-do-occur): Mark unused parameters.
18958         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18959         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18961         * ibuffer.el: Don't quote `lambda'.
18962         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18963         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18964         Mark unused parameters.
18966         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18967         (ido-completing-read): Mark unused parameters.
18968         (ido-copy-current-word): Mark unused parameters;
18969         remove unused variable `name'.
18970         (ido-sort-merged-list): Remove unused parameter `dirs'.
18972         * ielm.el (ielm-input-sender): Mark unused parameter.
18973         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18974         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18975         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18976         `ielm-string' as a dynamic variable accessible from the IELM prompt.
18977         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
18979         * image-dired.el (image-dired-display-thumbs): Remove unused
18980         variables `curr-file' and `count'.
18981         (image-dired-remove-tag): Remove unused variable `start'.
18982         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18983         variable `curr-file'
18984         (image-dired-rotate-original): Remove unused variable `temp-file'.
18985         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18986         Remove unused variable `file'.
18987         (image-dired-gallery-generate): Remove unused variable `curr'.
18988         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18990         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18992         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18994         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18996         * isearch.el (minibuffer-history-symbol): Declare.
18997         (isearch-edit-string): Remove unused variable `err'.
18998         (isearch-message-prefix, isearch-message-suffix):
18999         Mark unused parameters.
19001         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19003         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19005         * makesum.el (double-column): Remove unused variable `cnt'.
19007         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19008         (ido-ignore-item-temp-list): Declare.
19010         * mouse-drag.el (mouse-drag-throw): Remove unused variables
19011         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19012         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19013         (mouse-drag-drag): Remove unused variables `mouse-delta' and
19014         `mouse-col-delta'.
19016         * mouse-sel.el (mouse-extend-internal):
19017         Remove unused variable `orig-window-frame'.
19019         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19020         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19021         Move declarations before first use.
19022         (pcomplete-opt): Mark unused parameters; doc fix.
19024         * proced.el (proced-revert): Mark unused parameter.
19025         (proced-send-signal): Remove unused variable `err'.
19027         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19028         Rename parameter PREFIX-ARG to ARG.
19029         (ps-basic-plot-string, ps-basic-plot-whitespace):
19030         Mark unused parameters.
19032         * replace.el (replace-count): Define.
19033         (occur-revert-function): Mark unused parameters.
19034         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19035         (isearch-case-fold-search, isearch-string): Declare.
19036         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19037         bind `case-fold-search'.  Remove unused variables `beg' and `end',
19038         and simplify.
19039         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19040         COUNT and bind `replace-count'.
19041         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19042         to COUNT.
19044         * savehist.el (print-readably, print-string-length): Declare.
19046         * shadowfile.el (shadow-expand-cluster-in-file-name):
19047         Remove unused variable `cluster'.
19048         (shadow-copy-file): Remove unused variable `i'.
19049         (shadow-noquery, shadow-clusters, shadow-site-cluster)
19050         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19051         (shadow-define-literal-group, shadow-define-regexp-group)
19052         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19054         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19055         (shell): Use `called-interactively-p'.
19056         (shell-directory-tracker): Remove unused variable `chdir-failure'.
19058         * simple.el (compilation-context-lines, comint-file-name-quote-list)
19059         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19060         (delete-backward-char): Remove unused variable `ocol'.
19061         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19062         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19063         (event-apply-hyper-modifier, event-apply-shift-modifier)
19064         (event-apply-control-modifier, event-apply-meta-modifier):
19065         Mark unused parameters.
19066         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19067         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19069         * speedbar.el (speedbar-ignored-directory-expressions)
19070         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19071         (speedbar-find-file, speedbar-dir-follow)
19072         (speedbar-directory-buttons-follow, speedbar-tag-find)
19073         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19074         (speedbar-buffers-line-directory, speedbar-buffer-click):
19075         Mark unused parameters.
19076         (speedbar-tag-file): Remove unused variable `mode'.
19077         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19079         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19081         * talk.el (talk): Remove unused variable `display'.
19083         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19084         (tar-write-region-annotate): Mark unused parameter.
19086         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19087         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19088         Declare them, wrapped in `with-no-warnings' to avoid replacing one
19089         warning by another.
19091         * time-stamp.el (time-stamp-string-preprocess):
19092         Remove unused variable `require-padding'.
19094         * tree-widget.el (widget-glyph-enable): Declare.
19095         (tree-widget-action): Mark unused parameter.
19097         * w32-fns.el (x-get-selection): Mark unused parameter.
19098         (autoload-make-program, generated-autoload-file): Declare.
19100         * wdired.el (wdired-revert): Mark unused parameters.
19101         (wdired-xcase-word): Remove unused variable `err'.
19103         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19104         (whitespace-help-scroll): Remove unused variable `data-help'.
19106         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19107         (widget-image-insert, widget-after-change, default)
19108         (widget-default-format-handler, widget-default-notify)
19109         (widget-default-prompt-value, widget-info-link-action)
19110         (widget-url-link-action, widget-function-link-action)
19111         (widget-variable-link-action, widget-file-link-action)
19112         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19113         (widget-field-prompt-internal, widget-field-action, widget-field-match)
19114         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19115         (widget-insert-button-action, widget-delete-button-action, visibility)
19116         (widget-documentation-link-action, widget-documentation-string-action)
19117         (widget-const-prompt-value, widget-regexp-match, symbol)
19118         (widget-coding-system-prompt-value)
19119         (widget-key-sequence-value-to-external, sexp)
19120         (widget-sexp-value-to-internal, character, vector, cons)
19121         (widget-choice-prompt-value, widget-boolean-prompt-value)
19122         (widget-color--choose-action): Mark unused parameters.
19123         (widget-item-match-inline, widget-choice-match-inline)
19124         (widget-checklist-match, widget-checklist-match-inline)
19125         (widget-group-match): Rename parameter VALUES to VALS.
19126         (widget-field-value-set): Remove unused variable `size'.
19127         (widget-color-action): Remove unused variables `value' and `start'.
19129         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19130         variable `dir'.  Doc fix.
19131         (windmove-find-other-window): Don't pass it.
19133         * window.el (count-windows): Mark unused parameter.
19134         (bw-adjust-window): Remove unused variable `err'.
19136         * woman.el (woman-file-name): Remove unused variable `default'.
19137         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19138         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19139         (global-font-lock-mode): Declare.
19140         (woman-decode-region): Mark unused parameter.
19141         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19143         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19144         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19145         (x-dnd-handle-moz-url): Remove unused variable `title'.
19146         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19148         * xml.el (xml-parse-tag, xml-parse-attlist):
19149         Remove unused variable `pos'.
19151 2011-04-19  Glenn Morris  <rgm@gnu.org>
19153         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19154         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19155         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19156         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19157         * calendar/cal-html.el (cal-html-insert-minical):
19158         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19159         (calendar-mark-date-pattern):
19160         Prefix "unused" locals.
19162         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19163         optional argument `style'.
19165         * calendar/appt.el (appt-make-list):
19166         * calendar/cal-china.el (calendar-chinese-date-string):
19167         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19168         (diary-hebrew-yahrzeit):
19169         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19170         * calendar/calendar.el (calendar-generate-window):
19171         * calendar/time-date.el (time-to-days):
19172         Remove unused local variables.
19174 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
19176         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19177         glyphless-char-display table.
19178         (tabulated-list-glyphless-char-display): New var.
19180 2011-04-18  Sam Steingold  <sds@gnu.org>
19182         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19183         to acknowledgments.
19185 2011-04-17  Glenn Morris  <rgm@gnu.org>
19187         * calendar/diary-lib.el (diary-sexp-entry):
19188         * calendar/holidays.el (holiday-sexp):
19189         Set debug-on-error rather than the removed stack-trace-on-error.
19191 2011-04-16  Glenn Morris  <rgm@gnu.org>
19193         * progmodes/f90.el: Use lexical-binding.
19194         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19196 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19198         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19199         (mail-mode): Setup mailalias completion here instead.
19200         * mail/mailalias.el: Use lexical-binding.
19201         (pattern, mailalias-done): Declare dynamic.
19202         (mail-completion-at-point-function): New function, from mail-complete.
19203         (mail-complete): Use it.
19204         (mail-completion-expand): New function.
19205         (mail-get-names): Use it.
19206         (mail-directory, mail-directory-process, mail-directory-stream):
19207         Don't use `pattern' for lexically bound arg.
19209         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19211         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19212         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19213         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19215         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19216         (byte-save-window-excursion, byte-temp-output-buffer-setup)
19217         (byte-interactive-p): Define them again, for use when inlining
19218         old code.
19220 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
19222         * loadup.el: Use `string-to-number', not `string-to-int'.
19224 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19226         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19227         gud-gdb-complete-command.
19228         (gud-gdb-completions): New function, from gud-gdb-complete-command.
19229         (gud-gdb-completion-at-point): New function.
19230         (gud-gdb-completions): Remove.
19232 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
19234         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19235         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
19236         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19237         whether `executable-find' is bound.
19239         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19241 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19243         * minibuffer.el (completion-in-region-mode-predicate)
19244         (completion-in-region-mode--predicate): New vars.
19245         (completion-in-region, completion-in-region--postch)
19246         (completion-in-region-mode): Use them.
19247         (completion--capf-wrapper): Also return the hook function.
19248         (completion-at-point, completion-help-at-point):
19249         Adjust and provide a predicate.
19251         Preserve arg names for advice of subr and lexical functions (bug#8457).
19252         * help-fns.el (help-function-arglist): Consolidate the subr and
19253         new-byte-code cases.  Add argument `preserve-names' to extract names
19254         from the docstring when needed.
19255         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19256         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19257         (ad-arglist): Use help-function-arglist's new arg.
19258         (ad-definition-type): Use cond.
19260 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
19262         * autorevert.el (auto-revert-handler):
19263         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19264         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19265         Don't quote lambda.
19267         * image-mode.el (image-transform-set-scale):
19268         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19270 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19272         * net/network-stream.el (network-stream-open-starttls): Only do
19273         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19274         Upgrades via gnutls-cli are too slow to be done opportunistically.
19276 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
19278         * dframe.el (dframe-current-frame): Remove spurious quote.
19280 2011-04-12  Glenn Morris  <rgm@gnu.org>
19282         * calendar/cal-tex.el (cal-tex-end-document):
19283         Try to automatically use latin1 input if needed.
19285         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19286         Don't try to cons a mark onto an empty element.
19288 2011-04-11  Leo Liu  <sdl.web@gmail.com>
19290         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19291         buffers.
19292         (ido-kill-buffer-at-head): Support killing virtual buffers.
19294 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
19296         * minibuffer.el (completion-show-inline-help): New var.
19297         (completion--do-completion, minibuffer-complete)
19298         (minibuffer-force-complete, minibuffer-complete-word):
19299         Inhibit minibuffer messages if completion-show-inline-help is nil.
19301         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19302         to avoid interference from inline help (Bug#5849).
19304 2011-04-10  Leo Liu  <sdl.web@gmail.com>
19306         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19307         Fix typo.
19309 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
19311         * image-mode.el (image-toggle-display-image): Signal an error if
19312         not in Image mode.
19313         (image-transform-mode, image-transform-resize)
19314         (image-transform-set-rotation): Doc fix.
19315         (image-transform-set-resize): Delete.
19316         (image-transform-set-scale, image-transform-fit-to-height)
19317         (image-transform-fit-to-width): Handle image-toggle-display-image
19318         and image-transform-resize directly.
19320 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
19322         * doc-view.el (doc-view-fit-width-to-window)
19323         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19324         New functions for fitting the shown image to the Emacs window size.
19325         (doc-view-mode-map): Add bindings for the new functions.
19327 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
19329         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19330         Fix typo in docstring.
19332 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19334         * files.el (file-size-human-readable): Produce one digit after
19335         decimal, like "ls -lh" does.
19337         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19338         the file size representation.
19340         * simple.el (list-processes): If async subprocesses are not
19341         available, error out with a clear error message.
19343 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
19345         * help.el (help-form-show): New function, to be called from C.
19346         Put help-form output in a buffer named differently than *Help*.
19348 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19350         * files.el (file-size-human-readable): New function.
19352         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19353         computing the representation inline.  Don't require `cl'.
19355 2011-04-08  Glenn Morris  <rgm@gnu.org>
19357         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19359         * net/browse-url.el (browse-url-firefox):
19360         Test system-type, not system-configuration.
19362         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19363         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19364         Use log-edit-empty-buffer-p.  (Bug#7598)
19366         * net/rlogin.el (rlogin-process-connection-type): Simplify.
19367         (rlogin-mode-map): Initialize in the defvar.
19368         (rlogin): Use ignore-errors.
19370         * replace.el (occur-mode-map): Some fixes for menu items.
19372 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
19374         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
19376 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19378         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19379         issuing unused warnings.
19381         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19382         macro directly.
19384         * simple.el: Lisp reimplement of list-processes.  Based on an
19385         earlier reimplementation by Leo Liu, but using tabulated-list.el.
19386         (process-menu-mode): New major mode.
19387         (list-processes--refresh, list-processes):
19388         (process-menu-visit-buffer): New functions.
19390         * files.el (save-buffers-kill-emacs): Don't assume any return
19391         value of list-processes, which is undocumented anyway.
19393 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19395         * emacs-lisp/tabulated-list.el: New file.
19397         * emacs-lisp/package.el: Use Tabulated List mode.
19398         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19399         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
19400         table format using Tabulated List mode variables.
19401         (package--push): New macro, replacing package-list-maybe-add.
19402         (package-menu--generate): Use package--push.  Renamed from
19403         package--generate-package-list.
19404         (package-menu-refresh, list-packages): Use it.
19405         (package-menu--print-info): Rename from package-print-package.
19406         Return insertion data instead of inserting it directly.
19407         (package-menu-describe-package, package-menu-execute):
19408         Use tabulated-list-get-id.
19409         (package-menu-mark-delete, package-menu-mark-install)
19410         (package-menu-mark-unmark, package-menu-backup-unmark)
19411         (package-menu-mark-obsolete-for-deletion):
19412         Use tabulated-list-put-tag.
19413         (package--list-packages, package-menu-revert)
19414         (package-menu-get-package, package-menu-get-version)
19415         (package-menu-sort-by-column): Functions deleted.
19416         (package-menu-package-list, package-menu-sort-key): Vars deleted.
19417         (package-menu--status-predicate, package-menu--version-predicate)
19418         (package-menu--name-predicate)
19419         (package-menu--description-predicate): Handle arguments in the
19420         Tabulated List format.
19421         (package-list-packages-no-fetch): Call list-packages.
19423 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
19425         * files.el (after-find-file-from-revert-buffer): Remove variable.
19426         (after-find-file): Don't bind it.
19427         (revert-buffer-in-progress-p): New variable.
19428         (revert-buffer): Bind it.
19429         Pass nil for `after-find-file-from-revert-buffer'.
19431         * saveplace.el (save-place-find-file-hook): Use new variable
19432         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19434 2011-04-06  Glenn Morris  <rgm@gnu.org>
19436         * Makefile.in (AUTOGEN_VCS): New variable.
19437         (autoloads): Use $AUTOGEN_VCS.
19439         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19440         * calendar/calendar.el (calendar-mode-map):
19441         Check for toolkit scroll bars.  (Bug#8305)
19443 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19445         * minibuffer.el (completion-in-region--postch)
19446         (completion-in-region-mode): Remove unnecessary messages.
19448 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
19450         * font-lock.el (font-lock-refresh-defaults):
19451         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19452         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19454         * info.el (Info-directory-list, Info-read-node-name-2)
19455         (Info-split-parameter-string): Doc fixes.
19456         (Info-virtual-nodes): Reflow docstring.
19457         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19458         (Info-apropos-toc-nodes, info-finder, Info-get-token)
19459         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19460         Fix typos in docstrings.
19461         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19462         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19463         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19464         (Info-restore-desktop-buffer): Mark unused parameters.
19465         (Info-directory-find-file, Info-directory-find-node)
19466         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19467         (Info-virtual-index-find-node, Info-apropos-find-file)
19468         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19469         Mark unused parameters; fix typos in docstrings.
19470         (Info-virtual-index): Remove unused local variable `nodename'.
19472 2011-04-05  Deniz Dogan  <deniz@dogan.se>
19474         * net/rcirc.el: Update my e-mail address.
19475         (rcirc-mode-map): Remove M-o binding.
19477 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19479         * startup.el (command-line): Save the cursor's theme-face
19480         directly, instead of using face-override-spec.
19482         * custom.el (load-theme): Minor optimization in assigning faces.
19484 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19486         * help-fns.el (describe-variable): Complete all variables having
19487         documentation, including keywords.
19488         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19490 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19492         Convert to lexical-binding.
19494         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19495         (bs--get-marked-string, bs--get-modified-string)
19496         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19497         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19498         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19500         * ehelp.el (electric-help-execute-extended)
19501         (electric-help-ctrl-x-prefix):
19502         * hexl.el (hexl-revert-buffer-function):
19503         * linum.el (linum-after-change, linum-after-scroll):
19504         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19506         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19508 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
19510         * epa-dired.el:
19511         * epa-mail.el:
19512         * epa-hook.el:
19513         * epa-file.el:
19514         * epa.el:
19515         * epg.el: Use lexical binding.
19517 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
19519         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19521         * textmodes/flyspell.el (flyspell-word): Recognize default
19522         dictionary case for flyspell-mark-duplications-exceptions.
19523         Use regexp matching for languages.
19524         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19525         default dictionary (Bug#7926).
19527 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
19529         * emacs-lisp/package.el (package--with-work-buffer):
19530         Recognize https URLs.
19532         * net/network-stream.el: Move from gnus/proto-stream.el.
19533         Change prefix to network-stream throughout.
19534         (open-protocol-stream): Merge into open-network-stream, leaving
19535         open-protocol-stream as an alias.  Handle nil BUFFER args.
19537         * subr.el (open-network-stream): Move to net/network-stream.el.
19539 2011-04-02  Glenn Morris  <rgm@gnu.org>
19541         * find-dired.el (find-exec-terminator): New option.
19542         (find-ls-option): Test for -ls support.
19543         (find-ls-subdir-switches): Test for -b in find-ls-option.
19544         (find-dired, find-grep-dired): Doc fixes.
19545         (find-dired): Use find-exec-terminator.
19547         * find-dired.el (find-ls-option, find-ls-subdir-switches)
19548         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19549         (find-name-arg): Remove purecopy.
19551         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19552         (grep-compute-defaults): Check for `-exec COMMAND +' support.
19553         Set grep-find-use-xargs, grep-find-command, and grep-find-template
19554         accordingly.  Don't add the null-device if not needed.
19556         * files.el (save-some-buffers): Doc fix.
19558 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
19560         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19562 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
19564         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19565         Use `dolist' rather than `mapcar'.
19567 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19569         Add lexical binding.
19571         * subr.el (apply-partially): Use new closures rather than CL.
19572         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19573         (dolist, dotimes): Use slightly different expansion for lexical code.
19574         (functionp): Move to C.
19575         (letrec): New macro.
19576         (with-wrapper-hook): Use it and apply-partially instead of CL.
19577         (eval-after-load): Preserve lexical-binding.
19578         (save-window-excursion, with-output-to-temp-buffer): Turn them
19579         into macros.
19581         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19583         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19584         than the arglist.
19585         (help-add-fundoc-usage): Don't add `Not documented'.
19586         (help-function-arglist): Handle closures, subroutines, and new
19587         byte-code-functions.
19588         (help-make-usage): Remove leading underscores.
19589         (describe-function-1): Handle closures.
19590         (describe-variable): Use special-variable-p for completion.
19592         * files.el (lexical-binding): Declare safe.
19594         * emacs-lisp/pcase.el: Don't use destructuring-bind.
19595         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
19596         (pcase): Add `let' pattern.
19597         Change memoization so it actually works.
19598         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19599         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19600         <let>: New case.
19602         * emacs-lisp/macroexp.el: Use lexical binding.
19603         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
19604         Don't convert ' to #' without checking that it's indeed quoting
19605         a lambda.
19607         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19608         Use eval-sexp-add-defvars.
19609         (eval-sexp-add-defvars): New fun.
19611         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19613         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19614         Don't autoload.
19615         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19616         than the internal `byte-compile-lambda'.
19617         (defmethod): Don't hide code under quotes.
19618         (eieio-defmethod): New `code' argument.
19620         * emacs-lisp/eieio-comp.el: Remove.
19622         * emacs-lisp/edebug.el (edebug-eval-defun)
19623         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19624         (edebug-toggle): Avoid `eval'.
19626         * emacs-lisp/disass.el (disassemble-internal): Handle new
19627         `closure' objects.
19628         (disassemble-1): Handle new byte codes.
19630         * emacs-lisp/cl.el (pushnew): Silence warning.
19632         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19633         (cl-byte-compile-throw): Remove.
19634         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19636         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19637         closures.
19639         * emacs-lisp/cconv.el: New file.
19641         * emacs-lisp/bytecomp.el: Use lexical binding instead of
19642         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
19643         (byte-compile-initial-macro-environment):
19644         Handle declare-function here.
19645         (byte-compile--lexical-environment): New var.
19646         (byte-stack-ref, byte-stack-set, byte-discardN)
19647         (byte-discardN-preserve-tos): New lap codes.
19648         (byte-interactive-p): Don't use any more.
19649         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19650         New macros.
19651         (byte-compile-lapcode): Use them and handle new lap codes.
19652         (byte-compile-obsolete): Remove.
19653         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19654         (byte-compile-arglist-warn): Check late def of inlinable funs.
19655         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19656         since they should have been expanded by now.
19657         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19658         (byte-compile-from-buffer): Remove unused second arg.
19659         (byte-compile-preprocess): New function.
19660         (byte-compile-toplevel-file-form): New function to distinguish
19661         file-form calls from outside from file-form calls from hunk-handlers.
19662         (byte-compile-file-form): Simplify.
19663         (byte-compile-file-form-defsubst): Remove.
19664         (byte-compile-file-form-defmumble): Simplify now that
19665         byte-compile-lambda always returns a byte-code-function.
19666         (byte-compile): Preprocess.
19667         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19668         Remove, not used any more.
19669         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19670         (byte-compile-make-args-desc): New funs.
19671         (byte-compile-lambda): Handle lexical functions.  Always return
19672         a byte-code-function.
19673         (byte-compile-reserved-constants): New var, to make up room for
19674         closed-over variables.
19675         (byte-compile-constants-vector): Obey it.
19676         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19677         (byte-compile-macroexpand-declare-function): New function.
19678         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19679         byte-code-functions.
19680         (byte-compile-form): Check obsolescence here.
19681         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19682         (byte-compile-variable-ref): Remove.
19683         (byte-compile-dynamic-variable-op): New fun.
19684         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19685         (byte-compile-variable-set): New funs.
19686         (byte-compile-discard): Add 2 args.
19687         (byte-compile-stack-ref, byte-compile-stack-set)
19688         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19689         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19690         macroexpand-all instead.
19691         (byte-compile-quote-form): Remove.
19692         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19693         (byte-compile-bind, byte-compile-unbind): New funs.
19694         (byte-compile-let): Handle let* and lexical binding.
19695         (byte-compile-let*): Remove.
19696         (byte-compile-catch, byte-compile-unwind-protect)
19697         (byte-compile-track-mouse, byte-compile-condition-case):
19698         Handle a new :fun-body form, used for lexical scoping.
19699         (byte-compile-save-window-excursion)
19700         (byte-compile-with-output-to-temp-buffer): Remove.
19701         (byte-compile-defun): Simplify.
19702         (byte-compile-stack-adjustment): New fun.
19703         (byte-compile-out): Use it.
19704         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19706         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19707         handler any more.
19709         * emacs-lisp/byte-opt.el: Use lexical binding.
19710         (byte-inline-lapcode): Remove (to bytecomp).
19711         (byte-compile-inline-expand): Pay attention to inlining to/from
19712         lexically bound code.
19713         (byte-compile-unfold-lambda): Don't handle byte-code-functions
19714         any more.
19715         (byte-optimize-form-code-walker): Don't handle save-window-excursion
19716         any more and don't call compiler-macros.
19717         (byte-compile-splice-in-already-compiled-code): Remove.
19718         (byte-code): Don't inline any more.
19719         (disassemble-offset): Receive `bytes' as argument rather than via
19720         dynamic scoping.
19721         (byte-compile-tag-number): Declare before first use.
19722         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19723         `return' even if make-spliceable.
19724         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19725         obsolete interactive-p.
19726         (byte-optimize-lapcode): Optimize new lap-codes.
19727         Don't trip up on new form of `byte-constant' lap code.
19729         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19731         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19733         * custom.el (custom-initialize-default, custom-declare-variable):
19734         Use `defvar'.
19736         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19737         New variables.
19738         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19739         (COMPILE_FIRST): Add macroexp and cconv.
19740         * makefile.w32-in: Mirror changes in Makefile.in.
19742         * vc/cvs-status.el:
19743         * vc/diff-mode.el:
19744         * vc/log-edit.el:
19745         * vc/log-view.el:
19746         * vc/smerge-mode.el:
19747         * textmodes/bibtex-style.el:
19748         * textmodes/css-mode.el:
19749         * startup.el:
19750         * uniquify.el:
19751         * minibuffer.el:
19752         * newcomment.el:
19753         * reveal.el:
19754         * server.el:
19755         * mpc.el:
19756         * emacs-lisp/smie.el:
19757         * doc-view.el:
19758         * dired.el:
19759         * abbrev.el: Use lexical binding.
19761 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
19763         * info.el (info-display-manual): New function.
19765 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19767         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19769 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
19771         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19772         an entry for that server in rcirc-authinfo.  (Bug#8385)
19774 2011-03-31  Glenn Morris  <rgm@gnu.org>
19776         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19778         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19780 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
19782         * progmodes/python.el (python-default-interpreter)
19783         (python-python-command-args, python-jython-command-args)
19784         (python-which-shell, python-which-args, python-which-bufname)
19785         (python-file-queue, python-comint-output-filter-function)
19786         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19787         variables and functions.
19789 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19791         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19792         (completion-in-region-mode): New minor mode.
19793         (completion-in-region): Use it.
19794         (completion-in-region--data, completion-in-region-mode-map): New vars.
19795         (completion-in-region--postch): New function.
19796         (completion--capf-misbehave-funs, completion--capf-safe-funs):
19797         New vars.
19798         (completion--capf-wrapper): New function.
19799         (completion-at-point): Use it to track well-behavedness of
19800         hook functions.
19801         (completion-help-at-point): New command.
19803 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
19805         * vc/add-log.el (add-change-log-entry): Don't use whitespace
19806         syntax class to search for whitespace on a single line
19807         (Message-ID: <4D938140.4030905@redhat.com>).
19809 2011-03-30  Leo Liu  <sdl.web@gmail.com>
19811         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19812         New commands.
19813         (edit-abbrevs-map): Bind them here.
19814         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
19816 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
19818         * allout.el (allout-hide-by-annotation, allout-flag-region):
19819         Reduce possibility of overlay leakage by making them volatile.
19821         * allout-widgets.el (allout-widgets-tally): Define as nil so the
19822         hash is not shared between buffers.  Mode initialization is
19823         responsible for giving it a useful starting value.
19824         (allout-item-span): Reduce possibility of overlay leakage by
19825         making them volatile.
19826         (allout-widgets-count-buttons-in-region): Add diagnostic function
19827         for tracking down button overlay leaks.
19829 2011-03-29  Leo Liu  <sdl.web@gmail.com>
19831         * ido.el (ido-read-internal): Use the default history var
19832         minibuffer-history if no HISTORY is specified.
19834 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
19836         * net/imap.el (imap-shell-open, imap-process-connection-type):
19837         Use imap-process-connection-type for 'shell' streams as well as
19838         Kerberos, SSL, other subprocesses.
19840 2011-03-28  Leo Liu  <sdl.web@gmail.com>
19842         * abbrev.el (abbrev-table-empty-p): New function.
19843         (prepare-abbrev-list-buffer): Place empty abbrev tables after
19844         nonempty ones.  (Bug#5937)
19846 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
19848         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19850 2011-03-27  Leo Liu  <sdl.web@gmail.com>
19852         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19853         for foreground and background colors.
19854         (ansi-color-make-color-map): Adapt.
19856 2011-03-25  Leo Liu  <sdl.web@gmail.com>
19858         * midnight.el (midnight-time-float): Remove.  Note it calculates
19859         the microsecond component incorrectly and seconds-to-time does the
19860         same job.
19861         Remove redundant (require 'timer).
19863         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19864         (ido-completions): Remove unused arguments.  (Bug#8329)
19866 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19868         * minibuffer.el (completion--flush-all-sorted-completions):
19869         Remove itself from hook.
19870         (completion-at-point): Let the functions perform the completion
19871         immediately and return nil or t.
19872         * comint.el (comint-dynamic-complete-functions): Now identical to
19873         completion-at-point-functions.
19874         (comint-dynamic-list-input-ring): Remove unused var `index'.
19875         (comint--match-partial-filename, comint--unquote&expand-filename):
19876         New funs, split from comint-match-partial-filename.
19877         (comint-dynamic-complete): Use completion-at-point.
19878         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19880 2011-03-24  Drew Adams  <drew.adams@oracle.com>
19882         * thingatpt.el: Support `defun'.
19884 2011-03-23  Leo Liu  <sdl.web@gmail.com>
19886         * abbrevlist.el: Move to obsolete/abbrevlist.el.
19888         * help-mode.el (help-mode-finish): Tweak regexp.
19890 2011-03-23  Glenn Morris  <rgm@gnu.org>
19892         * eshell/esh-opt.el (eshell-eval-using-options):
19893         Do not bind unused local variable `eshell-option-stub'.
19895         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19897 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19899         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19900         keymap variable in `with-no-warnings' to avoid a warning when the
19901         keymap has been already `defconst'ed.
19903 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19905         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19906         encode all chars in abbrevs; otherwise use emacs-mule or
19907         utf-8-emacs.  (Bug#8308)
19909 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19911         * simple.el (backward-delete-char-untabify):
19912         Avoid warning about using `delete-backward-char'.
19914         * image.el (image-type-file-name-regexps): Make it variable.
19915         `imagemagick-register-types' modifies it, and the user may want
19916         to add new extensions for known image types.
19917         (imagemagick-register-types): Throw error if not using ImageMagick.
19919 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19921         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19922         located before rcirc-prompt-end-marker.
19923         (rcirc-complete): Error if point is not after rcirc prompt.
19924         Handle the case when table is nil.
19925         (rcirc-user-authenticated): Define to fix compiler warning.
19927 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
19929         * custom.el (custom--inhibit-theme-enable): Make it affect only
19930         custom-theme-set-variables and custom-theme-set-faces.
19931         (provide-theme): Ignore custom--inhibit-theme-enable.
19932         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19933         (custom-enabling-themes): Delete variable.
19934         (enable-theme): Accept only loaded themes as arguments.
19935         Ignore the special custom-enabled-themes variable.
19936         (custom-enabled-themes): Forbid themes from setting this.
19937         Eliminate use of custom-enabling-themes.
19938         (custom-push-theme): Quote "changed" custom var entry.
19940 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19942         * ido.el (ido-read-internal): Add ido-selected to history instead
19943         of user input.
19945 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19947         * subr.el (deferred-action-list, deferred-action-function):
19948         Mark obsolete.
19950 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19952         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19953         change on 2011-02-13 (bug#8309).
19955         * minibuffer.el (read-file-name-function): Change default value.
19956         (read-file-name--defaults): Rename from read-file-name-defaults.
19957         (read-file-name-default): Rename from read-file-name.
19958         (read-file-name): Call read-file-name-function.
19960 2011-03-21  Glenn Morris  <rgm@gnu.org>
19962         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19963         Doc fixes.
19965 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
19967         * cus-theme.el: Add missing provide statement.
19968         (customize-create-theme): Extract theme value correctly.
19969         (custom-theme-visit-theme): Autoload.
19970         (customize-create-theme): Prompt before inserting default faces.
19972 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
19974         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19975         units and musical notes.
19977 2011-03-20  Leo Liu  <sdl.web@gmail.com>
19979         * ido.el (ido-read-internal): Use completing-read-default.
19980         (ido-completing-read): Fix compatibility with completing-read.
19982 2011-03-20  Christian Ohler  <ohler@gnu.org>
19984         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19985         (ert-delete-all-tests): Use `called-interactively-p' rather than
19986         `interactive-p'.
19987         (ert--make-xrefs-region): Respect END.
19989 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19991         * dired-aux.el (dired-create-directory): Signal an error if the
19992         directory already exists (Bug#8246).
19994         * facemenu.el (list-colors-display): Call list-faces-display
19995         inside with-help-window.
19996         (list-colors-print): Use display property to align the final
19997         column, instead of checking window-width.
19999 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
20001         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20002         windows-nt systems.
20003         (emerge-protect-metachars): Quote correctly for ms-dos and
20004         windows-nt systems.
20006 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
20008         * info.el (info-initialize): Replace all uses of `:' with
20009         path-separator for compatibility with non-Unix systems.
20010         Cache quoting of path-separator.  (Bug#8258)
20012 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
20014         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20015         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20016         (mouse-avoidance-mode): Fix typos in docstrings.
20018 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
20020         * startup.el (package-subdirectory-regexp): Move from package.el.
20021         Omit \\` and \\', and let callers add them.
20023         * emacs-lisp/package.el (package-strip-version)
20024         (package-load-all-descriptors): Add \\` and \\' to
20025         package-subdirectory-regexp before using it.
20026         (package-untar-buffer): New arg DIR; ensure that file untars only
20027         into this expected directory.  Remove superfluous delete-region.
20028         (package-unpack): Caller changed.
20029         (package-tar-file-info): Use package-subdirectory-regexp.
20031 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20033         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20034         diff-mode-shared-map (bug#8284).
20035         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20037 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20039         * calendar/time-date.el (format-seconds): Use assoc instead of
20040         assoc-string, since assoc-string doesn't exist in XEmacs.
20042 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
20044         * custom.el (custom-known-themes): Reflow docstring.
20045         (custom-theme-load-path): Fix typo in docstring.
20046         (load-theme): Fix typo in error message.
20047         (custom-available-themes, custom-variable-theme-value):
20048         Use `let', not `let*'.
20050 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
20052         * calc/README: Mention inclusion of musical notes.
20054         * calc/calc-units.el (calc-lu-quant): Rename from
20055         `calc-logunits-quantity'.
20056         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20057         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20058         (calc-db): Rename from `calc-dblevel'.
20059         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20060         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20061         (calc-np): Rename from `calc-nplevel'.
20062         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20063         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20064         (calc-lu-plus): Rename from `calc-logunits-add'.
20065         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20066         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20067         (calc-lu-minus): Rename from `calc-logunits-sub'.
20068         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20069         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20070         (calc-lu-times): Rename from `calc-logunits-mul'.
20071         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20072         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20073         (calc-lu-divide): Rename from `calc-logunits-div'.
20074         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20075         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20077         * calc/calc-ext.el (calc-init-extensions): Update the names of the
20078         functions being autoloaded.
20080         * calc/calc.el (calc-lu-power-reference): Rename from
20081         `calc-logunits-power-reference'.
20082         (calc-lu-field-reference): Rename from
20083         `calc-logunits-field-reference'.
20085         * calc/calc-help.el (calc-l-prefix-help):
20086         Mention musical note functions.
20088 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20090         * minibuffer.el (completion-all-sorted-completions):
20091         Use :completion-cycle-penalty text property if present.
20093 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
20095         * allout.el (allout-yank-processing): Adjust for new rebulleting
20096         regime so bullet being yanked is used without prompting the user
20097         for a choice.
20099 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20101         * startup.el (command-line): Warn the user that _emacs is deprecated.
20103 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20105         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20106         (delphi-verbose, delphi-comment-face, delphi-string-face)
20107         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20108         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20109         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20110         (delphi-new-comment-line, delphi-font-lock-defaults)
20111         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20112         Fix typos in docstrings.
20114 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
20116         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20117         Invert the roles of character and string values for INSTEAD, so a
20118         string is used for the more common case of a defaulting prompt.
20120 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20122         * progmodes/ruby-mode.el (ruby-backward-sexp):
20123         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20124         * play/gamegrid.el (gamegrid-make-face):
20125         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20126         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20127         * notifications.el (notifications-notify):
20128         * net/xesam.el (xesam-search-engines):
20129         * net/quickurl.el (quickurl-list-insert):
20130         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20132 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
20134         * startup.el (command-line): Update package subdirectory regexp.
20136 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20138         * allout.el (allout-abbreviate-flattened-numbering)
20139         (allout-mode-deactivate-hook): Fix up obsolescence "date".
20141         * subr.el (read-char-choice): Only show the cursor after the prompt,
20142         not after the answer.
20144 2011-03-15  Kevin Ryde  <user42@zip.com.au>
20146         * help-fns.el (variable-at-point): Skip leading quotes, if any
20147         (bug#8253).
20149 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20151         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20152         warning message.
20154 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
20156         * shell.el (shell): When called interactively, offer to change the
20157         shell file name on remote hosts.
20159 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
20161         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20162         integration for LDAP parameters.  The host, base, user or binddn,
20163         and secret tokens can be specified in a netrc file, for instance.
20164         This is optional because an `auth-source' parameter must be
20165         specified in the search attributes.
20167 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
20169         * help.el (describe-mode): Link to the mode's definition (bug#8185).
20171 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20173         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20174         into declaration.  Remove redundant and harmful binding.
20176 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
20178         * files.el (file-ownership-preserved-p): Pass `integer' as an
20179         explicit 2nd argument to `file-attributes'.  If the file's owner
20180         is the Administrators group on Windows, and the current user is
20181         Administrator, consider that a match.
20183         * server.el (server-ensure-safe-dir): Consider server directory
20184         safe on MS-Windows if its owner is the Administrators group while
20185         the current Emacs user is Administrator.  Use `=' to compare
20186         numerical UIDs, since they could be integers or floats.
20188 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
20190         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20192 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
20194         Sync with Tramp 2.2.1.
20196         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20198         * net/trampver.el: Update release number.
20200 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20202         * progmodes/compile.el (compilation--previous-directory): Fix up
20203         various nil/dead-marker mismatches (bug#8014).
20204         (compilation-directory-properties, compilation-error-properties):
20205         Don't call it at a position past the one we're about to change.
20207         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20208         Disable obsolescence warnings in the file that declares it.
20210 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
20212         * allout-widgets.el (allout-widgets-tally):
20213         Initialize allout-widgets-tally as a hash table rather than nil to
20214         prevent mode-line redisplay warnings.  Also, clarify the module
20215         description and fix a comment typo.
20217 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
20219         * help-fns.el (describe-variable): Don't complete keywords.
20220         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20222 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
20224         * emacs-lisp/package.el (package-version-join): Impose a standard
20225         string representation for pre/alpha/beta version lists.
20226         (package-unpack-single): Standardize the directory name by passing
20227         it through package-version-join.
20228         (package-strip-rcs-id): Accept any version string that does not
20229         signal an error in version-to-list.
20231 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
20233         * simple.el (delete-trailing-whitespace): Return nil for the
20234         benefit of `write-file-functions'.
20236 2011-03-10  Glenn Morris  <rgm@gnu.org>
20238         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20240         * vc/vc-git.el (vc-git-program): New option.
20241         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20242         (vc-git--call): Use it.
20244         * eshell/esh-util.el (eshell-condition-case): Doc fix.
20246         * cus-edit.el (Custom-newline): If no button at point, look
20247         for a subgroup button at start-of-line.  (Bug#2298)
20249         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20251 2011-03-10  Julien Danjou  <julien@danjou.info>
20253         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20254         `cursor-type' is nil.
20256 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
20258         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20260 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
20262         * allout.el: Change so yank of distinctive-bullet items
20263         preserves the existing header prefix, rebulleting it if necessary,
20264         rather than replacing it.  This is necessary for proper operation
20265         of cooperative addons like allout-widgets.
20266         (allout-make-topic-prefix, allout-rebullet-heading):
20267         Change SOLICIT arg to INSTEAD, and interpret additionally a string
20268         value as alternate bullet to be used, instead of prompting the user
20269         for a bullet character.
20271 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
20273         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20274         Do not use `tramp-file-name-port', because this returns also
20275         `tramp-default-port'.
20277 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
20279         * net/rcirc.el (rcirc-handler-001): Remove useless
20280         with-rcirc-process-buffer.
20281         (rcirc-check-auth-status): Swap arguments to string-match.
20283 2011-03-09  Glenn Morris  <rgm@gnu.org>
20285         * shell.el (shell-mode):
20286         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
20288         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20289         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
20291 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20293         * emacs-lisp/package.el (package-refresh-contents)
20294         (package-menu-execute): Use condition-case-no-debug.
20296 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
20298         * simple.el (shell-command-to-string): Use `process-file'.
20300         * emacs-lisp/package.el (package-tar-file-info): Handle also
20301         remote files.
20303         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20304         Use `equal' for upload base check.
20306 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
20308         * textmodes/texinfo.el (texinfo-environments):
20309         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
20311 2011-03-08  Glenn Morris  <rgm@gnu.org>
20313         * cus-start.el (cursor-in-non-selected-windows):
20314         Fix :set quoting oddness.  (Bug#8192)
20316         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20317         in some setf expressions.  (Bug#2159)
20319 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20321         * custom.el (custom-available-themes): Return themes in
20322         alphabetical order.
20324 See ChangeLog.15 for earlier changes.
20326 ;; Local Variables:
20327 ;; coding: utf-8
20328 ;; End:
20330   Copyright (C) 2011-2012  Free Software Foundation, Inc.
20332   This file is part of GNU Emacs.
20334   GNU Emacs is free software: you can redistribute it and/or modify
20335   it under the terms of the GNU General Public License as published by
20336   the Free Software Foundation, either version 3 of the License, or
20337   (at your option) any later version.
20339   GNU Emacs is distributed in the hope that it will be useful,
20340   but WITHOUT ANY WARRANTY; without even the implied warranty of
20341   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20342   GNU General Public License for more details.
20344   You should have received a copy of the GNU General Public License
20345   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.