* calendar/todos.el (todos-move-item): If user quits before
[emacs/old-mirror.git] / lisp / ChangeLog
blob8891d3d4e8c2c6f9c274c85639476f2216ebc57b
1 2012-10-08  Stephen Berman  <Stephen.Berman@rub.de>
3         * calendar/todos.el (todos-move-item): If user quits before
4         completing movement, restore display of initial category; If item
5         is moved to end of target category, make sure the items above it
6         are displayed in the window.
8 2012-10-08  Stephen Berman  <stephen.berman@gmx.net>
10         * calendar/todos.el: Fixes to todos-move-item and some of its
11         subroutines.
12         (todos-move-item): When there are marked items, point need not be
13         on an item; remove obsolete use of todos-add-category, since this
14         is now already done in todos-read-category; fix typo.
15         (todos-diary-item-p): Exclude empty lines.
16         (todos-read-category): Restore point and narrowing after adding
17         new category, to avoid moving to beginning of file when moving
18         marked items to a new category.
19         (todos-set-item-priority): Prompt for priority only when the
20         category has at least one todo item; only use non-nil priority to
21         calculate insertion location.
22         (todos-read-category): Don't reset todos-categories when a new
23         category is added due to todos-move-item or todos-jump-to-item.
25 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
27         * calendar/todos.el (todos-copy-item): New command.
28         (todos-insertion-map): Add key binding for it.
30 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
32         * calendar/todos.el (todos-undo-item-omit-comment): New defcustom.
33         (todos-item-undo): Use it.
34         (todos-allcats-file, todos-all-categories-alist): New variables.
35         (todos-all-categories-alist): New function.
36         (todos-jump-to-any-category): New command.
37         (todos-move-item): Remove mark overlays from buffer items were
38         moved from; update todos-categories-with-marks,
40 2012-09-24  Stephen Berman  <stephen.berman@gmx.net>
42         * calendar/todos.el: Further code rearrangement; further new and
43         revised comments.
44         (todos-reevaluate-filelist-defcustoms): Rename from
45         todos-reevaluate-defcustoms and adjust callers.
46         (todos-date-pattern, todos-nondiary-start, todos-nondiary-end)
47         (todos-date-string-start, todos-done-string-start)
48         (todos-item-start): Change from defvar to defconst.
49         (todos-set-top-priorities): Use read-number and simplify.
50         (todos-insert-item): Check whether date-type argument is a string.
51         (todos-set-date-from-calendar): Check whether
52         todos-date-from-calendar is a string; simplify cond clause.
53         (todos-archive-done-item, todos-unarchive-items):
54         Use buffer-substring-no-properties.
56 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
58         * calendar/todos.el (todos-item-undo): Fix restoration on
59         cancelling; use buffer-substring-no-properties; comment out code
60         removing mark overlay; fix insertion of undone items; display any
61         remaining done items.
63 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
65         * calendar/todos.el: Further significant code rearrangement;
66         further comment revision.
67         (todos-mode-display): New defgroup.
68         (todos-prefix, todos-number-priorities)
69         (todos-done-separator-string, todos-done-string)
70         (todos-comment-string, todos-show-with-done)
71         (todos-mode-line-function, todos-skip-archived-categories)
72         (todos-highlight-item, todos-wrap-lines)
73         (todos-line-wrapping-function): Use it.
74         (todos-item-insertion): New defgroup.
75         (todos-include-in-diary, todos-diary-nonmarking)
76         (todos-nondiary-marker, todos-always-add-time-string)
77         (todos-use-only-highlighted-region): Use it.
78         (todos-forward-button, todos-backward-button): New commands.
79         (todos-categories-mode-map): Use them, replacing forward-button
80         and backward-button.
81         (todos-merge-category): Fix and improve implementation; handle
82         archived items.
83         (todos-insert-item, todos-set-date-from-calendar): Handle setting
84         date by calling todos-insert-item-from-calendar.
85         (todos-delete-item): Fix overlay handling.
86         (todos-move-item): Highlight item to be moved.
87         (todos-item-undo): Handle marked items.
88         (todos-insert-item-from-calendar): Rewrite using
89         todos-date-from-calendar.
91 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
93         * calendar/todos.el: Further comment revision.
94         (todos-sorted-column): Change default value, also taking tty into
95         account.
96         (todos-reset-done-separator): Fix faulty variable binding.
97         (todos-reset-and-enable-done-separator): Save match data; comment
98         out code that causes problems for Edebug.
99         (todos-item-start): Handle empty line between todo and done items
100         when done items are hidden.
101         (todos-read-date): Use a leap year for `*' to allow
102         calendar-last-day-of-month to return Feb. 29.
103         (todos-archive-mode, todos-edit-mode, todos-categories-mode)
104         (todos-filtered-items-mode): Delete faulty parentheses.
105         (todos-quit): Save Todos and archive files unconditionally.
106         (todos-forward-item): Accept only positive prefix argument.
107         (todos-backward-item): Accept only positive prefix argument; don't
108         move point to beginning of buffer if it is on the first item.
109         (todos-hide-show-date-time): Remove obsolete interactive spec.
110         (todos-move-category): Improve prompt string; ensure file moved to
111         is different from file moved from.
112         (todos-merge-categories): Remove.
113         (todos-set-category-priority): New command.
114         (todos-raise-category-priority, todos-lower-category-priority):
115         Use it to define these commands.
116         (todos-set-item-priority): Rewrite and generalize.
117         (todos-raise-item-priority, todos-lower-item-priority): Use it to
118         define these commands.
120 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
122         * calendar/todos.el (todos-reset-done-separator)
123         (todos-reset-and-enable-done-separator): New functions.
124         (todos-reset-done-separator-string): Rewrite using
125         todos-reset-done-separator for string longer than 1 character.
126         (todos-mode): Add todos-reset-and-enable-done-separator to
127         window-configuration-change-hook, replacing previous anonymous
128         function.
129         (todos-unload-hook): And remove it.
131 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
133         * calendar/todos.el (todos-done-separator-string): New defcustom.
134         (todos-done-separator): New variable replacing defcustom of the
135         same name.
136         (todos-reset-done-separator-string, todos-done-separator):
137         New functions.
138         (todos-mode): Make function added to
139         window-configuration-change-hook do a better job of updating the
140         done items separator string overlay.
141         (todos-unload-hook): Remove it here.
142         (todos-item-undo): Fix search for item's end.
144 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
146         * calendar/todos.el: Further comment revision.
147         (todos-sorted-column): Change default value.
148         (todos-item-start): Handle empty category (needed in
149         todos-filter-items).
150         (todos-read-date): Don't use calendar-read; make code cleaner.
151         (todos-multiple-filter-files): Rename this variable from
152         todos-multiple-files and adjust users.
153         (todos-multiple-filter-files-widget): Rename from
154         todos-multiple-files-widget and adjust users.
155         (todos-multiple-filter-files): Rename this function from
156         todos-multiple-files and adjust callers.
157         (todos-filter-items): Remove unused code.
158         (todos-insert-category-line): Add space so highlighting of last
159         column is consistent with the others; adjust display of column
160         highlighting.
161         (todos-menu): Remove obsolete entry.
162         (todos-categories-mode-map): Add new bindings.
163         (todos-display-categories-alphabetically-or-by-priority): New command.
164         (todos-display-categories-sorted-by-todo)
165         (todos-display-categories-sorted-by-diary)
166         (todos-display-categories-sorted-by-done)
167         (todos-display-categories-sorted-by-archived): Restore and fix
168         implementation.
170 2012-09-23  Stephen Berman  <stephen.berman@gmx.net>
172         * calendar/todos.el: Significant code rearrangement; further
173         comment revision.
174         (todos-filtered-items-buffer): Rename from todos-filter-buffer and
175         adjust users.
176         (todos-filtered-buffer-name): Rename from
177         todos-special-buffer-name and adjust users.
178         (todos-filtered-items-mode-map): Rename from
179         todos-filter-items-mode-map and adjust users.
180         (todos-mode-external-set): Use todos-categories instead of
181         todos-set-categories (and add comment to check if this DTRT).
182         (todos-filtered-items-mode): Rename from todos-filter-items-mode
183         and adjust users.
184         (todos-add-category): Don't call todos-validate-name, since
185         todos-read-category does.
186         (todos-edit-quit): Use todos-repair-categories-sexp.
187         (todos-done-item-add-edit-or-delete-comment): Rename from
188         todos-done-item-add-or-edit-comment and adjust users; add optional
189         argument to prompt to delete comment.
190         (todos-item-undo): Delete done item comment on undoing if user
191         confirms.
193 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
195         * calendar/todos.el: Further code rearrangement and comment
196         revision.
197         (todos-item-start): Handle empty line between todo and done items
198         when done items are displayed.
199         (todos-key-bindings): Comment out bindings meant only for
200         todos-archive-mode.
201         (todos-archive-mode-map): Fix typo.
202         (todos-archive-mode): Derive from special-mode instead of
203         todos-mode to prevent its key bindings from being available here.
204         (todos-archive-done-item): Remove obsolete code; fix item count
205         updating.
206         (todos-unarchive-items): Simplify; fix unarchiving of all items in
207         category; fix item count updating; fix typo.
209 2012-09-22  Stephen Berman  <stephen.berman@gmx.net>
211         * calendar/todos.el: Further code rearrangement and comment
212         revision.
213         (todos-add-to-buffer-list, todos-update-buffer-list): New functions.
214         (todos-file-buffers): New variable.
215         (todos-reset-global-current-todos-file): Use it to simplify
216         implementation of this function.
217         (todos-filtered): New defgroup.
218         (todos-filter-buffer, todos-top-priorities-buffer)
219         (todos-diary-items-buffer, todos-regexp-items-buffer)
220         (todos-priorities-rules, todos-show-priorities)
221         (todos-filter-files, todos-filter-done-items): Use it.
222         (todos-skip-archived-categories): Rename from
223         todos-ignore-archived-categories and adjust users.
224         (todos-display-as-todos-file): Rename from todos-after-find-file
225         and adjust callers.
226         (todos-reset-highlight-item, todos-mode-external-set)
227         (todos-jump-to-category, todos-jump-to-item)
228         (todos-raise-category-priority, todos-insert-item)
229         (todos-move-item): Use find-file-visiting.
230         (todos-make-categories-list): Use file-truename.
231         (todos-display-categories-1): Adjust title text for archive files;
232         use done label for item counts in archive files.
233         (todos-modes-set-3): Add todos-display-as-todos-file to
234         find-file-hook.
235         (todos-mode): Add todos-add-to-buffer-list to find-file-hook and
236         todos-update-buffer-list post-command-hook.
237         (todos-unload-hook): And remove them.
238         (todos-show): Only when interactively invoked from an archive,
239         switch to corresponding Todos file.
240         (todos-archive-done-item): Remove obsolete code; fix handling of
241         marked items; fix search for existing category; check whether
242         archive exists and write to file if not; improve display handling.
244 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
246         * calendar/todos.el: Further comment revision.
247         (todos-item-end): Replace use of command todos-forward-item by
248         regexp searches using internal variables.
249         (todos-raise-category-priority): Improve and comment.
250         (todos-insert-item): Fix insertion of empty time string.
252 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
254         * calendar/todos.el (todos-ignore-archived-categories):
255         Revert last change; remove :initialize and :set functions; change
256         use and change users accordingly.
257         (todos-reset-categories, todos-categories-full)
258         (todos-truncate-categories-list): Remove.
259         (todos-set-categories, todos-update-categories-sexp):
260         Use todos-categories instead of todos-categories-full; remove use
261         of todos-ignore-archived-categories and
262         todos-truncate-categories-list.
263         (todos-check-format, todos-repair-categories-sexp):
264         Use todos-categories instead of todos-categories-full.
265         (todos-read-category): Improve last change.
266         (todos-validate-name): Use completing-read.
267         (todos-categories-category-number): Rename from
268         todos-category-number and adjust users.
269         (todos-update-categories-display, todos-mode-external-set)
270         (todos-delete-category, todos-move-category, todos-merge-category)
271         (todos-unarchive-items): Remove use of todos-categories-full and
272         todos-ignore-archived-categories.
273         (todos-modes-set-3, todos-add-category): Remove use of
274         todos-categories-full.
275         (todos-edit-mode): Fix typo.
276         (todos-forward-category): Use todos-ignore-archived-categories.
278 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
280         * calendar/todos.el: Doubts about todos-ignore-archived-categories.
281         (todos-ignore-archived-categories): Change default value.
283 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
285         * calendar/todos.el: Further comment revision.
286         (todos-reset-global-current-todos-file):
287         Try to make this not slow down kill-buffer.
288         (todos-update-categories-sexp): Handle the case where there is no
289         categories sexp yet, i.e. after inserting the first item in the
290         file, so todos-display-categories works.
291         (todos-read-file-name): Improve implementation.
292         (todos-validate-name): Use variable todos-files.
293         (todos-category-number): New variable.
294         (todos-insert-category-line, todos-update-categories-display)
295         (todos-raise-category-priority): Use it.
296         (todos-add-file): Remove unused remnant code.
298 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
300         * calendar/todos.el: Further comment revision.
301         (todos-set-item-top-priority): New command.
302         (todos-reset-global-current-todos-file):
303         Use todos-files-function instead of todos-files.
304         (todos-read-category): Add optional argument to test whether
305         caller adds new category; if so, don't prompt for new category and
306         don't restore original todos-categories list.
307         (todos-categories-mode-map): Update to renamed commands.
308         (todos-filter-items-mode-map): Add binding for new command.
309         (todos-mode): Fix typo.
310         (todos-show): If called from archive file, show corresponding
311         category in Todos file, if it exists.
312         (todos-jump-to-category): Remove code to add new category, since
313         todos-read-category can do that.
314         (todos-add-file): Remove obsolete code; visit new file in selected
315         window.
316         (todos-add-category): Simplify.
317         (todos-rename-category): Use force-mode-line-update instead of
318         setting mode-line-buffer-identification.
319         (todos-delete-category): Improve logic of prompts; use
320         todos-categories-full and check todos-ignore-archived-categories.
321         (todos-raise-category-priority, todos-lower-category-priority):
322         Rename from todos-{raise,lower}-category and adjust callers.
323         (todos-move-category, todos-merge-category):
324         Set todos-categories-full; on setting todos-categories check
325         todos-ignore-archived-categories.
326         (todos-insert-item): Let-bind use-empty-active-region and use
327         use-region-p instead of transient-mark-mode.
328         (todos-raise-item-priority): Improve implementation.
329         (todos-archive-done-item): Rename from
330         todos-archive-done-item-or-items and adjust callers; confine to
331         Todos mode.
332         (todos-unarchive-items): On setting todos-categories check
333         todos-ignore-archived-categories.
335 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
337         * calendar/todos.el (todos-key-bindings): Remove binding of
338         deleted command.
339         (todos-menu): Remove entry of deleted command.
340         (todos-show-archive): Fix last change.
341         (todos-done-item-add-or-edit-comment): Rename from
342         todos-comment-done-item and adjust callers; prompt to edit an
343         existing comment.
345 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
347         * calendar/todos.el (todos-set-show-current-file): Rename from
348         todos-toggle-show-current-file and adjust callers.
349         (todos-number-priorities): Rename from todos-number-prefix and
350         adjust users.
351         (todos-update-count): Rename from todos-set-count and adjust
352         callers.
353         (todos-hide-show-item-numbering): Rename from
354         todos-toggle-item-numbering and adjust callers.
355         (todos-hide-show-done-items): Rename from
356         todos-toggle-view-done-items and adjust callers.
357         (todos-show-done-only): Rename from todos-toggle-show-done-only.
358         (todos-view-archived-items): Comment out.
359         (todos-show-archive): Prompt to choose another archive file if
360         current Todos file lacks an archive; prompt to visit archive
361         anyway when current category has no archived items.
363 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
365         * calendar/todos.el: Further comment revision and code
366         rearrangement.
367         (todos-item-end): Revert last change.
368         (todos-key-bindings, todos-menu, todos-archive-mode-map)
369         (todos-filter-items-mode-map): Use renamed commands.
370         (todos-hide-show-date-time): Rename from
371         todos-toggle-display-date-time.
372         (todos-mark-unmark-item): Rename from todos-toggle-mark-item and
373         adjust caller.
374         (todos-backward-item): Exempt special handling only from
375         todos-regexp-items-buffer instead of todos-filter-items-mode.
376         (todos-raise-item-priority): Don't allow item reprioritizing in
377         Todos filter items mode except for top priority items.
379 2012-09-21  Stephen Berman  <stephen.berman@gmx.net>
381         * calendar/todos.el: Add and revise further doc strings and
382         comments.
383         (todos-filter-function, todos-custom-items)
384         (todos-custom-items-multifile): Remove.
385         (todos-filter-done-items): New defcustom.
386         (todos-item-end, todos-backward-item): Handle todos-filter-items-mode.
387         (todos-filter-items): Check return value of caller first; tag
388         archived items for todos-jump-to-item; delete categories sexp
389         before processing filter; check todos-filter-done-items for
390         whether to leave done items; remove custom filter; fix regexp for
391         file and category tags; don't invoke buffer fontification.
392         (powerset-recursive): Fix typo.
393         (todos-key-bindings): Remove unused bindings.
394         (todos-top-priorities-multifile, todos-diary-items-multifile)
395         (todos-regexp-items-multifile): Use variable todos-multiple-files.
396         (todos-jump-to-item): Fix regexp; handle archive tags; take
397         todos-filter-done-items into account.
398         (todos-insert-item-from-calendar): Relocate to end of file
399         together with key-binding as addition to calendar.el.
401 2012-09-20  Stephen Berman  <stephen.berman@gmx.net>
403         * calendar/todos.el: Add and revise further doc strings and
404         comments; major code rearrangement.
405         (todos-merged-files, todos-prompt-merged-files)
406         (todos-print-priorities, todos-tmp-buffer-name)
407         (todos-top-priorities-widgets, todos-update-merged-files)
408         (todos-merged-top-priorities, todos-merged-diary-items)
409         (todos-merged-regexp-items, todos-merged-custom-items)
410         (todos-raw-mode, todos-change-default-file)
411         (todos-toggle-diary-inclusion, todos-toggle-item-diary-nonmarking)
412         (todos-toggle-diary-nonmarking, todos-validate-category-name):
413         Remove.
414         (todos-category-string-matcher): Comment out.
415         (todos-categories): New defgroup.
416         (todos-initial-file, todos-filter-buffer)
417         (todos-top-priorities-buffer, todos-categories-category-label)
418         (todos-diary-items-buffer, todos-regexp-items-buffer)
419         (todos-custom-items-buffer, todos-filter-files)
420         (todos-highlight-item, todos-todo-mode-date-time-regexp):
421         New defcustoms.
422         (todos-diary-expired): New face.
423         (todos-print-buffer, todos-multiple-files)
424         (todos-multiple-files-widget, todos-key-bindings): New variables.
425         (todos-short-file-name, todos-reevaluate-default-file-defcustom)
426         (todos-special-buffer-name)
427         (todos-reevaluate-filter-files-defcustom)
428         (todos-reset-highlight-item, todos-reevaluate-defcustoms)
429         (todos-nondiary-marker-matcher, todos-diary-nonmarking-matcher)
430         (todos-diary-expired-matcher, todos-category-string-matcher-1)
431         (todos-category-string-matcher-2, todos-repair-categories-sexp)
432         (todos-validate-name, todos-multiple-files)
433         (todos-display-categories-1, todos-update-categories-display)
434         (todos-modes-set-3, todos-mode-external-set): New functions.
435         (todos-set-top-priorities-in-file)
436         (todos-set-top-priorities-in-category)
437         (todos-top-priorities-multifile, todos-diary-items-multifile)
438         (todos-regexp-items-multifile, todos-custom-items-multifile)
439         (todos-convert-legacy-files, todos-jump-to-item)
440         (todos-edit-multiline-item, todos-edit-item-date-from-calendar)
441         (todos-edit-item-diary-inclusion)
442         (todos-edit-category-diary-inclusion)
443         (todos-edit-item-diary-nonmarking)
444         (todos-edit-category-diary-nonmarking): New commands.
445         (todos, todos-faces): Update :version.
446         (todos-done-separator, todos-completion-ignore-case):
447         Change default value.
448         (todos-done-separator): Change :set function.
449         (todos-indent-to-here): Add :validate function to :type.
450         (todos-prefix-string, todos-mark, todos-button)
451         (todos-sorted-column, todos-archived-only, todos-search)
452         (todos-done, todos-done-sep): Provide full face definitions
453         instead of inheriting.
454         (todos-edit-buffer, todos-categories-buffer): Change from
455         defcustom to defvar.
456         (todos-category-beg, todos-category-done): Change from defvar to
457         defconst.
458         (todos-files): Check if todos-files-directory exists.
459         (todos-default-todos-file, todos-mode-line-control, todos-print):
460         Use todos-short-file-name.
461         (todos-font-lock-keywords): Use todos-nondiary-marker-matcher,
462         todos-diary-nonmarking-matcher, todos-category-string-matcher-1,
463         todos-category-string-matcher-2, todos-diary-expired-matcher.
464         (todos-category-select): Use todos-done-string-start, and
465         condition search on todos-show-with-done; don't make display
466         overlay for done items separator string if there already is one;
467         use todos-highlight-item, require hl-line and activate
468         hl-line-mode here in order to avoid a hang if done in todos-mode
469         or the mode hook.
470         (todos-update-categories-sexp): Use todos-categories-full if set,
471         otherwise todos-categories.
472         (todos-make-categories-list): Don't test for archive file when
473         processing a legacy todo-mode file.
474         (todos-check-format): Add check for todos-categories sexp.
475         (todos-diary-item-p): Use todos-nondiary-start instead of
476         todos-date-pattern.
477         (todos-marked-item-p): Rename from todos-item-marked-p.
478         (todos-read-file-name): Don't accept empty name; validate.
479         (todos-read-category): Validate new name before prompting whether
480         to add new category; force quit if user answers no.
481         (todos-filter-items): Improve implementation.
482         (todos-set-top-priorities): Rewrite as a noninteractive function
483         using minibuffer input instead of widgets.
484         (todos-insert-sort-button): Call todos-display-sorted with
485         argument nil to display categories in numerical order, instead of
486         calling todos-display-categories.
487         (powerset-recursive): Borrow and slightly reformulate the (GDFL'd)
488         Common Lisp powerset function at
489         http://rosettacode.org/wiki/Power_set#Common_Lisp.
490         (powerset-bitwise): Implement in Emacs Lisp the (GDFL'd) C
491         powerset function at http://rosettacode.org/wiki/Power_set#C.
492         (todos-powerset): Defalias to powerset-bitwise.
493         (todos-mode-map): Generate from todos-key-bindings instead of
494         listing each key definition.
495         (todos-categories-mode-map): Add two bindings.
496         (todos-filter-items-mode-map): Add some bindings, remove others.
497         (todos-mode): Derive from special-mode; use todos-modes-set-3; add
498         function setting todos-done-separator to
499         window-configuration-change-hook.
500         (todos-unload-hook): Remove function setting todos-done-separator
501         from window-configuration-change-hook.
502         (todos-archive-mode): Derive from todos-mode; use todos-modes-set-3.
503         (todos-edit-mode): Derive from text-mode; use todos-mode-external-set.
504         (todos-categories-mode): Derive from special-mode; use
505         todos-mode-external-set.
506         (todos-filter-items-mode): Derive from special-mode.
507         (todos-quit): Save archive file if it hasn't yet been saved.
508         (todos-display-categories): Delegate all functionality to
509         todos-display-categories-1 and todos-update-categories-display.
510         (todos-toggle-view-done-items): Improve implementation.
511         (todos-highlight-item): Require hl-line.
512         (todos-toggle-display-date-time): Remove argument and make it
513         apply only to whole file.
514         (todos-top-priorities, todos-diary-items, todos-regexp-items)
515         (todos-custom-items): Use todos-special-buffer-name.
516         (todos-add-file): Use todos-short-file-name and
517         todos-reevaluate-defcustoms; remove validation, since it's now
518         done in todos-read-file-name.
519         (todos-add-category): Also update todos-categories-full if non-nil.
520         (todos-delete-category): Delete file after confirmation if only
521         category is deleted.
522         (todos-move-category): Use todos-short-file-name and
523         todos-reevaluate-defcustoms.
524         (todos-insert-item): Fix getting date from the calendar and
525         insertion of time string.
526         (todos-set-date-from-calendar): Enter calendar buffer, suppressing
527         display of diary entries.
528         (todos-edit-multiline): Add optional argument to restrict editing
529         buffer to current item, otherwise make entire buffer (i.e. whole
530         file) editable.
531         (todos-edit-quit): When whole file is editable, check file format
532         validity before killing buffer, and if valid, recalculate
533         categories sexp to be safe.
534         (todos-edit-item-header): Allow choosing date from calendar.
535         (todos-item-done): Handle marked items.
537 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
539         * calendar/todos.el (todos-item-start): Restore commented out code
540         to prevent wrongly moving point in widened buffer.
542 2012-09-19  Stephen Berman  <stephen.berman@gmx.net>
544         * calendar/todos.el: Remove old commentary from todo-mode.el; add
545         and revise further doc strings and comments; require cl.el at
546         compile time for remove-duplicates; use function powerset from
547         http://rosettacode.org/wiki/Power_set#Common_Lisp (GFDL); further
548         code rearrangement.  Add adapted version of diary-goto-entry as comment.
549         (todos-file-top, todos-archived-categories-buffer)
550         (todos-save-top-priorities-too, todos-toggle-item-diary-inclusion)
551         (todos-save-top-priorities, todos-reset-separator)
552         (todos-switch-todos-file, todos-item-string-start, todos-counts)
553         (todos-string-count-lines, todos-string-multiline-p)
554         (todos-display-categories-alphabetically): Remove.
555         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
556         (todos-insert-item-ask-date-time-for-diary)
557         (todos-insert-item-ask-date-time-for-diary-here)
558         (todos-insert-item-ask-date-time-here)
559         (todos-insert-item-ask-date-maybe-notime)
560         (todos-insert-item-ask-date-maybe-notime-for-diary)
561         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
562         (todos-insert-item-ask-date-maybe-notime-here)
563         (todos-insert-item-ask-date-for-diary)
564         (todos-insert-item-ask-date-for-diary-here)
565         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
566         (todos-insert-item-ask-dayname-time)
567         (todos-insert-item-ask-dayname-time-for-diary)
568         (todos-insert-item-ask-dayname-time-for-diary-here)
569         (todos-insert-item-ask-dayname-time-here)
570         (todos-insert-item-ask-dayname-maybe-notime)
571         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
572         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
573         (todos-insert-item-ask-dayname-maybe-notime-here)
574         (todos-insert-item-ask-dayname-for-diary)
575         (todos-insert-item-ask-dayname-for-diary-here)
576         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
577         (todos-insert-item-ask-time-for-diary)
578         (todos-insert-item-ask-time-for-diary-here)
579         (todos-insert-item-ask-time-here)
580         (todos-insert-item-maybe-notime)
581         (todos-insert-item-maybe-notime-for-diary)
582         (todos-insert-item-maybe-notime-for-diary-here)
583         (todos-insert-item-maybe-notime-here)
584         (todos-insert-item-for-diary, todos-insert-item-for-diary-here)
585         (todos-insert-item-here): Remove; all of these are now generated
586         on loading (some with the same name, most with other names.)
587         (todos-item-counts, todos-display-categories-alphabetically)
588         (todos-display-categories-sorted-by-todo)
589         (todos-display-categories-sorted-by-diary)
590         (todos-display-categories-sorted-by-done)
591         (todos-display-categories-sorted-by-archived): Comment out.
592         (todos-comment-string, todos-mode-line-function)
593         (todos-filter-function, todos-priorities-rules)
594         (todos-visit-files-commands, todos-categories-totals-label)
595         (todos-use-only-highlighted-region, todos-diary-nonmarking):
596         New defcustoms.
597         (todos-mark, todos-comment): New faces.
598         (todos-comment-face): Corresponding new variable.
599         (todos-categories-full, todos-global-current-todos-file)
600         (todos-first-visit, todos-insertion-commands-args-genlist)
601         (todos-insertion-commands-args, todos-insertion-commands-names)
602         (todos-insertion-commands, todos-insertion-commands-arg-key-list)
603         (todos-top-priorities-widgets, todos-date-from-calendar)
604         (todos-item-mark, todos-categories-with-marks): New variables.
605         (todos-mode-line-control, todos-reset-global-current-todos-file)
606         (todos-gen-arglists, todos-insertion-command-name)
607         (todos-insertion-key-bindings, todos-unload-hook)
608         (todos-filter-items, todos-set-date-from-calendar)
609         (todos-comment-string-matcher, todos-after-find-file)
610         (todos-reset-nondiary-marker, todos-reset-done-string)
611         (todos-reset-comment-string, todos-show-current-file)
612         (todos-item-marked-p, todos-total-item-counts): New functions.
613         (todos-define-insertion-command): New macro.
614         (todos-toggle-mark-item, todos-mark-category)
615         (todos-unmark-category, todos-set-top-priorities)
616         (todos-merged-diary-items, todos-regexp-items)
617         (todos-merged-regexp-items, todos-custom-items)
618         (todos-merged-custom-items, todos-comment-done-item)
619         (todos-archive-category-done-items, todos-unarchive-items)
620         (todos-print-to-file): New commands.
621         (todos-done-separator): Change :set function.
622         (todos-done-string): Uncomment :initialize and :set functions.
623         (todos-files): Use file-truename.
624         (todos-show-current-file): Rename from
625         todos-auto-switch-todos-file and change :set function accordingly.
626         (todos-font-lock-keywords): Use todos-comment-string-matcher;
627         change names of other matcher functions to new *-matcher.
628         (todos-category-number): Change initial value.
629         (todos-insertion-map): Use todos-insertion-key-bindings to
630         generate key definitions.
631         (todos-mode-map): Don't suppress digit keys, so they can supply
632         prefix arguments; add new and change some existing bindings.
633         (todos-archive-mode-map): Change a key binding.
634         (todos-categories-mode-map): Comment out a key binding.
635         (todos-filter-items-mode-map): Rename from
636         todos-top-priorities-mode-map.
637         (todos-mode): Make todos-current-todos-file,
638         todos-categories-full, todos-categories, todos-first-visit,
639         todos-category-number, todos-show-done-only,
640         todos-categories-with-marks local variables and set them; add
641         todos-show-current-file to pre-command-hook, todos-after-find-file
642         to post-command-hook and todos-reset-global-current-todos-file to
643         kill-buffer-hook.
644         (todos-archive-mode): Make todos-current-todos-file,
645         todos-categories and todos-category-number local variables and set
646         them; add todos-after-find-file to post-command-hook.
647         (todos-raw-mode): New derived major mode.
648         (todos-categories-mode): Don't set font-lock-defaults and
649         buffer-read-only; make todos-current-todos-file and
650         todos-categories local variables and set them.
651         (todos-filter-items-mode): Rename from todos-top-priorities-mode-map.
652         (todos-quit): Don't reset todos-categories on quitting
653         todos-categories-mode; handle quitting todos-filter-items-mode.
654         (todos-show): Simplify; when visiting an archive file switch to
655         corresponding Todos file; use todos-first-visit.
656         (todos-view-archived-items): Simplify; call todos-category-number.
657         (todos-show-archive): Rename from todos-switch-to-archive and
658         adjust callers; simplify.
659         (todos-toggle-display-date-time): Add optional argument to toggle
660         display in entire file.
661         (todos-top-priorities): Use todos-filter-items, which now contains
662         the previous core of this command.
663         (todos-merged-top-priorities, todos-diary-items):
664         Use todos-filter-items.
665         (todos-forward-category): Add optional argument to go to the
666         previous category.
667         (todos-backward-category): Use todos-forward-category.
668         (todos-jump-to-category): Refine implementation.
669         (todos-forward-item, todos-backward-item): Fix movement from todo
670         to done item and vice versa.
671         (todos-add-file): Remove argument and simplify.
672         (todos-rename-category): Use todos-current-todos-file and
673         todos-mode-line-function; set todos-categories with
674         todos-set-categories.
675         (todos-delete-category): Ask what to do if category has archived items.
676         (todos-raise-category): Ensure modified todos-categories is added
677         to file's categories sexp.
678         (todos-move-category): Improve implementation, especially handling
679         of archived categories.
680         (todos-merge-category): Tweak; set item counts.
681         (todos-insert-item): Improve handling of various argument values;
682         add new argument values to control marking of diary items and to
683         use region for item body.
684         (todos-insert-item-from-calendar): Use todos-global-current-todos-file.
685         (todos-delete-item, todos-edit-item-header): Handle marked items.
686         (todos-edit-item): Incorporate functionality of removed
687         todos-string-multiline-p.
688         (todos-edit-multiline): Use set-window-buffer instead of
689         switch-to-buffer.
690         (todos-edit-quit): Don't save on quitting; use todos-show instead
691         of todos-category-select.
692         (todos-raise-item-priority): Add argument to lower priority;
693         improve handling of top priority items in todos-filter-items-mode;
694         restore marks.
695         (todos-lower-item-priority): Use todos-raise-item-priority.
696         (todos-set-item-priority): Increment maximum number if item is new.
697         (todos-move-item): Handle marked items; delay changing category
698         moved from till after movement to avoid restoring if user cancels
699         before insertion.
700         (todos-item-done): Add optional argument to insert comment; fix
701         item counts and update sexp.
702         (todos-item-undo): Fix item counts and update.
703         (todos-archive-done-item-or-items): Rename from
704         todos-archive-done-items; add optional argument to archive all
705         items in category; handle marked items.
706         (todos-unarchive-category): Use todos-unarchive-items.
707         (todos-toggle-diary-inclusion): Incorporate functionality of
708         removed todos-toggle-item-diary-inclusion; handle marked items.
709         (todos-print): Add optional argument to print to file.
710         (todos-done-string-start): Don't use todos-nondiary-start.
711         (todos-date-string-matcher, todos-time-string-matcher)
712         (todos-done-string-matcher, todos-category-string-matcher): Rename
713         from *-match and adjust callers.
714         (todos-wrap-and-indent): Use set instead of setq for local variables.
715         (todos-prefix-overlays): Improve overlay handling.
716         (todos-reset-categories): Fix and complete implementation.
717         (todos-toggle-show-current-file): Rename from
718         todos-toggle-switch-todos-file-noninteractively.
719         (todos-category-select): Use todos-mode-line-function.
720         (todos-item-start): Comment out code used by removed function.
721         (todos-remove-item): Handle presence of both prefix/number and
722         mark overlays.
723         (todos-get-count): Simplify.
724         (todos-set-count): Change argument list and adjust callers; simplify.
725         (todos-set-categories): Handle new archive files; use
726         todos-categories-full and todos-ignore-archived-categories.
727         (todos-truncate-categories-list): Use todos-categories-full.
728         (todos-update-categories-sexp): Use kill-region instead of
729         kill-line; use todos-categories-full.
730         (todos-read-file-name): Add argument to require existing file and
731         adjust callers; use file-truename.
732         (todos-read-category): Remove argument to require existing
733         category and delegate it to completing-read in function body.
734         (todos-validate-category-name): Make empty string prompt only for
735         initial category name.
736         (todos-read-date): Use = instead of eq for testing if month = 13,
737         and if it is, set monthname to *.
738         (todos-display-categories): Use todos-global-current-todos-file;
739         use set-window-buffer instead of switch-to-buffer; add a line
740         showing item count totals.
741         (todos-padded-string): Use the longest of category name or label.
742         (todos-descending-counts): Rename from
743         todos-descending-counts-store and adjust users.
744         (todos-insert-category-line): Adjust format; use mapconcat; kill
745         buffer after jumping to category.
747 2012-09-18  Stephen Berman  <stephen.berman@gmx.net>
749         * calendar/todos.el Add and revise various doc strings, remove
750         further commented out code; add further comments; further code
751         rearrangement.
752         (todos-file-do, todos-archive-file, todos-mode-hook)
753         (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
754         (todos-view-archive, todos-search-string)
755         (todos-jump-to-category-noninteractively, todos-initial-setup):
756         Remove.
757         (todos-files): Remove this defcustom.
758         (todos-initial-category, todos-display-categories-first)
759         (todos-auto-switch-todos-file, todos-default-todos-file)
760         (todos-categories-category-label, todos-categories-todo-label)
761         (todos-categories-diary-label, todos-categories-done-label)
762         (todos-categories-archived-label)
763         (todos-categories-number-separator, todos-categories-align)
764         (todos-ignore-archived-categories, todos-nondiary-marker):
765         New defcustoms.
766         (todos-prefix, todos-done-separator, todos-file-top)
767         (todos-categories-buffer, todos-archived-categories-buffer)
768         (todos-edit-buffer, todos-always-add-time-string, todos-button):
769         Change default value.
770         (todos-done-string): Add todos-reset-done-string as :set function,
771         but keep this commented out.
772         (todos-files, todos-archives, todos-insertion-map)
773         (todos-category-done, todos-nondiary-start, todos-nondiary-end)
774         (todos-show-done-only, todos-date-string-start)
775         (todos-done-string-start): New variables.
776         (todos-files-directory, todos-files-function, todos-merged-files)
777         (todos-prompt-merged-files, todos-files, todos-modes-set-1)
778         (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
779         (todos-toggle-switch-todos-file-noninteractively)
780         (todos-switch-todos-file, todos-counts, todos-get-count)
781         (todos-set-count, todos-set-categories)
782         (todos-truncate-categories-list, todos-update-categories-sexp)
783         (todos-read-file-name, todos-sort, todos-display-sorted)
784         (todos-label-to-key, todos-insert-sort-button): New functions.
785         (todos-display-categories-sorted-by-todo)
786         (todos-display-categories-sorted-by-diary)
787         (todos-display-categories-sorted-by-done)
788         (todos-display-categories-sorted-by-archived)
789         (todos-update-merged-files, todos-switch-to-archive)
790         (todos-choose-archive, todos-merged-top-priorities)
791         (todos-jump-to-category-other-file, todos-clear-matches)
792         (todos-add-file, todos-change-default-file, todos-move-category)
793         (todos-merge-category, todos-merge-categories)
794         (todos-edit-item-time, todos-move-item-to-file)
795         (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
796         (todos-toggle-diary-nonmarking): New commands.
797         (todos-toggle-show-done-only): New command replacing todos-view-archive.
798         (todos-faces): New defgroup; use in all face definitions.
799         (todos-sorted-column, todos-archived-only, todos-search): New faces.
800         (todos-font-lock-keywords): Use subexpression 1 with matcher
801         todos-category-string-match.
802         (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
803         (todos-categories-mode-map): Add new key bindings; change some
804         existing bindings.
805         (todos-top-priorities-mode-map): New keymap.
806         (todos-menu): Add submenues and new entries.
807         (auto-mode-alist): Add extension of Todos and Todos archive files.
808         (todos-mode, todos-archive-mode): Make derived mode; use
809         todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
810         and todos-switch-todos-file; make todos-show-done-only local
811         variable.
812         (todos-edit-mode): Make derived mode; use todos-modes-set-1.
813         (todos-categories-mode): Make derived mode.
814         (todos-top-priorities-mode): New derived major mode.
815         (todos-save): Remove unused code.
816         (todos-quit): Handle todos-categories-mode; save archive buffer.
817         (todos-show): Add optional argument to prompt for a Todos file; if
818         called interactively or with prefix arg or from an archive, don't
819         make a no-op but reset todos-current-todos-file, todos-categories
820         and todos-category-number; use todos-read-file-name,
821         todos-display-categories-first, todos-ignore-archived-categories.
822         (todos-display-categories): Change argument name; refactor code
823         for inserting table labels and lines, using
824         todos-ignore-archived-categories, todos-sort,
825         todos-categories-number-separator, todos-insert-sort-button,
826         todos-categories-*-labels, and todos-insert-category-line.
827         (todos-display-categories-alphabetically): Use todos-display-sorted.
828         (todos-toggle-view-done-items): Use todos-done-string-start and
829         todos-get-count.
830         (todos-toggle-display-date-time): Use todos-done-string-start.
831         (todos-top-priorities): Remove autoload cookie; partially rewrite:
832         new argument list; allow combining top priorities of multiple
833         Todos files; change display to include category (and file) name as
834         part of item header; use todos-top-priorities-mode.
835         (todos-diary-items): Reimplement using only todos-top-priorities.
836         (todos-forward-category, todos-backward-category): Adjust to
837         1-based numbering of categories; move point to top of category.
838         (todos-jump-to-category): Rewrite, adding optional arguments to
839         provide a category in non-interactive uses and to prompt for which
840         Todos file to jump to.
841         (todos-search): Reimplement; highlight each match as found, say
842         how many matches remain and prompt whether to go to next one; at
843         end of search prompt whether to remove highlighting.
844         (todos-add-category): Remove autoload cookie; assign new category
845         the highest category number; associate zero-initialized vector of
846         item counts, instead of property list, with new category; use
847         todos-validate-category-name and todos-update-categories-sexp.
848         (todos-rename-category): Use todos-validate-category-name and
849         todos-update-categories-sexp; take archive files into account.
850         (todos-delete-category): Use todos-get-count and
851         todos-update-categories-sexp, let-bind variable that were
852         mistakenly global; use delete-region instead of kill-region;
853         adjust to 1-based numbering of categories; move point to top of
854         category.
855         (todos-raise-category): Handle item count vectors; use
856         todos-insert-category-line and todos-update-categories-sexp.
857         (todos-insert-item): Use nil time-string argument to omit time
858         string; use todos-nondiary-start and todos-nondiary-end and
859         todos-update-categories-sexp; if category named to insert into
860         does not exist, add it; take new diary items into account.
861         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
862         (todos-insert-item-ask-date-time-for-diary)
863         (todos-insert-item-ask-date-time-for-diary-here)
864         (todos-insert-item-ask-date-time-here)
865         (todos-insert-item-ask-date-maybe-notime)
866         (todos-insert-item-ask-date-maybe-notime-for-diary)
867         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
868         (todos-insert-item-ask-date-maybe-notime-here)
869         (todos-insert-item-ask-date-for-diary)
870         (todos-insert-item-ask-date-for-diary-here)
871         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
872         (todos-insert-item-ask-dayname-time)
873         (todos-insert-item-ask-dayname-time-for-diary)
874         (todos-insert-item-ask-dayname-time-for-diary-here)
875         (todos-insert-item-ask-dayname-time-here)
876         (todos-insert-item-ask-dayname-maybe-notime)
877         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
878         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
879         (todos-insert-item-ask-dayname-maybe-notime-here)
880         (todos-insert-item-ask-dayname-for-diary)
881         (todos-insert-item-ask-dayname-for-diary-here)
882         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
883         (todos-insert-item-ask-time-for-diary)
884         (todos-insert-item-ask-time-for-diary-here)
885         (todos-insert-item-ask-time-here)
886         (todos-insert-item-maybe-notime)
887         (todos-insert-item-maybe-notime-for-diary)
888         (todos-insert-item-maybe-notime-for-diary-here)
889         (todos-insert-item-maybe-notime-here)
890         (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
891         New insertion commands.
892         (todos-insert-item-from-calendar): Use todos-current-todos-file.
893         (todos-delete-item): Handle diary items;
894         use todos-update-categories-sexp.
895         (todos-edit-item): Check if point is with item string;
896         use read-string instead of read-from-minibuffer;
897         use todos-date-string-start; after editing put point at start of
898         item text.
899         (todos-edit-multiline): Narrow to item before invoking
900         todos-edit-mode; show key binding of todos-edit-quit in a message.
901         (todos-edit-quit): Use todos-save; kill buffer.
902         (todos-edit-item-header): Add optional argument to prompt for
903         editing only date string or only time string;
904         use todos-date-string-start.
905         (todos-edit-item-date, todos-edit-item-date-is-today)
906         (todos-raise-item-priority, todos-lower-item-priority): Rename
907         from todos-{raise, lower}-item and make them DTRT in
908         todos-top-priorities-mode.
909         (todos-set-item-priority): Make interactive; use todos-get-count
910         and todos-insert-with-overlays; interactively, just relocate the
911         item within its category.
912         (todos-move-item): Add optional argument to prompt for a category
913         in another Todos file; handle diary items; fix restoration after
914         cancelling before inserting.
915         (todos-item-done): Handle diary items; simplify handling of
916         insertion in done items section.
917         (todos-item-undo): Handle diary items.
918         (todos-archive-done-items): Adjust to new handling of archive
919         files (in parallel with Todos files); handle diary items; use
920         todos-done-string-start.
921         (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
922         todos-nondiary-end and todos-item-counts.
923         (todos-toggle-diary-inclusion): Use todos-category-done instead of
924         todos-category-end.
925         (todos-print): Remove autoload cookie; rewrite to make overlays,
926         line wrapping and wrap prefixes printable.
927         (todos-date-pattern): Make parenthesized groups shy.
928         (todos-date-string-match): Use todos-date-string-start; make
929         todos-date-pattern an explicitly numbered group.
930         (todos-time-string-match): Use todos-date-string-start.
931         (todos-done-string-match): Use todos-done-string-start.
932         (todos-category-string-match): Rewrite to match new category and
933         category+filename patterns in todos-top-priorities-mode.
934         (todos-prefix-overlays): Use todos-done-string-start and
935         todos-category-done.
936         (todos-reset-prefix): Handle archive files; restore point after
937         changing prefix.
938         (todos-reset-separator): Handle archive files.
939         (todos-category-number): Make category number one more than its
940         list index.
941         (todos-current-category): Adjust to 1-based numbering of categories.
942         (todos-category-select): Simplify handling of done items and done
943         separator string overlay.
944         (todos-item-start): Use todos-date-string-start and
945         todos-done-string-start.
946         (todos-item-start, todos-item-end): Fix wrong parenthesizing.
947         (todos-item-string): Restore point after getting item bounds; use
948         buffer-substring-no-properties.
949         (todos-done-item-p): Use todos-done-string-start.
950         (todos-make-categories-list): Add optional argument to force
951         looping through file to get categories and their item counts,
952         otherwise set todos-categories from sexp in first line; use
953         vectors of item counts instead of plists; count diary items.
954         (todos-item-counts): Use todos-counts, todos-set-counts,
955         todos-get-counts, and todos-update-categories-sexp instead of
956         getting and setting properties; handle diary items.
957         (todos-read-category): Add argument to set prompt; don't offer
958         default category.
959         (todos-validate-category-name): Rename from
960         todos-check-category-name; take into account whether there are
961         already categories or not.
962         (todos-read-date): Accept `*' as an unspecified month, day, or year.
963         (todos-padded-string): Accommodate new structure of
964         todos-categories as alists; use todos-categories-align.
965         (todos-descending-counts-store): New variable.
966         (todos-insert-category-line): Rename from
967         todos-insert-category-name and reimplement using labels and
968         todos-get-counts instead of properties; use
969         todos-ignore-archived-categories; highlight sorted column.
971 2012-09-14  Stephen Berman  <stephen.berman@gmx.net>
973         * calendar/todos.el Remove lots of commented out code; add various
974         comments; further code rearrangement.
975         (todos-insert-item-here-ask-date-time)
976         (todos-insert-item-ask-date-time)
977         (todos-insert-item-ask-dayname-time)
978         (todos-insert-item-for-diary)
979         (todos-insert-item-for-diary-ask-date-time)
980         (todos-make-categories-alist, todos-categories-alist): Remove.
981         (todos-categories-list): Comment out.
982         (todos-make-categories-list): New function replacing
983         todos-make-categories-alist, using category plists to get item
984         counts and taking archive into account.
985         (todos-current-todos-file): New variable.
986         (todos-mode-map): Update key bindings.
987         (todos-save): Add as comment code to make sure todos-categories
988         sexp is current on saving.
989         (todos-quit): Call todos-show on quitting Todos archive buffer.
990         (todos-show): If todos-current-todos-file is not set to Todos
991         file, set it as a new file; set todos-categories from
992         todos-make-categories-alist.
993         (todos-display-categories): Use a different display format for
994         archive file; put point initially on the first button.
995         (todos-toggle-view-done-items): Check the category's `done'
996         property to determine if there are done items.
997         (todos-view-archive): Set todos-current-todos-file to the archive
998         file; jump from the Todos file to the same category in the
999         archive, if it exists, else jump to the first category; use
1000         message instead of error.
1001         (todos-add-category): Intern a special symbol for the new category
1002         and set its property list to holds counts of the numbers of todo,
1003         done and archived items in the category; assign the new category
1004         the current highest category number.
1005         (todos-rename-category): Don't use todos-categories-alist.
1006         (todos-delete-category): Check the category's `todo' and `done'
1007         properties to determine if it is empty; ensure that the end of the
1008         last category is found; after deleting the category, empty its
1009         plist and unintern its special symbol.
1010         (todos-insert-item-here): Fix argument list of todos-insert-item.
1011         (todos-delete-item, todos-raise-item, todos-lower-item):
1012         Use message instead of error.
1013         (todos-move-item): If the category to be moved to does not exist,
1014         add it as a new category.
1015         (todos-item-done, todos-reset-separator):
1016         Use todos-category-select instead of todos-show.
1017         (todos-archive-done-items): Make buffer writeable; conditionalize
1018         search for end of category; save after adding to archive in case
1019         the file is new, so it can be found.
1020         (todos-category-select): Wrap search in if instead of or+and;
1021         don't hide done items in an archive.
1022         (todos-set-item-priority): Check the category's `todo'
1023         property to determine if there are not done todo items.
1024         (todos-jump-to-category-noninteractively): Just switch to buffer
1025         visiting todos-current-todos-file, since this can be either a
1026         Todos file or an archive.
1027         (todos-item-counts): Use category's plist instead of an alist.
1028         (todos-longest-category-name-length): Argument is now a list of
1029         category names, not an alist, so just test each element, not each
1030         element's the car.
1031         (todos-padded-string): Use todos-categories instead of
1032         todos-categories-alist.
1033         (todos-insert-category-name): Use category plist to get item
1034         counts; take archived items into account.
1036 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1038         * calendar/todos.el: Numerous spelling and comment fixes, doc
1039         string fixes to conform with checkdoc, further rearrangement of
1040         definitions, etc.
1041         (todos-previous-line, todos-previous-answer)
1042         (todos-insert-item-ask-date, todos-change-date)
1043         (todos-date-nodayname-pattern, todos-dayname-date-pattern)
1044         (todos-count-items-in-category, todos-count-all-items): Remove.
1045         (todos-update-numbered-prefix, todos-item-start-overlays)
1046         (todos-add-item-non-interactively): Comment out, also in uses.
1047         (todos-done-separator): Change default value.
1048         (todos-always-add-time-string): Rename from todos-add-time-string
1049         and adjust uses.
1050         (todos-read-category): Rename from todos-completing-read and
1051         adjust callers; use todos-current-category.
1052         (todos-make-categories-alist): Rename from function
1053         todos-categories-alist.
1054         (todos-categories-alist): New variable.
1055         (todos-indent-to-here): New defcustom.
1056         (todos-button): New face.
1057         (todos-display-categories-alphabetically, todos-raise-category)
1058         (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
1059         (todos-insert-item-here-ask-date-time)
1060         (todos-insert-item-ask-date-time)
1061         (todos-insert-item-ask-dayname-time): New commands.
1062         (todos-edit-item-header): New command replacing todos-change-date.
1063         (todos-category-number, todos-indent, todos-item-counts)
1064         (todos-check-category-name, todos-read-date, todos-read-dayname)
1065         (todos-read-time, todos-padded-string)
1066         (todos-insert-category-name): New functions.
1067         (todos-set-item-priority): New function replacing
1068         todos-add-item-non-interactively.
1069         (todos-mode-map): Remap newline to newline-and-indent.
1070         (todos-edit-mode-map): Make sparse keymap; remap newline to
1071         newline-and-indent.
1072         (todos-categories-mode-map): New keymap.
1073         (todos-mode, todos-edit-mode): Make indent-line-function local
1074         variable and set to todos-indent.
1075         (todos-categories-mode): New major mode.
1076         (todos-display-categories): List categories initially in their
1077         numerical order; add optional argument to switch to alphabetical
1078         listing.
1079         (todos-toggle-view-done-items): Simplify implementation.
1080         (todos-toggle-display-date-time): Fix regexp search string.
1081         (todos-backward-item, todos-forward-item): Use variable
1082         todos-item-start.
1083         (todos-add-category): Use todos-check-category-name and
1084         todos-categories-alist.
1085         (todos-rename-category): Use todos-current-category,
1086         todos-check-category-name and todos-categories-alist.
1087         (todos-delete-category): Use todos-check-category-name and
1088         todos-categories-alist and take done items into account.
1089         (todos-insert-item): Use separate arguments to handle insertion of
1090         date/dayname and time strings, add new argument to mark item for
1091         diary inclusion, use new todos-read-* functions,
1092         todos-set-item-priority and todos-item-counts.
1093         (todos-insert-item-here, todos-insert-item-for-diary)
1094         (todos-insert-item-from-calendar): Adapt to new version of
1095         todos-insert-item.
1096         (todos-delete-item, todos-item-done): Use todos-item-counts.
1097         (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
1098         char follows.
1099         (todos-lower-item): Ensure only not-done items can be lowered.
1100         (todos-move-item): Use todos-current-category, todos-read-category
1101         and todos-item-counts.
1102         (todos-archive-done-items): Use todos-current-category and
1103         todos-item-counts; fix regexp search string.
1104         (todos-item-undo): Use todos-current-category,
1105         todos-set-item-priority, todos-insert-with-overlays and
1106         todos-item-counts; restore if user quits before inserting undone
1107         item.
1108         (todos-date-pattern): Rewrite without using
1109         todos-date-nodayname-pattern and todos-dayname-date-pattern.
1110         (todos-date-string-match): Do not make todos-date-pattern an
1111         unnumbered group.
1112         (todos-time-string-match): Make todos-date-pattern a shy group.
1113         (todos-wrap-and-indent): Use todos-indent-to-here.
1114         (todos-reset-prefix): Revert to using todos-show instead of
1115         todos-category-select.
1116         (todos-prefix-overlays): Fix numbering of done items and updating
1117         of prefix.
1118         (todos-category-select): Use todos-current-category; fix display
1119         of separator string; don't move point to top of category.
1120         (todos-jump-to-category-noninteractively): Use todos-category-number.
1121         (todos-insert-with-overlays): Use todos-item-start unconditionally.
1122         (todos-item-start): New variable.
1123         (todos-item-start): Use it to define this function.
1124         (todos-item-end): Adjust if item is last unfinished one before
1125         displayed done items.
1126         (todos-remove-item): Use todos-item-start and todos-item-end
1127         instead of todos-forward-item and todos-backward-item.
1128         (todos-longest-category-name-length): Add argument for list of
1129         categories.
1131 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
1133         * calendar/todos.el: Comment out calendar require, since diary-lib
1134         requires calendar.  Rearrange file to group definitions according
1135         to their use (types of commands, internal functions, etc.)
1136         (todos-file-done, todos-insert-threshold, todos-remove-separator)
1137         (todos-date-string, todos-time-string, todos-check-overlay)
1138         (todos-show-paren-hack, todos-file-item, todos-more-important-p):
1139         Comment out.
1140         (todos-current-date, todos-item-end-overlays)
1141         (todos-list-categories): Remove.
1142         (todos-item-end): Remove (the variable, not the function).
1143         (todos-prefix-overlays): Rename from todos-item-overlays and adjust
1144         callers.
1145         (todos-done-separator, todos-done-string, todos-show-with-done)
1146         (todos-files, todos-archive-file, todos-categories-buffer)
1147         (todos-archived-categories-buffer, todos-wrap-lines)
1148         (todos-line-wrapping-function): New defcustoms.
1149         (todos-done, todos-done-sep): New faces.
1150         (todos-done-face, todos-done-sep-face): Corresponding new variables.
1151         (todos-search-string, todos-date-nodayname-pattern)
1152         (todos-dayname-date-pattern, todos-date-pattern): New variables.
1153         (todos-done-string-match, todos-category-string-match)
1154         (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
1155         (todos-current-category, todos-count-items-in-category)
1156         (todos-done-item-p, todos-categories-alist, todos-count-all-items)
1157         (todos-longest-category-name-length): New functions.
1158         (todos-categories-list): New buffer-specific function replacing
1159         todos-list-categories.
1160         (todos-toggle-item-numbering, todos-toggle-view-done-items)
1161         (todos-search, todos-view-archive, todos-diary-items)
1162         (todos-toggle-display-date-time, todos-insert-item-no-time)
1163         (todos-insert-item-ask-date, todos-insert-item-for-diary)
1164         (todos-insert-item-from-calendar, todos-edit-quit)
1165         (todos-change-date, todos-item-done, todos-archive-done-items)
1166         (todos-item-undo): New commands.
1167         (todos-archive-mode): New major mode.
1168         (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
1169         (todos-category-beg): Change value.
1170         (todos-number-prefix): Change default value.
1171         (todos-edit-buffer): Change from defvar to defcustom.
1172         (todos-font-lock-keywords): Use todos-done-string-match and
1173         todos-category-string-match.
1174         (todos-backward-item, todos-forward-item): Use todos-done-string
1175         and todos-date-pattern.
1176         (todos-display-categories): Reimplement using buttons from
1177         button.el instead of widgets.
1178         (todos-top-priorities): Use with-current-buffer; take done items
1179         into account; ensure buffers gets fontified.
1180         (todos-add-category): Ensure new category does not begin with
1181         empty lines.
1182         (todos-jump-to-category): Use todos-category-select instead of
1183         todos-show.
1184         (todos-rename-category): Prompt for new name in body instead of in
1185         interactive spec.
1186         (todos-insert-item): Don't insert in done items section of
1187         category.  Add two optional arguments to control insertion: (i) to
1188         insert near point without prompting for priority; (ii) to use
1189         defaults for date and time strings, to prompt for these, or to
1190         choose date from the Calendar.
1191         (todos-insert-item-here): Reimplement using todos-insert-item.
1192         (todos-delete-item): Don't move point after deleting last item.
1193         (todos-raise-item, todos-lower-item): Take done items into account.
1194         (todos-move-item): Don't move done items; update item numbering;
1195         restore if user quits before inserting moved item.
1196         (todos-print): Prompt for confirmation to print.
1197         (todos-reset-prefix): Search backward from end of file instead of
1198         forward from top.
1199         (todos-jump-to-category-noninteractively): Take Todos archive into
1200         account.
1201         (todos-category-select): Show or hide done items according to
1202         todos-show-with-done; if shown, coordinate separator and prefix
1203         overlays.
1204         (todos-add-item-non-interactively): Replace binary insertion
1205         algorithm with prompting for numerical priority.
1206         (todos-insert-with-overlays): Remove use of variable todos-item-end.
1207         (todos-item-start): Take done items into account; use
1208         todos-date-pattern.
1209         (todos-item-end): Reimplement using todos-forward-item.
1210         (todos-remove-item): Reimplement using todos-forward-item and
1211         todos-backward-item; redo overlay handling.
1212         (todos-mode-map): Add some new key bindings and change numerous
1213         existing bindings; use "i" as prefix key for item insertion
1214         commands.
1215         (todos-mode): Use todos-wrap-lines and delegate word-wrap and
1216         wrap-prefix settings to todos-wrap-and-indent; add to invisibility
1217         spec; set buffer-read-only to t and consequently let-bind this
1218         variable in all Todos commands that change buffer content.
1219         (todos-edit-mode): Make an indepent mode, not derived from text-mode.
1220         (todos-save): Don't save top priorities buffer.
1221         (todos-show): Make a no-op if called interactively in narrowed
1222         Todos mode, since, also to work around item prefix reduplication
1223         bug with show-paren-mode enabled; use todos-categories-list.
1225 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1227         * calendar/todos.el: Comment out time-stamp require; require
1228         calendar and diary-lib.
1229         (todos-prefix): Change default value and doc string to reflect new
1230         meaning; add :initialize and :set functions.
1231         (todos-time-string-format, todos-entry-prefix-function)
1232         (todos-initials, todos-entry-timestamp-initials)
1233         (todos-prefix-face, todos-category-sep, todos-category-end)
1234         (todos-cp): Comment out.
1235         (todos-prefix-string): Inherit from font-lock-comment-face.
1236         (todos-item-header, todos-item-header-face): Remove.
1237         (todos-date, todos-time): New faces.
1238         (todos-date-face, todos-time-face): Corresponding new variables.
1239         (todos-add-time-string, todos-include-in-diary)
1240         (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
1241         New defcustoms.
1242         (todos-item-end, todos-item-start-overlays)
1243         (todos-item-end-overlays): New variables.
1244         (todos-date-string-match, todos-time-string-match): New functions.
1245         (todos-font-lock-keywords): Use them.
1246         (todos-current-date, todos-date-string, todos-time-string)
1247         (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
1248         (todos-reset-prefix, todos-update-numbered-prefix)
1249         (todos-check-overlay, todos-item-overlays)
1250         (todos-insert-with-overlays, todos-show-paren-hack): New functions.
1251         (todos-highlight-item): New command.
1252         (todos-category-beg): Change value.
1253         (todos-category-select): Use todos-category-beg and todos-item-overlays.
1254         (todos-backward-item): Add optional count argument; use it and
1255         todos-item-start.
1256         (todos-forward-item): Use todos-check-overlay, todos-item-start
1257         and variable todos-item-end.
1258         (todos-edit-item, todos-delete-item): Use todos-number-prefix,
1259         todos-update-numbered-prefix, todos-item-overlays.
1260         (todos-add-category, todos-rename-category)
1261         (todos-list-categories): Use new category format.
1262         (todos-delete-category): Allow deleting non-empty category;
1263         use new category format.
1264         (todos-add-item-non-interactively): Comment out unnecessary
1265         save-excursion; use todos-insert-with-overlays.
1266         (todos-insert-item): Comment out unnecessary save-excursion; use
1267         new item format for date/time header and diary inclusion marking.
1268         (todos-insert-item-here): Use new item format for date/time header
1269         and diary inclusion marking; use todos-insert-with-overlays.
1270         (todos-raise-item): Make a no-op if point is on an empty line; use
1271         todos-insert-with-overlays.
1272         (todos-lower-item): Use todos-insert-with-overlays.
1273         (todos-top-priorities): Move call to todos-show inside
1274         save-excursion; add save-current-buffer after save-restriction.
1275         (todos-item-start): Use variable todos-item-end.
1276         (todos-item-end): Use todos-check-overlay and variable todos-item-end.
1277         (todos-remove-item): Take item overlays into account.
1278         (todos-mode): Change calculation of wrap-prefix; make
1279         hl-line-range-function a local variable and set it to highlight
1280         todo item.
1281         (todos-show): Ensure point stays at top of category.
1283 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1285         * calendar/todos.el (todos-window-configuration): Comment out.
1286         (todos-display-categories): Comment out use of
1287         todos-window-configuration; use switch-to-buffer instead of
1288         pop-to-buffer.
1289         (todos-jump-to-category-noninteractively): Comment out use of
1290         todos-window-configuration.
1291         (todos-edit-item): Don't allow editing of date/time item header.
1292         (todos-insert-item, todos-insert-item-here): Insert date/time
1293         header in front of new item string.
1294         (todos-mode): Tweak wrap-prefix.
1296 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1298         * calendar/todos.el (todos-file-do, todos-file-done):
1299         Change default location to directory "~/.emacs.d/".
1300         (todos-completion-ignore-case, todos-categories-buffer):
1301         New defcustoms.
1302         (todos-prefix-string, todos-item-header): New faces.
1303         (todos-prefix-face, todos-item-header-face): Corresponding
1304         new variables.
1305         (todos-rename-category, todos-delete-category)
1306         (todos-display-categories, todos-move-item): New commands.
1307         (todos-mode-map): Add key bindings for new commands and for
1308         todos-add-category, which had no key binding.
1309         (todos-jump-to-category-noninteractively): New function.
1310         (todos-top-priorities): Comment out code using a previously
1311         deleted variable.
1312         (todos-completing-read): Allow SPC to insert a space when entering
1313         a new category name; use todos-completion-ignore-case.
1314         (todos-font-lock-keywords, todos-window-configuration):
1315         New variables.
1316         (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
1317         word-wrap, and wrap-prefix local variables.
1319 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1321         * calendar/todos.el (todos-list-categories): Fix typos.
1322         (todos-show): Ensure file is in todos-mode.
1324 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
1326         * calendar/todos.el (todos-header): Remove defvar.
1327         (todos-add-category): Comment out code that inserts and updates
1328         the file local variables first line of the file todos-file-do.
1329         (todos-list-categories): New function.
1330         (todos-show): Use it; remove use of a previously deleted variable.
1332 2012-09-11  Stephen Berman  <stephen.berman@gmx.net>
1334         * calendar/todos.el: New file.  This is a copy of todo-mode.el
1335         from revision 94343 except for the following changes: replace all
1336         occurrences of the namespace prefix "todo-" with "todos-", delete
1337         the defvar todo-cats (the old name of todo-categories) and its use
1338         in todos-add-category, delete all defaliases of old command names.
1340 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1342         * subr.el (set-temporary-overlay-map): Add a docstring.
1343         (bug#12346)
1345 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1347         * minibuffer.el (completion-table-subvert): Fix docstring.
1348         (bug#12347)
1350 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1352         * help-fns.el (describe-variable): Fix typo. (bug#12346)
1354 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
1356         * progmodes/sql.el: Version 3.1
1357         (sql-db2-escape-newlines): New variable.
1358         (sql-escape-newlines-filter): Use it.
1360 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
1362         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1364 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
1366         * vc/diff-mode.el (diff-mode-menu): Bind
1367         diff-remove-trailing-whitespace.
1369 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1371         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1372         (emacs-lisp-byte-code-comment)
1373         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
1374         New functions.
1375         (eval-sexp-add-defvars): Don't skip defvars in column >0.
1376         (eval-defun-2): Remove bogus interactive spec.
1377         (lisp-indent-line): Remove redundant whole-exp code, now done in
1378         indent-according-to-mode.
1379         (save-match-data): Remove redundant indent data.
1381         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1382         Use `declare'.
1384 2012-09-09  Juri Linkov  <juri@jurta.org>
1386         * replace.el (replace-regexp-lax-whitespace): New defcustom.
1387         (replace-lax-whitespace, query-replace-regexp)
1388         (query-replace-regexp-eval, replace-regexp): Doc fix.
1389         (perform-replace, replace-highlight): Let-bind
1390         isearch-lax-whitespace to replace-lax-whitespace and
1391         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1393         * isearch.el (isearch-query-replace): Let-bind
1394         replace-lax-whitespace to isearch-lax-whitespace and
1395         replace-regexp-lax-whitespace to
1396         isearch-regexp-lax-whitespace.  (Bug#10885)
1398 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1400         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1402 2012-09-09  Alan Mackenzie  <acm@muc.de>
1404         * progmodes/cc-engine.el (c-state-cache-init):
1405         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1406         (c-record-parse-state-state):
1407         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1409 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
1411         * register.el (register-separator): Rename from
1412         separator-register.  All uses changed.  Doc fix.
1413         (register): Fix version.
1415 2012-09-09  Chong Yidong  <cyd@gnu.org>
1417         * replace.el (query-replace-map): Bind four new symbols for
1418         requesting window scrolling.
1420         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1421         query-replace-map (Bug#8948).
1423         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1425         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1426         since they are now in query-replace-map.
1428         * window.el (scroll-other-window-down): Make the arg optional.
1430 2012-09-09  Chong Yidong  <cyd@gnu.org>
1432         * files.el (hack-local-variables-confirm): Use quit-window to kill
1433         the *Local Variables* buffer.
1435 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1437         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1438         not just expect to be at its beginning.  Adjust callees.
1439         Succeed when do-end block has no space before the pipe character.
1440         (ruby-brace-to-do-end): When the original block is one-liner,
1441         convert to multiline.  Reindent the result.
1443 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
1445         * register.el (register): New group.
1446         (register-separator): New user option.
1447         (increment-register): Route it to `append-to-register', if
1448         register contains text.  Implication is that `C-x r +' can now be
1449         used for appending to a text register (bug#12217).
1450         (append-to-register, prepend-to-register): Add separator based on
1451         `register-separator.
1453 2012-09-08  Alan Mackenzie  <acm@muc.de>
1455         AWK Mode: make auto-newline work when there's "==" in the pattern.
1456         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1457         correctly.
1458         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1459         Test more rigorously for "=" token.
1461 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1463         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
1464         Only fail when reached LIMIT.
1466 2012-09-08  Chong Yidong  <cyd@gnu.org>
1468         * dired.el (dired-mode-map): Don't bind M-=.
1470         * dired-aux.el (dired-diff): Use backup file as default.
1472 2012-09-08  Drew Adams  <drew.adams@oracle.com>
1474         * subr.el (add-to-history): Fix delete usage (Bug#12314).
1476 2012-09-08  Chong Yidong  <cyd@gnu.org>
1478         * subr.el (syntax-after, syntax-class): Doc fix.
1480 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
1482         * window.el (display-buffer-in-previous-window): New buffer
1483         display action function.
1485         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
1486         (debugger-previous-window): New variable.
1487         (debug): Rewrite using display-buffer-in-previous-window,
1488         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
1490 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1492         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
1494 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
1496         * progmodes/python.el (python-shell-send-string):
1497         When default-directory is remote, create temp file on remote
1498         filesystem.
1499         (python-shell-send-file): When file is remote, pass local view of
1500         file paths to remote Python interpreter.  (Bug#12340)
1502 2012-09-07  Chong Yidong  <cyd@gnu.org>
1504         * window.el (switch-to-buffer): Doc fix (Bug#12181).
1506         * files.el (after-find-file): Don't fail on a read-only buffer if
1507         require-final-newline is `visit' or `visit-save' (Bug#11156).
1509         * subr.el (read-char-choice): Allow quitting via ESC ESC.
1511         * userlock.el (ask-user-about-supersession-threat):
1512         Use read-char-choice (Bug#12093).
1514 2012-09-07  Chong Yidong  <cyd@gnu.org>
1516         * subr.el (buffer-narrowed-p): New function.
1518         * ses.el (ses-widen):
1519         * simple.el (count-words--buffer-message):
1520         * net/browse-url.el (browse-url-of-buffer): Use it
1522         * simple.el (count-words-region): Don't signal an error if there
1523         is a non-nil prefix arg and the mark is not set.
1525         * help.el (describe-key-briefly): Allow the message to be seen
1526         when invoked from the minibuffer (Bug#7014).
1528 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1530         * progmodes/ruby-mode.el (ruby-end-of-defun)
1531         (ruby-beginning-of-defun): Simplify, allow indentation before
1532         block beginning and end keywords.
1533         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
1534         (ruby-end-of-defun): Expect that the point is at the beginning of
1535         the defun.
1537 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1539         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
1540         (bug#12367).
1541         (cl--make-usage-args): Strip _ from argument names.
1543 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1545         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
1546         obsolete alias speedbar-key-map.
1547         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
1548         (vhdl-index-menu-init): Don't use obsolete variable
1549         font-lock-maximum-size.
1551 2012-09-06  Chong Yidong  <cyd@gnu.org>
1553         * frame.el (window-system-version): Mark as obsolete.
1555         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
1556         of obsolete variable speedbar-key-map.
1558 2012-09-06  Juri Linkov  <juri@jurta.org>
1560         * replace.el (replace-lax-whitespace): New defcustom.
1561         (query-replace, query-replace-regexp, query-replace-regexp-eval)
1562         (replace-string, replace-regexp): Mention it in docstrings.
1563         (perform-replace, replace-highlight): Let-bind
1564         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
1565         to the values of replace-lax-whitespace and regexp-flag.
1566         Don't let-bind search-whitespace-regexp.  (Bug#10885)
1568         * isearch.el (isearch-query-replace): Let-bind
1569         replace-lax-whitespace instead of let-binding
1570         replace-search-function and replace-re-search-function.
1571         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
1572         and isearch-regexp-lax-whitespace to lazy-highlight variables.
1573         (isearch-toggle-symbol): Set isearch-regexp to nil
1574         in isearch-word mode (like in isearch-toggle-word).
1576 2012-09-06  Juri Linkov  <juri@jurta.org>
1578         * replace.el (replace-search-function)
1579         (replace-re-search-function): Set default values to nil.
1580         (perform-replace): Let-bind isearch-related variables based on
1581         replace-related values, call `isearch-search-fun' and let-bind
1582         the result to `search-function'.  Remove code that sets
1583         `search-function' and `search-string' separately for
1584         `delimited-flag'.
1585         (replace-highlight): Add new argument `delimited-flag' and
1586         rename other arguments to the names used in `perform-replace'.
1587         Let-bind `isearch-word' to the argument `delimited-flag'.
1588         (Bug#10885, bug#10887)
1590 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
1592         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
1593         ruby-beginning-of-indent, simplify, allow all keywords to have
1594         indentation before them.
1595         (ruby-beginning-of-indent): Adjust for above.  Search until the
1596         found point is not inside a string or comment.
1597         (ruby-font-lock-keywords): Allow symbols to start with "@"
1598         character, give them higher priority than variables.
1599         (ruby-syntax-propertize-function)
1600         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
1601         matchers.  Expression expansions are not comments when inside a
1602         string, and there comment syntax status is irrelevant.
1603         (ruby-match-expression-expansion): New function.  Check that
1604         expression expansion is inside a string, and it's not escaped.
1605         (ruby-font-lock-keywords): Use it.
1607 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
1609         * help.el (temp-buffer-max-height): New default value.
1610         (temp-buffer-resize-frames): New option.
1611         (resize-temp-buffer-window): Optionally resize frame.
1613         * window.el (fit-frame-to-buffer-bottom-margin): New option.
1614         (fit-frame-to-buffer): New function.
1616 2012-09-05  Glenn Morris  <rgm@gnu.org>
1618         * emulation/cua-rect.el (cua--init-rectangles):
1619         * textmodes/picture.el (picture-mode-map):
1620         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
1621         like forward-char and backward-char.  (Bug#12317)
1623 2012-09-05  Leo Liu  <sdl.web@gmail.com>
1625         * progmodes/flymake.el (flymake-warning-re): New variable.
1626         (flymake-parse-line): Use it.
1628 2012-09-05  Glenn Morris  <rgm@gnu.org>
1630         * calendar/holidays.el (holiday-christian-holidays):
1631         Rename an entry.  (Bug#12289)
1633 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
1636         (bug#12222).
1638 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1640         * loadup.el: Load macroexp.  Remove hack.
1641         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
1642         (macroexp--expand-all): Use it to get better warnings.
1643         (macroexp--backtrace, macroexp--trim-backtrace-frame)
1644         (internal-macroexpand-for-load): New functions.
1645         (macroexp--pending-eager-loads): New var.
1646         (emacs-startup-hook): New hack to replace one in loadup.el.
1647         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
1648         (cl--compiler-macro-cXXr): Move to top, before they can be used.
1649         (cl-psetf): Simplify.
1650         (cl-defstruct): Add indent rule.
1652 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
1654         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
1655         over `user-mail-address' for the SMTP MAIL FROM envelope.
1656         (smtpmail-via-smtp): Ditto.
1658 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
1660         * progmodes/ruby-mode.el: Clean up keybindings.
1661         (ruby-mode-map): Don't bind ruby-electric-brace,
1662         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
1663         backward-kill-word, reindent-then-newline-and-indent.
1664         (ruby-mark-defun): Remove.
1665         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
1666         (ruby-mode): Set local beginning-of-defun-function and
1667         end-of-defun-function values.
1669 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
1671         * window.el (temp-buffer-window-setup-hook)
1672         (temp-buffer-window-show-hook): New hooks.
1673         (temp-buffer-window-setup, temp-buffer-window-show)
1674         (with-temp-buffer-window): New functions.
1675         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
1676         (special-display-popup-frame): Make sure the window used shows BUFFER.
1678         * help.el (temp-buffer-resize-mode): Fix doc-string.
1679         (resize-temp-buffer-window): New optional argument WINDOW.
1681         * files.el (recover-file, save-buffers-kill-emacs):
1682         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
1684 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
1686         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
1687         remote definition of `default-directory', ensure we can connect.
1689 2012-09-02  Juri Linkov  <juri@jurta.org>
1691         Toggle whitespace matching mode with M-s SPC.
1692         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
1694         * isearch.el (search-whitespace-regexp): Doc fix.
1695         Remove cons cell customization.
1696         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
1697         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
1698         New variables.
1699         (isearch-forward, isearch-forward-regexp): Doc fix.
1700         (isearch-toggle-lax-whitespace): New command.
1701         (search-forward-lax-whitespace, search-backward-lax-whitespace)
1702         (re-search-forward-lax-whitespace)
1703         (re-search-backward-lax-whitespace): New functions.
1704         (isearch-whitespace-regexp): Remove function.
1705         (isearch-query-replace): Let-bind replace-search-function and
1706         replace-re-search-function.
1707         (isearch-occur): Let-bind search-spaces-regexp according to the
1708         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
1709         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
1710         condition for C-q SPC.
1711         (isearch-search-fun-default): Use new functions mentioned above.
1712         (isearch-search-forward, isearch-search-backward): Remove functions.
1713         (isearch-search): Don't let-bind search-spaces-regexp.
1714         (isearch-lazy-highlight-space-regexp): Remove variable.
1715         (isearch-lazy-highlight-lax-whitespace)
1716         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
1717         (isearch-lazy-highlight-new-loop): Use them.
1718         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
1720 2012-09-02  Chong Yidong  <cyd@gnu.org>
1722         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
1724 2012-09-02  Glenn Morris  <rgm@gnu.org>
1726         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
1728 2012-09-01  Glenn Morris  <rgm@gnu.org>
1730         * term.el: Tidy up menu definitions.
1731         (term-mode-map): Use easymenu for In/Out, Complete menus.
1732         (term-pager-break-map): Initialize in the defvar.
1733         (term-terminal-menu, term-signals-menu): Define with easymenu.
1734         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
1735         (term-pager-menu): New, extracted from term-process-pager.
1736         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
1737         (term-update-mode-line): Propertize line/char and page items.
1738         (term-process-pager): Move keymap initialization elsewhere.
1740 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
1742         * window.el (switch-to-prev-buffer): Handle additional values of
1743         BURY-OR-KILL argument.  Don't switch in minibuffer window.
1744         (switch-to-next-buffer): Don't switch in minibuffer window.
1745         (quit-restore-window): New function based on quit-window.
1746         Handle additional values of former KILL argument.
1747         (quit-window): Call quit-restore-window with appropriate
1748         interpretation of KILL argument.
1749         (display-buffer-below-selected): New buffer display action
1750         function.
1752 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1754         * minibuffer.el (completion-at-point-functions): Complete docstring
1755         (bug#12254).
1757 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1759         Better seed support for (random).
1760         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1761         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1762         * play/mpuz.el, play/tetris.el, play/zone.el:
1763         * calc/calc-comb.el (math-init-random-base):
1764         * play/blackbox.el (bb-init-board):
1765         * play/life.el (life):
1766         * server.el (server-use-tcp):
1767         * type-break.el (type-break):
1768         Remove unnecessary call to (random t).
1769         * net/sasl.el (sasl-unique-id-function):
1770         Change (random t) to (random), now that the latter is more random.
1771         * play/life.el (life-initialized): Remove no-longer-needed var.
1773 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
1775         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1776         Consider frame's buffer predicate when choosing the buffer.
1777         (Bug#12081)
1779 2012-08-30  Richard Stallman  <rms@gnu.org>
1781         * simple.el (special-mode-map): Delete binding for `z'.
1783 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
1785         * progmodes/compile.el (compilation-always-kill): Doc fix.
1787 2012-08-30  Chong Yidong  <cyd@gnu.org>
1789         * window.el (display-buffer-reuse-frames): Make the obsolescence
1790         message more informative.
1792 2012-08-30  Glenn Morris  <rgm@gnu.org>
1794         * paren.el (show-paren-delay):
1795         Add a :set function.  Doc fix.  (Bug#12297)
1797 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
1799         * progmodes/compile.el (compilation-always-kill): New var.
1800         (compilation-start): Use it.
1802 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1804         * simple.el (read-only-mode): Move from files.el for bootstrapping.
1805         * files.el (read-only-mode): Move to simple.el.
1807         * files.el (read-only-mode): New minor mode.
1808         (toggle-read-only): Use it and mark obsolete.
1809         (find-file--read-only):
1810         * vc/vc.el (vc-next-action, vc-checkout):
1811         * vc/vc-cvs.el (vc-cvs-checkout):
1812         * obsolete/vc-mcvs.el (vc-mcvs-update):
1813         * ffap.el (ffap--toggle-read-only): Update callers.
1815 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
1817         * eshell/esh-ext.el (eshell-external-command): Do not examine
1818         remote shell scripts.
1819         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1821         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1822         "/usr/local/sbin".
1824 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1826         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1828 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1830         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1831         completion-at-point.  (Bug#12220)
1833         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1835         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1837 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1840         be buffer-local; add delete-trailing-whitespace (bug#12259).
1842 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1844         * progmodes/hideif.el (hif-compress-define-list):
1845         Fix typo.  (Bug#11951)
1847 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1849         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1850         buffer local setting.
1852         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1853         rcirc-encode-coding-system.
1855 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1857         * net/rcirc.el (rcirc-split-message): New function.
1858         (rcirc-send-message): Use it.  (Bug#12051)
1860 2012-08-28  Juri Linkov  <juri@jurta.org>
1862         * info.el (Info-fontify-node): Hide empty lines at the end of
1863         the node.  (Bug#12272)
1865 2012-08-27  Drew Adams  <drew.adams@oracle.com>
1867         * dired.el (dired-pop-to-buffer): Make window start at beginning
1868         of buffer (Bug#12281).
1870 2012-08-26  Chong Yidong  <cyd@gnu.org>
1872         * window.el (special-display-regexps, special-display-frame-alist)
1873         (special-display-buffer-names, special-display-function)
1874         (display-buffer-reuse-frames): Mark as obsolete.
1876         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1878         * help.el (help-print-return-message): Don't treat
1879         display-buffer-reuse-frames specially.
1881 2012-08-26  Chong Yidong  <cyd@gnu.org>
1883         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1884         New variable, replacing gdb-frame-parameters.
1885         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1886         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1887         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1888         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1889         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
1890         the functions directly with gdb-display-buffer-other-frame-action.
1891         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1892         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1893         (gdb-display-stack-buffer, gdb-display-locals-buffer)
1894         (gdb-display-registers-buffer): Define directly.
1895         (def-gdb-display-buffer): Macro deleted.
1896         (gdb-display-buffer): Remove second and third args, callers don't
1897         use them.  Defer to the default display-buffer behavior, apart
1898         from making windows dedicated.
1899         (gdb-setup-windows): Don't call display-buffer unnecessarily.
1901         * progmodes/gud.el (gud-display-line): Just use display-buffer.
1903         * window.el (display-buffer-pop-up-frame): Handle a
1904         pop-up-frame-parameters alist entry.
1905         (display-buffer): Document it.
1907 2012-08-26  Chong Yidong  <cyd@gnu.org>
1909         * isearch.el (search-whitespace-regexp): Make string and nil
1910         values apply to both ordinary and regexp search.  Allow a cons
1911         cell value to distinguish between the two.
1912         (isearch-whitespace-regexp, isearch-search-forward)
1913         (isearch-search-backward): New functions.
1914         (isearch-occur, isearch-search-fun-default, isearch-search)
1915         (isearch-lazy-highlight-new-loop): Use them.
1916         (isearch-forward, isearch-forward-regexp): Doc fix.
1918 2012-08-26  Chong Yidong  <cyd@gnu.org>
1920         * faces.el (help-argument-name): Always inherit from italic
1921         (Bug#12213).
1923 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
1925         * window.el (window--even-window-heights): Even heights when
1926         WINDOW and the selected window form a vertical combination.
1927         (display-buffer-use-some-window): Provide that window used gets
1928         sized back by quit-window.  (Bug#11880) and (Bug#12091)
1930 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1932         Fix file time stamp problem with bzr and CVS (Bug#12001).
1933         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1934         in the file's time stamp, since the version control system loses
1935         that information.
1937 2012-08-22  Juri Linkov  <juri@jurta.org>
1939         * info.el (Info-fontify-node): Hide the suffix of the
1940         Info file name in the header line.  (Bug#12187)
1942 2012-08-22  Glenn Morris  <rgm@gnu.org>
1944         * calendar/cal-tex.el (cal-tex-weekly-common):
1945         Restore leading blank page.
1947 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1949         * misc.el (forward-to-word, backward-to-word): Activate or extend
1950         the region under `shift-select-mode'.  (Bug#12231)
1952 2012-08-22  Bastien Guerry  <bzg@gnu.org>
1954         * progmodes/executable.el (executable-prefix): Set to "#!" instead
1955         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
1956         gives details on why the space is never needed.
1958 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1960         * window.el (walk-window-tree, window-with-parameter):
1961         New optional argument MINIBUF to control whether these functions
1962         should run on the minibuffer window.
1963         (window-at-side-list): Don't operate on minibuffer window.
1964         (window-in-direction): Simplify and rewrite doc-string.
1965         (window--size-ignore): Rename to window--size-ignore-p.
1966         Update callers.
1967         (display-buffer-in-atom-window, window--major-non-side-window)
1968         (window--major-side-window, display-buffer-in-major-side-window)
1969         (delete-side-window, display-buffer-in-side-window):
1970         New functions.
1971         (window--side-check, window-deletable-p, delete-window)
1972         (delete-other-windows, split-window): Handle side windows and
1973         atomic windows appropriately.
1974         (window--display-buffer): Call display-buffer-record-window also
1975         when the window buffer did not change.
1977 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
1979         * help-fns.el (help-fns--key-bindings):
1980         Abbreviate non-symbol remap targets.  (Bug#12174)
1982 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1984         * dired.el (dired-mark-remembered): Don't clobber point.
1985         (Bug#11795)
1987 2012-08-22  Glenn Morris  <rgm@gnu.org>
1989         * progmodes/bug-reference.el (bug-reference): New custom group.
1990         (bug-reference-bug-regexp): Make it a defcustom.
1992 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
1994         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1995         (js-paren-indent-offset, js-square-indent-offset)
1996         (js-curly-indent-offset): Add :safe (Bug#12257).
1998 2012-08-22  Edward O'Connor  <hober0@gmail.com>
2000         * json.el (json-key-format): Add error properties.
2001         (json-encode-key): New function.
2002         (json-encode-hash-table, json-encode-alist, json-encode-plist):
2003         Use json-encode-key.
2005 2012-08-22  Glenn Morris  <rgm@gnu.org>
2007         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2008         (cal-tex-leftday, cal-tex-rightday): Remove functions.
2009         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2010         Update for above change.
2012 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
2014         * cus-face.el (custom-face-attributes): Fix customize type for the
2015         :underline attribute.  (Bug#11805)
2017 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
2019         * window.el (window-point-1, set-window-point-1): Remove.
2020         (window-in-direction, record-window-buffer)
2021         (set-window-buffer-start-and-point, split-window-below)
2022         (window--state-get-1, display-buffer-record-window):
2023         Replace calls to window-point-1 and set-window-point-1 by calls to
2024         window-point and set-window-point respectively.
2026 2012-08-21  Glenn Morris  <rgm@gnu.org>
2028         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2029         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2030         Use it.
2032         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2033         (cal-tex-shortday): New function.
2034         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2035         (cal-tex-cursor-filofax-daily): Use the above.
2037         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2038         New functions.
2039         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2040         (cal-tex-cursor-filofax-week): Use them.
2042         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2043         New constants.
2044         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2045         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2047         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2048         (cal-tex-end-document): Don't rely on buffer name.
2050         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2051         Use cal-tex-vspace.
2052         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2053         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2054         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2055         Use cal-tex-arg.
2057         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2058         (cal-tex-cursor-week, cal-tex-cursor-week2)
2059         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2060         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2061         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2062         (cal-tex-insert-preamble, cal-tex-b-document)
2063         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2064         Improve cal-tex-cmd usage.
2066         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2067         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2068         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2069         (cal-tex-weekly-paper): New function.
2070         (cal-tex-cursor-week, cal-tex-cursor-week2)
2071         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2072         (cal-tex-cursor-day): Use it.
2074         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2075         (cal-tex-cursor-filofax-week): Remove leading blank page.
2077         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2078         Add autoload cookie.  For now at least, don't use color, since
2079         no other cal-tex function does.
2081         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2082         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2083         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2085 2012-08-21  Juri Linkov  <juri@jurta.org>
2087         * info.el (Info-file-attributes): New variable.
2088         (info-insert-file-contents): Add file attributes to
2089         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
2090         `Info-toc-nodes' when previous modtime of the Info file is less
2091         than new modtime.
2092         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2093         of info.el.  (Bug#12230)
2095 2012-08-20  Glenn Morris  <rgm@gnu.org>
2097         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2098         * calendar/holidays.el (calendar-holiday-list):
2099         Report errors with display-warning rather than beep'n'sleep.
2101 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
2103         * net/tramp.el (tramp-accept-process-output): Accept only output
2104         from PROC.  Otherwise, process filters and sentinels might be
2105         confused.  (Bug#12145)
2107 2012-08-20  Chong Yidong  <cyd@gnu.org>
2109         * descr-text.el (describe-text-properties-1): Use overlays-in to
2110         report on empty overlays (Bug#3322).
2112 2012-08-20  Glenn Morris  <rgm@gnu.org>
2114         * mail/rmailout.el (rmail-output-read-file-name):
2115         Trap and report errors in rmail-output-file-alist elements.
2117         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2118         since most non-font-lock faces are not also variables).
2120 2012-08-20  Edward Reingold  <reingold@iit.edu>
2122         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2123         New function.  (Bug12160)
2125 2012-08-19  Glenn Morris  <rgm@gnu.org>
2127         * mail/rmailout.el (rmail-output-read-file-name):
2128         Fix previous change (when the alist is nil or does not match).
2130 2012-08-19  Chong Yidong  <cyd@gnu.org>
2132         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2133         (Bug#12228).
2135 2012-08-18  Chong Yidong  <cyd@gnu.org>
2137         * simple.el (yank-handled-properties): New defcustom.
2138         (yank-excluded-properties): Add font-lock-face and category.
2139         (yank): Doc fix.
2141         * subr.el (remove-yank-excluded-properties):
2142         Obey yank-handled-properties.  The special handling of font-lock-face
2143         and category is now done this way, instead of being hard-coded.
2144         (insert-for-yank-1): Remove font-lock-face handling.
2145         (yank-handle-font-lock-face-property)
2146         (yank-handle-category-property): New function.
2148 2012-08-17  Glenn Morris  <rgm@gnu.org>
2150         * mail/rmailout.el (rmail-output-read-file-name):
2151         Check rmail-output-file-alist against the full message body
2152         in the correct rmail buffer.  (Bug#12214)
2154 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
2156         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2157         Eliminate superfluous prompt.  (Bug#12203)
2159 2012-08-17  Chong Yidong  <cyd@gnu.org>
2161         * mouse.el (mouse-appearance-menu): If x-select-font returns a
2162         font spec, set the font directly (Bug#3228).
2164 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
2166         * window.el (delete-window): Fix last fix.
2168 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
2170         * window.el (window-valid-p): Move to window.c.
2171         (window-child, window-child-count, window-last-child)
2172         (window-normalize-window, window-combined-p)
2173         (window-combinations, window-atom-root, window-min-size)
2174         (window-sizable, window-sizable-p, window-size-fixed-p)
2175         (window-min-delta, window-max-delta, window--resizable)
2176         (window--resizable-p, window-resizable, window-total-size)
2177         (window-full-height-p, window-full-width-p, window-body-size)
2178         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2179         (minimize-window, window-deletable-p, delete-window)
2180         (delete-other-windows, set-window-buffer-start-and-point)
2181         (next-buffer, previous-buffer, split-window, balance-windows-2)
2182         (set-window-text-height, window-buffer-height)
2183         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2184         (truncated-partial-width-window-p): Minor code adjustments.
2185         In doc-strings state whether the argument window has to denote a
2186         live, valid or any window.
2188 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
2190         * progmodes/subword.el (subword-forward-function)
2191         (subword-backward-function, subword-forward-regexp)
2192         (subword-backward-regexp): New variables.
2193         (subword-forward, subword-forward-internal, subword-backward-internal):
2194         Use new variables, eg so that different "word" definitions
2195         can be easily used.  (Bug#11411)
2197 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2199         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2200         for composite selectors.
2201         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2202         operation just because we can't find a previous revision.
2204 2012-08-15  Chong Yidong  <cyd@gnu.org>
2206         * frame.el (set-frame-font): Accept font objects.
2208 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2210         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2212 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
2214         * man.el (Man-overstrike-face, Man-underline-face)
2215         (Man-reverse-face): Remove variables.
2216         (Man-overstrike, Man-underline, Man-reverse): New faces.
2217         (Man-fontify-manpage): Use them instead of the variables.
2218         (Man-cleanup-manpage): Comment change.
2219         (Man-ansi-color-map): New variable.
2220         (Man-fontify-manpage): Use it.
2221         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2223         Implement ANSI SGR parameters 22-27 (bug#12146).
2224         * ansi-color.el (ansi-colors): Doc fix.
2225         (ansi-color-context, ansi-color-context-region): Doc fix.
2226         (ansi-color--find-face): New function.
2227         (ansi-color-apply, ansi-color-apply-on-region): Use it.
2228         Rename the local variable `face' to `codes' since it is now a list of
2229         ansi codes.  Doc fix.
2230         (ansi-color-get-face): Remove.
2231         (ansi-color-parse-sequence): New function, derived from
2232         ansi-color-get-face.
2233         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
2234         codes 22-27.
2236 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2238         * subr.el (read-passwd): Allow use from a minibuffer.
2240 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
2242         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2243         inside comments and strings as identifiers.
2245         * progmodes/gud.el (gud-tooltip-print-command): Quote the
2246         expression to evaluate.  This allows to evaluate expressions with
2247         embedded whitespace.
2248         (gud-tooltip-tips): Add a blank before the newline in the
2249         message-box text, for the benefit of message-box emulation on
2250         MS-Windows.
2252         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2253         messages from GDB, pop them up in a tooltip to give feedback to
2254         user.
2255         (gdb-tooltip-print-1): Quote the expression to evaluate.
2256         This allows to evaluate expressions with embedded whitespace.
2257         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2258         if the TTY name is nil or empty (which happens when communicating
2259         with the inferior via pipes, e.g. on MS-Windows).
2260         (gdb-internals): If GDB sends a "&\n" empty debugging message,
2261         don't send that to the GUD buffer.
2263 2012-08-14  Glenn Morris  <rgm@gnu.org>
2265         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2266         Optimize away setq-default with no args, as for setq.  (Bug#12195)
2268 2012-08-14  Chong Yidong  <cyd@gnu.org>
2270         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2272         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2273         (Bug#12085).
2275 2012-08-14  Glenn Morris  <rgm@gnu.org>
2277         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2279 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
2281         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2282         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2283         Use cached shell name.
2285 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2287         * progmodes/python.el (python-shell-send-string):
2288         (python-shell-send-setup-code): Do not use `format' with `message'.
2290 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
2292         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2293         (ruby-percent-literal-beg-re): New constant.
2294         (ruby-syntax-general-delimiters-goto-beg): Rename to
2295         `ruby-syntax-enclosing-percent-literal', improve literal type check.
2296         (ruby-syntax-propertize-general-delimiters): Rename to
2297         `ruby-syntax-propertize-percent-literal', it's a shorter and more
2298         popular term.  Adjust comments everywhere.
2299         (ruby-syntax-propertize-percent-literal): Only propertize when not
2300         inside a simple string or comment.  When the literal is unclosed,
2301         leave the text after it unpropertized.
2302         (ruby-syntax-methods-before-regexp): New constant.
2303         (ruby-syntax-propertize-function): Use it to recognize regexps.
2304         Don't look at the text after regexp, just use the whitelist.
2306 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
2308         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2309         non-nil always load the compiled file if it exists.  (Bug#12197)
2311 2012-08-14  Chong Yidong  <cyd@gnu.org>
2313         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2314         (hi-lock-set-pattern): When deciding whether to use font lock or
2315         overlays, look at font-lock-mode instead of font-lock-fontified
2316         (Bug#12168).
2317         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2318         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2320 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
2322         * subr.el (internal--after-with-selected-window): Fix typo
2323         (Bug#12193).
2325 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2327         Use `completion-table-dynamic' for completion functions.
2328         * progmodes/python.el
2329         (python-shell-completion--do-completion-at-point)
2330         (python-shell-completion--get-completions):
2331         Remove functions.
2332         (python-shell-completion-complete-at-point): New function.
2333         (python-completion-complete-at-point): Use it.
2335 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
2337         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2338         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2340 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2342         * subr.el (function-get): Refine `autoload' arg so it can also
2343         autoload functions for gv.el (bug#12191).
2344         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2345         autoloads macros.
2347         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2348         Prefer pcase-let over destructuring-bind.
2349         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2350         Also, remove whitespace as we go, rather than after accumulating the
2351         various places.
2353         * subr.el (internal--before-with-selected-window)
2354         (internal--after-with-selected-window): Fix typo seleted->selected.
2355         (with-selected-window): Adjust callers.
2356         Reported by Dmitry Gutov <dgutov@yandex.ru>.
2358 2012-08-13  Bastien Guerry  <bzg@gnu.org>
2360         * window.el (special-display-popup-frame): Minor docstring
2361         enhancement.  (Bug#12172)
2363 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
2365         * tar-mode.el (tar-header-data-end): Only ignore size for files of
2366         type 1-6.
2367         (tar-header-block-summarize, tar-get-descriptor): Handle pax
2368         extended headers.
2370         * files.el (hack-local-variables-filter): Remove useless eval.
2372 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
2374         * subr.el (with-selected-window): Fix last change.
2376 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2378         * subr.el (internal--before-with-seleted-window)
2379         (internal--after-with-seleted-window): New functions.
2380         (with-selected-window): Use them, to replace dependency on
2381         tty-top-frame.
2383 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2385         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2386         binding for `newline'.
2387         (ruby-move-to-block): When moving backward, stop at block opening,
2388         not indentation.
2389         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2390         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2391         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2392         `ruby-toggle-block'.
2394 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2396         * ibuffer.el (ibuffer-do-toggle-read-only):
2397         * dired.el (dired-toggle-read-only):
2398         * buff-menu.el (Buffer-menu-toggle-read-only):
2399         * bindings.el (mode-line-toggle-read-only):
2400         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2402 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
2404         * descr-text.el (describe-char): Put the overlays over the
2405         "displayed as" character.
2407 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
2409         * calc/calc-units.el (math-default-units-table): Give an
2410         initial value.
2411         (math-put-default-units): Add options to put composite units and
2412         unit systems in the default units table.
2413         (calc-convert-units): Send composite units to
2414         `math-put-default-units' when appropriate.
2416 2012-08-11  Glenn Morris  <rgm@gnu.org>
2418         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2420         * tutorial.el (help-with-tutorial):
2421         * emacs-lisp/copyright.el (copyright-update-directory):
2422         * emacs-lisp/autoload.el (autoload-find-generated-file)
2423         (autoload-find-file): Disable local eval: (for insurance).
2425         * files.el (hack-local-variables-filter): If an eval: form is not
2426         known to be safe, and enable-local-variables is :safe, then ignore
2427         the form totally, as is done for non-eval forms.  (Bug#12155)
2428         This is CVE-2012-3479.
2430 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2432         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2433         (rx-form): Simplify.
2435 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
2437         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2438         ?, _, and : are symbol constituents, ! is not (but kinda should be).
2439         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2440         (ruby-syntax-propertize-function): Adjust for changes in
2441         `ruby-syntax-propertize-heredoc'.
2443 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
2445         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2446         binding (use `M-;' instead).
2447         (ruby-singleton-class-p): New function.
2448         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2450 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2452         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2454 2012-08-10  Chong Yidong  <cyd@gnu.org>
2456         * progmodes/python.el (python-shell-get-process-name): Don't mess
2457         with same-window-buffer-names.
2459         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2460         (eshell-remove-from-window-buffer-names): Make obsolete.
2461         (eshell-buffer-name, eshell-unload-hook): Don't use them.
2462         (eshell): Just use pop-to-buffer-same-window instead.
2464 2012-08-10  Chong Yidong  <cyd@gnu.org>
2466         * bindings.el: Bind M-= back to count-words-region.
2468         * simple.el (count-words-region): Accept a prefix arg for acting
2469         on the entire buffer.
2470         (count-words--buffer-message): New helper function.
2472 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2474         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
2475         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
2476         (event-start, event-end): Use posn-at-point to return a more
2477         informative posn.
2478         (posnp): New function.
2479         * mouse.el (popup-menu-normalize-position): Use it.
2481 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
2483         * mouse.el (popup-menu-normalize-position): New function.
2484         (popup-menu): Use `popup-menu-normalize-position' to normalize
2485         the form for POSITION argument.
2487         * term/x-win.el (x-menu-bar-open):
2488         Use the value returend from (posn-at-point) as position
2489         passed to `popup-menu'.
2491 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2493         * calc/calccomp.el (math-compose-expr): Add extra argument
2494         indicating that parentheses should be put around products in
2495         denominators.  Give multiplication precedence over division during
2496         composition.
2498 2012-08-09  Chong Yidong  <cyd@gnu.org>
2500         * man.el (Man-switches, Man-sed-command, Man-awk-command)
2501         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
2502         (Man-untabify-command, manual-program): Convert to defcustom
2503         (Bug#10429).
2505         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
2507         * descr-text.el (describe-char): Don't insert extra newlines
2508         (Bug#10127).
2510         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
2511         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
2513         * align.el (align-region): Delete temporary markers (Bug#10047).
2514         Plus some code cleanups.
2516 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2518         * progmodes/python.el (python-pdbtrack-tracked-buffer)
2519         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
2520         (python-shell-internal-last-output): Use make-local-variable
2521         instead of make-variable-buffer-local.
2523 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
2525         * progmodes/python.el: Enhancements to forward-sexp.
2526         (python-nav-forward-sexp): Rename from
2527         python-nav-forward-sexp-function.
2528         (python-nav--forward-sexp, python-nav--backward-sexp):
2529         New functions.
2531 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
2533         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
2534         modes and simplification modes.
2536 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2538         * delsel.el (delete-selection-pre-hook): Don't propagate the
2539         file-supersession signals (bug#12161).
2541 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2543         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
2544         (cl-map-extents): Add compatibility aliases (bug#12135).
2546 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
2548         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
2549         tests by `ignore-error'.
2550         (tramp-find-shell): Open also a new shell, when cache is already
2551         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
2553 2012-08-08  Juri Linkov  <juri@jurta.org>
2555         * bookmark.el: Add `defaults' property to the bookmark record.
2556         (bookmark-current-buffer): Doc fix.
2557         (bookmark-make-record): Add `defaults' property with default values
2558         to the bookmark record.
2559         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
2560         with `bookmark-insert-current-bookmark'.
2561         (bookmark-set): Get `defaults' property from the bookmark record
2562         and use it in `read-from-minibuffer'.
2563         (bookmark-insert-current-bookmark): Remove function.
2565         * info.el (Info-bookmark-make-record): Add `defaults' property
2566         with values of canonical Info node name, the current Info file
2567         name and the current Info node name.  (Bug#12107)
2569 2012-08-08  Juri Linkov  <juri@jurta.org>
2571         * files.el (basic-save-buffer): Use `buffer-name' as the default
2572         of `read-file-name' when buffer is not visiting a file (bug#12128).
2574 2012-08-08  Juri Linkov  <juri@jurta.org>
2576         * info.el (Info-isearch-search): Doc fix.
2577         (Info-search): Change search-failed message from "initial node" to
2578         "end of node" (bug#12078).
2579         (Info-isearch-search): Change `isearch-string-state' to
2580         `isearch--state-string'.
2582 2012-08-08  Glenn Morris  <rgm@gnu.org>
2584         * language/persian.el: Remove file.
2585         * language/misc-lang.el: Move unique part of persian.el here.
2586         * loadup.el: Remove language/persian.
2588 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
2590         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
2592 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
2594         * progmodes/python.el Fixed defsubst warning.
2595         (python-syntax-context) Rename from python-info-ppss-context.
2596         (python-syntax-context-type): Rename from
2597         python-info-ppss-context-type.
2598         (python-syntax-comment-or-string-p): Rename from
2599         python-info-ppss-comment-or-string-p.
2601 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
2603         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
2605 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
2607         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
2608         a defcustom that is quoted with backquote.
2610         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
2611         Fix handling of interactive spec when the body uses return.
2612         (math-do-arg-check, math-define-function-body): Use backquote forms.
2613         * calc/calc-ext.el (math-defcache): Likewise.
2614         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
2615         * allout.el (allout-new-exposure): Likewise.
2616         * calc/calcalg2.el (math-tracing-integral): Likewise.
2617         * info.el (Info-last-menu-item): Likewise.
2618         * emulation/vip.el (vip-loop): Likewise.
2619         * textmodes/artist.el (artist-funcall): Likewise.
2620         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
2621         Construct menu-item directly.
2623         * progmodes/autoconf.el (font-lock-syntactic-keywords):
2624         Don't declare.
2626 2012-08-07  Chong Yidong  <cyd@gnu.org>
2628         * simple.el (deactivate-mark): Preserve text properties when
2629         saving the primary selection (Bug#8384).
2631 2012-08-07  Kevin Ryde  <user42@zip.com.au>
2633         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
2634         (woman-parse-numeric-value): On a bad .IP line, issue a warning
2635         and continue processing (Bug#12110).
2637 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2639         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
2640         syntax-propertize-function (bug#10095).
2642 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * help-fns.el (help-fns--key-bindings, help-fns--signature)
2645         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
2646         describe-function-1.
2647         (describe-function-1): Use them.  Move compiler macro after sig.
2648         (help-fns--compiler-macro): Use function-get.  Assume we're already in
2649         standard-output.  Adjust layout to new call order.
2651         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
2652         re-binding a symbol that has a symbol-macro (bug#12119).
2654 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
2656         * language/persian.el: New file.  (Bug#11812)
2657         * loadup.el: Add language/persian.el.
2659 2012-08-06  Chong Yidong  <cyd@gnu.org>
2661         * window.el (window--maybe-raise-frame): New function.
2662         (window--display-buffer): Split off from here.
2663         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2664         (display-buffer-pop-up-window, display-buffer-use-some-window):
2665         Obey an inhibit-switch-frame action alist entry.
2666         (display-buffer): Update doc.
2668         * replace.el (occur-after-change-function): Avoid losing focus by
2669         using the inhibit-switch-frame display parameter (Bug#12139).
2671 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
2673         Make internal shell process buffer names start with space.
2674         * progmodes/python.el (python-shell-make-comint): Add optional
2675         argument INTERNAL.
2676         (run-python-internal): Use it.
2677         (python-shell-internal-get-or-create-process): Check for new
2678         internal buffer names.
2680 2012-08-06  Glenn Morris  <rgm@gnu.org>
2682         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
2683         Do less getting and setting of environment variables.
2685 2012-08-05  Chong Yidong  <cyd@gnu.org>
2687         * proced.el (proced): Add substitution string to docstring to
2688         trigger autoloading of the proced library on C-h f (Bug#1768).
2690         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2691         Don't show defvars which have no second argument (Bug#8638).
2693         * imenu.el (imenu-generic-expression): Move documentation here
2694         from imenu--generic-function.
2695         (imenu--generic-function): Refer to imenu-generic-expression.
2697 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
2699         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
2700         indentation declaration.
2701         (viper-loop): Add indentation declaration (Bug#7025).
2703 2012-08-05  Chong Yidong  <cyd@gnu.org>
2705         * help-fns.el (describe-variable): Add hyperlink for
2706         directory-local variables files.  Improve buffer-local and
2707         permanent-local reporting; suggested by MON KEY (Bug#6644).
2709         * help-mode.el (help-dir-local-var-def): New button type.
2711         * files.el (kill-buffer-hook): Provide a defvar.
2713 2012-08-05  Glenn Morris  <rgm@gnu.org>
2715         * eshell/esh-ext.el (eshell/addpath):
2716         Also update eshell-path-env.  (Bug#12013)
2718 2012-08-05  Chong Yidong  <cyd@gnu.org>
2720         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
2722         * fringe.el (fringe-styles): Add docstring.
2723         (fringe--check-mode): New function.
2724         (set-fringe-mode, set-fringe-style): Use it.
2725         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
2727         * files.el (set-auto-mode): Fix invalid setq call.
2729 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2731         * isearch.el: Misc simplification; use defstruct.
2732         (isearch-mode-map): Dense maps now work like sparse ones.
2733         (isearch--state): New defstruct.
2734         (isearch-string-state, isearch-message-state, isearch-point-state)
2735         (isearch-success-state, isearch-forward-state)
2736         (isearch-other-end-state, isearch-word-state, isearch-error-state)
2737         (isearch-wrapped-state, isearch-barrier-state)
2738         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
2739         replaced by defstruct's accessors.
2740         (isearch--set-state): Rename from isearch-top-state and change
2741         calling convention.
2742         (isearch-push-state): Use new isearch--get-state.
2743         (isearch-toggle-word): Disable regexp when enabling word.
2744         (isearch-message-prefix): Remove unused arg _c-q-hack.
2745         (isearch-message-suffix): Remove unused arg _ellipsis.
2747 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
2749         * simple.el (list-processes--refresh): For a server use :host or
2750         :local as the address.
2751         (list-processes): Doc fix.
2753 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
2755         * lisp/mpc.el: Support password in host argument.
2756         (mpc--proc-connect): Parse and use new password element.
2757         Set mpc-proc variable instead of returning process.
2758         (mpc-proc): Adjust accordingly.
2760 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
2762         * whitespace.el (whitespace-display-mappings): Use Unicode
2763         codepoints, instead of emacs-mule codepoints.  See
2764         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2765         for the details.
2767         * files.el (file-truename): Don't skip symlink-chasing part on
2768         windows-nt.  Incorporate the resolution of 8+3 short aliases on
2769         Windows into the loop that recursively chases symlinks.
2770         Compare directory and its parent case-insensitively on MS-Windows and
2771         MS-DOS.
2773 2012-08-03  Chong Yidong  <cyd@gnu.org>
2775         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2777         * sort.el (sort-regexp-fields): Doc fix.
2779 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
2781         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2782         labels regex position point at the expected place.
2784 2012-08-03  MON KEY  <monkey@sandpframing.com>
2786         * net/imap.el (imap-interactive-login, imap-authenticate)
2787         (imap-mailbox-lsub, imap-mailbox-list)
2788         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2789         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2790         (imap-parse-response): Doc fix.
2792 2012-08-03  João Távora  <joaotavora@gmail.com>
2794         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2795         if sexp scanning does not move point (Bug#5734).
2797 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
2799         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2800         Add listings, minted, and ctable packages.
2801         (reftex-label-alist-builtin): Move listings, minted, and ctable
2802         entries before LaTeX.
2803         (reftex-label-alist): Docfix.
2805 2012-08-02  Bastien Guerry  <bzg@gnu.org>
2807         * replace.el (occur): Fix docstring (bug#12122).
2809 2012-08-02  Glenn Morris  <rgm@gnu.org>
2811         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2813 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
2815         Obsolete alias inactivate-current-input-method-function (Bug#10150).
2816         * international/mule-cmds.el: Create
2817         inactivate-current-input-method-function as an obsolete alias for
2818         deactivate-current-input-method-function.  See Katsumi Yamaoka in
2819         <http://bugs.gnu.org/10150#46>.
2821 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
2823         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2824         of nested `if's.
2826 2012-08-01  Glenn Morris  <rgm@gnu.org>
2828         * progmodes/autoconf.el (autoconf-definition-regexp):
2829         Add AH_TEMPLATE, adjust submatch numbering.
2830         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2831         (autoconf-current-defun-function): Update for above change.
2832         (autoconf-current-defun-function): First skip to end of current word.
2834 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
2836         * calendar/cal-html.el (cal-html-insert-agenda-days):
2837         Fix typo.  (Bug#12018)
2839 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2841         Shell processes: enhancements to startup and CEDET compatibility.
2842         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2843         (python-shell-make-comint): accept-process-output at startup.
2844         (run-python-internal): Set inferior-python-mode-hook to nil.
2845         (python-shell-internal-get-or-create-process): call sit-for.
2846         (python-preoutput-result): Add obsolete alias.
2847         (python-shell-internal-send-string): Use it.
2848         (python-shell-send-setup-code): Remove call to
2849         accept-process-output.
2851 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
2853         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2854         (Bug#12108)
2856 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
2858         * calc-mode.el (calc-basic-simplification-mode): Rename from
2859         `calc-limited-simplification-mode'.
2860         (calc-alg-simplification-mode): New function.
2861         (calc-set-simplify-mode):  Adjust message.
2863         * calc.el (calc-set-mode-line): Adjust mode line display for
2864         basic simplification mode.
2866         * calc-help.el (calc-m-prefix-help): Update help message.
2868         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2869         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2871 2012-07-31  Bastien Guerry  <bzg@gnu.org>
2873         * man.el (man): Fix comment.  (bug#12101)
2875 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
2877         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2878         Don't return a non-nil value when no suitable buffer was found.
2880 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2882         * progmodes/python.el (run-python-internal): Disable font lock for
2883         internal shells.
2885 2012-07-30  Stefan Merten  <smerten@oekonux.de>
2887         * rst.el: Silence `checkdoc-ispell'.
2888         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2889         (rst-official-version, rst-official-cvs-rev)
2890         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2891         (rst-mode-map): New key binding.
2893 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
2895         Update .PHONY listings in makefiles.
2896         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2897         autoloads, update-subdirs, updates, bzr-update, update-authors,
2898         compile-onefile, compile-calc, backup-compiled-files,
2899         compile-after-backup, compile-one-process, mh-autoloads,
2900         bootstrap-clean, distclean, maintainer-clean.
2902 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2904         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2905         (calc-set-mode-line): Don't display "AlgSimp ".
2907         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2908         (calc-lim-simplify-mode): New function.
2909         (calc-set-simplify-mode): Default to 'alg.
2910         (calc-default-simplify-mode): Make algebraic simplifications
2911         the default.
2913         * calc/calc-ext.el (calc-init-extensions): Remove binding for
2914         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
2916         * calc/calc-help.el (calc-m-prefix-help): Change messages to
2917         indicate new simplification modes.
2919         * calc/README: Mention new default simplification mode.
2921         * calc/calc.el (math-normalize-error): New variable.
2922         (math-normalize): Set `math-normalize-error' to t
2923         when there's an error.
2925         * calc/calc-alg.el (math-simplify): Don't simplify when
2926         `math-normalize' returns an error.
2928 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
2930         * international/mule-cmds.el (set-locale-environment): Revert last
2931         change, since display-graphic-p returns nil when this function is
2932         called during startup.  Instead...
2934         * term/w32console.el (terminal-init-w32console): ...setup the
2935         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
2937 2012-07-29  Juri Linkov  <juri@jurta.org>
2939         * simple.el (goto-line): Don't display default line number in the
2940         prompt because it should be displayed by `read-number' (bug#9952).
2941         Add the current line number to the defaults of `goto-line' to
2942         allow its easier modification by users with `M-n' (bug#9201).
2944         * subr.el (read-number): Support multiple default values like in
2945         other minibuffer reading functions.  Replace `read' with
2946         `string-to-number' for consistency with `number-to-string'.
2948 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
2950         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2951         * emulation/viper-init.el (viper-deactivate-input-method-action):
2952         Rename from viper-inactivate-input-method-action.
2953         (viper-deactivate-input-method):
2954         Rename from viper-inactivate-input-method.
2955         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2956         * international/mule-cmds.el (deactivate-input-method):
2957         Rename from inactivate-input-method.
2958         Also run input-method-deactivate-hook.
2959         (deactivate-current-input-method-function):
2960         Rename from inactivate-current-input-method-function.
2961         (input-method-deactivate-hook): New hook.
2962         (input-method-inactivate-hook): Mark obsolete.
2963         (inactivate-input-method): Mark obsolete.
2965         * international/quail.el (quail-activate):
2966         Also run quail-deactivate-hook.
2967         (quail-deactivate): Rename from quail-inactivate.
2968         * international/robin.el (robin-activate):
2969         Also run robin-deactivate-hook.
2970         (robin-deactivate): Rename from robin-inactivate.
2972 2012-07-29  Chong Yidong  <cyd@gnu.org>
2974         * simple.el (indicate-copied-region): New function.
2975         (kill-ring-save): Split off from here.
2977         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2978         (kill-rectangle): Set deactivate-mark to t on read-only error.
2980         * register.el (copy-to-register, copy-rectangle-to-register):
2981         Deactivate the mark, and use indicate-copied-region (Bug#10056).
2982         (append-to-register, prepend-to-register):
2983         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
2985         * simple.el (async-shell-command-buffer): New defcustom.
2986         (shell-command): Use it.  (Bug#4719)
2988 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2990         * international/mule-cmds.el (set-locale-environment): In a
2991         console session on MS-Windows, set up keyboard and terminal
2992         encoding from the OEM codepage, not the ANSI codepage.
2993         (Bug#12055)
2995 2012-07-28  Chong Yidong  <cyd@gnu.org>
2997         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2998         gdb-get-location.
3000 2012-07-28  Leo Liu  <sdl.web@gmail.com>
3002         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3003         the alist (bug#12029).
3005 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3007         * makefile.w32-in (custom-deps, finder-data, updates, compile)
3008         (compile-always, compile-first)
3009         ($(lisp)/calendar/cal-loaddefs.el)
3010         ($(lisp)/calendar/diary-loaddefs.el)
3011         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3012         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3013         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3014         instead of on update-subdirs.
3015         (bootstrap-clean): Delete $(lisp)/subdirs.el.
3017 2012-07-28  Chong Yidong  <cyd@gnu.org>
3019         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3020         directory if vc-deduce-backend returns nil (Bug#7350).
3022         * simple.el (delete-trailing-lines): New option.
3023         (delete-trailing-whitespace): Obey it (Bug#11879).
3025 2012-07-28  David Engster  <deng@randomsample.de>
3027         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3028         Explanation of new 'symbol-qnames feature in doc-strings.
3029         (xml-maybe-do-ns): Return expanded names as plain symbols if
3030         'symbol-qnames was provided in XML-NS argument (Bug#11916).
3031         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3033 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3035         Consistent completion in inferior python with emacs -nw.
3036         * progmodes/python.el (inferior-python-mode): replace "<tab>"
3037         binding in inferior-python-mode-map with "\t".
3038         (python-shell-completion-complete-at-point)
3039         (python-completion-complete-at-point): Remove interactive spec.
3041 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3043         * calc/calccomp.el (math-compose-expr): Undo previous change.
3045 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3047         * progmodes/python.el (python-mode-map): Add keybinding for
3048         run-python.
3049         (python-shell-make-comint): Fix pop-to-buffer call.
3050         (run-python): Autoload.  New arg SHOW.
3051         (python-shell-get-or-create-process): Do not pop python process
3052         buffer.
3054 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
3056         * notifications.el (notifications-on-action-signal)
3057         (notifications-on-closed-signal): Use also the bus address for the map.
3058         (notifications-notify, notifications-close-notification)
3059         (notifications-get-capabilities):  Add optional argument BUS.
3061 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
3063         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3064         Add support for the lstlisting and minted environments, and for the
3065         ctable macro.
3066         * textmodes/reftex.el (reftex-compile-variables): Also recognize
3067         labels written in keyvals syntax.
3069 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3071         * calc/calccomp.el (math-compose-expr): Use parentheses when
3072         there is a product in the denominator of a fraction.
3074 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
3076         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3077         ($(lisp)/calendar/diary-loaddefs.el)
3078         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3079         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3080         Fixes failures in parallel bootstrap because subdirs.el is being
3081         rewritten while the autoload files are built at the same time,
3082         which needs to load subdirs.el.
3084 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
3086         * mouse.el (popup-menu): Fix doc-string and re-indent code.
3087         (mouse-drag-line): Don't exit tracking when a switch-frame or
3088         switch-window event occurs (Bug#12006).
3090 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3092         * mouse.el (popup-menu): Fix last change.
3094 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3096         Autoload from Lisp with more care.  Follow aliases when looking for
3097         function properties.
3098         * subr.el (autoloadp): New function.
3099         (symbol-file): Use it.
3100         (function-get): New function.
3101         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3102         autoload-do-load.
3103         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3104         (lisp-indent-function):
3105         * emacs-lisp/gv.el (gv-get):
3106         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3107         * emacs-lisp/byte-opt.el (byte-optimize-form):
3108         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3109         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3110         Use function-get.
3111         * emacs-lisp/cl.el: Don't propagate function properties any more.
3113         * speedbar.el (speedbar-add-localized-speedbar-support):
3114         * emacs-lisp/disass.el (disassemble-internal):
3115         * desktop.el (desktop-load-file):
3116         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3117         (describe-function-1):
3118         * emacs-lisp/find-func.el (find-function-noselect):
3119         * emacs-lisp/elp.el (elp-instrument-function):
3120         * emacs-lisp/advice.el (ad-has-proper-definition):
3121         * apropos.el (apropos-safe-documentation, apropos-macrop):
3122         * emacs-lisp/debug.el (debug-on-entry):
3123         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3124         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3125         * calc/calc.el (name): Use autoloadp & autoload-do-load.
3127 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
3129         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3130         function, not an obsolete variable (Bug#12046).
3132 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3134         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
3136 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
3138         * emacs-lisp/pp.el (pp-display-expression): Select old selected
3139         window only if it is still live (Bug#12034).
3141 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
3143         * subr.el (redirect-frame-focus): Add advertised calling
3144         convention (Bug#12030).
3146 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3148         Prefer typical American spelling for "acknowledgment".
3149         * vc/add-log.el (change-log-acknowledgment): Rename from
3150         change-log-acknowledgement, with an alias for the old name.
3152 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
3154         * calc-alg.el (math-simplify-divide): Don't cross multiply
3155         in an equation when the lhs is a variable.
3157 2012-07-24  Julien Danjou  <julien@danjou.info>
3159         * net/netrc.el (netrc-find-service-number, netrc-store-data):
3160         Remove, unused.
3162 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
3164         * startup.el (command-line): Don't display an empty user name in
3165         the error message about non-existent home directory, when
3166         init-file-user was set to an empty string.  See
3167         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3168         for the details and context.
3170 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3172         * ses.el (ses-cell-formula-aset): New macro.
3173         (ses-cell-references-aset): New macro.
3174         (ses-cell-p): New function.
3175         (ses-rename-cell): Do no longer rely on complex operations like
3176         ses-cell-set-formula or ses-set-cell to change the cell and handle
3177         the undo at the same time, but rather use lower level new macros
3178         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3179         the undo directly. Refresh the mode line.
3181 2012-07-21  Leo Liu  <sdl.web@gmail.com>
3183         * progmodes/cc-cmds.el (c-defun-name):
3184         Use match-string-no-properties instead for consistency.
3186 2012-07-20  Leo Liu  <sdl.web@gmail.com>
3188         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3189         (Bug#7879)
3191         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3193 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3195         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3196         * progmodes/bug-reference.el, misearch.el: Provide themselves
3197         (bug#11915).
3199         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3200         of narrowed buffer (bug#11966).
3202 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3204         * ses.el (ses-rename-cell): Set new name also in reference list of
3205         cells of which the renamed cell depends.
3207 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
3209         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3210         to check whether menu-bar is shown or not.  If not shown,
3211         show the menu-bar as a popup menu instead of using tmm.
3212         * mouse.el (popup-menu): Accept `point' as `position' argument.
3214 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
3216         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3217         up inside string symbol literal (bug#11923).
3219 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
3221         * startup.el (fancy-startup-text): Read the whole tutorial, not
3222         just its first 256 bytes.  Prevents gibberish in display of the
3223         tutorial title.
3225 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
3227         Drop idle buffer compaction due to an absence of the
3228         proved efficiency.
3229         * compact.el: Remove.
3231 2012-07-19  Sam Steingold  <sds@gnu.org>
3233         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3234         vc-bzr-pull & vc-bzr-merge-branch.
3235         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3236         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3237         for consistency with compilation-error-regexp-alist.
3238         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3239         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3240         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3241         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3243 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3245         * emacs-lisp/chart.el: Use lexical-binding.
3246         (chart-emacs-storage): Don't hardcode the list of entries.
3248 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3250         Next round of tweaks caused by Fgarbage_collect changes.
3251         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3253 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3255         Compact buffers when idle.
3256         * compact.el: New file.
3258 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3260         * subr.el (eventp): Presume that if it looks vaguely like an event,
3261         it's an event (bug#10190).
3263 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
3265         Enhancements to ppss related code (thanks Stefan).
3266         * progmodes/python.el (python-indent-context)
3267         (python-indent-calculate-indentation, python-indent-dedent-line)
3268         (python-indent-electric-colon, python-nav-forward-block)
3269         (python-mode-abbrev-table)
3270         (python-info-assignment-continuation-line-p): Simplify checks
3271         for ppss context.
3272         (python-info-continuation-line-p): Cleanup.
3273         (python-info-ppss-context): Do not catch 'quote.
3274         (python-info-ppss-context-type)
3275         (python-info-ppss-comment-or-string-p): Simplify.
3277 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
3279         * progmodes/python.el: Enhancements to eldoc support.
3280         (python-info-current-symbol): New function.
3281         (python-eldoc-at-point): Use python-info-current-symbol.
3282         (python-info-current-defun): Fix cornercase on first defun scan.
3283         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3284         and signal error when no inferior python process is available.
3286 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
3288         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3289         assume it's always t.
3290         (vc-git-registered): Remove caching, the function is only called
3291         once.
3292         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3294 2012-07-18  Chong Yidong  <cyd@gnu.org>
3296         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3298         * simple.el (count-words): Report on narrowing (Bug#9959).
3300         * bindings.el: Bind M-= to count-words.
3302         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3304 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
3306         * progmodes/sh-script.el (sh-imenu-generic-expression):
3307         Capture a function with `function' keyword and without parentheses
3308         like "function FOO" (bug#11856).
3310 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
3312         * window.el (split-window-sensibly): Make WINDOW argument
3313         optional.
3315 2012-07-18  Chong Yidong  <cyd@gnu.org>
3317         * subr.el (keyboard-translate): Doc fix (Bug#7261).
3319         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3320         and make C-x 8 RET exit isearch (Bug#11439).
3322         * international/iso-transl.el: Move isearch-mode-map key
3323         definitions to isearch.el.
3325 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3327         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3328         (eieio-defclass): Use gv-define-setter when possible.
3330 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
3332         Reflect recent changes in Fgarbage_collect.
3333         * emacs-lisp/chart.el (chart-emacs-storage): Change to
3334         reflect new format of data returned by Fgarbage_collect.
3336 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3338         New utility functions + python-info-ppss-context fix (Bug#11910).
3339         * progmodes/python.el (python-info-beginning-of-block-statement-p)
3340         (python-info-ppss-comment-or-string-p): New functions.
3341         (python-info-ppss-context): Small fix for string check.
3343 2012-07-17  Juri Linkov  <juri@jurta.org>
3345         * dired-aux.el (dired-do-async-shell-command): Doc fix.
3346         (dired-do-async-shell-command): Don't add `*' at the end of the
3347         command (Bug#11815).
3348         (dired-do-shell-command): Doc fix.
3349         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3350         Join the individual commands using either "&" or ";" as the
3351         separator depending on the values of these trailing characters.
3352         At the end re-add the trailing "&".  (Bug#10598)
3354         * simple.el (async-shell-command): Sync the interactive spec with
3355         `shell-command'.  Doc fix.
3356         (shell-command): Doc fix.
3358 2012-07-17  Juri Linkov  <juri@jurta.org>
3360         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
3362 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3364         Final renames and doc fixes for movement commands (bug#11899).
3365         * progmodes/python.el (python-nav-beginning-of-statement):
3366         Rename from python-nav-statement-start.
3367         (python-nav-end-of-statement): Rename from
3368         python-nav-statement-end.
3369         (python-nav-beginning-of-block): Rename from
3370         python-nav-block-start.
3371         (python-nav-end-of-block): Rename from python-nav-block-end.
3373 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3375         * progmodes/python.el (python-shell-send-string-no-output):
3376         Allow accept-process-output to quit, keeping shell process ready for
3377         future interactions (Bug#11868).
3379 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3381         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3383         * emacs-lisp/elint.el (elint-find-args-in-code):
3384         Use help-function-arglist, so as to handle lexical byte-code.
3386         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3387         change (bug#11826).
3389 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3391         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3392         Avoid spuriously marking the buffer as modified because of c-is-sws.
3394         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3395         as not-a-comment (bug#11946).
3397         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3398         for uninterned vars.
3400         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3401         Use read-event since we don't really want to read chars but bytes.
3403         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3404         $$..$$ but also $..$ using regexps (bug#11953).
3405         Use tex-verbatim for \url and \path.
3406         (tex-font-lock-keywords): Define as defconst like the others.
3407         (tex-common-initialization): Don't use font-lock-syntax-table any more.
3409 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
3411         * international/mule-cmds.el (ucs-insert): Make it an obsolete
3412         alias for insert-char.
3414 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3416         * progmodes/python.el: Simplified imenu implementation.
3417         (python-nav-jump-to-defun): Remove command.
3418         (python-mode-map): Use `imenu' instead.
3419         (python-nav-list-defun-positions-cache)
3420         (python-imenu-include-defun-type, python-imenu-make-tree)
3421         (python-imenu-subtree-root-label, python-imenu-index-alist):
3422         Remove vars.
3423         (python-nav-list-defun-positions, python-nav-read-defun)
3424         (python-imenu-tree-assoc, python-imenu-make-element-tree)
3425         (python-imenu-make-tree, python-imenu-create-index):
3426         Remove functions.
3427         (python-mode): Update to interact with imenu by setting
3428         `imenu-extract-index-name-function' only.
3430 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3432         * progmodes/python.el: Enhancements to navigation commands.
3433         (python-nav-backward-sentence)
3434         (python-nav-forward-sentence): Remove.
3435         (python-nav-backward-statement, python-nav-forward-statement)
3436         (python-nav-statement-start, python-nav-statement-end)
3437         (python-nav-backward-block, python-nav-forward-block)
3438         (python-nav-block-start, python-nav-block-end)
3439         (python-nav-forward-sexp-function)
3440         (python-info-current-line-comment-p)
3441         (python-info-current-line-empty-p): New functions.
3442         (python-indent-context): Use `python-nav-statement-start'.
3444 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
3446         * eshell/em-ls.el (eshell/ls): Use `apply'.
3448         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3449         multi-hops, instead of Tramp internals.
3451         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3453         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3454         when F1 and F2 are located on different hosts.
3456 2012-07-14  Chong Yidong  <cyd@gnu.org>
3458         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3459         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
3460         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
3461         (xterm-mouse--read-event-sequence-1000)
3462         (xterm-mouse--read-event-sequence-1006): New functions.  For old
3463         mouse protocol, handle M-mouse-X events correctly.
3464         (xterm-mouse-event): New arg specifying mouse protocol.
3465         (turn-on-xterm-mouse-tracking-on-terminal)
3466         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
3467         sequence to toggle extended coordinates on newer XTerms.
3468         This appears to be harmless on terminals which do not support this.
3470 2012-07-14  Leo Liu  <sdl.web@gmail.com>
3472         Add fringe bitmap indicators for flymake.  (Bug#11253)
3473         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
3474         (flymake-make-overlay): New arg BITMAP.
3475         (flymake-error-bitmap, flymake-warning-bitmap)
3476         (flymake-fringe-indicator-position): New user variables.
3478         * fringe.el: New bitmap exclamation-mark.
3480 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
3482         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
3483         also (Bug#7879).
3485 2012-07-14  Chong Yidong  <cyd@gnu.org>
3487         * electric.el (electric-pair-post-self-insert-function): Fix pair
3488         insertion in empty-region case (Bug#11520).
3490 2012-07-14  Chong Yidong  <cyd@gnu.org>
3492         * bindings.el: Consolidate ctl-x-r-map bindings.
3493         Bind copy-rectangle-as-kill to C-x r w.
3495         * rect.el, register.el: Move bindings to bindings.el.
3497 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
3499         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
3501 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
3503         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
3505 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
3507         * bindings.el (top): Use `mapc' instead of `mapcar'.
3509         * loadup.el (top): Remove bogus `if' choice (brought by revno:88805).
3511 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
3513         * progmodes/sql.el (sql-comint): Suppress the check for program on
3514         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
3515         (Bug#11908)
3517 2012-07-13  Chong Yidong  <cyd@gnu.org>
3519         * bindings.el: Assign a non-nil permanent-local property to
3520         per-buffer variables which lack a default value (Bug#11930).
3522         * help-fns.el (describe-variable): In the "automatically becomes
3523         local" notice, take note of permanent-local variables.
3525 2012-07-13  Chong Yidong  <cyd@gnu.org>
3527         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
3528         to allow printing the message when called from Lisp.
3530         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3531         Remove toggle-read-only.
3533         * bs.el (bs-toggle-readonly):
3534         * buff-menu.el (Buffer-menu-toggle-read-only):
3535         Remove with-no-warnings around toggle-read-only.
3537         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
3538         Remove with-no-warnings around toggle-read-only.
3539         (ffap-read-only, ffap-read-only-other-window)
3540         (ffap-read-only-other-frame): Callers changed.
3542         * help-mode.el: Don't require view package.
3543         (help-mode-finish): Set buffer-read-only instead of calling
3544         toggle-read-only.
3546         * bindings.el (mode-line-toggle-read-only):
3547         * dired.el (dired-toggle-read-only):
3548         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
3549         with non-nil second arg.
3551         * emacs-lisp/eieio-custom.el (eieio-customize-object):
3552         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
3553         directly.
3555 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
3557         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
3558         not incf.
3560 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3562         More CL cleanups and reduction of use of cl.el.
3563         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
3564         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
3565         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
3566         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
3567         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
3568         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
3569         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
3570         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
3571         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
3572         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
3573         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
3574         * eshell/em-cmpl.el, eshell/em-banner.el:
3575         * calendar/parse-time.el: Use cl-lib.
3576         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
3577         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
3578         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
3579         * term/ns-win.el, term.el, shell.el, ps-samp.el:
3580         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
3581         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
3582         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
3583         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
3584         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
3585         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
3586         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
3587         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
3588         `lambda' rather than with `quote'.
3589         (eshell-do-opt): Adjust accordingly.
3590         (eshell-process-option): Simplify.
3591         * eshell/esh-var.el:
3592         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
3593         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
3594         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
3595         to `pcase--dontcare'.
3596         * emacs-lisp/cl.el (labels): Mark obsolete.
3597         (cl--letf, letf): Move to cl-lib.
3598         (cl--letf*, letf*): Remove.
3599         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
3600         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
3601         (cl-progv): Rewrite.
3602         (cl--letf, cl-letf): Move from cl.el.
3603         (cl-letf*): New macro.
3604         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
3606 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
3608         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
3610 2012-07-11  Chong Yidong  <cyd@gnu.org>
3612         * vc/log-edit.el (log-edit-vc-backend): New variable.
3613         (log-edit): Doc fix.
3615         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
3616         argument of log-edit to set up all local variables.
3617         (vc-start-logentry): New optional arg specifying VC backend.
3619         * vc/vc.el (vc-checkin): Use it.
3620         (vc-deduce-fileset): Handle Log Edit buffers.
3621         (vc-diff): Make first argument optional too.
3623         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
3625 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
3627         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
3628         command, just in case.  The function is not needed anymore.
3629         (eshell-external-command): Do not call `eshell-remote-command'.
3631 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3633         Reduce use of (require 'cl).
3634         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
3635         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
3636         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
3637         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
3638         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
3639         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
3640         * battery.el, avoid.el, abbrev.el: Use cl-lib.
3641         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
3642         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
3643         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
3644         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
3645         * calculator.el, autorevert.el, apropos.el: Don't require CL.
3646         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
3647         (byte-compile-unfold-bcf, byte-compile-check-variable):
3648         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
3649         (byte-compile-nilconstp):
3650         * emacs-lisp/autoload.el (make-autoload): Use pcase.
3651         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
3653         * emacs-lisp/gv.el (cond): Make it a valid place.
3654         (if): Simplify slightly.
3656         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
3657         (pcase--self-quoting-p): New function.
3658         (pcase--u1): Use it.
3660 2012-07-10  Glenn Morris  <rgm@gnu.org>
3662         * emacs-lisp/authors.el (authors-fixed-entries):
3663         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
3665 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
3667         Rename configure.in to configure.ac (Bug#11603).
3668         * emacs-lisp/authors.el (authors-canonical-file-name):
3669         * progmodes/autoconf.el (autoconf-mode):
3670         Prefer configure.ac to configure.in.
3672 2012-07-08  Chong Yidong  <cyd@gnu.org>
3674         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
3675         Implement the mouse-1-click-follows-link handling properly.
3677         * info.el (Info-link-keymap): Use follow-link mechanism for
3678         header-line links (Bug#374).
3680         * simple.el (deactivate-mark): Do not set the primary selection
3681         if another program has acquired it (Bug#11772).
3683 2012-07-07  Kevin Ryde  <user42@zip.com.au>
3685         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
3686         (woman-decode-region): Replace escaped-escapes without destroying
3687         bold or underline (Bug#11552).
3688         (woman2-process-escapes): Handle nofill regions (Bug#11591).
3690 2012-07-07  Chong Yidong  <cyd@gnu.org>
3692         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
3693         (interprogram-cut-function, interprogram-paste-function):
3694         Mention that we typically mean the clipboard.
3696 2012-07-06  Glenn Morris  <rgm@gnu.org>
3698         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
3700         * files.el (toggle-read-only): Restrict message to interactive use.
3702 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
3704         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
3706         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
3708 2012-07-06  Glenn Morris  <rgm@gnu.org>
3710         * Makefile.in (compile-one-process): Rename from "recompile".
3712         * Makefile.in (bzr-update): "compile" is the same as "recompile
3713         autoloads", but parallelizable, so use that instead.
3715 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
3717         * window.el (quit-window): Always restore window height when
3718         it's saved in quit-restore parameter (Bug#11810).
3720 2012-07-06  Glenn Morris  <rgm@gnu.org>
3722         * simple.el (kill-whole-line): Doc tweak.
3724 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
3726         * files.el (file-relative-name): Compare file names
3727         case-insensitively if on MS-Windows or MS-DOS, or if
3728         read-file-name-completion-ignore-case is non-nil.  Don't use
3729         case-fold-search for this purpose.  (Bug#11827)
3731 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
3733         * calendar/cal-dst.el (calendar-current-time-zone):
3734         Return calendar-current-time-zone-cache if non-nil.
3736 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
3737 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
3739         * calendar/cal-dst.el (calendar-current-time-zone):
3740         Return calendar-current-time-zone-cache if non-nil.
3742 2012-07-06  Glenn Morris  <rgm@gnu.org>
3744         * Makefile.in (cvs-update): Remove old alias.
3746 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
3748         Sync with Tramp 2.2.6-pre.
3750         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3751         compatible declaration.
3753         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3754         Protect `list-load-path-shadows' call.
3756         * net/tramp-compat.el (top): Require packages, which aren't
3757         autoloaded anymore for XEmacs.  Protect call of
3758         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3759         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
3760         it hurts at least for SXEmacs.
3761         (tramp-compat-temporary-file-directory): In XEmacs, there is no
3762         standard-value for `temporary-file-directory'.
3764         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3765         Redirect stderr to /dev/null.
3766         (tramp-sh-handle-write-region): uid and gid can be floats.
3767         Reported by Russell Sim <russell.sim@gmail.com>.
3768         (tramp-sh-handle-vc-registered): Hide errors.
3769         (tramp-vc-file-name-handler): Use dummy results for `process-file'
3770         and `start-file-process'.
3771         (tramp-maybe-open-connection): Check also whether `non-essential'
3772         is bound.
3774 2012-07-04  Chong Yidong  <cyd@gnu.org>
3776         * xml.el (xml--parse-buffer): Use xml-syntax-table.
3777         (xml-parse-tag): Likewise, and avoid changing entity tables.
3778         (xml-syntax-table): Define from scratch, making sure not to give
3779         x2000 and other Unicode spaces whitespace syntax, since those are
3780         not spaces in XML.
3781         (xml-parse-fragment): Delete unused function.
3782         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3783         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3784         (xml-entity-ref, xml-pe-reference-re)
3785         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3786         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3787         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3788         (xml-entity-value-re): Use syntax references in regexps where
3789         possible; no need to define inside a let-binding.
3790         (xml-parse-dtd): Use xml-pe-reference-re.
3791         (xml-entity-or-char-ref-re): New defconst.
3792         (xml-parse-string, xml-substitute-special): Use it.
3794 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3796         * files.el (locate-dominating-file): Allow `name' to be a predicate.
3797         (find-file--read-only): New function.
3798         (find-file-read-only, find-file-read-only-other-window)
3799         (find-file-read-only-other-frame): Use it.
3800         (insert-file-contents-literally): Don't `fset'.
3801         (get-free-disk-space): Use locate-dominating-file.
3803         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3804         function is already compiled.
3806         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
3808 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
3810         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3811         files on the same host.
3813 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3815         * help-fns.el (describe-function-1): Only call
3816         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
3818 2012-07-03  Chong Yidong  <cyd@gnu.org>
3820         * xml.el: Protect parser against XML bombs.
3821         (xml-entity-expansion-limit): New variable.
3822         (xml-parse-string, xml-substitute-special): Use it.
3823         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3825 2012-07-03  Glenn Morris  <rgm@gnu.org>
3827         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3828         Allow linking to specific messages in debbugs reports (eg 123#5).
3830 2012-07-02  Chong Yidong  <cyd@gnu.org>
3832         * xml.el: Fix entity and character reference expansion, allowing
3833         them to expand into markup as per XML spec.
3834         (xml-default-ns): New variable.
3835         (xml-entity-alist): Use XML spec definitions for lt and amp.
3836         (xml-parse-region): Make first two arguments optional.
3837         Discard text properties.
3838         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3839         All callers changed.
3840         (xml-parse-tag): Call xml-parse-tag-1.  For backward
3841         compatibility, this function should not modify buffer contents.
3842         (xml-parse-tag-1): Fix opening-tag regexp.
3843         (xml-parse-string): Rewrite, handling entity and character
3844         references properly.
3845         (xml--entity-replacement-text): Signal an error if a parameter
3846         entity is undefined.
3848 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3850         * comint.el (comint-output-filter): Filter out repeated prompts.
3852         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3853         and file-name-absolute-p.
3854         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3855         internal calls.
3857 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3859         Spelling fixes.
3860         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3861         Rename from byte-compile--refiy-function.  All uses changed.
3863 2012-07-01  Chong Yidong  <cyd@gnu.org>
3865         * xml.el (xml--parse-buffer): New function.  Move most of
3866         xml-parse-region here.
3867         (xml-parse-region): Copy region into a temporary buffer, since
3868         parameter entity substitution requires changing buffer contents.
3869         Use xml--parse-buffer.
3870         (xml-parse-file): Use xml--parse-buffer.
3871         (xml-parse-dtd): Make parameter entity substitution work right.
3872         Use proper regexps for ELEMENT declarations (Bug#7172).
3874 2012-06-30  Glenn Morris  <rgm@gnu.org>
3876         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3878         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3879         Remove outdated and unnecessary dbus declarations.
3881 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
3883         * emacs-lisp/timer.el (timer-until): Subtract results of
3884         float-time, instead of taking float-time of the result of
3885         time-subtract, since float-time signals an error for negative time
3886         arguments.
3888 2012-06-30  Chong Yidong  <cyd@gnu.org>
3890         * xml.el (xml-*-re): Convert defvars into defconsts, and
3891         eval-and-compile them so eval-and-compile works on derivatives.
3892         (xml--entity-replacement-text): Use eval-and-comple.
3894 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
3896         * vc/vc-git.el (vc-git-registered): Use cache property
3897         `git-registered'.
3898         (vc-git-mode-line-string): Call `vc-working-revision' instead of
3899         `vc-git-working-revision' in order to benefit from the cache.
3900         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
3902 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3904         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3905         removed (likely outside Emacs).  (Bug#11757)
3907 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3909         * emacs-lisp/cl-lib.el: Require macroexp.
3911 2012-06-30  Chong Yidong  <cyd@gnu.org>
3913         * xml.el: Implement XML parameter entities.
3914         (xml-parameter-entity-alist): New variable.
3915         (xml-parse-region, xml-parse-fragment): Preserve previous values
3916         of xml-entity-alist and xml-parameter-entity-alist, so that
3917         repeated calls on different documents do not change them.
3918         (xml-parse-tag): Fix doctype regexp.
3919         (xml--entity-replacement-text): New function.
3920         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
3921         properly requires url retrieval which is unimplemented.
3922         (xml-escape-string): Doc fix.
3924 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3926         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3928 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
3930         * fringe.el (fringe-mode): Doc fix.
3932 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
3934         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3935         is non-nil.
3936         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3937         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
3939 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
3941         * calendar/cal-dst.el (calendar-current-time-zone):
3942         Return calendar-current-time-zone-cache if non-nil.
3944 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
3946         * progmodes/which-func.el (which-func-format):
3947         Add mouse-face.  (Bug#11698)
3949 2012-06-29  Leo Liu  <sdl.web@gmail.com>
3951         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3953 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3955         * minibuffer.el (minibuffer-confirm-exit-commands):
3956         Add completion-at-point (bug#11725).
3958 2012-06-29  Glenn Morris  <rgm@gnu.org>
3960         * progmodes/f90.el (f90-font-lock-keywords-2):
3961         Add some preprocessor elements.  (Bug#10499)
3963 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3965         * progmodes/cperl-mode.el (cperl-update-syntaxification):
3966         Use syntax-propertize (bug#11739).
3968 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
3970         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3972 2012-06-28  Julien Danjou  <julien@danjou.info>
3974         * term.el (term-handle-colors-array): Use a set of new faces to
3975         color the terminal.  Also uses :inverse-video property.
3976         (term-default-fg-color): Set to nil by default, deprecate in favor
3977         of `term-face'.
3978         (term-default-bg-color): Set to nil by default, deprecate in favor
3979         of `term-face'.
3980         (term-current-face): Use `term-face' by default.
3981         (term-bold-attribute): Variable deleted.
3983 2012-06-28  Glenn Morris  <rgm@gnu.org>
3985         * simple.el (completion-list-mode-finish):
3986         Don't use toggle-read-only.  (Since completion-list-mode has
3987         a special mode-class, it wasn't doing anything extra anyway.)
3989 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3991         Make inlining of other-mode interpreted functions work (bug#11799).
3992         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3993         (byte-compile): Use it to fix compilation of lexical-binding closures.
3994         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3995         function, if needed.
3997 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3999         * help-mode.el (help-make-xrefs): Don't just withstand
4000         cyclic-variable-indirection but any error in documentation-property.
4002         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4003         memory use.
4004         * bindings.el (bindings--define-key): New function.
4005         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4006         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4007         * bindings.el: Use it to purecopy define-key bindings.
4009         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4011         * emacs-lisp/cl.el (flet): Mark obsolete.
4012         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4013         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4014         * progmodes/js.el (js-c-fill-paragraph):
4015         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4016         (ebrowse-switch-member-buffer-to-derived-class):
4017         * play/5x5.el (5x5-solver): Use cl-flet.
4019         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
4020         (cl--symbol-function): New macro.
4021         (cl--letf, cl--letf*): Use it.
4023         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4024         Strip "toggle-" if any.
4026 2012-06-27  Glenn Morris  <rgm@gnu.org>
4028         * info.el (Info-default-directory-list): Move here from paths.el.
4029         * paths.el: Remove file, which is now empty.
4030         * loadup.el: No longer load "paths".
4032         * custom.el (custom-initialize-delay): Doc fix.
4034         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4035         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4036         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4037         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4038         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4039         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4040         * eshell/eshell.el (eshell-defgroup): Remove alias.
4042 2012-06-27  Chong Yidong  <cyd@gnu.org>
4044         * help.el (help-enable-auto-load): New variable.
4046         * help-fns.el (help-fns--autoloaded-p): New function.
4047         (describe-function-1): Refer to a function as "autoloaded" if it
4048         was autoloaded at any time in the past.  Perform autoloading if
4049         help-enable-auto-load is non-nil.
4051 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
4053         * makefile.w32-in (compile, compile-always): Depend on
4054         update-subdirs, not on subdirs.el.  Otherwise, several different
4055         sub-targets of 'bootstrap' running in parallel could
4056         simultaneously write to subdirs.el, producing a garbled file.
4058 2012-06-26  Sam Steingold  <sds@gnu.org>
4060         * files.el (file-name-base): New convenience function.
4061         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4062         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4063         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4064         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4065         * textmodes/ispell.el, textmodes/reftex-ref.el:
4066         * textmodes/tex-mode.el: Use it.
4067         Did not touch cedet and org because they are maintained elsewhere.
4069 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
4071         * calendar/calendar.el (calendar-exit): Don't try to delete or
4072         iconify last frame.  See:
4073         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4075 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
4077         * server.el (server-process-filter): Remember dir in the
4078         process's `server-client-directory' properties.
4080 2012-06-24  Chong Yidong  <cyd@gnu.org>
4082         * xml.el (xml-parse-tag): Correctly handle comment embedded in
4083         non-tag text.
4085 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
4087         * makefile.w32-in (COMPILE_FIRST): Synch with changes in revno:108688.
4089 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4091         * help-fns.el (describe-variable): Don't croak when doc is not found.
4092         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4093         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4094         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4095         * emacs-lisp/smie.el (smie-next-sexp): CSE.
4096         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4097         ((lambda ..) ..).
4098         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4100 2012-06-23  Chong Yidong  <cyd@gnu.org>
4102         * info.el (Info-mouse-follow-link): Accept symbol values of
4103         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
4104         (Info-fontify-node): Use Info-link-keymap for all navigation
4105         buttons, with link-args property to perform the desired action.
4106         (Info-link-keymap): Doc fix.
4107         (Info-next-link-keymap, Info-prev-link-keymap)
4108         (Info-up-link-keymap): Delete now-unused keymaps.
4110 2012-06-23  Chong Yidong  <cyd@gnu.org>
4112         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4114         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4115         system abbrevs.
4117         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4119 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4121         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4122         (bug#11719).
4124         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4125         the requote function doesn't work properly (bug#11714).
4127 2012-06-23  Glenn Morris  <rgm@gnu.org>
4129         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4131 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4133         Further GV/CL cleanups.
4134         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4135         gv-expander.
4136         (gv--defun-declaration): New function.
4137         (defun-declarations-alist): Use it.
4138         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4139         (gv-place): Autoload.
4140         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4141         original definition of dotimes and dolist.
4142         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4143         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4144         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4145         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4146         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4147         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4148         to the function's definition.
4149         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4150         * window.el:
4151         * files.el:
4152         * faces.el:
4153         * env.el: Don't use CL.
4155 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4157         Support higher-resolution time stamps (Bug#9000).
4159         * calendar/time-date.el (with-decoded-time-value): New arg
4160         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
4161         (encode-time-value): New optional arg PICO.  New type 3.
4162         (time-to-seconds) [!float-time]: Support the new picoseconds
4163         component if it's used.
4164         (seconds-to-time, time-subtract, time-add):
4165         Support ps-resolution time stamps as well.
4167         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
4168         (timerp): Timer vectors now have length 9, not 8.
4169         (timer--time): Support new-style (4-part) time stamps.
4170         (timer-next-integral-multiple-of-time): Time stamps now have
4171         picosecond resolution, so take a bit more care about rounding.
4172         (timer-relative-time, timer-inc-time): New optional arg psecs.
4173         (timer-set-time-with-usecs): Set psecs to 0.
4174         (timer--activate): Check psecs component, too.
4176         * proced.el (proced-time-lessp): Support ps-resolution stamps.
4178 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4180         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4181         Move the non-essential binding to the post/pre-command-hook where it is
4182         more obviously correct.
4184         * subr.el (read-passwd): Don't use a history at all.
4185         * savehist.el (savehist-save): Remove password saved accidentally
4186         because of the above bug.
4188 2012-06-22  Bastien Guerry  <bzg@gnu.org>
4190         * files.el (toggle-read-only): Display a message telling whether
4191         the buffer is read-only or not (bug#11726).
4193 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4195         * emacs-lisp/gv.el: New file.
4196         * subr.el (push, pop): Extend to generalized variables.
4197         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4198         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4199         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
4200         gv-define-simple-setter, and gv-define-expander.
4201         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
4202         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4203         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4204         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4205         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4206         gv-letplace.
4207         (cl-defstruct): Don't define setf-method any more.
4208         * emacs-lisp/cl.el (flet): Don't autoload.
4209         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4210         (define-setf-expander, defsetf, define-modify-macro)
4211         (cl-struct-setf-expander): Move from cl-lib.el.
4212         * emacs-lisp/syntax.el:
4213         * emacs-lisp/ewoc.el:
4214         * emacs-lisp/smie.el:
4215         * emacs-lisp/cconv.el:
4216         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4217         (timer--time): Use gv-define-simple-setter.
4218         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4219         to avoid coding-system problems in subr.el.  Adjust all users.
4220         (macroexp--maxsize, macroexp-small-p): New functions.
4221         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4222         * scroll-bar.el (scroll-bar-mode):
4223         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4224         (normal-erase-is-backspace-mode): Don't use the `eq' place.
4225         * winner.el (winner-configuration, winner-make-point-alist)
4226         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4227         * files.el (locate-file-completion-table): Avoid list*.
4229 2012-06-22  Chong Yidong  <cyd@gnu.org>
4231         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4232         (dired-create-files): Doc fix (Bug#11329).
4233         (dired-do-copy): Doc fix (Bug#11334).
4234         (dired-mark-read-string): Doc fix (Bug#11553).
4236         * dired.el (dired-recursive-copies, dired-recursive-deletes):
4237         Doc fix (Bug#11326).
4238         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
4239         (dired-dwim-target): Doc fix.
4241         * wdired.el (wdired-mode): Doc fix.
4243 2012-06-22  Glenn Morris  <rgm@gnu.org>
4245         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4246         (pcmpl-rpm-cache-stamp-file): New constant.
4247         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4248         (pcmpl-rpm-packages): Optionally cache list of packages.
4250         * pcmpl-rpm.el (pcmpl-rpm): New group.
4251         (pcmpl-rpm-query-options): New option.
4252         (pcmpl-rpm-packages): No need to inline it.
4253         Use pcmpl-rpm-query-options.
4255         * calendar/calendar.el (calendar-in-read-only-buffer):
4256         Avoid some needless mode changes.
4258 2012-06-21  Chong Yidong  <cyd@gnu.org>
4260         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4261         (desktop-path): Remove . from the default value (Bug#10977).
4262         (desktop-read): Use user-emacs-directory if desktop-path is nil.
4264 2012-06-20  Chong Yidong  <cyd@gnu.org>
4266         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4268 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
4270         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4271         (bug#11201).
4273 2012-06-20  Chong Yidong  <cyd@gnu.org>
4275         * term.el (term-window-width): Handle the case of a missing right
4276         fringe (Bug#8837).
4277         (term-check-size): Use window-text-height (Bug#5445).
4278         (term-mode): Use define-derived-mode.  Minor cleanups.
4279         Set font-lock-defaults (Bug#7692).
4280         (term-move-columns, term-insert-char, term-emulate-terminal)
4281         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4283 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
4285         * net/ange-ftp.el (ange-ftp-get-passwd):
4286         Bind `enable-recursive-minibuffers'.
4287         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4289 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
4291         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4293 2012-06-19  Glenn Morris  <rgm@gnu.org>
4295         * progmodes/python.el (python-mode): Derive from prog-mode.
4297 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
4299         * emulation/edt.el (edt-default-menu-bar-update-buffers)
4300         (edt-user-menu-bar-update-buffers): New functions.
4301         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4303 2012-06-19  Chong Yidong  <cyd@gnu.org>
4305         * subr.el (with-selected-window): Preserve the selected window's
4306         terminal's top-frame (Bug#4702).
4308         * window.el (save-selected-window): Likewise.
4310 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4312         * progmodes/python.el (python-rx-constituents): Move backquote.
4313         (python-skeleton-define, python-define-auxiliary-skeleton):
4314         Use `declare'.
4316 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
4318         * minibuffer.el (read-file-name-default): Revert the patch from
4319         2012-06-17.
4321 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4323         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4324         (pcase--u1, pcase--q1): Don't use apply-partially.
4326 2012-06-18  Glenn Morris  <rgm@gnu.org>
4328         * progmodes/python.el (python-proc, python-buffer)
4329         (python-send-receive, python-send-string): Fix obsolete versions.
4331 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
4333         * window.el (special-display-p): Completely remove stringp
4334         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4336 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
4338         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4340         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4342         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4343         * net/tramp-sh.el (tramp-maybe-open-connection):
4344         Throw if `non-essential' is non-nil.
4346 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
4348         * window.el (special-display-p): Signal an error if BUFFER-NAME
4349         is not a string (Bug#11713).
4351 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4353         * progmodes/python.el (python-info-beginning-of-backslash):
4354         Rename from python-info-beginning-of-backlash, as a spelling fix.
4356 2012-06-17  Chong Yidong  <cyd@gnu.org>
4358         * term.el (term-emulate-terminal): If term-check-size is called,
4359         move point to the process mark without resetting point (Bug#4635).
4361 2012-06-17  Glenn Morris  <rgm@gnu.org>
4363         * international/mule-cmds.el (mule-menu-keymap)
4364         (set-language-environment, set-locale-environment): Doc tweaks.
4366 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
4368         * cus-face.el (custom-face-attributes): Add wave-style underline
4369         attribute.
4370         * faces.el (set-face-attribute): Update docstring to describe
4371         wave-style underline attribute.
4373 2012-06-16  Chong Yidong  <cyd@gnu.org>
4375         * term/xterm.el (terminal-init-xterm): Discard input before
4376         querying background mode (Bug#10959).
4378 2012-06-16  Stefan Merten  <smerten@oekonux.de>
4380         * textmodes/rst.el: Added and corrected some comments.
4381         (rst-re-alist-def): Improve symbol syntax.
4382         (rst-mode-syntax-table): Correct syntax entries.
4383         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4384         (rst-official-version, rst-official-cvs-rev): Update version
4385         information.
4387 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
4389         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4390         in revno:88864.
4392 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
4394         * progmodes/python.el: New python.el merge.
4395         (python-guess-indent): Obsolete var.
4396         (python-indent-guess-indent-offset): New defcustom.
4397         (python-indent): Obsolete var.
4398         (python-indent-offset): New defcustom.
4399         (python-python-command, python-jython-command): Delete var.
4400         (python-shell-interpreter): New defcustom.
4401         (python-pdbtrack-do-tracking-p): Delete var.
4402         (python-pdbtrack-activate): New defcustom.
4403         (python-use-skeletons): Obsolete var.
4404         (python-skeleton-autoinsert): New defcustom.
4405         (inferior-python-filter-regexp, python-continuation-offset)
4406         (python-honour-comment-indentation, python-indent-string-contents)
4407         (python-jython-packages, python-mode-hook)
4408         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4409         (python-shell-prompt-alist)
4410         (python-source-modes): Delete defcustoms.
4411         (python-check-buffer-name, python-eldoc-setup-code)
4412         (python-eldoc-string-code, python-ffap-setup-code)
4413         (python-ffap-string-code, python-fill-comment-function)
4414         (python-fill-decorator-function, python-fill-paren-function)
4415         (python-fill-string-function, python-imenu-include-defun-type)
4416         (python-imenu-make-tree, python-imenu-subtree-root-label)
4417         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4418         (python-shell-compilation-regexp-alist)
4419         (python-shell-completion-module-string-code)
4420         (python-shell-completion-pdb-string-code)
4421         (python-shell-completion-setup-code)
4422         (python-shell-completion-string-code)
4423         (python-shell-enable-font-lock, python-shell-exec-path)
4424         (python-shell-extra-pythonpaths)
4425         (python-shell-internal-buffer-name, python-shell-interpreter-args)
4426         (python-shell-process-environment)
4427         (python-shell-prompt-block-regexp)
4428         (python-shell-prompt-output-regexp)
4429         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4430         (python-shell-send-setup-max-wait, python-shell-setup-codes)
4431         (python-shell-virtualenv-path): New defcustoms.
4432         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4433         (inferior-python-mode-syntax-table, python--prompt-regexp)
4434         (python-buffer, python-command python-python-command)
4435         (python-default-template, python-imports, python-indent-index)
4436         (python-indent-list, python-indent-list-length)
4437         (python-mode-running, python-pdbtrack-is-tracking-p)
4438         (python-preoutput-continuation, python-preoutput-leftover)
4439         (python-preoutput-result, python-preoutput-skip-next-prompt)
4440         (python-prev-dir/file, python-recursing)
4441         (python-saved-check-command, python-version-checked)
4442         (python-which-func-length-limit)
4443         (view-return-to-alist): Delete vars.
4444         (python-check-custom-command, python-dotty-syntax-table)
4445         (python-imenu-index-alist, python-indent-current-level)
4446         (python-indent-dedenters, python-indent-levels)
4447         (python-nav-beginning-of-defun-regexp)
4448         (python-nav-list-defun-positions-cache)
4449         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4450         (python-shell-internal-buffer)
4451         (python-skeleton-available): New vars.
4452         (def-python-skeleton): Delete macro.
4453         (python-skeleton-define): New macro.
4454         (python-define-auxiliary-skeleton, python-rx): New macros.
4455         (python-insert-class): Delete command.
4456         (python-skeleton-class): New command.
4457         (python-insert-def): Delete command.
4458         (python-skeleton-def): New command.
4459         (python-insert-for): Delete command.
4460         (python-skeleton-for): New command.
4461         (python-insert-if): Delete command.
4462         (python-skeleton-if): New command.
4463         (python-insert-try/except, python-insert-try/finally): Delete commands.
4464         (python-skeleton-try): New command.
4465         (python-insert-while): Delete command.
4466         (python-skeleton-while): New command.
4467         (python-backspace): Delete command.
4468         (python-indent-dedent-line-backspace): New command.
4469         (python-electric-colon): Delete command.
4470         (python-indent-electric-colon): New command.
4471         (python-guess-indent): Delete command.
4472         (python-indent-guess-indent-offset): New command.
4473         (python-shift-left): Delete command.
4474         (python-indent-shift-left): New command.
4475         (python-shift-right): Delete command.
4476         (python-indent-shift-right): New command.
4477         (python-find-function): Delete command.
4478         (python-nav-jump-to-defun): New command.
4479         (python-next-statement): Delete command.
4480         (python-nav-forward-sentence): New command.
4481         (python-previous-statement): Delete command.
4482         (python-nav-backward-sentence): New command.
4483         (python-fill-paragraph): Delete command.
4484         (python-fill-paragraph-function): New command.
4485         (python-send-buffer): Delete command.
4486         (python-shell-send-buffer): New command.
4487         (python-send-defun): Delete command.
4488         (python-shell-send-defun): New command.
4489         (python-send-region, python-send-region-and-go): Delete commands.
4490         (python-shell-send-region)
4491         (python-shell-switch-to-shell): New commands.
4492         (python-send-string): Delete command.
4493         (python-shell-send-string): New command.
4494         (python-switch-to-python): Delete command.
4495         (python-shell-switch-to-shell): New command.
4496         (python-describe-symbol): Delete command.
4497         (python-eldoc-at-point): New command.
4498         (python--set-prompt-regexp, python-args-to-list)
4499         (python-after-info-look, python-check-version)
4500         (python-check-comint-prompt, python-find-imports)
4501         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
4502         (python-unload-function, python-expand-template)
4503         (python-maybe-jython, python-preoutput-filter)
4504         (python-pdbtrack-get-source-buffer)
4505         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
4506         (python-pdbtrack-toggle-stack-tracking)
4507         (python-pdbtrack-track-stack-file, python-initial-text)
4508         (python-first-word, python-comment-line-p, python-send-command)
4509         (python-setup-brm, python-sentinel, python-set-proc)
4510         (python-skip-out, python-input-filter, python-outdent-p)
4511         (python-outline-level, python-backslash-continuation-line-p)
4512         (python-end-of-block, python-end-of-statement, python-mark-block)
4513         (python-beginning-of-block, python-beginning-of-statement)
4514         (python-blank-line-p, python-beginning-of-string)
4515         (python-open-block-statement-p): Delete functions.
4516         (python-indent-line, python-indent-line-1): Delete functions.
4517         (python-indent-line): New function.
4518         (python-indentation-levels): Delete function.
4519         (python-indent-calculate-levels): New function.
4520         (python-proc): Delete function.
4521         (python-shell-get-process): New function.
4522         (python-send-receive): Delete function.
4523         (python-shell-send-string-no-output): New function.
4524         (python-module-path): Delete function.
4525         (python-ffap-module-path): New function.
4526         (python-completion-at-point)
4527         (python-symbol-completions): Delete functions.
4528         (python-completion-complete-at-point): New function.
4529         (python-load-file): Delete function.
4530         (python-shell-send-file): New function.
4531         (python-calculate-indentation): Delete function.
4532         (python-indent-calculate-indentation): New function.
4533         (python-skip-comments/blanks): Delete function.
4534         (python-util-forward-comment): New function.
4535         (python-continuation-line-p): Delete function.
4536         (python-info-continuation-line-p): New function.
4537         (python-which-func, python-current-defun): Delete function.
4538         (python-info-current-defun): New function.
4539         (python-beginning-of-defun): Delete function.
4540         (python-nav-beginning-of-defun): New function.
4541         (python-close-block-statement-p)
4542         (python-block-end-p): Delete function.
4543         (python-info-closing-block): New function.
4544         (python-comint-output-filter-function)
4545         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
4546         (python-fill-comment, python-fill-decorator, python-fill-paren)
4547         (python-fill-string, python-imenu-make-element-tree)
4548         (python-imenu-make-tree, python-imenu-tree-assoc)
4549         (python-indent-context, python-indent-dedent-line)
4550         (python-indent-line-function)
4551         (python-indent-post-self-insert-function)
4552         (python-indent-toggle-levels)
4553         (python-info-assignment-continuation-line-p)
4554         (python-info-beginning-of-backlash)
4555         (python-info-block-continuation-line-p)
4556         (python-info-closing-block-message)
4557         (python-info-line-ends-backslash-p)
4558         (python-info-looking-at-beginning-of-defun)
4559         (python-info-ppss-context, python-info-ppss-context-type)
4560         (python-nav-list-defun-positions, python-nav-read-defun)
4561         (python-nav-sentence-end, python-nav-sentence-start)
4562         (python-pdbtrack-comint-output-filter-function)
4563         (python-pdbtrack-set-tracked-buffer)
4564         (python-shell-calculate-exec-path)
4565         (python-shell-calculate-process-environment)
4566         (python-shell-completion--do-completion-at-point)
4567         (python-shell-completion--get-completions)
4568         (python-shell-completion-complete-at-point)
4569         (python-shell-completion-complete-or-indent)
4570         (python-shell-get-or-create-process)
4571         (python-shell-get-process-name)
4572         (python-shell-internal-get-or-create-process)
4573         (python-shell-internal-get-process-name)
4574         (python-shell-internal-send-string, python-shell-make-comint)
4575         (python-shell-parse-command, python-shell-send-setup-code)
4576         (python-skeleton-add-menu-items)
4577         (python-util-clone-local-variables, python-util-position)
4578         (run-python-internal, python-indentation-levels)
4579         (python-nav-beginning-of-defun)
4580         (python-completion-complete-at-point): New functions.
4581         (run-python): Change arguments.  New API requirements.
4583 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4585         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
4586         (bug#11649).
4588         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
4589         (macroexp--expand-all): Use it.
4591         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
4592         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
4593         Use `cl-function' instead.
4595 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
4597         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4598         Suggested by Stefan Monnier while discussing bug#11657.
4600 2012-06-14  Sam Steingold  <sds@gnu.org>
4602         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
4604 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4606         * play/doctor.el (doctor-doc): Remove parameter and use
4607         doctor-sent instead of sent.
4608         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
4610 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4612         * files.el: Require cl-lib.
4613         (file-name-non-special): Replace case -> cl-case.
4615         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
4617         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
4618         mapping from #' to function*.
4620 2012-06-13  Chong Yidong  <cyd@gnu.org>
4622         * mouse.el (mouse-drag-track): Do not set the mark if the user
4623         releases the mouse without selecting anything (Bug#11588).
4625 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4627         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
4628         as well (bug#11646).
4630         * loadup.el: Count byte-code functions as well.
4632         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
4633         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
4635         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
4636         (bug#11649).  Add cl-defun and cl-defmacro.
4638 2012-06-13  Drew Adams  <drew.adams@oracle.com>
4640         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4641         Fix last change.
4643 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
4645         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
4646         Otherwise, it blocks in batch mode.
4648 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
4650         * help-mode.el (bookmark-make-record-default): Declare.
4652 2012-06-13  Chong Yidong  <cyd@gnu.org>
4654         * emacs-lisp/package.el (list-packages): Compute a list of
4655         packages that are newly-available since the last list-packages
4656         invocation.
4657         (package-menu--new-package-list): New var.
4658         (package-menu--generate, package-menu--print-info)
4659         (package-menu--status-predicate, package-menu-mark-install):
4660         Handle new status label "new".
4662 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4664         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4665         conversion to backquotes.
4667 2012-06-12  Chong Yidong  <cyd@gnu.org>
4669         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
4670         Rename from gud-inhibit-global-bindings.
4672         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
4674         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
4675         hook from nxml-glyph-set-hook.
4677         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
4678         declaration.
4680         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
4682         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
4683         Convert to defcustom.
4685 2012-06-12  Drew Adams  <drew.adams@oracle.com>
4687         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
4688         New functions.
4689         (help-mode): Use them.
4691 2012-06-11  Glenn Morris  <rgm@gnu.org>
4693         * progmodes/fortran.el (fortran-font-lock-keywords-3):
4694         Use preprocessor face for directives.
4695         (fortran-directive-re): Doc fix.
4697 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4699         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
4700         conversion to backquotes (bug#11652).
4702         Fix compiler-expansion of CL's cXXr functions (bug#11673).
4703         * emacs-lisp/cl-lib.el (cl--defalias): New function.
4704         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
4705         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
4706         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4707         (cl-ninth, cl-tenth): Mark them as inlinable.
4708         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
4709         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
4710         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
4711         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
4712         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
4713         (cl-list*, cl-adjoin): Don't put an autoload manually.
4714         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
4715         (cl--compiler-macro-list*): Add autoload cookie.
4716         (cl--compiler-macro-cXXr): New function.
4718         * help-fns.el (help-fns--compiler-macro): New function extracted from
4719         describe-function-1; follow aliases and use `compiler-macro' property.
4720         (describe-function-1): Use it.
4722 2012-06-11  Chong Yidong  <cyd@gnu.org>
4724         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
4725         is uninstalled, if imagemagick is installed.
4727 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4729         * emacs-lisp/cl-lib.el: Use lexical-binding.
4730         (cl-map-extents, cl-maclisp-member): Remove.
4731         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
4732         (cl--set-substring, cl--block-wrapper, cl--block-throw)
4733         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
4734         * emacs-lisp/cl-extra.el: Use lexical-binding.
4735         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
4736         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
4737         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
4738         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
4739         * emacs-lisp/cl-seq.el: Use lexical-binding.
4740         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
4741         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
4742         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
4743         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
4744         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4745         CL's internals.
4747 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
4749         Sync with Tramp 2.2.6-pre.
4751         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4752         `print-length' and `print-level' to nil, in order to avoid
4753         truncation.  Reported by Christopher Schmidt
4754         <christopher@ristopher.com>.
4756         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4758         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4759         New defmacro.
4760         (tramp-compat-copy-directory): Add optional argument
4761         COPY-CONTENTS.  It is not handled yet.
4763         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4764         (tramp-ftp-file-name-p): Simplify.
4766         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4767         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4768         connection vector.
4770         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4771         (tramp-methods): Do not use `tramp-password-end-of-line'.
4772         (tramp-completion-function-alist-putty): Handle UNIX case.
4773         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4774         (tramp-do-file-attributes-with-stat)
4775         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4776         gid as real numbers.  They could run out of integer range on cygwin.
4777         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4778         (tramp-sh-handle-expand-file-name): Handle hops.
4779         (tramp-open-connection-setup-interactive-shell):
4780         Use `tramp-cleanup'.  Move check for busyboxes ...
4781         (tramp-find-shell): ... here.  Simplify implementation.
4782         Set "remote-shell" property also for alternative shells.
4783         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4784         If failing, a regular file would be written otherwise.
4785         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4786         (tramp-find-inline-encoding): Cache the coding commands in the
4787         process cache.  Apply test command on the remote side, if defined.
4788         (tramp-find-inline-compress): Cache the compress commands in the
4789         process cache.
4790         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4791         when requested.  Handle hops.
4792         (tramp-current-connection): New defvar.
4793         (tramp-maybe-open-connection): Use `tramp-cleanup'.
4794         Throw `suppress', if there was a failed connection shortly before.
4795         Handle user interrupt.  (Bug#10187)
4796         (tramp-get-inline-compress, tramp-get-inline-coding):
4797         Read connection properties from the process cache.
4799         * net/tramp-smb.el (tramp-smb-server-version)
4800         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4801         New defconsts.
4802         (tramp-smb-prompt): Extend for powershell prompt.
4803         (tramp-smb-file-name-handler-alist): Add handlers for
4804         `process-file', `shell-command' and `start-file-process'.
4805         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4806         (tramp-smb-winexe-shell-command-switch): New defcustoms.
4807         (tramp-smb-file-name-p): Simplify.
4808         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4809         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4810         (tramp-smb-shell-quote-argument): New defuns.
4811         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4812         Implement using "tar".  By this, time-stamps are preserved.
4813         (tramp-smb-handle-copy-file): Handle also the case of directories.
4814         (tramp-smb-do-file-attributes-with-stat)
4815         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4816         Use `tramp-get-connection-buffer').
4817         (tramp-smb-handle-rename-file): Use "rename", when source and
4818         target are on the same share.
4819         (tramp-smb-maybe-open-connection): Handle wrong passwords.
4820         Use `tramp-smb-server-version'.
4821         (tramp-smb-wait-for-output): Remove prompt.
4823         * net/tramp.el (top): Require 'cl.
4824         (tramp-methods, tramp-rsh-end-of-line):
4825         Remove `tramp-password-end-of-line' from docstring.
4826         (tramp-save-ad-hoc-proxies): New defcustom.
4827         (tramp-completion-function-alist): Adapt docstring.
4828         (tramp-default-password-end-of-line): Remove defcustom.
4829         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
4830         (tramp-user-regexp, tramp-file-name-regexp-unified)
4831         (tramp-file-name-regexp-url): Extend regexp by hop separator.
4832         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4833         (tramp-remote-file-name-spec-regexp): New defconst.
4834         (tramp-file-name-structure): Extend structure for hops.
4835         (tramp-get-method-parameter): Move up.
4836         (tramp-file-name-p, tramp-dissect-file-name)
4837         (with-parsed-tramp-file-name): Handle hops.
4838         (tramp-file-name-hop): New defun.
4839         (tramp-make-tramp-file-name): New optional arg HOP.
4840         (tramp-message-show-progress-reporter-message): New defvar.
4841         (tramp-with-progress-reporter): Use it.  We cannot use
4842         `tramp-message-show-message' here, because this suppresses also
4843         error buffers.
4844         (tramp-error-with-buffer): Suppress buffer view, if
4845         `tramp-message-show-message' is nil.
4846         Use `tramp-get-connection-buffer'.
4847         (tramp-cleanup): New defun.
4848         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4849         (tramp-file-name-handler): If `debug-on-error' is set, propagate
4850         an error unchanged.
4851         (tramp-completion-handle-file-name-all-completions): Handle hops.
4852         Fix an error when called from ido.
4853         (tramp-completion-dissect-file-name): Use better local variable
4854         name.  Add hop to the vector.
4855         (tramp-handle-insert-file-contents): Use progress-reporter for the
4856         whole scenario.
4857         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4858         to `t'.
4859         (tramp-check-for-regexp): Simplify search.
4860         (tramp-enter-password): Remove it.  Move implementation ...
4861         (tramp-action-password): ... here.
4862         (tramp-mode-string-to-int, tramp-local-host-p)
4863         (tramp-make-tramp-temp-file, tramp-read-passwd)
4864         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4865         Set tramp-autoload cookie.
4867         * net/trampver.el: Update release number.
4869 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4870             Michael Albinus  <michael.albinus@gmx.de>
4872         * net/tramp.el (tramp-set-completion-function): Fix docstring.
4873         (tramp-parse-group, tramp-parse-file)
4874         (tramp-parse-shostkeys-sknownhosts): New defuns.
4875         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4876         (tramp-parse-shosts-group, tramp-parse-sconfig)
4877         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4878         (tramp-parse-sknownhosts, tramp-parse-hosts)
4879         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4880         Use them.
4881         (tramp-parse-passwd-group, tramp-parse-netrc-group)
4882         (tramp-parse-putty-group): Don't narrow.
4883         (tramp-parse-putty): Make a loop.
4884         (tramp-file-name-handler): Catch the `suppress' signal.
4886 2012-06-11  Chong Yidong  <cyd@gnu.org>
4888         * image.el (imagemagick-register-types): Put the ImageMagick entry
4889         at the end of image-type-file-name-regexps.
4891 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
4893         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4894         (pcase, pcase-let*, pcase-dolist): Use them.
4896 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4898         * emacs-lisp/pcase.el (pcase--let*): New function.
4899         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
4900         (pcase--expand): Use macroexp-let².
4902 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4904         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4905         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4906         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4907         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4908         * emacs-lisp/derived.el: Use pcase instead of `cl'.
4909         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4911 2012-06-10  Glenn Morris  <rgm@gnu.org>
4913         * mail/rmail.el (rmail-yank-current-message): Leave point at
4914         correct position.  (Bug#11660)
4916 2012-06-10  Chong Yidong  <cyd@gnu.org>
4918         * allout-widgets.el: Fix code header.
4920 2012-06-10  Chong Yidong  <cyd@gnu.org>
4922         * cus-edit.el (customize-changed-options-previous-release):
4923         Bump to 24.1.
4925 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
4927         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4929 2012-06-09  Chong Yidong  <cyd@gnu.org>
4931         * ebuff-menu.el (electric-buffer-list): Preserve header line.
4933 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
4935         * window.el (special-display-popup-frame): Don't use
4936         window--display-buffer (Bug#11651).
4938 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
4940         Fix parallel builds: make sure loaddefs.el is not being written
4941         while Lisp files are compiled.
4942         (compile): Don't depend on 'mh-autoloads'.
4943         (compile-CMD, compile-SH): Depend on 'autoloads'.
4944         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4946         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
4948 2012-06-09  Chong Yidong  <cyd@gnu.org>
4950         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4951         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4952         Doc fixes (Bug#11225).
4954 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4956         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4957         a function if there's a clear indication that it has a compiler-macro.
4958         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4959         (macro-declarations-alist): Add arglist to declaration functions.
4960         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4961         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4962         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4963         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4964         Also add autoload to find the compiler macro.
4965         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4966         (cl--compiler-macro-member, cl--compiler-macro-assoc)
4967         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4968         (cl--compiler-macro-get): New functions, replacing calls to
4969         cl-define-compiler-macro.
4970         (cl-typep) [compiler-macro]: Use macroexp-let².
4972 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
4974         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4975         string properly, fixes Bug#11473.
4977 2012-06-08  Chong Yidong  <cyd@gnu.org>
4979         * faces.el (set-face-attribute): Doc fix.
4980         (modify-face): Don't use :bold and :italic.
4981         (error, warning, success): Tweak definitions.
4983         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4984         (custom-modified, custom-set, custom-changed, custom-themed)
4985         (custom-saved, custom-button, custom-button-mouse)
4986         (custom-button-pressed, custom-state, custom-comment-tag)
4987         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4988         (custom-group-subtitle): Use new-style face specs.
4989         (custom-invalid-face, custom-rogue-face, custom-modified-face)
4990         (custom-set-face, custom-changed-face, custom-saved-face)
4991         (custom-button-face, custom-button-pressed-face)
4992         (custom-documentation-face, custom-state-face)
4993         (custom-comment-face, custom-comment-tag-face)
4994         (custom-variable-tag-face, custom-variable-button-face)
4995         (custom-face-tag-face, custom-group-tag-face-1)
4996         (custom-group-tag-face): Remove obsolete face alias.
4998         * epa.el (epa-validity-high, epa-validity-medium)
4999         (epa-validity-low, epa-mark, epa-field-name, epa-string)
5000         (epa-field-name, epa-field-body):
5001         * font-lock.el (font-lock-comment-face, font-lock-string-face)
5002         (font-lock-keyword-face, font-lock-builtin-face)
5003         (font-lock-function-name-face, font-lock-variable-name-face)
5004         (font-lock-type-face, font-lock-constant-face):
5005         * ido.el (ido-first-match, ido-only-match, ido-subdir)
5006         (ido-virtual, ido-indicator, ido-incomplete-regexp):
5007         * speedbar.el (speedbar-button-face, speedbar-file-face)
5008         (speedbar-directory-face, speedbar-tag-face)
5009         (speedbar-selected-face, speedbar-highlight-face)
5010         (speedbar-separator-face):
5011         * whitespace.el (whitespace-newline, whitespace-space)
5012         (whitespace-hspace, whitespace-tab, whitespace-trailing)
5013         (whitespace-line, whitespace-space-before-tab)
5014         (whitespace-space-after-tab, whitespace-indentation)
5015         (whitespace-empty):
5016         * emulation/cua-base.el (cua-global-mark):
5017         * eshell/em-prompt.el (eshell-prompt):
5018         * net/newst-plainview.el (newsticker-new-item-face)
5019         (newsticker-old-item-face, newsticker-immortal-item-face)
5020         (newsticker-obsolete-item-face, newsticker-date-face)
5021         (newsticker-statistics-face, newsticker-default-face):
5022         * net/newst-reader.el (newsticker-feed-face)
5023         (newsticker-extra-face, newsticker-enclosure-face):
5024         * net/newst-treeview.el (newsticker-treeview-face)
5025         (newsticker-treeview-new-face, newsticker-treeview-old-face)
5026         (newsticker-treeview-immortal-face)
5027         (newsticker-treeview-obsolete-face)
5028         (newsticker-treeview-selection-face):
5029         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5030         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5031         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5032         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5033         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5034         (nxml-outline-active-indicator, nxml-outline-ellipsis):
5035         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5036         (mpuz-text):
5037         * progmodes/vera-mode.el (vera-font-lock-number)
5038         (vera-font-lock-function, vera-font-lock-interface):
5039         * textmodes/table.el (table-cell): Use new-style face specs, and
5040         don't use the old :bold and :italic attributes.
5042         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5043         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5044         (ebrowse-member-class, ebrowse-progress): Likewise.
5045         (ebrowse-tree-mark-face, ebrowse-root-class-face)
5046         (ebrowse-file-name-face, ebrowse-default-face)
5047         (ebrowse-member-attribute-face, ebrowse-member-class-face)
5048         (ebrowse-progress-face): Remove obsolete faces.
5050         * progmodes/flymake.el (flymake-errline, flymake-warnline):
5051         Inherit from error and warning faces respectively.
5053         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5054         Likewise.
5055         (flyspell-incorrect-face, flyspell-duplicate-face):
5056         Remove obsolete aliases.
5058 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
5060         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5061         Avoid infloop.
5063 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5065         * startup.el (argv, argi): Make lexically scoped.
5066         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5067         * emacs-lisp/cl-macs.el: Use lexical-binding.
5068         Rename cl-bind-* to cl--bind-*.
5069         * files.el: Don't require `cl' since it doesn't use it.
5070         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5072 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
5074         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of revno:89810).
5075         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5076         instead of calling external sort utility.
5077         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5079 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
5081         * descr-text.el (describe-char): Mention how to insert the
5082         character, if the current input method doesn't support it.
5083         See the discussion in this thread for the details:
5084         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5086 2012-06-08  Sam Steingold  <sds@gnu.org>
5088         * bindings.el (global-map): Bind XF86Forward to next-buffer and
5089         XF86Back to previous-buffer.
5090         (minibuffer-local-map): Bind them to next-history-element and
5091         previous-history-element respectively.
5092         * help-mode.el (help-mode-map): Bind them to help-go-forward and
5093         help-go-back respectively.
5094         * info.el (Info-mode-map): Bind them to Info-history-forward and
5095         Info-history-back respectively.
5096         These are the keys next to Up on the ThinkPad keyboard.
5098 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5100         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5101         * emacs-lisp/cl-macs.el: Provide itself.
5102         (cl--labels-convert-cache): New var.
5103         (cl--labels-convert): New function.
5104         (cl-flet, cl-labels): New implementation with new semantics, relying on
5105         lexical-binding.
5106         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5107         (cl-closure-vars, cl--function-convert-cache)
5108         (cl--function-convert): Move from cl-macs.el.
5109         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5110         rename by removing the "cl-" prefix.
5111         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5113 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5115         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5116         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5117         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5118         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5119         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5120         (cl-hash-table-count): Add old compatibility aliases.
5122         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5123         Use macroexpand-all-environment instead.
5124         (cl--old-macroexpand): New var.
5125         (cl--sm-macroexpand): New function.
5126         (cl-symbol-macrolet): Use it during macro expansion.
5127         (cl--function-convert-cache): New var.
5128         (cl--function-convert): New function, extracted from
5129         cl-macroexpand-all.
5130         (cl-lexical-let): Use it.
5132         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5133         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5134         (cl-member): Remove old alias.
5136         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5137         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5138         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5139         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5140         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5141         (cl-macroexpand-cmacs): Remove var.
5142         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5143         Use macroexpand-all instead.
5145 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5147         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5148         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5149         (macroexp-copyable-p): New functions and macros.
5150         * emacs-lisp/edebug.el (edebug-unwrap):
5151         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5152         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5153         (pcase--let*): Remove.
5154         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5155         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
5156         macroexp-const-p instead.
5157         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5159         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5160         instead of "cl-" for internal definitions.  Use macroexp-const-p.
5161         (cl-old-bc-file-form): Remove var.
5162         (cl-const-exprs-p): Remove fun.
5163         (cl-labels, cl-macrolet): Use backquote.
5164         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
5165         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5166         (cl-define-setf-expander): Rename from cl-define-setf-method.
5167         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5169         * international/mule-cmds.el: Don't require CL.
5170         (view-hello-file): Don't use `letf'.
5172 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5174         * tmm.el (tmm-prompt): Use string-prefix-p.
5175         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5176         (tmm-add-prompt): Use minibuffer-completion-help.
5177         (tmm-delete-map): Remove.
5179         * subr.el (kbd): Make it its own function.
5181 2012-06-07  Stefan Merten  <smerten@oekonux.de>
5183         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5184         Silence compiler warnings.  Fix versions.
5185         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5186         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5187         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5188         (rst-package-emacs-version-alist): Correct Emacs version to
5189         represent major merge with upstream.
5190         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5192 2012-06-06  Glenn Morris  <rgm@gnu.org>
5194         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5195         Only print environment variables if set.
5197 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5199         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5200         (macroexp--cons): Rename from maybe-cons.
5201         (macroexp--accumulate): Rename from macroexp-accumulate.
5202         (macroexp--all-forms): Rename from macroexpand-all-forms.
5203         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5204         (macroexp--expand-all): Rename from macroexpand-all-1.
5206 2012-06-06  Sam Steingold  <sds@gnu.org>
5208         * calendar/calendar.el (calendar-in-read-only-buffer):
5209         Call `special-mode' to enable the standard read-only keybindings.
5211 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5213         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5214         with "loading" messages (bug#11635).
5216 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
5218         * files.el (enable-remote-dir-locals): New option.
5219         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
5221         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5222         Ensure, that the temp directory is local.
5224         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5225         `temporary-file-directory'.
5227         * progmodes/python.el (python-send-region): Ensure, that the
5228         temporary file is created also in the remote case.
5230 2012-06-06  Glenn Morris  <rgm@gnu.org>
5232         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5233         (vc-rcs-update-changelog): Use it.
5235         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5237         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5238         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5239         (vc-sccs-diff): Replace use of the external vcdiff script.
5241 2012-06-05  Glenn Morris  <rgm@gnu.org>
5243         * ledit.el: Move to obsolete/.
5245 2012-06-05  Sam Steingold  <sds@gnu.org>
5247         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5248         patch (Bug#11140).
5250 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5252         * emacs-lisp/cust-print.el: Move to obsolete.
5254         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5255         compiler-macro expansion.
5257         Add native compiler-macro support.
5258         * emacs-lisp/macroexp.el (macroexpand-all-1):
5259         Support compiler-macros directly.  Properly follow aliases and apply
5260         the compiler macros more thoroughly.
5261         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5262         macroexpand now properly follows aliases.
5263         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5264         (cl-compiler-macroexpand): Use new prop.
5265         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5267         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5269 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
5271         * window.el (get-lru-window, get-mru-window, get-largest-window):
5272         New argument NOT-SELECTED to avoid picking the selected window.
5273         (window--display-buffer-1, window--display-buffer-2): Replace by
5274         new function window--display-buffer
5275         (display-buffer-same-window, display-buffer-reuse-window)
5276         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5277         Use window--display-buffer.
5278         (display-buffer-use-some-window): Remove temporary dedication
5279         hack by calling get-lru-window and get-largest-window with
5280         NOT-SELECTED argument non-nil.  Call window--display-buffer.
5282 2012-06-05  Glenn Morris  <rgm@gnu.org>
5284         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5285         Replace external vcdiff script.
5287 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5289         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5291 2012-06-04  Chong Yidong  <cyd@gnu.org>
5293         * image.el (imagemagick-types-inhibit): Revert last change.
5294         Add INFO and M.
5295         (imagemagick-enabled-types): Remove CIN and EPS*.
5297 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5299         * emacs-lisp/cl-lib.el: Rename from cl.el.
5300         * emacs-lisp/cl.el: New compatibility file.
5301         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5302         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5303         to obey the "cl-" prefix.
5304         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5306 2012-06-03  Glenn Morris  <rgm@gnu.org>
5308         * emacs-lisp/authors.el (authors-aliases): Addition.
5310         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5311         Fix :version.
5313 2012-06-03  Stefan Merten  <smerten@oekonux.de>
5315         * textmodes/rst.el: Add comments.
5316         (rst-transition, rst-adornment): New faces.
5317         (rst-adornment-faces-alist): Make default safe to reevaluate.
5318         Fixes
5319         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5320         Improve customization tags.
5321         (rst-define-level-faces): Clarify meaning.
5323 2012-06-03  Chong Yidong  <cyd@gnu.org>
5325         * progmodes/compile.el (compilation-mode-line-fail)
5326         (compilation-mode-line-run, compilation-mode-line-exit):
5327         New faces.
5328         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5330 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
5332         * progmodes/which-func.el (which-func-update-ediff-windows):
5333         New function.  Use it in ediff-select-hook (Bug#11478).
5335 2012-06-03  Chong Yidong  <cyd@gnu.org>
5337         * bindings.el: Remove explicit help text from format-mode-line.
5338         It is now supplied by mode-line-default-help-echo.
5339         (mode-line-front-space, mode-line-end-spaces)
5340         (mode-line-misc-info): New variables.
5341         (mode-line-modes, mode-line-position): Move the default value to
5342         the variable definition.
5343         (mode-line-default-help-echo): New defcustom.
5344         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5345         (mode-line-modified-help-echo): New functions.
5346         (mode-line-mule-info, mode-line-modified): Use them.
5347         (mode-line-eol-desc, propertized-buffer-identification):
5348         Consistency fixes for help text.
5349         (mode-line-coding-system-map): Allow using mouse-3 to invoke
5350         set-buffer-file-coding-system (Bug#289).
5351         (mode-line-mule-info-help-echo): Update help text.
5353 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5355         * simple.el (execute-extended-command): Set real-this-command
5356         (bug#11506).
5358 2012-06-02  Chong Yidong  <cyd@gnu.org>
5360         Remove incorrect uses of "modeline" in comments, docstrings, and
5361         function/variable names (Bug#10329).
5363         * cus-edit.el (mode-line):
5364         * dframe.el (dframe-mouse-hscroll):
5365         * emacs-lisp/re-builder.el:
5366         * emacs-lisp/easy-mmode.el (define-minor-mode):
5367         * frame.el (set-frame-name):
5368         * help.el (lookup-minor-mode-from-indicator):
5369         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5370         * progmodes/cc-cmds.el (c-toggle-auto-newline)
5371         (c-toggle-hungry-state):
5372         * progmodes/antlr-mode.el (antlr-language-alist):
5373         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5374         * progmodes/vhdl-mode.el (vhdl-mode):
5375         * progmodes/which-func.el (which-func, which-func-cleanup-function):
5376         * term/ns-win.el (ns-face-at-pos):
5377         * term/sup-mouse.el (sup-mouse-report):
5378         * textmodes/flyspell.el (flyspell-mode-line-string):
5379         * textmodes/ispell.el (ispell-highlight-face):
5380         * textmodes/reftex-global.el:
5381         * vc/vc-arch.el (vc-arch-mode-line-string):
5382         * vc/vc-cvs.el (vc-cvs-mode-line-string):
5383         * vc/vc-git.el (vc-git-mode-line-string):
5384         * vc/vc-hooks.el (vc-display-status)
5385         (vc-default-mode-line-string):
5386         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5388         * ansi-color.el (ansi-color-faces-vector): Change default faces.
5390         * dired.el (dired-sort-set-mode-line): Rename from
5391         dired-sort-set-modeline.  All callers changed.
5393         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5394         eshell-status-in-modeline.
5396         * foldout.el (foldout-mode-line-string): Rename from
5397         foldout-modeline-string.  All callers changed.
5398         (foldout-update-mode-line): Rename from foldout-update-modeline.
5400         * subr.el (redraw-modeline): Make into obsolete alias.
5402         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5403         timeclock-modeline-display.  Make old name an alias.
5404         (timeclock-update-mode-line): Likewise.  All callers changed.
5405         (timeclock-mode-line-display): No need to check before using
5406         add-hook.
5407         (timeclock-relative, timeclock-day-over-hook)
5408         (timeclock-use-elapsed, timeclock-mode-string)
5409         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5411         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5412         crisp-mode-modeline-string.
5414         * play/solitaire.el (solitaire-build-mode-line): Rename from
5415         solitaire-build-modeline.  All callers changed.
5417         * play/zone.el (zone-hiding-mode-line): Rename from
5418         zone-hiding-modeline.  All callers changed.
5419         (zone): Remove unusued `modeline-hidden-level' property.
5421         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5422         xscheme-modeline-initialize.  All callers changed.
5424         * strokes.el (strokes-lighter): Rename from
5425         strokes-modeline-string.
5427         * textmodes/sgml-mode.el (html-face-tag-alist)
5428         (html-tag-face-alist): Use mode-line face instead of obsolete
5429         alias modeline.
5431 2012-06-02  Stefan Merten  <smerten@oekonux.de>
5433         * textmodes/rst.el: Always require `cl'.
5434         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5436 2012-06-02  Chong Yidong  <cyd@gnu.org>
5438         * image.el (imagemagick-enabled-types): Rename from
5439         imagemagick-types-enable.  Add many more types.
5440         (imagemagick-types-inhibit): Change default to nil.
5441         (imagemagick-filter-types): Caller changed.
5443 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5445         * emacs-lisp/cl-macs.el: Use backquotes.
5446         (cl-transform-function-property): Use eval-and-compile rather than
5447         abusing `require'.
5448         (defstruct): Use declare-function instead of with-no-warnings.
5450         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5451         (byte-compile-output-docform): Re-add the print-circle bindings.
5452         (byte-compile-fix-header): Use #$ just because it's shorter.
5453         (byte-compile-output-file-form): Remove defun/defmacro.
5455 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
5457         * simple.el (choose-completion): Remove now obsolete binding for
5458         owindow.
5460 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
5462         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
5463         in order to avoid "Stack overflow in regexp matcher".
5465 2012-05-31  Glenn Morris  <rgm@gnu.org>
5467         * image.el: For clarity, call imagemagick-register-types at
5468         top-level, rather than relying on a custom :initialize.
5469         (imagemagick-types-enable): New option.  (Bug#11557)
5470         (imagemagick-filter-types): New function.  (Bug#7406)
5471         (imagemagick-register-types): Use imagemagick-filter-types.
5472         If disabling support, remove elements altogether rather
5473         than using an impossible regexp.
5474         (imagemagick-types-inhibit): Give it the default init function.
5476 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5478         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
5479         Handle arbitrary file name lengths (Bug#11585).
5481 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
5483         * desktop.el (desktop-read): Clear previous and next buffers for
5484         all windows and bury *Messages* buffer (bug#11556).
5486 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5488         Add `declare' for `defun'.  Align `defmacro's with it.
5489         * emacs-lisp/easy-mmode.el (define-minor-mode)
5490         (define-globalized-minor-mode): Don't autoload the var definitions.
5491         * emacs-lisp/byte-run.el: Use lexical-binding.
5492         (defun-declarations-alist, macro-declarations-alist): New vars.
5493         (defmacro, defun): Use them.
5494         (make-obsolete, define-obsolete-function-alias)
5495         (make-obsolete-variable, define-obsolete-variable-alias):
5496         Use `declare'.
5497         (macro-declaration-function): Mark obsolete.
5498         * emacs-lisp/autoload.el: Use lexical-binding.
5499         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
5501 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5503         * textmodes/ispell.el (ispell-with-no-warnings):
5504         Define as a macro.
5505         (ispell-kill-ispell, ispell-change-dictionary):
5506         Use `called-interactively-p' for Emacs instead of obsolete
5507         `interactive-p'.
5509 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
5511         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
5512         (macro-declaration-function): Move var from C code.
5513         (macro-declaration-function): Define function with defalias.
5514         * emacs-lisp/macroexp.el (macroexpand-all-1):
5515         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
5516         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
5517         defun/defmacro any more.
5518         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
5519         Provide fallback for unknown arglist.
5520         (byte-compile-arglist-warn): Change calling convention.
5521         (byte-compile-output-file-form): Move print-vars binding.
5522         (byte-compile-output-docform): Simplify accordingly.
5523         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
5524         (byte-compile-defmacro-declaration): Remove.
5525         (byte-compile-file-form-defmumble): Generalize to defalias.
5526         (byte-compile-output-as-comment): Return byte-positions.
5527         Simplify callers accordingly.
5528         (byte-compile-lambda): Use `assert'.
5529         (byte-compile-defun, byte-compile-defmacro): Remove.
5530         (byte-compile-file-form-defalias):
5531         Use byte-compile-file-form-defmumble.
5532         (byte-compile-defalias-warn): Remove.
5534 2012-05-29  Stefan Merten  <smerten@oekonux.de>
5536         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
5537         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
5539         (rst-mode-abbrev-table): Merge definition.
5540         (rst-mode): Make sure `font-lock-defaults' is buffer local.
5541         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
5543 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
5545         * calendar/icalendar.el
5546         (icalendar-export-region): Export UID properly.
5548 2012-05-29  Leo Liu  <sdl.web@gmail.com>
5549         * calendar/icalendar.el (icalendar-import-format):
5550         Add `icalendar-import-format-uid' (Bug#11525).
5551         (icalendar-import-format-uid): New.
5552         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
5553         Export UID.
5555 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5557         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
5558         different alternative patterns.
5559         (pcase-codegen): Be more careful to preserve identity.
5560         (pcase--u1): Don't forget to mark vars as used.
5562         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
5563         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
5564         (byte-compile-from-buffer): ...rather than here.
5566         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
5567         functions from byte-compile-function-environment.
5569 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
5571         * window.el (window-deletable-p): Avoid deleting the root window
5572         of a frame with an active minibuffer.
5574 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
5576         * simple.el (choose-completion): Use quit-window (Bug#11567).
5578 2012-05-29  Chong Yidong  <cyd@gnu.org>
5580         * whitespace.el (whitespace-cleanup): Fix usage of
5581         whitespace-empty-at-bob-regexp (Bug#11492).
5583 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5585         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
5586         revert (Bug#11488).
5588 2012-05-29  Juri Linkov  <juri@jurta.org>
5590         * isearch.el (isearch-mode-map): Bind `M-s _' to
5591         `isearch-toggle-symbol'.  Bind `M-s c' to
5592         `isearch-toggle-case-fold'.
5593         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
5594         (isearch-forward): Add `M-s _' to the docstring.
5595         (isearch-forward-symbol, isearch-toggle-case-fold)
5596         (isearch-symbol-regexp): New functions.  (Bug#11381)
5598 2012-05-29  Juri Linkov  <juri@jurta.org>
5600         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
5601         (isearch-occur, isearch-search-and-update): If `isearch-word' is
5602         a function, call it to get the regexp.
5603         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
5604         property `isearch-message-prefix' instead of the string "word ".
5605         (isearch-search-fun-default): For the case of `isearch-word',
5606         return a lambda that calls re-search-forward/re-search-backward
5607         with a regexp returned by `word-search-regexp' or by the function
5608         in `isearch-word'.
5610 2012-05-29  Juri Linkov  <juri@jurta.org>
5612         * isearch.el (isearch-search-fun-default): New function.
5613         (isearch-search-fun): Move default part to the new function
5614         `isearch-search-fun-default'.
5615         (isearch-search-fun-function): Set the default value to
5616         `isearch-search-fun-default'.  (Bug#11381)
5618         * comint.el (comint-history-isearch-end):
5619         Use `isearch-search-fun-default'.
5620         (comint-history-isearch-search): Use `isearch-search-fun-default'
5621         and remove spacial case for `isearch-word'.
5622         (comint-history-isearch-wrap): Remove spacial case for
5623         `isearch-word'.
5625         * hexl.el (hexl-isearch-search-function):
5626         Use `isearch-search-fun-default'.
5628         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
5629         Use `word-search-regexp' for `isearch-word'.
5631         * misearch.el (multi-isearch-search-fun):
5632         Use `isearch-search-fun-default'.
5634         * simple.el (minibuffer-history-isearch-search):
5635         Use `isearch-search-fun-default' and remove spacial case for
5636         `isearch-word'.
5637         (minibuffer-history-isearch-wrap): Remove spacial case for
5638         `isearch-word'.
5640         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
5641         Remove spacial case for `isearch-word'.
5642         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
5644 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5646         Decrease XEmacs incompatibilities.
5647         * textmodes/flyspell.el (flyspell-check-pre-word-p):
5648         Use `string-match'.
5649         (flyspell-delete-region-overlays): Use alternative definition for
5650         XEmacs.
5651         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
5652         (flyspell-word): Use `process-kill-without-query' if XEmacs.
5653         (flyspell-mode-on): Use `interactive-p' if XEmacs.
5654         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
5655         `define-obsolete-face-alias' under XEmacs, but old method.
5657         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
5658         `with-no-warnings' definition or Emacs alias.
5659         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
5660         (ispell-word): Do not use `region-p' if XEmacs.
5662 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5664         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5665         Check for `ispell-dictionary-base-alist' instead of full
5666         `ispell-dictionary-alist'.
5667         (ispell-init-process): Show spellchecker when starting new Ispell
5668         process.
5670 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5672         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
5673         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
5675 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
5677         * version.el (motif-version-string, gtk-version-string)
5678         (ns-version-string): Declare.
5680 2012-05-27  Juri Linkov  <juri@jurta.org>
5682         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
5683         after the `eval-defun-1' specialcaseing
5684         like in `edebug-eval-defun' (bug#10181).
5686         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
5687         like in `eval-defun-1'.
5689 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
5691         * mail/sendmail.el (mail-yank-region):
5692         Recognize rmail-yank-current-message in addition to insert-buffer.
5693         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
5694         a *mail* buffer created through rmail-start-mail with sendmail as
5695         mail-user-agent.
5697 2012-05-27  Chong Yidong  <cyd@gnu.org>
5699         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
5700         Default to 256 (Bug#11267).
5702         * help.el (describe-mode): Doc fix.
5704 2012-05-26  Glenn Morris  <rgm@gnu.org>
5706         * w32-fns.el (w32-init-info): Remove.
5707         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
5709         * info.el (info-initialize): For self-contained NS builds, put the
5710         included info/ directory at the front.  (Bug#2791)
5712         * paths.el (Info-default-directory-list): Make it a defcustom,
5713         mainly so that we can use custom-initialize-delay.
5715 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * subr.el (buffer-has-markers-at): Mark obsolete.
5719         * subr.el (lambda): Use declare.
5721         * emacs-lisp/lisp-mode.el (lambda):
5722         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
5724 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5726         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
5728 2012-05-26  Glenn Morris  <rgm@gnu.org>
5730         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
5732 2012-05-25  Glenn Morris  <rgm@gnu.org>
5734         * paths.el: Remove no-byte-compile.
5735         * loadup.el: No need to load paths.el uncompiled.
5737         * image.el (imagemagick-types-inhibit): Doc fix.
5739         * version.el: Remove no-byte-compile and associated formatting.
5740         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
5741         is ancient code from when there was an "inc-vers.el".
5743 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5745         * progmodes/gdb-mi.el: Minor style changes.
5746         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5747         Turn into minor modes.
5748         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5749         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5750         (gdb-shell): Remove unneeded let-binding.
5751         (gdb-get-many-fields): Eliminate O(n²) behavior.
5753 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
5755         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5756         platforms that don't link in fontset.c.
5758 2012-05-25  Juri Linkov  <juri@jurta.org>
5760         Use the same diff color scheme as in modern VCSes (bug#10181).
5762         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5763         to avoid confusion with `diff-added' that now uses green colors.
5764         (diff-removed): Use shades of red.
5765         (diff-added): Use shades of green.
5766         (diff-changed): Leave just the yellow color.
5767         (diff-use-changed-face): New variable.
5768         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5769         how to highlight context diff changes.
5770         (diff-refine-change): Use shades of yellow.
5771         (diff-refine-removed): New face that uses shades of red.
5772         (diff-refine-added): New face that uses shades of green.
5773         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5774         `diff-refine-removed' in the call to `smerge-refine-subst'
5775         depending on the value of `diff-use-changed-face'.
5777         * vc/smerge-mode.el (smerge-mine): Use shades of red.
5778         (smerge-other): Use shades of green.
5779         (smerge-base): Use shades of yellow.
5780         (smerge-refined-change): Empty face.
5781         (smerge-refined-removed): New face that uses shades of red.
5782         (smerge-refined-added): New face that uses shades of green.
5783         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
5784         args `props-r' and `props-a', and use them.  Doc fix.
5785         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5786         on its value use different faces `smerge-refined-change',
5787         `smerge-refined-removed', `smerge-refined-added' in the call to
5788         `smerge-refine-subst'.
5790         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5791         Add face condition `min-colors 88' with shades of red.
5792         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5793         `min-colors 88' with shades of green.
5794         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5795         `min-colors 88' with shades of yellow.
5797 2012-05-24  Glenn Morris  <rgm@gnu.org>
5799         * paths.el (prune-directory-list, remote-shell-program): Move to...
5800         * files.el (prune-directory-list, remote-shell-program): ...here.
5801         For the latter, delay initialization, prefer ssh, just search PATH.
5803         * paths.el (term-file-prefix): Move to faces.el (the only user).
5804         * faces.el (term-file-prefix): Move here, make it a defcustom.
5806         * paths.el (news-directory, news-path, news-inews-program):
5807         Move to gnus/nnspool.el.
5809         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5811         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5812         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5813         Make the latter a defcustom, with a delayed initialization.
5815         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5816         These were deleted from Gnus itself late 2010.
5818 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
5820         * progmodes/which-func.el (which-func-ff-hook):
5821         Check against user-error, not error.
5823         * emacs-lisp/edebug.el (top): Do not load or set up loading of
5824         cl-specs.el, which no longer exists.
5826 2012-05-22  Glenn Morris  <rgm@gnu.org>
5828         * info.el (info-emacs-bug): New command.
5829         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5830         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5832 2012-05-21  Glenn Morris  <rgm@gnu.org>
5834         * makefile.w32-in (update-subdirs-SH):
5835         * Makefile.in (update-subdirs): Update for moved update-subdirs.
5837 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5841         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5842         Simplify Maven regexp, and make sure the file can't start with a space
5843         (bug#11517).
5845 2012-05-21  Glenn Morris  <rgm@gnu.org>
5847         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5848         Scrap superfluous subshells.
5850 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5852         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5853         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5855 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
5857         * calc/calc.el (calc-ensure-consistent-units): New variable.
5859         * calc/calc-units.el (math-consistent-units-p)
5860         (math-check-unit-consistency): New functions.
5861         (calc-quick-units, calc-convert-units):
5862         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5863         is non-nil.
5864         (calc-extract-units): Fix typo.
5866 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5868         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5870         * textmodes/flyspell.el: Commenting style, plus code simplifications.
5871         (flyspell-default-deplacement-commands): Don't spell check after
5872         repeated window/frame switches (e.g. triggered by mouse-movement).
5873         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5874         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5875         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5876         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5877         Remove unused vars.
5878         (flyspell-get-casechars, flyspell-get-not-casechars):
5879         Simplify; Don't bother removing a ] just to add it back.
5880         * textmodes/ispell.el (ispell-program-name): Use executable-find.
5882 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5884         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5885         New functions.
5886         (math-function-table): Add support for more C functions.
5888 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5890         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5891         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5892         Protect delay handling for otherchars against empty otherchars.
5894 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5896         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5897         their respective macro declarations.
5898         * skeleton.el (define-skeleton):
5899         * progmodes/compile.el (define-compilation-mode):
5900         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5901         (define-ibuffer-filter):
5902         * emacs-lisp/generic.el (define-generic-mode):
5903         * emacs-lisp/easy-mmode.el (define-minor-mode)
5904         (define-globalized-minor-mode):
5905         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5906         * emacs-lisp/byte-run.el (defsubst):
5907         * custom.el (deftheme): Add doc-string metadata.
5909 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5911         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5913 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5915         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5917         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5918         * emacs-lisp/cl-macs.el: Idem.
5919         * emacs-lisp/cl-specs.el: Remove.
5921 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5923         Minor renaming of internal CL functions and variables.
5924         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5925         (cl--position): Rename from cl-position.
5926         (cl--delete-duplicates): Rename from cl-delete-duplicates.
5927         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5928         (cl--random-state): Rename from *random-state*.
5930 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5932         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5933         parens around the arg list (bug#11499).
5935 2012-05-17  Juri Linkov  <juri@jurta.org>
5937         * isearch.el (word-search-regexp, word-search-backward)
5938         (word-search-forward, word-search-backward-lax)
5939         (word-search-forward-lax): Move functions from search.c
5940         (bug#10145, bug#11381).
5942 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5944         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5945         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5946         Delay for otherchars as for normal word components.
5948 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5950         * minibuffer.el (completion--sifn-requote): Fix last change.
5951         (minibuffer-local-must-match-filename-map):
5952         Move define-obsolete-variable-alias before its var.
5954 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5956         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5958         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5959         behavior.
5960         (completion--string-equal-p): New function.
5961         (completion--twq-all): Use it to get better assertion failure data.
5963         Only handle ".." and '..' quoting in shell-mode (bug#11466).
5964         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5965         (shell--requote-argument): New functions.
5966         (shell-completion-vars): Use them.
5967         (shell--parse-pcomplete-arguments): Rename from
5968         shell-parse-pcomplete-arguments.
5969         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
5970         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5971         Obey comint-file-name-quote-list.
5973         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5974         (smie-indent-keyword): Use it.
5976 2012-05-14  Stefan Merten  <smerten@oekonux.de>
5978         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5980 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5982         * net/rlogin.el (rlogin-mode-map): Fix last change.
5984 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
5986         * mail/smtpmail.el (smtpmail-send-command): Send the command and
5987         the following \r\n using a single `process-send-string', since the
5988         Lotus SMTP server refuses to accept any commands if they are sent
5989         with two `process-send-string's (Bug#11444).
5991 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5993         * shell.el (shell-parse-pcomplete-arguments):
5994         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5996 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5998         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5999         (image-transform-scale, image-transform-right-angle-fudge): New vars.
6000         (image-transform-width, image-transform-fit-width): New functions.
6001         (image-transform-properties): Use them.
6002         (image-transform-check-size): New function.
6003         (image-toggle-display-image): Use it (for testing).
6004         (image-transform-set-rotation): Reduce angle mod 360.
6005         Delete obsolete comment.
6007 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6009         * image-mode.el: Fix scaling (bug#11399).
6010         (image-transform-resize): Doc fix.
6011         (image-transform-properties): Default scale is 1 and height should
6012         be an integer.
6014 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6016         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6017         than hard-coding `car', to fix misbehavior when moving forward.
6019 2012-05-13  Chong Yidong  <cyd@gnu.org>
6021         * emacs-lisp/tabulated-list.el (tabulated-list-format)
6022         (tabulated-list-entries, tabulated-list-padding)
6023         (tabulated-list-sort-key): Make permanent-local.
6025         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6026         (electric-buffer-list): Put electric buffer menu
6027         command descriptions in this docstring, instead of the docstring
6028         of electric-buffer-menu-mode.  Code cleanups.
6029         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
6030         Electric-buffer-menu-mode.
6031         (electric-buffer-update-highlight): Minor code cleanup.
6033 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
6035         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6036         (Bug#11447)
6038 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6040         Move define-obsolete-variable-alias before the var's definition.
6041         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6042         * tooltip.el (tooltip-hook):
6043         * textmodes/reftex-toc.el (reftex-toc-map):
6044         * textmodes/reftex-sel.el (reftex-select-label-map)
6045         (reftex-select-bib-map):
6046         * textmodes/reftex-index.el (reftex-index-map)
6047         (reftex-index-phrases-map):
6048         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6049         * progmodes/meta-mode.el (meta-mode-map):
6050         * novice.el (disabled-command-hook):
6051         * loadhist.el (unload-hook-features-list):
6052         * frame.el (blink-cursor):
6053         * files.el (find-file-not-found-hooks, write-file-hooks)
6054         (write-contents-hooks):
6055         * emulation/tpu-edt.el (GOLD-map):
6056         * emacs-lock.el (emacs-lock-from-exiting):
6057         * emacs-lisp/generic.el (generic-font-lock-defaults):
6058         * emacs-lisp/chart.el (chart-map):
6059         * dos-fns.el (register-name-alist):
6060         * dired-x.el (dired-omit-files-p):
6061         * desktop.el (desktop-enable):
6062         * cus-edit.el (custom-mode-hook):
6063         * buff-menu.el (buffer-menu-mode-hook):
6064         * bookmark.el (bookmark-read-annotation-text-func)
6065         (bookmark-exit-hooks):
6066         * allout.el (allout-mode-deactivate-hook)
6067         (allout-exposure-change-hook, allout-structure-added-hook)
6068         (allout-structure-deleted-hook, allout-structure-shifted-hook):
6069         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6070         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6071         comes before the corresponding variable's definition.
6073 2012-05-12  Chong Yidong  <cyd@gnu.org>
6075         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6076         (Buffer-menu-mouse-select): Restore function (Bug#11459).
6077         (Buffer-menu-mode-map): Bind it.
6078         (Buffer-menu--pretty-name): Add a mouse-face property.
6080 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6082         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
6083         (prolog-upper-case-string, prolog-lower-case-string)
6084         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6085         (prolog-use-smie, prolog-smie-grammar): New vars.
6086         (prolog-smie-forward-token, prolog-smie-backward-token)
6087         (prolog-smie-rules): New funs.
6088         (prolog-comment-indent): Remove.
6089         (prolog-mode-variables): Use default comment indentation instead.
6090         Setup SMIE.
6091         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6092         (prolog-mode): Don't call them any more.
6093         (prolog-electric-colon, prolog-electric-dash)
6094         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6096         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6098         * minibuffer.el (completion--twq-all): Again, allow case differences.
6100         * term.el: Move keymap initialization code to be more idiomatic.
6101         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6102         (term-terminal-menu): Move initialization into declaration.
6103         (term-escape-char): Let the user set it in her .emacs.
6105         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6106         Provide SMIE-based indentation (not enabled by default yet).
6107         (sh-mode-map): Don't bind electric keys.
6108         Use electric-pair-mode instead of skeleton-pair.
6109         (sh-assignment-regexp): Fit within 80 columns.
6110         (sh-indent-supported): Specify actual shell name instead of boolean.
6111         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6112         (sh-maybe-here-document): Use it.  Make obsolete.
6113         (sh-electric-here-document-mode) New minor mode.
6114         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
6115         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6116         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6117         (sh-smie-rc-grammar, sh-use-smie): New vars.
6118         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6119         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6120         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6121         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6122         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6123         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6124         (sh-set-shell): Use smie-setup if requested.
6126         * term.el (term-set-escape-char): Properly set term-escape-char.
6127         See http://stackoverflow.com/questions/10524656.
6129 2012-05-10  Chong Yidong  <cyd@gnu.org>
6131         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6132         Use url-generic-parse-url, and handle host names and Windows
6133         filenames properly.
6134         (ffap-url-unwrap-remote): Use url-generic-parse-url.
6135         (ffap-url-unwrap-remote): Accept list values, specifying a list of
6136         URL schemes to work on.
6137         (ffap--toggle-read-only): New function.
6138         (ffap-read-only, ffap-read-only-other-window)
6139         (ffap-read-only-other-frame): Use it.
6140         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6141         necessary for ffap-url-unwrap-remote.
6143 2012-05-10  Dave Abrahams  <dave@boostpro.com>
6145         * cus-start.el (create-lockfiles): Add it.
6147 2012-05-09  Chong Yidong  <cyd@gnu.org>
6149         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6150         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6152 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6154         * shell.el (shell-completion-vars): Fix last change (bug#11348).
6156 2012-05-09  Chong Yidong  <cyd@gnu.org>
6158         * ansi-color.el (ansi-color-process-output): Check for validity of
6159         comint-last-output-start before using it.  This avoids a bad
6160         interaction with gdb-mi's input/output buffer.
6162 2012-05-09  Glenn Morris  <rgm@gnu.org>
6164         * files.el (dir-locals-read-from-file):
6165         Mention dir-locals in any error message.
6167 2012-05-09  Chong Yidong  <cyd@gnu.org>
6169         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6170         package (Bug#11410).
6172         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6173         variables into description.
6175 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6177         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6178         shell-delimiter-argument-list (bug#11348).
6179         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6181 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
6183         * textmodes/rst.el: Silence byte-compiler warnings.
6184         (rst-re-alist, rst-reset-section-caches): Move around.
6185         (rst-re): Use `characterp', not `char-valid-p'.
6186         (font-lock-beg, font-lock-end): Declare.
6188         * progmodes/idlw-shell.el (specs): Remove reference to deleted
6189         variable `idlwave-shell-activate-alt-keybindings' and simplify.
6191         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6193 2012-05-08  Glenn Morris  <rgm@gnu.org>
6195         * files.el (auto-mode-alist): Treat ".make" like ".mk".
6197 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6199         * vc/log-edit.el: Add GNU coding standards highlighting.
6200         (log-edit-font-lock-gnu-style)
6201         (log-edit-font-lock-gnu-keywords): New vars.
6202         (log-edit-font-lock-keywords): New fun.
6203         (log-edit-mode): Don't fold case in font-lock.
6204         (log-edit-font-lock-keywords): Do not assume case-folding.
6206         * imenu.el: Misc cleanup.  Make docstrings out of comments.
6207         Use lexical-binding.
6208         (imenu--index-alist, imenu--last-menubar-index-alist)
6209         (imenu-menubar-modified-tick): Use defvar-local.
6210         (imenu--split-menu): Remove unused var.
6211         (imenu--cleanup-seen): Declare as global.
6212         (imenu--cleanup): Use dolist.
6214         * subr.el (defvar-local): Add debug spec and doc-string position.
6216 2012-05-08  Glenn Morris  <rgm@gnu.org>
6218         * language/burmese.el, language/cham.el, language/czech.el:
6219         * language/english.el, language/georgian.el, language/greek.el:
6220         * language/japanese.el, language/khmer.el, language/korean.el:
6221         * language/lao.el, language/misc-lang.el, language/romanian.el:
6222         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6223         * language/thai.el, language/utf-8-lang.el:
6224         Remove no-byte-compile setting.
6226         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
6228 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6230         * progmodes/make-mode.el (makefile-browse):
6231         Remove unnecessary interactive.  (Bug#11324)
6233 2012-05-07  Glenn Morris  <rgm@gnu.org>
6235         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6237         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6239 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6241         * loadup.el: Preload newcomment.el.
6242         * newcomment.el: Move autoload-only code to toplevel.
6244         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6245         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6246         Handle new :right-align column property.
6247         (tabulated-list-print-col): Idem, plus use `display' text-property to
6248         try and preserve alignment for variable pitch fonts.
6250 2012-05-07  Chong Yidong  <cyd@gnu.org>
6252         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6253         (tabulated-list-use-header-line): New var.
6254         (tabulated-list-init-header): Use it.
6255         (tabulated-list-print-fake-header): New function.
6256         (tabulated-list-print): Use it.
6257         (tabulated-list-sort-button-map): Add non-header-line commands.
6258         (tabulated-list-init-header): Add column name property to basic
6259         labels as well.
6260         (tabulated-list-col-sort): Handle non-header-line button case.
6261         (tabulated-list--sort-by-column-name): Fix a corner case.
6263         * buff-menu.el (list-buffers--refresh):
6264         Handle Buffer-menu-use-header-line.
6266 2012-05-06  Chong Yidong  <cyd@gnu.org>
6268         * buff-menu.el: Convert to Tabulated List mode.
6269         (Buffer-menu-buffer+size-width): Make obsolete.
6270         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6271         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6272         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
6273         documentation into docstring of buffer-menu.
6274         (Buffer-menu-toggle-files-only): Add an informative message.
6275         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6276         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6277         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6278         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6279         (Buffer-menu-execute, Buffer-menu-select)
6280         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6281         (Buffer-menu-bury): Use Tabulated List machinery.
6282         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6283         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6284         Delete.
6285         (list-buffers--refresh): New function.
6286         (list-buffers-noselect): Use it.
6287         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6288         (Buffer-menu--pretty-file-name): New helper functions.
6290         * loadup.el: Preload tabulated-list.
6292         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6293         tabulated-list-sort-column.
6294         (tabulated-list-init-header): Add the initial aligning space even
6295         if tabulated-list-padding is zero.
6297 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
6299         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6300         whose cdr is not a cons cell correctly (bug#11038).
6302 2012-05-06  Chong Yidong  <cyd@gnu.org>
6304         * emacs-lisp/tabulated-list.el (tabulated-list-format):
6305         Accept additional plist in column descriptors.
6306         (tabulated-list-init-header): Obey it.
6307         (tabulated-list-get-entry): New function.
6308         (tabulated-list-put-tag): Use it.  Use string-width instead of
6309         length.
6310         (tabulated-list--column-number): New function.
6311         (tabulated-list-print): Use it.
6312         (tabulated-list-print-col): New function.
6313         Set `tabulated-list-column-name' property on each column's text.
6314         (tabulated-list-print-entry): Use it.
6315         (tabulated-list-delete-entry, tabulated-list-set-col):
6316         New functions.
6317         (tabulated-list-sort-column): New command (Bug#11337).
6319         * buff-menu.el (list-buffers): Move C-x C-b binding from
6320         buff-menu.el to bindings.el.
6322         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6323         :advertised-binding feature.
6325 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
6327         * progmodes/compile.el (compilation-internal-error-properties):
6328         Calculate start position correctly when end-col is set but
6329         end-line is not (Bug#11382).
6331 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
6333         * man.el (Man-unindent): Use text-property-default-nonsticky to
6334         prevent untabify from inheriting face properties (Bug#11408).
6336 2012-05-05  Stefan Merten  <smerten@oekonux.de>
6338         * textmodes/rst.el: Major merge with upstream development up to
6339         Docutils SVN r7399 / rst.el V1.2.1.
6341         Clarify maintainership and authors.
6343         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6344         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6345         (rst-official-version, rst-official-cvs-rev, rst-version)
6346         (rst-package-emacs-version-alist): New functions and variables
6347         for version information.
6349         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6350         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6351         (rst-mode-syntax-table, rst-mode): New and corrected functions
6352         and variables representing reStructuredText features.
6354         (rst-re): New function for reStructuredText regexes.  Use in
6355         many places.
6357         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6358         (rst-mode-map): Rebind keys.
6360         (rst-mode-lazy, rst-font-lock-keywords)
6361         (rst-font-lock-extend-region)
6362         (rst-font-lock-extend-region-internal)
6363         (rst-font-lock-extend-region-extend)
6364         (rst-font-lock-find-unindented-line-limit)
6365         (rst-font-lock-find-unindented-line-match)
6366         (rst-adornment-level, rst-font-lock-adornment-level)
6367         (rst-font-lock-adornment-match)
6368         (rst-font-lock-handle-adornment-pre-match-form)
6369         (rst-font-lock-handle-adornment-matcher): Major revision of
6370         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
6372         (rst-preferred-adornments, rst-adjust-hook)
6373         (rst-new-adornment-down, rst-preferred-bullets)
6374         (rst-preferred-bullets, rst-indent, rst-indent-width)
6375         (rst-indent-field, rst-indent-literal-normal)
6376         (rst-indent-literal-minimized, rst-indent-comment): Change,
6377         extend and improve customization.
6379         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6380         (rst-normalize-cursor-position, rst-get-decoration)
6381         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6382         (rst-rstrip, rst-toc-insert-find-delete-contents)
6383         (rst-shift-fill-region, rst-compute-bullet-tabs)
6384         (rst-debug-print-tabs, rst-debug-mark-found)
6385         (rst-shift-region-guts, rst-shift-region-right)
6386         (rst-shift-region-left, rst-use-char-classes)
6387         (rst-font-lock-keywords-function)
6388         (rst-font-lock-indentation-point)
6389         (rst-font-lock-find-unindented-line-begin)
6390         (rst-font-lock-find-unindented-line-end)
6391         (rst-font-lock-find-unindented-line)
6392         (rst-font-lock-adornment-point, rst-font-lock-level)
6393         (rst-adornment-level-alist): Remove functions and variables.
6395         (rst-compare-adornments, rst-get-adornment-match)
6396         (rst-suggest-new-adornment, rst-get-adornments-around)
6397         (rst-adornment-complete-p, rst-get-next-adornment)
6398         (rst-adjust-adornment, rst-display-adornments-hierarchy)
6399         (rst-straighten-adornments): Standardize function names to
6400         use "adornment" instead of "decoration".  Correct callers.
6401         Similar standardizing in many places.
6403         (rst-update-section, rst-adjust, rst-promote-region)
6404         (rst-enumerate-region, rst-bullet-list-region)
6405         (rst-repeat-last-character): Correct use of `interactive'.
6407         (rst-classify-adornment, rst-find-all-adornments)
6408         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6409         (rst-find-leftmost-column, rst-repeat-last-character):
6410         Refactor functions.
6412         (rst-find-title-line, rst-reset-section-caches)
6413         (rst-get-adornments-around, rst-adjust-adornment-work)
6414         (rst-arabic-to-roman, rst-roman-to-arabic)
6415         (rst-insert-list-pos, rst-insert-list-new-item)
6416         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6417         New functions.
6419         (rst-all-sections, rst-section-hierarchy)
6420         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6421         New variables.
6423         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6424         configuration instead of only buffer.  Change where necessary.
6426         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6427         (rst-shift-region, rst-adaptive-fill): New functions for
6428         indentation and filling.
6430         (rst-comment-line-break, rst-comment-indent)
6431         (rst-comment-insert-comment, rst-comment-region)
6432         (rst-uncomment-region): New functions for handling comments.
6434         (rst-compile): Quote shell arguments.
6436         (rst-compile-pdf-preview, rst-compile-slides-preview):
6437         Delete temporary files after use.
6439 2012-05-05  Glenn Morris  <rgm@gnu.org>
6441         * calendar/cal-html.el: Optionally include holidays in the output.
6442         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6443         (cal-html-holidays): New option.
6444         (cal-html-css-default): Add holiday entry.
6445         (holiday-in-range): Autoload it.
6446         (cal-html-htmlify-entry): Add optional class argument.
6447         (cal-html-htmlify-list): Add optional holidays argument.
6448         (cal-html-insert-agenda-days): Include holidays in the output.
6449         (cal-html-one-month): Maybe include holidays.
6451         * calendar/holidays.el (holiday-in-range):
6452         Move here from cal-tex-list-holidays.
6453         * calendar/cal-tex.el (cal-tex-list-holidays):
6454         Make it an obsolete alias for holiday-in-range.  Update all callers.
6456 2012-05-05  Chong Yidong  <cyd@gnu.org>
6458         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6459         Nextstep.
6461 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
6463         * files.el (file-auto-mode-skip): New var.
6464         (set-auto-mode-1): Use it.
6466 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6468         * repeat.el: Use lexical-binding.
6469         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
6470         (repeat-undo-count): Remove.
6471         (repeat):
6472         * progmodes/octave-mod.el (octave-abbrev-start):
6473         * progmodes/f90.el (f90-abbrev-start):
6474         * face-remap.el (text-scale-adjust):
6475         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
6477         * emacs-lisp/pcase.el (pcase--let*): New function.
6478         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
6479         a bit more.
6480         (pcase--split-pred): Be more clever about ruling out overlap between
6481         a predicate and some constant pattern.
6482         (pcase--q1): Use `null' instead of (eq foo nil).
6484         * subr.el (setq-local, defvar-local): New macros.
6485         (kbd): Redefine as an alias.
6486         (with-selected-window): Leave unrelated frames alone.
6487         (set-temporary-overlay-map): New function.
6489 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6491         * subr.el (user-error): New function.
6492         * window.el (switch-to-buffer):
6493         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
6494         (smerge-match-conflict):
6495         * simple.el (previous-matching-history-element)
6496         (next-matching-history-element, goto-history-element, undo-more)
6497         (undo-start):
6498         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
6499         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
6500         (next-file, tags-loop-scan, list-tags, complete-tag):
6501         * progmodes/compile.el (compilation-loop):
6502         * mouse.el (mouse-minibuffer-check):
6503         * man.el (Man-bgproc-sentinel, Man-goto-page):
6504         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
6505         (Info-history-forward, Info-follow-reference, Info-menu)
6506         (Info-extract-menu-item, Info-extract-menu-counting)
6507         (Info-forward-node, Info-backward-node, Info-next-menu-item)
6508         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
6509         (Info-next-reference, Info-prev-reference, Info-index)
6510         (Info-index-next, Info-follow-nearest-node)
6511         (Info-copy-current-node-name):
6512         * imenu.el (imenu--make-index-alist)
6513         (imenu-default-create-index-function, imenu-add-to-menubar):
6514         * files.el (basic-save-buffer, recover-file):
6515         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6516         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
6517         (checkdoc-message-text, checkdoc-defun):
6518         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
6519         * cus-edit.el (customize-changed-options, customize-rogue)
6520         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
6521         (custom-variable-mark-to-reset-standard)
6522         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
6523         (custom-file):
6524         * completion.el (check-completion-length):
6525         * comint.el (comint-search-arg)
6526         (comint-previous-matching-input-string-position)
6527         (comint-previous-matching-input)
6528         (comint-replace-by-expanded-history-before-point, comint-send-input)
6529         (comint-copy-old-input, comint-backward-matching-input)
6530         (comint-goto-process-mark, comint-set-process-mark):
6531         * calendar/calendar.el (calendar-cursor-to-date): Use it.
6532         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
6534 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6536         * dabbrev.el (dabbrev--ignore-case-p): New function.
6537         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
6538         Use it.
6540         * files.el (automount-dir-prefix): Mark as obsolete.
6542 2012-05-04  Glenn Morris  <rgm@gnu.org>
6544         * patcomp.el, play/bruce.el: Move to obsolete/.
6546 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
6548         Fix minor Y10k bugs.
6549         * arc-mode.el (archive-unixdate):
6550         * autoinsert.el (auto-insert-alist):
6551         * calc/calc-forms.el (math-this-year):
6552         * emacs-lisp/copyright.el (copyright-current-year)
6553         (copyright-update-year, copyright):
6554         * tar-mode.el (tar-clip-time-string):
6555         * time.el (display-time-update):
6556         Don't assume years have 4 digits.
6558 2012-05-04  Chong Yidong  <cyd@gnu.org>
6560         * dos-w32.el (file-name-buffer-file-type-alist)
6561         (direct-print-region-use-command-dot-com):
6562         * ffap.el (ffap-menu-regexp):
6563         * find-file.el (ff-special-constructs):
6564         * follow.el (follow-debug):
6565         * forms.el (forms--debug):
6566         * iswitchb.el (iswitchb-all-frames):
6567         * ido.el (ido-all-frames):
6568         * emacs-lisp/timer.el (timer-max-repeats):
6569         * mail/feedmail.el (feedmail-mail-send-hook)
6570         (feedmail-mail-send-hook-queued):
6571         * mail/footnote.el (footnote-signature-separator):
6572         * mail/mailabbrev.el (mail-alias-separator-string)
6573         (mail-abbrev-mode-regexp):
6574         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
6575         * progmodes/idlwave.el (idlwave-libinfo-file)
6576         (idlwave-default-completion-case-is-down)
6577         (idlwave-library-routines): Convert defvars to defcustoms.
6579         * mail/rmail.el (rmail-decode-mime-charset):
6580         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
6581         (idlwave-shell-fix-inserted-breaks)
6582         (idlwave-shell-activate-alt-keybindings)
6583         (idlwave-shell-use-breakpoint-glyph):
6584         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
6586 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6588         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
6590 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
6592         * progmodes/verilog-mode.el (font-lock-keywords):
6593         Fix mis-highligting auto.  Reported by Craig Barner.
6594         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
6595         defines from global name space. Reported by Dan Dever.
6596         (verilog-auto-reset, verilog-auto-reset-widths)
6597         (verilog-auto-tieoff): Support using unbased numbers for
6598         AUTORESET and AUTOTIEOFF.
6599         (verilog-submit-bug-report): Update variable list.
6600         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
6601         parenthesis from not matching. Reported by Michael Rytting.
6602         (verilog-auto-template-lint): Fix hash error when linting modules
6603         with no used templates.
6604         (verilog-warn, verilog-warn-error)
6605         (verilog-warn-fatal): When non-interactive report multiple
6606         warnings before exiting.  Suggested by Brad Dobbie.
6607         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
6608         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
6609         to report unused template errors.  Reported by Brad Dobbie.
6610         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
6611         nets, bug438. Reported by Vns Blore.
6612         (verilog-auto-inout-module, verilog-auto-reg)
6613         (verilog-read-decls, verilog-read-sub-decls-sig)
6614         (verilog-signals-edit-wire-reg, verilog-signals-with):
6615         Fix passing of Verilog data types in ANSI input/output ports
6616         such as "output logic" into the AUTOs. Special case "wire" and
6617         "reg" for backwards compatibility presuming Verilog 2001.
6618         (verilog-auto-ascii-enum): Add "auto enum" as alias.
6619         (verilog-preprocess): Fix replication of preprocess output.
6620         Reported by Brad Dobbie.
6621         (verilog-auto-inst-interfaced-ports):
6622         Create verilog-auto-inst-interfaced-ports, bug429.
6623         Reported by Julian Gorfajn.
6624         (verilog-after-save-font-hook)
6625         (verilog-before-save-font-hook): New variable.
6626         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
6627         (verilog-save-font-mods): Wrap disabling fontification, reported
6628         by David Rogoff.
6629         (verilog-do-indent, verilog-pretty-declarations-auto)
6630         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
6631         Reported by Pierre-David Pfister.
6632         (verilog-set-auto-endcomments): Fix endtask auto comments outside
6633         of class declarations, bug292.  Reported by Kevin Heilman.
6634         (verilog-read-decls): Fix 'parameter type' not appearing in
6635         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
6636         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
6637         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
6638         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
6639         Reported by David Kravitz.
6641 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
6643         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
6644         assignment with tests in ifs and for loops.
6645         (verilog-extended-complete-re, verilog-complete-reg): Change so
6646         that DPI inport functions don't look like fuction declarations.
6647         (verilog-pretty-expr): Don't line up assignment
6648         operations to the test and increment in if and for loops
6649         (verilog-extended-complete-re, verilog-complete-reg): Change so
6650         that DPI inport functions don't look like fuction declarations.
6652 2012-05-03  Kenichi Handa  <handa@m17n.org>
6654         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
6655         decoding, and show a warning message without signaling an error
6656         (Bug#11282).
6658 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6660         * emacs-lisp/bytecomp.el
6661         (byte-compile-file-form-custom-declare-variable): Compile all elements,
6662         since cconv.el might have introduced :fun-body, internal-make-closure,
6663         and friends for bytecomp to handle (bug#11391).
6664         * custom.el (defcustom): Avoid ((λ ..) ..).
6666 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6668         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
6670 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
6672         * notifications.el (dbus-debug):
6673         * term/linux.el (gpm-mouse-enable):
6674         * term/screen.el (xterm-register-default-colors): Declare.
6676 2012-05-02  Chong Yidong  <cyd@gnu.org>
6678         * cus-start.el (gc-cons-percentage, exec-suffixes)
6679         (dos-display-scancodes, dos-hyper-key, dos-super-key)
6680         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
6681         (make-cursor-line-fully-visible, void-text-area-pointer)
6682         (font-list-limit): Add customization data.
6684         * allout.el (allout-exposure-change-functions)
6685         (allout-structure-added-functions)
6686         (allout-structure-deleted-functions)
6687         (allout-structure-shifted-functions): Rename abnormal hooks from
6688         *-hook, and convert to defcustoms.
6689         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
6690         Convert to defcustoms.
6691         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
6693         * allout-widgets.el: Hook callers changed.
6695 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
6697         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
6698         the yanked message in preference to the default value of
6699         buffer-file-coding-system.
6701 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
6703         * window.el (display-buffer--action-function-custom-type):
6704         Fix entry.
6706 2012-05-02  Alan Mackenzie  <acm@muc.de>
6708         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
6710 2012-05-01  Glenn Morris  <rgm@gnu.org>
6712         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
6714         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
6716         * cus-edit.el (custom-variable-documentation): Simplify with format.
6718 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6719             Stefan Monnier  <monnier@iro.umontreal.ca>
6721         * simple.el (suggest-key-bindings, execute-extended-command):
6722         Move from keyboard.c.
6724 2012-05-01  Chong Yidong  <cyd@gnu.org>
6726         * follow.el: Eliminate advice.
6727         (set-process-filter, process-filter, sit-for): Advice deleted.
6728         (follow-mode-off-hook): Obsolete hook removed.
6729         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
6730         Vars deleted.
6731         (follow-auto): Use a :set function.
6732         (follow-mode): Rewritten.  Don't advise process filters.
6733         (follow-switch-to-current-buffer-all, follow-scroll-up)
6734         (follow-scroll-down): Assume follow-mode is bound.
6735         (follow-comint-scroll-to-bottom)
6736         (follow-align-compilation-windows): New functions.
6737         (follow--window-sorter): New function.
6738         (follow-all-followers): Use it to explicitly sort windows by their
6739         positions; don't make assumptions about next-window order.
6740         (follow-windows-start-end, follow-delete-other-windows-and-split)
6741         (follow-calc-win-start): Doc fix.
6742         (follow-windows-aligned-p, follow-select-if-visible): Don't call
6743         vertical-motion unnecessarily.
6744         (follow-adjust-window): New function.
6745         (follow-post-command-hook): Use it.
6746         (follow-call-set-process-filter, follow-call-process-filter)
6747         (follow-intercept-process-output, follow-tidy-process-filter-alist)
6748         (follow-stop-intercept-process-output, follow-generic-filter):
6749         Functions deleted.
6750         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6751         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6752         New functions, replacing advice on scroll-bar-* commands.
6753         (follow-mwheel-scroll): New function (Bug#4112).
6755         * comint.el (comint-adjust-point): New function.
6756         (comint-postoutput-scroll-to-bottom): Use it.
6757         Call follow-comint-scroll-to-bottom for Follow mode buffers.
6759 2012-05-01  Glenn Morris  <rgm@gnu.org>
6761         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6762         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6763         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6764         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6765         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6766         Remove no-byte-compile setting.
6768 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6770         * minibuffer.el (completion-table-with-quoting): Fix compatibility
6771         all-completions code to not return a number in the last cdr.
6773 2012-04-30  Leo Liu  <sdl.web@gmail.com>
6775         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6776         read-only error.
6778 2012-04-29  Chong Yidong  <cyd@gnu.org>
6780         * follow.el (follow-calc-win-end): Rewrite to handle partial
6781         screen lines correctly (Bug#8390).
6782         (follow-avoid-tail-recenter): Minor cleanup.
6784 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6786         Avoid the obsolete `assoc' package.
6787         * speedbar.el (speedbar-refresh): Avoid adelete.
6788         (speedbar-file-lists): Simplify and avoid aput.
6789         * man.el (Man--sections, Man--refpages): New vars, replacing
6790         Man-sections-alist and Man-refpages-alist.
6791         (Man-build-section-alist, Man-build-references-alist):
6792         Use them; avoid aput.
6793         (Man--last-section, Man--last-refpage): New vars.
6794         (Man-follow-manual-reference): Use them.
6795         Use the `default' arg of completing-read.
6796         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
6798 2012-04-27  Chong Yidong  <cyd@gnu.org>
6800         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6802         * startup.el (x-apply-session-resources): New function.
6804         * term/ns-win.el (ns-initialize-window-system):
6805         * term/w32-win.el (w32-initialize-window-system):
6806         * term/x-win.el (x-initialize-window-system): Use it to properly
6807         set menu-bar-mode and other vars from X resources, even if the
6808         initial frame is not a window-system frame (Bug#2299).
6810         * subr.el (read-key): Avoid running filter function when setting
6811         up temporary tool bar entries (Bug#9922).
6813 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6815         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6816         (Bug#11344)
6818 2012-04-27  Chong Yidong  <cyd@gnu.org>
6820         * select.el (xselect--encode-string): New function, split from
6821         xselect-convert-to-string.
6822         (xselect-convert-to-string): Use it.
6823         (xselect-convert-to-filename, xselect-convert-to-os)
6824         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6825         returned strings are properly encoded (Bug#11315).
6827 2012-04-27  Chong Yidong  <cyd@gnu.org>
6829         * simple.el (delete-active-region): Move to killing custom group.
6831 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6833         * progmodes/which-func.el (which-func-current): Quote %
6834         characters for mode-line processing.
6836 2012-04-27  Chong Yidong  <cyd@gnu.org>
6838         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6839         reaching eob (Bug#11286).
6841 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
6843         * progmodes/gdb-mi.el (gdb-control-level): New variable.
6844         (gdb): Make it buffer-local and init to zero.
6845         (gdb-control-commands-regexp): New variable.
6846         (gdb-send): Don't wrap in "-interpreter-exec console" if
6847         gdb-control-level is positive.  Increment gdb-control-level
6848         whenever the command matches gdb-control-commands-regexp, and
6849         decrement it each time the command is "end".  (Bug#11279)
6851 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
6853         * window.el (adjust-window-trailing-edge, enlarge-window)
6854         (shrink-window, window-resize):
6855         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6856         windows (Bug#11276).
6858 2012-04-27  Chong Yidong  <cyd@gnu.org>
6860         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6861         fix "missing prefix" warning.  All callers changed.
6863 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6865         * emacs-lisp/assoc.el: Move to obsolete/.
6867 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6869         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6871         * term/ns-win.el (ns-define-service):
6872         * progmodes/pascal.el (pascal-goto-defun):
6873         * progmodes/js.el (js--read-tab):
6874         * progmodes/etags.el (tags-lazy-completion-table):
6875         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6876         * emacs-lisp/ewoc.el (ewoc--wrap):
6877         * emacs-lisp/assoc.el (aput, adelete, amake):
6878         * doc-view.el (doc-view-convert-current-doc):
6879         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6881 2012-04-26  Chong Yidong  <cyd@gnu.org>
6883         * image.el (image-type-from-buffer): Only return supported image
6884         type (Bug#9045).
6886         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6887         value, for symmetry with diff-end-of-hunk.
6888         (diff-split-hunk, diff-find-source-location)
6889         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6890         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6891         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6892         compute the relevant hunk or file properly (Bug#6005).
6893         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6895 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6897         * vc/vc-mtn.el:
6898         * vc/vc-hg.el:
6899         * vc/vc-git.el:
6900         * vc/vc-dir.el:
6901         * vc/vc-cvs.el:
6902         * vc/vc-bzr.el:
6903         * vc/vc-arch.el:
6904         * vc/vc.el: Replace lexical-let by lexical-binding.
6905         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6906         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6907         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6909 2012-04-26  Chong Yidong  <cyd@gnu.org>
6911         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6912         (diff-mode-shared-map): Bind it to / and [remap undo].
6914         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6915         (ediff-window-setup-function): Use it as the default, to set up
6916         windows based on whether the current frame is graphical (Bug#2138).
6917         (ediff-choose-window-setup-function-automatically): Make obsolete.
6919         * vc/ediff-init.el: Always define ediff-pixel-width/height.
6921 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6923         * ffap.el: Remove old code for obsolete package.
6924         (ffap-complete-as-file-p): Remove.
6926         Use completion-table-with-quoting for comint and pcomplete.
6927         * comint.el (comint--unquote&requote-argument)
6928         (comint--unquote-argument, comint--requote-argument): New functions.
6929         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6930         (comint-quote-filename): Use regexp-opt-charset.
6931         (comint--common-suffix, comint--common-quoted-suffix)
6932         (comint--table-subvert): Remove.
6933         (comint-unquote-function, comint-requote-function): New vars.
6934         (comint--complete-file-name-data): Use them with
6935         completion-table-with-quoting.
6936         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6937         * pcomplete.el (pcomplete-arg-quote-list)
6938         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6939         (pcomplete-unquote-argument-function): Default to non-nil.
6940         (pcomplete-unquote-argument): Simplify.
6941         (pcomplete--common-quoted-suffix): Remove.
6942         (pcomplete-requote-argument-function): New var.
6943         (pcomplete--common-suffix): New function.
6944         (pcomplete-completions-at-point): Use completion-table-with-quoting
6945         and completion-table-subvert.
6947         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6948         (minibuffer--double-dollars): Preserve properties.
6949         (completion--sifn-requote): New function.
6950         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6952         * minibuffer.el: Add support for completion of quoted/escaped data.
6953         (completion-table-with-quoting, completion-table-subvert): New funs.
6954         (completion--twq-try, completion--twq-all): New functions.
6955         (completion--nth-completion): New function.
6956         (completion-try-completion, completion-all-completions): Use it.
6958 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6960         * progmodes/python.el (python-pdbtrack-get-source-buffer):
6961         Use compilation-message if available to find real filename.
6963 2012-04-25  Chong Yidong  <cyd@gnu.org>
6965         * vc/diff-mode.el (diff-setup-whitespace): New function.
6966         (diff-mode): Use it.
6968         * vc/diff.el (diff-sentinel):
6969         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6970         Whitespace mode variables based on diff style (Bug#8612).
6972 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6974         * progmodes/python.el (python-send-region): Add suffix .py to the
6975         temp file.
6977         * files.el (auto-mode-alist): Use javascript-mode instead.
6979 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
6981         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
6983         * net/soap-client.el (soap-resolve-references-for-sequence-type)
6984         (soap-resolve-references-for-array-type): Hack to prevent self
6985         references, see Bug#9.
6986         (soap-parse-envelope): Report the contents of the 'detail' node
6987         when receiving a fault reply.
6988         (soap-parse-envelope): Report the contents of the entire 'detail' node.
6990         * net/soap-inspect.el (soap-sample-value-for-simple-type)
6991         (soap-inspect-simple-type): New function.
6993         * net/soap-client.el (soap-simple-type): New struct.
6994         (soap-default-xsd-types, soap-default-soapenc-types)
6995         (soap-decode-basic-type, soap-encode-basic-type):
6996         support unsignedInt and double basic types.
6997         (soap-resolve-references-for-simple-type)
6998         (soap-parse-simple-type, soap-encode-simple-type): New function.
6999         (soap-parse-schema): Parse xsd:simpleType declarations.
7001         * net/soap-client.el (soap-default-xsd-types)
7002         (soap-default-soapenc-types): Add integer, byte and anyURI types.
7003         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7004         the local name of "soapenc:Array".
7005         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7006         decoding integer, byte and anyURI xsd types.
7008 2012-04-25  Chong Yidong  <cyd@gnu.org>
7010         * cus-edit.el (custom-buffer-create-internal): Update header text.
7012 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7014         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7015         settings on 'system-type', not on 'window-system'.  On MS-Windows,
7016         set interactive-mode on in GDB.
7018 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7020         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7021         (ruby-syntax-propertize-regexp): Remove.
7022         (ruby-syntax-propertize-function): Split regexp into chunks.
7023         Match following code directly.
7025 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
7027         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7028         (ruby-syntax-propertize-regexp): New function.
7029         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7030         by a special keyword.
7032         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7033         (ruby-syntax-general-delimiters-goto-beg)
7034         (ruby-syntax-propertize-general-delimiters): New functions.
7035         (ruby-syntax-propertize-function): Use them to handle GDL.
7036         (ruby-font-lock-keywords): Move old handling of GDL...
7037         (ruby-font-lock-syntactic-keywords): .. to here.
7038         (ruby-calculate-indent): Adjust indentation for GDL.
7040 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
7042         * notifications.el (top): Remove unneeded declarations.
7043         (notifications-specification-version): Change to "1.2".
7044         (notifications-interface, notifications-notify-method)
7045         (notifications-close-notification-method): Fix docstring.
7046         (notifications-get-capabilities-method): New defconst.
7047         (notifications-notify): Add :action-items, :resident and
7048         :transient hints.  Change "image_data" to "image-data" and
7049         "image_path" to "image-path".
7050         (notifications-get-capabilities): New defun.
7052 2012-04-24  Leo Liu  <sdl.web@gmail.com>
7054         * progmodes/python.el: Move hideshow setup to the end.
7056 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
7058         * window.el (handle-select-window): Clear echo area since this is
7059         no more done by read_char (Bug#11304).
7061 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7063         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7064         and `/ M' to filter-derived-mode.
7065         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7066         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7067         (ibuffer-mark-by-mode): Use default rather than initial-input.
7068         (ibuffer-filter-by-derived-mode): Autoload and require-match.
7070 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
7072         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7073         (ibuffer-filter-by-derived-mode): New filter.
7074         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7076 2012-04-23  Andreas Politz  <politza@fh-trier.de>
7078         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7080 2012-04-23  Chong Yidong  <cyd@gnu.org>
7082         * cus-edit.el (customize-apropos, customize-apropos-options):
7083         Disable matching of non-option variables (Bug#11176).
7084         (customize-option, customize-option-other-window)
7085         (customize-changed-options): Doc fix.
7086         (customize-apropos-options, customize-apropos-faces)
7087         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7089         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7090         Fix word list splitting (Bug#11132).
7091         (apropos-symbol, apropos-keybinding, apropos-label)
7092         (apropos-property, apropos-function-button)
7093         (apropos-variable-button, apropos-misc-button): New faces.
7094         (apropos-symbol-face, apropos-keybinding-face)
7095         (apropos-label-face, apropos-property-face, apropos-match-face):
7096         Variables removed (Bug#8396).
7097         (apropos-library-button, apropos-format-plist, apropos-print)
7098         (apropos-print-doc, apropos-describe-plist): Callers changed.
7100 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
7102         * net/xesam.el (xesam-mode-map): Use let-bound map in
7103         initialization.  (Bug#11292)
7105 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7107         Preserve ispell session localwords when switching back to
7108         original buffer.
7110         * textmodes/ispell.el (ispell-buffer-session-localwords):
7111         New buffer-local variable to hold buffer session localwords.
7112         (ispell-kill-ispell): Add option 'clear to delete session
7113         localwords.
7114         (ispell-command-loop, ispell-change-dictionary)
7115         (ispell-buffer-local-words): Preserve session localwords when
7116         needed.
7118         * textmodes/flyspell.el (flyspell-process-localwords)
7119         (flyspell-do-correct): Preserve session localwords when needed.
7121 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7123         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7124         using obsolete `translation-table-for-input'.
7125         (ispell-word, ispell-process-line, ispell-complete-word):
7126         Use plain `insert' instead of removed `ispell-insert-word'.
7128 2012-04-22  Chong Yidong  <cyd@gnu.org>
7130         * cus-edit.el (custom-variable-menu)
7131         (custom-variable-reset-saved, custom-face-menu)
7132         (custom-face-reset-saved): If there is no saved value, make the
7133         "reset-saved" operation bring back the default (Bug#9509).
7134         (custom-face-state): Properly detect themed faces.
7136         * faces.el (face-spec-set): Stop supporting deprecated form of
7137         third arg.
7139 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
7141         Move functions from C to Lisp.  Make non-blocking method calls
7142         the default.  Implement further D-Bus standard interfaces.
7144         * net/dbus.el (dbus-message-internal): Declare function.
7145         Remove unneeded function declarations.
7146         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7147         (dbus-message-type-method-return, dbus-message-type-error)
7148         (dbus-message-type-signal): Declare variables.  Remove local
7149         definitions.
7150         (dbus-interface-dbus, dbus-interface-peer)
7151         (dbus-interface-introspectable, dbus-interface-properties)
7152         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7153         Adapt docstring.
7154         (dbus-interface-objectmanager): New defconst.
7155         (dbus-call-method, dbus-call-method-asynchronously)
7156         (dbus-send-signal, dbus-method-return-internal)
7157         (dbus-method-error-internal, dbus-register-service)
7158         (dbus-register-signal, dbus-register-method): New defuns, moved
7159         from dbusbind.c
7160         (dbus-call-method-handler, dbus-setenv)
7161         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7162         New defuns.
7163         (dbus-call-method-non-blocking): Make it an obsolete function.
7164         (dbus-unregister-object, dbus-unregister-service)
7165         (dbus-handle-event, dbus-register-property)
7166         (dbus-property-handler): Obey the new structure of
7167         `bus-registered-objects'.
7168         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
7169         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7170         Use `dbus-call-method'.
7172 2012-04-22  Chong Yidong  <cyd@gnu.org>
7174         * cus-edit.el (custom-commands, custom-reset-menu)
7175         (Custom-reset-standard): Tweak labels.
7176         (custom-reset-button-menu): Change default to t.
7177         (custom-buffer-create-internal): For the custom-reset-button-menu
7178         case, put the revert button first.
7179         (custom-group-subtitle): New face.
7180         (custom-group-value-create): Align docstring to a specific column.
7182         * wid-edit.el (widget-documentation-link-add): Don't handle
7183         indentation in this function.
7184         (widget-documentation-string-indent-to): New function.
7185         (widget-documentation-string-value-create): Use it.
7187         * autorevert.el (auto-revert):
7188         * epg-config.el (epg):
7189         * ibuffer.el (ibuffer):
7190         * mpc.el (mpc):
7191         * ses.el (ses):
7192         * eshell/eshell.el (eshell):
7193         * net/ange-ftp.el (ange-ftp):
7194         * progmodes/ebnf2ps.el (postscript):
7195         * progmodes/flymake.el (flymake):
7196         * progmodes/prolog.el (prolog):
7197         * progmodes/verilog-mode.el (verilog-mode):
7198         * progmodes/which-func.el (which-func):
7199         * term/xterm.el (xterm):
7200         * textmodes/picture.el (picture):
7201         * textmodes/tildify.el (tildify):
7202         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7203         customization buffers.
7205 2012-04-22  Alan Mackenzie  <acm@muc.de>
7207         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7208         Adding a ) can hide the resulting (..) from searches.  Fix it.
7209         Bound the backward search to the position of the existing (.
7211 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
7213         * progmodes/verilog-mode.el (verilog-mode): Check whether
7214         which-func-modes is t before adding verilog-mode.
7215         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7217 2012-04-21  Leo Liu  <sdl.web@gmail.com>
7219         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7221 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
7223         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7224         filling of the last column of a table (Bug#5635).
7225         (woman-find-next-control-line): New arg, specifying an additional
7226         regexp component for the control line.
7227         (woman2-roff-buffer): Use it.
7228         (woman-break-table): New function.
7229         (woman2-TS): Use it.
7231 2012-04-21  Chong Yidong  <cyd@gnu.org>
7233         * woman.el (woman-set-buffer-display-table, woman-decode-region)
7234         (woman-horizontal-escapes, woman-negative-vertical-space)
7235         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7236         (WoMan-warn-ignored): Use ?\s instead of ?\ .
7238 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         * minibuffer.el (completion-file-name-table): Complete user names.
7242 2012-04-20  Leo Liu  <sdl.web@gmail.com>
7244         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7245         and pcase-let*.
7247 2012-04-20  Chong Yidong  <cyd@gnu.org>
7249         * server.el (server-execute): Respect initial-buffer-choice if it
7250         is a string and there are no files to open (Bug#2825).
7251         (server-create-window-system-frame, server-create-tty-frame):
7252         Don't switch buffers here.
7253         (server-process-filter): Only try to open a window system frame if
7254         compiled with graphical support (Bug#8314).
7256 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
7258         * battery.el (battery-echo-area-format): Display remaining time
7259         for sysfs backend too (Bug#11269).
7260         (battery-linux-sysfs): Fix conditional for the charge.
7262 2012-04-20  Chong Yidong  <cyd@gnu.org>
7264         * progmodes/gdb-mi.el (gdb): Revert previous change.
7265         (gdb-inferior-io--init-proc): New function.
7266         (gdb-init-1): Use it.
7267         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7268         responsible for allocating a new pty and hooking it to gdb when
7269         the old pty gets an EIO due to process exit.
7270         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
7271         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7272         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7274 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7276         * window.el (window-min-size, window-sizable, window-min-delta)
7277         (window-max-delta, window--resizable, window-resizable)
7278         (window-total-size, window-full-height-p, window-full-width-p)
7279         (window-in-direction, window--resize-mini-window, window-resize)
7280         (window--resize-child-windows-normal)
7281         (window--resize-child-windows, window--resize-siblings)
7282         (window--resize-this-window, adjust-window-trailing-edge)
7283         (enlarge-window, shrink-window): Doc fixes.
7285 2012-04-20  Chong Yidong  <cyd@gnu.org>
7287         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7288         New function to call delete-process on the gdb-inferior buffer's pty.
7289         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7290         pty process (Bug#11273).
7291         (gdb-update): New arg to suppress talking to the gdb process.
7292         (gdb-done-or-error): Use it.
7293         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7294         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7295         sentinel not being called.
7297         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7299         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7301 2012-04-20  Glenn Morris  <rgm@gnu.org>
7303         * net/network-stream.el (open-network-stream): Doc fix.
7305 2012-04-20  Chong Yidong  <cyd@gnu.org>
7307         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7309 2012-04-20  Alan Mackenzie  <acm@muc.de>
7311         Ensure searching for keywords is case sensitive.
7313         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7314         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7315         (c-defun-name, c-mark-function, c-cpp-define-name)
7316         (c-comment-indent, c-scan-conditionals, c-indent-defun)
7317         (c-context-line-break): Bind case-fold-search to nil.
7319         * progmodes/cc-mode.el (c-font-lock-fontify-region):
7320         Bind case-fold-search to nil.
7322 2012-04-20  Chong Yidong  <cyd@gnu.org>
7324         * mail/sendmail.el (mail-bury): Call return action with the right
7325         Rmail buffer (Bug#11242).
7327         * server.el (server-process-filter): Handle corner case where both
7328         tty and nowait options are present (Bug#11102).
7330 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7332         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7333         (top level): Put into the executable the ident-style '$Id:' tag on
7334         windows-nt as well.
7336 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7338         * electric.el (electric-indent-post-self-insert-function): Check that
7339         electric-indent-mode is enabled in current buffer.
7341 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7343         * imenu.el (imenu-progress-message): Restore; it is "used" in
7344         erc/erc-imenu.el and net/snmp-mode.el.
7346 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7348         * avoid.el (mouse-avoidance-mode): Mark unused arg.
7349         (mouse-avoidance-nudge-mouse): Remove unused binding.
7351         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7353         * descr-text.el (describe-char):
7354         * progmodes/python.el (python-describe-symbol):
7355         Don't call `toggle-read-only', set `buffer-read-only'.
7357         * imenu.el (imenu-default-goto-function): Mark unused args.
7358         (imenu-progress-message): Remove obsolete macro; all callers changed.
7360         * subr.el (keymap-canonicalize): Remove unused binding.
7361         (read-passwd): Mark unused arg.
7363         * tutorial.el (tutorial--display-changes): Remove unused binding.
7364         (tutorial--save-tutorial-to): Remove unused variable.
7366         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7367         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7368         (package-generate-autoloads, package-menu--generate)
7369         (package-menu--find-upgrades): Remove unused bindings.
7371         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7372         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
7373         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7374         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7375         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7376         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7377         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7378         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7379         (cua-delete-char-rectangle): Mark unused args.
7380         (cua-align-rectangle): Remove unused binding.
7382         * mail/rmail.el (compilation--message->loc)
7383         (epa--find-coding-system-for-mime-charset): Declare.
7385         * net/dbus.el (dbus-register-service): Declare.
7386         (dbus-name-owner-changed-handler): Remove unused binding.
7388         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7389         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7390         (nxml-scan-backward-within): Mark unused arg.
7391         (nxml-dynamic-markup-word): Remove unused binding.
7393         * mouse.el (mouse-menu-major-mode-map):
7394         * emacs-lisp/authors.el (authors-scan-change-log)
7395         (authors-add-to-author-list):
7396         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7397         * emacs-lisp/smie.el (smie-auto-fill):
7398         * mail/sendmail.el (mail-bury):
7399         * mail/unrmail.el (unrmail):
7400         * net/tls.el (open-tls-stream):
7401         * textmodes/picture.el (picture-mouse-set-point):
7402         Remove unused bindings.
7404 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
7406         * net/tramp.el (tramp-action-password): Let-bind
7407         `enable-recursive-minibuffers' to t.
7409 2012-04-18  Sam Steingold  <sds@gnu.org>
7411         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7412         instead of 'string to accommodate values like [f11].
7413         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7414         * progmodes/gdb-mi.el: Likewise.
7416 2012-04-18  Leo Liu  <sdl.web@gmail.com>
7418         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7419         current buffer.
7420         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7421         LOCAL is nil.
7423 2012-04-18  Chong Yidong  <cyd@gnu.org>
7425         * simple.el (line-move): Use forward-line if in batch mode
7426         (Bug#11053).
7428 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
7430         * files.el (after-find-file): Do not try to add a final newline if
7431         the buffer is read-only (Bug#11156).
7433 2012-04-17  Richard Stallman  <rms@gnu.org>
7435         * mail/rmail.el (rmail-start-mail):
7436         Pass (rmail-mail-return...) for the return-action.
7437         Pass (rmail-yank-current-message...) for the yank-action.
7438         (rmail-yank-current-message): New function.
7439         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7440         (rmail-reply): Likewise.
7441         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7443         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7444         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
7445         buffer, not newbuf.
7447 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
7449         * server.el (server-ensure-safe-dir): Simplify.
7451 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7453         * emacs-lisp/smie.el: Provide smarter auto-filling.
7454         (smie-auto-fill): New function.
7455         (smie-setup): Use it.
7457         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7459 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
7461         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
7462         (comment-indent): Use it.
7464 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
7466         * ses.el: The overall change is to add cell renaming, that is
7467         setting fancy names for cell symbols other than name matching
7468         "\\`[A-Z]+[0-9]+\\'" regexp .
7469         (ses-localvars): Add ses--renamed-cell-symb-list.
7470         (ses-create-cell-variable): New defun.
7471         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
7472         (ses-relocate-formula): Relocate formulas only for cells the
7473         symbols of which are not renamed, i.e. symbols whose names do not
7474         match regexp "\\`[A-Z]+[0-9]+\\'".
7475         (ses-relocate-all): Relocate values only for cells the symbols of
7476         which are not renamed.
7477         (ses-load): Create cells variables as the (ses-cell ...) are read,
7478         in order to check row col consistency with cell symbol name only
7479         for cells that are not renamed.
7480         (ses-replace-name-in-formula): New defun.
7481         (ses-rename-cell): New defun.
7483 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
7485         * progmodes/perl-mode.el (perl-indent-parens-as-block):
7486         New option (bug#11118).
7487         (perl-calculate-indent): Respect it.
7489 2012-04-17  Glenn Morris  <rgm@gnu.org>
7491         * dired-aux.el (dired-mark-read-string): Doc fix.
7493 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
7495         * dired-aux.el (dired-mark-read-string): Offer optional completion.
7496         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
7498 2012-04-17  Glenn Morris  <rgm@gnu.org>
7500         * mouse.el (mouse-drag-track):
7501         * speedbar.el (speedbar-frame-mode):
7502         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
7504 2012-04-16  Leo Liu  <sdl.web@gmail.com>
7506         * progmodes/python.el: Trivial cleanup.
7508 2012-04-16  Glenn Morris  <rgm@gnu.org>
7510         * vc/vc.el (vc-string-prefix-p):
7511         * vc/pcvs-util.el (cvs-string-prefix-p):
7512         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
7513         * mpc.el (mpc-string-prefix-p):
7514         Make all of these into obsolete aliases for string-prefix-p.
7515         Update callers.
7516         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
7518         * textmodes/two-column.el: Move custom options to the start.
7519         (frame-width): Remove compat definition.
7520         (2C-associate-buffer, 2C-dissociate):
7521         Use with-current-buffer rather than save-excursion.
7522         (2C-dissociate): Force a mode-line update.
7523         (2C-autoscroll): Use ignore-errors.
7525         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
7526         Autoload trivia.
7528         * emacs-lisp/cl-extra.el (*random-state*):
7529         Remove unnecessary declaration.
7531         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
7533         * play/cookie1.el (cookie-snarf):
7534         Give an explicit error if input file cannot be read.
7536         * play/yow.el (yow-file): Use expand-file-name rather than concat.
7538         * progmodes/perl-mode.el (c-macro-expand):
7539         Remove unnecessary autoload (it is in loaddefs.el).
7541         * textmodes/picture.el (picture-desired-column)
7542         (picture-update-desired-column): Convert comments to doc-strings.
7543         (picture-substitute): Remove function.
7544         (picture-mode-map): Initialize in the defvar.
7546         * woman.el: Remove eval-after-load for tar-mode.
7547         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
7548         (woman-tar-extract-file): Autoload it.
7550         * frame.el (automatic-hscrolling): Make this alias obsolete.
7552 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7554         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
7555         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
7556         (ispell-dictionary-base-alist): Revert to original XEmacs
7557         friendly version for default.  [:alpha:] will be added in
7558         `ispell-set-spellchecker-params' if needed.
7560 2012-04-16  Chong Yidong  <cyd@gnu.org>
7562         * image.el (imagemagick--file-regexp): New variable.
7563         (imagemagick-register-types): Use it.
7564         (imagemagick-types-inhibit): Add :set function.  Allow new value
7565         of t to inhibit all types.
7567         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
7568         so we can preload it.
7570         * loadup.el (fboundp): Preload regexp-opt, needed by
7571         imagemagick-register-types.
7573 2012-04-15  Chong Yidong  <cyd@gnu.org>
7575         * frame.el (scrolling): Remove nearly unused customization group.
7577         * scroll-all.el (scroll-all-mode): Move to windows group.
7579 2012-04-15  Chong Yidong  <cyd@gnu.org>
7581         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
7583 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7585         Avoid the use of ((lambda ...) ...) in lexical-binding code.
7586         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
7588 2012-04-15  Glenn Morris  <rgm@gnu.org>
7590         * simple.el (process-file-side-effects): Doc fix.
7592 2012-04-15  Glenn Morris  <rgm@gnu.org>
7594         * international/mule-cmds.el (set-language-environment): Doc fix.
7596 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7598         * server.el (server-auth-key, server-generate-key): Doc fixes.
7599         (server-get-auth-key): Doc fix.  Use `string-match-p'.
7600         (server-start): Reflow docstring.
7602 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
7604         * server.el (server-generate-key): `called-interactively-p'
7605         requires a parameter.
7607 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
7609         * server.el (server-auth-key): New variable.
7610         (server-generate-key, server-get-auth-key): New function.
7611         (server-start): Use the new variable and functions to allow
7612         setting a permanent server key (bug#9423).
7614 2012-04-14  Leo Liu  <sdl.web@gmail.com>
7616         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
7618 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
7620         Spelling fixes.
7621         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
7622         Emacs uses American spelling.
7624 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
7626         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
7627         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
7628         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
7629         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
7631 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7633         * progmodes/which-func.el (which-func-modes): Change default.
7635 2012-04-14  Kim F. Storm  <storm@cua.dk>
7637         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
7638         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
7640 2012-04-14  Chong Yidong  <cyd@gnu.org>
7642         * custom.el (custom-theme-set-variables): Doc fix.
7644 2012-04-14  Glenn Morris  <rgm@gnu.org>
7646         * international/mule.el (set-auto-coding-for-load): Doc fix.
7648 2012-04-14  Alan Mackenzie  <acm@muc.de>
7650         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
7651         imenu work again for Objective C Mode.  Correct the *-index values,
7652         these having been disturbed by a previous change in 2011-08.
7654         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
7655         Correct two search limits.
7657 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7659         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
7661 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
7663         * international/characters.el: Fix sorting.
7665 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7667         * international/characters.el: Add more missing Latin case pairs.
7669 2012-04-14  Glenn Morris  <rgm@gnu.org>
7671         * files.el (dir-locals-set-class-variables): Doc fix.
7673 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7675         * international/characters.el: Add set-case-syntax-pair call for
7676         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
7677         counterpart.  (Bug#11209)
7679         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
7681 2012-04-14  Glenn Morris  <rgm@gnu.org>
7683         * calendar/holidays.el (calendar-check-holidays): Doc fix.
7685 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7687         * textmodes/ispell.el (ispell-dictionary-base-alist):
7688         Add data for Hebrew.
7690 2012-04-14  Chong Yidong  <cyd@gnu.org>
7692         * net/rcirc.el (rcirc-cmd-quit):
7693         Revert 2012-03-18 change (Bug#11192).
7695 2012-04-14  Glenn Morris  <rgm@gnu.org>
7697         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
7699 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
7701         * minibuffer.el (completion-in-region-mode-map):
7702         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
7704 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
7706         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
7708 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
7710         * minibuffer.el (minibuffer-local-filename-syntax): New variable
7711         to allow `C-M-f' and `C-M-b' to move to the nearest path
7712         separator (bug#9511).
7714 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
7716         * avoid.el: Require cl when compiling.  And also move the
7717         `provide' to the end.
7719 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7721         * avoid.el (mouse-avoidance-banish-position): New variable.
7722         (mouse-avoidance-banish-destination): Use it (bug#10165).
7724 2012-04-13  Leo Liu  <sdl.web@gmail.com>
7726         * progmodes/which-func.el (which-func-modes): Add objc-mode.
7728 2012-04-13  Ken Brown  <kbrown@cornell.edu>
7730         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
7731         this is no longer needed now that cygstart understands file:// URLs.
7732         (browse-url-filename-alist): For the same reason, don't modify
7733         file:// URLs on Cygwin.
7735 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7737         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
7738         the region on shift if the binding is already shifted (bug#11221).
7740 2012-04-12  Glenn Morris  <rgm@gnu.org>
7742         * mail/mailpost.el: Move to obsolete/.
7744 2012-04-12  Drew Adams  <drew.adams@oracle.com>
7746         * imenu.el (imenu--generic-function): Ignore invisible definitions
7747         (bug#10123).
7749 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
7751         * hexl.el (hexl-bits): New variable.
7752         (hexl-options): Mention the variable in the doc string.
7753         (hexl-rulerise, hexl-line-displen): New functions.
7754         (hexl-mode): Mention the new variable.
7755         (hexl-mode, hexl-current-address, hexl-current-address):
7756         Use the displen.
7757         (hexl-ascii-start-column): New function.
7758         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7759         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7761 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7763         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7764         '("-i" ENCODING), in 2 separate command-line arguments, to specify
7765         the encoding, as expected by hunspell.
7767 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7769         * battery.el (battery--linux-sysfs-regexp): New const.
7770         (battery-status-function): Use it.  Remove yeeloong special case.
7771         (battery-yeeloong-sysfs): Remove.
7772         (battery-echo-area-format): Remove yeeloong special case.
7774 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7777         Reported by Noah Friedman.
7779         * subr.el (read-passwd): Use read-string.
7781 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7783         * vcursor.el (vcursor-move): Increase the priority of the overlay
7784         (bug#9663).
7786 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7788         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7789         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7791 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
7793         * textmodes/artist.el (artist-mode): Convert artist-mode to use
7794         define-minor-mode (bug#10760).
7796 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7798         * progmodes/grep.el (rgrep): Tweak the find command line so
7799         that directories matching `grep-find-ignored-files' won't be
7800         pruned (bug#10351).
7802 2012-04-11  Chong Yidong  <cyd@gnu.org>
7804         * startup.el (command-line): Remove support for long-obsolete
7805         variable font-lock-face-attributes.
7807 2012-04-11  Glenn Morris  <rgm@gnu.org>
7809         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7811 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7813         * window.el (window--state-get-1): Obey window-point-insertion-type.
7815 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
7817         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7818         to previous function when point is on the first character of a
7819         function.  Take care of that in `narrow-to-defun' (bug#6157).
7821 2012-04-11  Glenn Morris  <rgm@gnu.org>
7823         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7824         not just file-errors.
7826         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7827         (vc-bzr-sha1): Use internal sha1.
7829 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7831         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7833 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
7835         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7836         that start in the middle of the line (bug#10496).
7838 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
7840         * battery.el (battery-linux-proc-acpi): Only one battery is
7841         discharged at a time, but that seems to confuse battery.el when
7842         computing `rate-type' for the battery not being discharged
7843         (bug#10332).
7845 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7847         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7849         * international/quail.el: Use dolist and simplify.
7850         (quail-define-package, quail-update-keyboard-layout)
7851         (quail-define-rules): Use dolist.
7852         (quail-insert-kbd-layout, quail-get-translation): CSE.
7854         * tmm.el: Use dolist, remove left over hook.
7855         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7856         Use dolist.
7857         (calendar-load-hook): Don't mess with it.
7859         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7860         Use derived-mode-p.  Run the diff asynchronously.
7862 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7864         * obsolete/mouse-sel.el: Add an Obsolete-since header.
7866 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
7868         * misc.el: Display absolute path of loaded DLLs (bug#10424).
7869         (list-dynamic-libraries--loaded): New function.
7870         (list-dynamic-libraries--refresh): Use it.
7872 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
7874         * progmodes/python.el (python-fill-paragraph):
7875         Make python-fill-region in a multiline string work when font-lock is
7876         disabled (bug#7018).
7878 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
7880         * language/european.el (cp775): Add oem/legacy (en)coding on
7881         DOS/MS Windows for the Baltic languages.  There are still plenty
7882         of texts written in this encoding/codepage (bug#6519).
7884 2012-04-10  Glenn Morris  <rgm@gnu.org>
7886         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7887         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7889 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
7891         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7892         next-line "n" and previous-line "p" in order to make recentf more
7893         consistent with ibuffer, dired or org-mode (bug#9387).
7895 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7897         * image.el (put-image): Return the overlay created instead of the
7898         optional input string (bug#7834).  Note that this may break code
7899         that is (for some reason or other) depending on `put-image'
7900         returning the string.
7902         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7904         * simple.el (zap-to-char): Allow zapping using input methods
7905         (bug#1580).
7907         * textmodes/fill.el (fill-region): Leave point and mark where they
7908         were before filling (bug#5399).
7910 2012-04-09  Glenn Morris  <rgm@gnu.org>
7912         * version.el (emacs-bzr-get-version):
7913         Handle lightweight checkouts of local branches.
7915 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
7917         * international/characters.el: Recover lost case pairs.  (Bug#11209)
7919 2012-04-09  Chong Yidong  <cyd@gnu.org>
7921         * custom.el (custom-variable-p): Return nil for non-symbol
7922         arguments instead of signaling an error.
7923         (user-variable-p): Obsolete alias for custom-variable-p.
7925         * apropos.el (apropos-variable):
7926         * files-x.el (read-file-local-variable):
7927         * simple.el (set-variable):
7928         * woman.el (woman-mini-help):
7929         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7931 2012-04-09  Glenn Morris  <rgm@gnu.org>
7933         * startup.el (normal-top-level): Don't look for leim-list.el
7934         in places where it will not be found.  (Bug#910)
7936         * international/mule-cmds.el (set-default-coding-systems):
7937         * files.el (normal-mode):
7938         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
7939         This function was removed with ucs-tables.el in 2008.
7941 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
7943         * textmodes/ispell.el (ispell-check-version): For hunspell, set
7944         ispell-encoding8-command to "-i", without a trailing space.
7945         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7946         separate command-line arguments, to specify the encoding, since
7947         that's how hunspell expects it.
7949 2012-04-08  Glenn Morris  <rgm@gnu.org>
7951         * loadup.el: Load bindings before cus-start.
7952         This reduces somewhat the number of "rogue" settings in emacs -Q.
7954 2012-04-07  Glenn Morris  <rgm@gnu.org>
7956         * version.el (emacs-bzr-get-version): New function.
7957         (emacs-bzr-version): New variable.
7958         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
7959         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7961 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7963         * international/uni-bidi.el, international/uni-category.el:
7964         * international/uni-combining.el, international/uni-decimal.el:
7965         * international/uni-decomposition.el, international/uni-digit.el:
7966         * international/uni-lowercase.el, international/uni-mirrored.el:
7967         * international/uni-name.el, international/uni-numeric.el:
7968         * international/uni-titlecase.el, international/uni-uppercase.el:
7969         Update for Unicode 6.1.
7971 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7973         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7975 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7977         * window.el (shrink-window): Mention the `window-min-height'
7978         variable in the doc string.
7980 2012-04-05  Bastien Guerry  <bzg@altern.org>
7982         * color.el (color-lighten-name): Fix typo.
7984 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7986         * server.el (server--on-display-p): New function.
7987         (server--on-display-p): Use it.
7989 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
7991         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7992         (bug#11145).
7994 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7996         * comint.el (comint--common-quoted-suffix): Check string boundary
7997         before comparing (bug#11158).
7998         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8000 2012-04-04  Chong Yidong  <cyd@gnu.org>
8002         * minibuffer.el (completion-extra-properties): Doc fix.
8004         * subr.el (delayed-warnings-hook): Doc fix.
8006 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
8008         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8009         selection (Bug#11159).
8010         (epa-insert-keys): Inform that the default public key will be
8011         exported if no key is selected.
8013 2012-04-04  Richard Stallman  <rms@gnu.org>
8015         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8017 2012-04-03  Chong Yidong  <cyd@gnu.org>
8019         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8020         mail-insert-file, not its obsolete alias mail-attach-file.
8022 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
8024         * notifications.el (notifications-notify): Fix docstring.
8026 2012-04-02  Glenn Morris  <rgm@gnu.org>
8028         * emacs-lisp/authors.el (authors-aliases): Another addition.
8030 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
8032         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8033         `tramp-compat-call-process' instead of `tramp-local-call-process'.
8034         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8036 2012-04-01  Chong Yidong  <cyd@gnu.org>
8038         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8039         Handle root directory properly.
8040         (copy-directory): Caller changed.
8042         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8043         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8045 2012-03-31  Glenn Morris  <rgm@gnu.org>
8047         * term/xterm.el (xterm-extra-capabilities): Doc fix.
8049         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
8051         * calendar/calendar.el (calendar-window-list)
8052         (calendar-hide-window): Restore.  (Bug#11140)
8053         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8055         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8057 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8059         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8060         Check if file is a symlink (Bug#10489).
8062         * files.el (copy-directory): Likewise.
8064 2012-03-30  Chong Yidong  <cyd@gnu.org>
8066         * image.el (imagemagick-types-inhibit)
8067         (imagemagick-register-types): Doc fix.
8069 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8071         * textmodes/ispell.el (ispell-get-extended-character-mode):
8072         Disable extended-char-mode for hunspell.  hunspell does not support it
8073         and treats ~word as ordinary words in pipe mode.
8075 2012-03-30  Glenn Morris  <rgm@gnu.org>
8077         * tutorial.el (help-with-tutorial): Ensure local variables don't
8078         happen to make the buffer read-only.  (Bug#11127)
8080 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8082         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8083         (perl-calculate-indent): Return `noindent' in strings.
8085 2012-03-28  Sam Steingold  <sds@gnu.org>
8087         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8088         instead of the broken adhockery which does not prevent calendar
8089         buffers from being displayed at random after exit.
8090         (calendar-window-list, calendar-hide-window): Remove the broken
8091         adhockery.
8093 2012-03-28  Glenn Morris  <rgm@gnu.org>
8095         * replace.el (query-replace-map): Doc fix.
8097 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8099         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8100         contents.  (Bug#11109)
8102 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8104         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8105         (bug#11077).
8106         (avl-tree--check, avl-tree--check-node): New funs.
8108 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
8110         * window.el (switch-to-visible-buffer): New option.
8111         (switch-to-prev-buffer, switch-to-next-buffer):
8112         Observe switch-to-visible-buffer.  Make sure that checking for a window
8113         showing a buffer already is done on the same frame.
8115 2012-03-27  Glenn Morris  <rgm@gnu.org>
8117         * startup.el (mail-host-address): Doc fix.
8119 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8121         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8122         than 197 variables.
8124 2012-03-26  Ami Fischman  <ami@fischman.org>
8126         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8128 2012-03-26  Glenn Morris  <rgm@gnu.org>
8130         * files.el (save-buffers-kill-emacs): Doc fix.
8132         * startup.el (normal-top-level, command-line, command-line-1):
8133         Give them doc strings.
8135 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
8137         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8138         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8140 2012-03-25  Chong Yidong  <cyd@gnu.org>
8142         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8143         theme if it was previously enabled before (Bug#11031).
8145         * cus-theme.el (custom-theme-write-faces): Retrieve current face
8146         spec with custom-face-get-current-spec if its :shown-value is not
8147         determined yet (Bug#9337).
8148         (customize-create-theme, custom-theme-revert): Doc fixes.
8150         * button.el (button-at): Minor addition to docstring.
8152 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
8154         * vc/vc.el (vc-merge): Fix a prompt.
8156 2012-03-24  Chong Yidong  <cyd@gnu.org>
8158         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8159         point (Bug#9623).
8161         * button.el (button-at): Minor addition to docstring.
8163 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8165         * newcomment.el (comment-choose-indent): No space after BOL.
8167 2012-03-22  Sam Steingold  <sds@gnu.org>
8169         * window.el (switch-to-prev-buffer): Revert last patch because the
8170         bug turned out to be an advertised feature (Elisp manual 28.14).
8172 2012-03-22  Glenn Morris  <rgm@gnu.org>
8174         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
8175         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8177 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8179         * net/network-stream.el (network-stream-open-starttls): Make error
8180         message under Windows be less misleading.
8182 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
8184         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8185         understands (bug#9942).
8187 2012-03-22  Chong Yidong  <cyd@gnu.org>
8189         * simple.el (end-of-visible-line): Handle return value of
8190         next-single-property-change properly (Bug#9371).
8192 2012-03-22  Kenichi Handa  <handa@m17n.org>
8194         * international/quail.el (quail-insert-kbd-layout): Fix previous
8195         change.  To avoid unwanted bidi reordering, use
8196         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8198 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
8200         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8201         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8202         (ruby-beginning-of-indent): Be more careful with the difference
8203         between word-boundary and symbol boundary.
8204         (ruby-mode-syntax-table): Make : a symbol constituent.
8206 2012-03-21  Andreas Politz  <politza@fh-trier.de>
8208         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8210 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8212         * progmodes/etags.el (tags-completion-at-point-function):
8213         Improve last fix.
8215         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8217 2012-03-21  Sam Steingold  <sds@gnu.org>
8219         * progmodes/etags.el (tags-completion-at-point-function):
8220         Avoid the error when point is inside the pattern.
8222 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
8224         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8225         line (Bug#10855).
8227 2012-03-21  Drew Adams  <drew.adams@oracle.com>
8229         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8231 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
8233         * ido.el (ido-set-current-directory, ido-read-internal)
8234         (ido-choose-completion-string, ido-completion-help): Handle nil
8235         value of ido-completion-buffer (Bug#11008).
8237 2012-03-21  Sam Steingold  <sds@gnu.org>
8239         * window.el (switch-to-prev-buffer): Do not switch to a visible
8240         window previous buffer, just like with the frame previous buffers.
8242 2012-03-21  Chong Yidong  <cyd@gnu.org>
8244         * faces.el (make-face, make-empty-face, copy-face):
8245         * face-remap.el (face-remap-add-relative, face-remap-set-base):
8246         Doc fixes.
8248 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8250         * wid-edit.el (widget-complete-field): Remove (bug#11051).
8251         (widget-complete): Remove broken use of it.
8253 2012-03-20  Chong Yidong  <cyd@gnu.org>
8255         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8256         Use string-width and truncate-string-width to handle arbitrary
8257         characters.
8259 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
8261         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8262         to draw rectangles, not squares.  (Regression introduced by revno
8263         103471)
8265 2012-03-18  Chong Yidong  <cyd@gnu.org>
8267         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8268         it is not yet defined (for temacs).
8270 2012-03-18  Leo Liu  <sdl.web@gmail.com>
8272         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
8274 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8276         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8277         (ispell-choices-win-default-height, ispell-silently-savep)
8278         (ispell-dictionary-alist, ispell-encoding8-command)
8279         (ispell-check-version, ispell-aspell-find-dictionary)
8280         (ispell-valid-dictionary-list, ispell-words-keyword)
8281         (ispell-get-word, ispell-internal-change-dictionary)
8282         (ispell-region, ispell-skip-region-list)
8283         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8284         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8285         (ispell-message-text-end, ispell-message)
8286         (ispell-buffer-local-parsing): Doc fix.
8288 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
8290         * htmlfontify.el: Add support for code block fontification for ODT
8291         export (Bug #9914).
8292         (hfy-optimisations): Define new option
8293         `body-text-only'
8294         (hfy-fontify-buffer): Honor above setting.
8295         (hfy-begin-span, hfy-end-span): New routines factored out form
8296         `hfy-fontify-buffer'.
8297         (hfy-begin-span-handler, hfy-end-span-handler): New variables
8298         that permit insertion of custom tags.
8299         (hfy-fontify-buffer): Use above handlers.
8300         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8301         (hfy-face-to-css): Re-defined to be a variable.
8302         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
8303         over multiple runs.  This is made possible by having the caller let
8304         bind a special variable `hfy-user-sheet-assoc'.
8305         (htmlfontify-string): New defun.
8306         (hfy-compile-face-map): Make sure that the last char in the
8307         buffer is correctly fontified.
8308         (hfy-face-resolve-face): Whitespace only change.
8310 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8312         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8313         message more clear.
8315 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8317         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8319 2012-03-16  Alan Mackenzie  <acm@muc.de>
8321         Further optimise the handling of large macros.
8323         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8324         limit to a call of `c-literal-limits'.
8325         (c-determine-+ve-limit): New function.
8326         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8327         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8328         In CASE 5B, restrict a search limit to 500.
8329         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8331         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8332         Restrict macro bounds to +-500 from after-change's BEG END.
8334 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8336         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8338 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
8340         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8341         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
8343 2012-03-16  Glenn Morris  <rgm@gnu.org>
8345         * view.el (view-buffer, view-buffer-other-window)
8346         (view-buffer-other-frame): Doc fixes re special mode-class.
8348         * subr.el (eval-after-load): If named feature is provided not from
8349         a file, run after-load forms.  (Bug#10946)
8351         * calendar/calendar.el (calendar-insert-at-column):
8352         Handle non-unit-width characters a bit better.  (Bug#10978)
8354 2012-03-15  Chong Yidong  <cyd@gnu.org>
8356         * emacs-lisp/ring.el (ring-extend): New function.
8357         (ring-insert+extend): Extend the ring correctly (Bug#11019).
8359         * comint.el (comint-read-input-ring)
8360         (comint-add-to-input-history): Grow comint-input-ring lazily.
8362 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8364         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8365         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8367         * imenu.el: Fix multiple inheritance breakage (bug#9199).
8368         (imenu-add-to-menubar): Don't add a redundant index.
8369         (imenu-update-menubar): Handle a dynamically composed keymap.
8371 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
8373         * mail/sendmail.el (mail-encode-header):
8374         Bind rfc2047-encode-encoded-words to nil.
8376 2012-03-13  Glenn Morris  <rgm@gnu.org>
8378         * calendar/calendar.el (calendar-string-spread):
8379         Handle non-unit-width characters a bit better.  (Bug#10978)
8381 2012-03-13  Leo Liu  <sdl.web@gmail.com>
8383         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8384         directory and file as argument (Bug#10822).
8386 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8388         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8389         For dynamically generated code, follow $PC.
8390         (gdb-disassembly-handler-custom): Handle no function name case.
8392 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
8394         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8395         * emulation/ws-mode.el (ws-query-replace):
8396         * sort.el (sort-regexp-fields):
8397         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
8399 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8401         * dabbrev.el: Fix cycle completion order (bug#10963).
8402         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8403         (dabbrev-completion): Don't use an obarray; provide
8404         a cycle-sort-function.
8406 2012-03-12  Leo Liu  <sdl.web@gmail.com>
8408         * simple.el (kill-new): Use equal-including-properties for comparison.
8409         (kill-do-not-save-duplicates): Doc fix.
8411 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8413         * dabbrev.el: Fix cycle completion (bug#10963).
8414         Use lexical binding and wrap to 80 columns.
8415         (dabbrev-completion): Delay computing the list of completions.
8417 2012-03-12  Kenichi Handa  <handa@m17n.org>
8419         * international/quail.el (quail-insert-kbd-layout): Surround each
8420         row by LRO and PDF instead of inserting many LRMs.  Pad the left
8421         and right of each non-spacing marks.  Insert invisible space
8422         between lower and upper characters to prevent composition.
8424 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8426         * minibuffer.el (minibuffer-complete): Don't get confused when the
8427         function is run twice via different commands (bug#10958).
8428         (complete-with-action): Fix docstring.
8430 2012-03-12  Chong Yidong  <cyd@gnu.org>
8432         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8433         (nxml-completion-at-point-function): New function.
8434         (nxml-mode): Use it.
8435         (nxml-bind-meta-tab-to-complete-flag): Default to t.
8437         * emacs-lisp/package.el (package-unpack, package-unpack-single):
8438         Load generated autoloads file before byte compiling (Bug#10970).
8439         (package--make-autoloads-and-compile): New helper fun.
8441 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
8443         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8445 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
8447         * autorevert.el (auto-revert-handler): Ensure, that
8448         file-readable-p is applied only for local files or in
8449         auto-revert-tail-mode.
8451 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
8453         * server.el (server-eval-at): Handle non-tcp connections.
8454         Decode result string.
8456         * server.el (server-msg-size): New constant.
8457         (server-reply-print): New function.
8458         (server-eval-and-print): Use it.
8459         (server-eval-at): Use server-quote-arg and server-unquote-arg.
8460         Handle -print-nonl.
8462 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
8464         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
8465         (Bug#10987).
8467 2012-03-11  Chong Yidong  <cyd@gnu.org>
8469         * simple.el (goto-line): Doc fix (Bug#9938).
8471         * subr.el (save-window-excursion): Doc fix (Bug#9979).
8473         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
8474         when finished (Bug#10963).
8476 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
8478         * window.el (split-window-below): Fix bug in case where
8479         split-window-keep-point is nil (Bug#10971).
8481 2012-03-11  Juri Linkov  <juri@jurta.org>
8483         * replace.el (replace-highlight): Set isearch-word to nil
8484         unconditionally.  (Bug#10887)
8486 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
8488         * net/mairix.el (mairix-replace-invalid-chars): Rename from
8489         mairix-replace-illegal-chars; all callers changed.  Don't remove
8490         ^, ~, and = characters: they are meaningful in mairix search specs.
8491         (mairix-widget-create-query): Add usage information about mairix
8492         search forms: negating words, searching for substrings, etc.
8494 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
8496         * international/fontset.el (font-encoding-alist): Add an entry for
8497         ksx1001 (Bug#5667).
8499 2012-03-10  Richard Stallman  <rms@gnu.org>
8501         * mail/sendmail.el (mail-encode-header):
8502         Set rfc2047-encode-encoded-words.
8504         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
8506         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
8507         view buffer means not swapped.
8508         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
8509         (rmail-write-region-annotate): Error if real text has disappeared.
8511         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
8513 2012-03-10  Chong Yidong  <cyd@gnu.org>
8515         * emulation/cua-rect.el (cua--init-rectangles):
8516         * emulation/cua-base.el (cua--init-keymaps):
8517         Add delete-forward-char to remappings (Bug#9666).
8519 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
8521         * speedbar.el (speedbar-unhighlight-one-tag-line):
8522         Avoid unhighlighting due to frame switching (Bug#10275).
8524 2012-03-10  Chong Yidong  <cyd@gnu.org>
8526         * minibuffer.el (completion-in-region, completion-help-at-point):
8527         Give the completion field overlay a high priority (Bug#6830).
8529         * dired.el (dired-goto-file): Recognize absolute file name
8530         listings (Bug#7126).
8531         (dired-goto-file-1): New helper function.
8532         (dired-toggle-read-only): Inhibit warnings.
8534 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
8536         * net/dbus.el (dbus-property-handler): Return empty array if
8537         there are no properties.
8539 2012-03-09  Leo Liu  <sdl.web@gmail.com>
8541         * savehist.el (savehist-printable): Stricter check for string
8542         value (Bug#10937).
8544 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
8546         * mail/smtpmail.el (smtpmail-send-it):
8547         Bind coding-system-for-write to *-unix, so that FCC files are kept in
8548         valid mbox format.
8550 2012-03-09  Glenn Morris  <rgm@gnu.org>
8552         * files.el (dir-locals-find-file):
8553         Don't check result is regular, readable.
8554         (dir-locals-read-from-file): Demote errors.
8556 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
8558         * international/quail.el (quail-insert-kbd-layout):
8559         Insert invisible LRM characters before each character in a keyboard
8560         layout cell, to prevent their reordering by bidi display engine.
8561         For details, see the discussion in
8562         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
8564 2012-03-08  Alan Mackenzie  <acm@muc.de>
8566         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
8567         the starting position; make it extend the marked region when
8568         invoked repeatedly - all under appropriate circumstances.
8569         Fixes bugs #5525, #10906.
8571 2012-03-08  Glenn Morris  <rgm@gnu.org>
8573         * files.el (locate-dominating-file, dir-locals-find-file):
8574         Undo 2012-03-06 change.
8576 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
8578         * international/quail.el (quail-help):
8579         Force bidi-paragraph-direction be left-to-right.  See discussion in
8580         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
8581         for the reason.
8583 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
8585         Avoid superfluous registering of signals.  (Bug#10807)
8587         * notifications.el (notifications-on-action-object)
8588         (notifications-on-close-object): New defvars.
8589         (notifications-on-action-signal, notifications-on-closed-signal):
8590         Unregister the signal if not needed any longer.
8591         (notifications-notify): Register `notifications-action-signal' or
8592         `notifications-closed-signal', if :on-action or :on-close has been
8593         passed as argument.
8595 2012-03-07  Chong Yidong  <cyd@gnu.org>
8597         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
8598         non-X platforms.
8600 2012-03-06  Glenn Morris  <rgm@gnu.org>
8602         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8603         (x-disown-selection-internal, x-get-selection-internal):
8604         Doc fix (add arglist signatures).  (Bug#10783)
8606 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8608         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
8609         Handle breakpoints with no "type".
8611 2012-03-06  Glenn Morris  <rgm@gnu.org>
8613         * files.el (locate-dominating-file): Add optional predicate argument.
8614         (dir-locals-find-file): Make use of above change.
8616 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
8618         * info.el (Info-insert-dir): Also try "dir.gz".
8620 2012-03-06  Glenn Morris  <rgm@gnu.org>
8622         * files.el (dir-locals-find-file):
8623         Ignore non-readable or non-regular files.  (Bug#10928)
8625         * files.el (locate-dominating-file): Doc fix.
8627 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
8629         * calendar/calendar.el (calendar-set-mode-line):
8630         `getenv' returns a string.  (Bug#10951)
8632 2012-03-05  Leo Liu  <sdl.web@gmail.com>
8634         * simple.el (backward-delete-char-untabify): Constrain point to
8635         field (Bug#10939).
8637         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
8639 2012-03-05  Chong Yidong  <cyd@gnu.org>
8641         * simple.el (count-words): If called from Lisp, return the word
8642         count, for symmetry with `count-lines'.  Arglist changed.
8643         (count-words--message): Args changed.  Consolidate counting code
8644         from count-words and count-words-region.
8645         (count-words-region): Caller changed.
8646         (count-lines-region): Make it an obsolete alias.
8648 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
8650         * saveplace.el (save-place-to-alist)
8651         (save-place-ignore-files-regexp): Allow value nil to disable this
8652         feature.
8654 2012-03-04  Chong Yidong  <cyd@gnu.org>
8656         * faces.el (face-spec-reset-face): For the default face, reset the
8657         attributes to default values (Bug#10748).
8659 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8661         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
8662         previous patch: Check `message-send-mail-function', and not the
8663         default function (bug#10897).
8665 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
8667         * notifications.el (notifications-on-action-signal)
8668         (notifications-on-closed-signal): Check for unique service name of
8669         incoming event.  Fix error in removing entry.
8670         (top): Register for signals with wildcard service name.
8671         (notifications-notify): Use daemon unique service name for map entries.
8673 2012-03-04  Chong Yidong  <cyd@gnu.org>
8675         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
8677 2012-03-04  Glenn Morris  <rgm@gnu.org>
8679         * abbrev.el (copy-abbrev-table, abbrev-table-p)
8680         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
8681         (expand-abbrev, define-abbrev-table): Doc fixes.
8683 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8685         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
8686         `message-default-send-mail-function' and not `send-mail-function'
8687         when doing the prompting for `sendmail-query-once' before sending
8688         in Message buffers (bug#10897).
8690         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
8691         This is inconsistent with all the other stream functions, which leave
8692         the setting up to the higher levels (if so wanted) (bug#10931).
8694 2012-03-02  Alan Mackenzie  <acm@muc.de>
8696         Depessimize the handling of very large macros.
8698         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
8699         (c-macro-cache-syntactic): New variables to implement a one
8700         element macro cache.
8701         (c-invalidate-macro-cache): New function.
8702         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
8703         Adapt to use the new cache.
8704         (c-state-safe-place): Use better the cache of safe positions.
8705         (c-state-semi-nonlit-pos-cache)
8706         (c-state-semi-nonlit-pos-cache-limit):
8707         New variables for...
8708         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
8709         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
8710         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
8711         Use c-state-semi-safe-place.
8713         * progmodes/cc-langs.el (c-get-state-before-change-functions):
8714         Add c-invalidate-macro-cache to the C, C++, Obj entries.
8716 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
8718         * jka-compr.el (jka-compr-call-process):
8719         Apply `file-accessible-directory-p' only when the default directory is
8720         not remote.
8722 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
8724         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
8725         access of FILE2, if FILE1 does not exist.
8727         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
8728         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
8730         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
8731         Add "PAGER=" to `process-environment'.
8733 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
8735         * progmodes/sql.el: Bug fix
8736         (sql-get-login-ext): Save login values in globals.
8737         (sql-get-login): Use new version of `sql-get-login-ext'.
8738         (sql-interactive-mode): Set global `sql-connection' to nil.
8739         (sql-connect): Set global values for connection.
8740         (sql-product-interactive): Save global values as buffer local.
8742 2012-02-29  Leo Liu  <sdl.web@gmail.com>
8744         * abbrev.el (define-abbrevs): Reset sys to nil.
8746 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8748         * files.el (file-equal-p): Rename from `files-equal-p'.
8749         Return nil when one or both files don't exist.
8750         (file-subdir-of-p): Now only top directory must exists,
8751         return nil if it doesn't.
8752         (copy-directory): No need to test with `file-subdir-of-p' after
8753         creating dir.
8754         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8755         to `file-equal-p'.
8757 2012-02-28  Glenn Morris  <rgm@gnu.org>
8759         * shell.el (shell-mode):
8760         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8761         * play/landmark.el (landmark-font-lock-face-O):
8762         * play/handwrite.el (handwrite):
8763         * play/gomoku.el (gomoku-O):
8764         * net/browse-url.el (browse-url-browser-display):
8765         * international/mule.el (define-charset):
8766         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8767         * filesets.el (filesets-find-file-delay):
8768         * eshell/em-xtra.el (eshell-xtra):
8769         * eshell/em-unix.el (eshell-grep):
8770         * emulation/viper.el (viper-mode):
8771         * emacs-lisp/regexp-opt.el (regexp-opt-group):
8772         * emacs-lisp/easymenu.el (easy-menu-define):
8773         * calendar/timeclock.el (timeclock-use-display-time):
8774         * bs.el (bs-mode):
8775         * bookmark.el (bookmark-save-flag):
8776         Doc fix (standardize possessive apostrophe usage).
8778 2012-02-27  Chong Yidong  <cyd@gnu.org>
8780         * emulation/viper-cmd.el (viper-intercept-ESC-key):
8781         Fix key-binding lookup for ESC key (Bug#9146).
8783         * font-lock.el (font-lock-specified-p): Rename from
8784         font-lock-spec-present.  Callers changed.
8786 2012-02-27  Daniel Hackney  <dan@haxney.org>
8788         * emacs-lisp/package.el (package-compute-transaction):
8789         Handle holding a package version to t in package-load-list.
8791 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
8793         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8794         (tramp-get-inode, tramp-get-device): Use cached values.
8796 2012-02-26  Alan Mackenzie  <acm@muc.de>
8798         Check there is a font-lock specification before doing initial
8799         fontification.
8801         * font-core.el (font-lock-mode): Move the conditional from
8802         :after-hook to font-lock-initial-fontify.
8803         (font-lock-default-function): Move the check for a specification
8804         to font-lock-spec-present.
8806         * font-lock.el (font-lock-initial-fontify): Call ...
8807         (font-lock-spec-present): New function.
8809 2012-02-26  Jim Blandy  <jimb@red-bean.com>
8811         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8812         (gdb-send): Apply it to the operand of the '-interpreter-exec
8813         console' command, so that we can pass arguments with (say) quotes
8814         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
8816 2012-02-26  Chong Yidong  <cyd@gnu.org>
8818         * help-fns.el (describe-function-1): Clarify description of
8819         remapping (Bug#10844).
8821         * files.el (files-equal-p): Doc fix.
8822         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
8823         and quit the loop once a mismatch is found.
8825 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
8827         * bs.el (bs--show-with-configuration): Don't throw an error
8828         if the window cannot be split; otherwise, subsequent calls to
8829         bs-show fail, restoring a stale window config.  (Bug#10882)
8831 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
8833         * term/ns-win.el (global-map): Bind ns-drag-file to
8834         ns-find-file (Bug#5855, Bug#10050).
8836 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
8838         * calendar/parse-time.el (parse-time-string): Allow extractor to
8839         return nil.
8841 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
8843         * net/tramp.el (tramp-file-name-for-operation):
8844         Add `files-equal-p' and `file-subdir-of-p'.
8846         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8847         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8848         Add COPY-CONTENTS argument.
8850 2012-02-25  Chong Yidong  <cyd@gnu.org>
8852         Add custom groups for VC backends, for consistency with vc-bzr.
8854         * vc/vc-arch.el (vc-arch):
8855         * vc/vc-cvs.el (vc-cvs):
8856         * vc/vc-git.el (vc-git):
8857         * vc/vc-hg.el (vc-hg):
8858         * vc/vc-mtn.el (vc-mtn):
8859         * vc/vc-rcs.el (vc-rcs):
8860         * vc/vc-sccs.el (vc-sccs):
8861         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8862         All relevant defcustoms reassigned.
8864 2012-02-25  Chong Yidong  <cyd@gnu.org>
8866         * newcomment.el (comment-styles): Add autoload (Bug#10868).
8868         * term/x-win.el (x-initialize-window-system): Reduce default for
8869         x-selection-timeout to 5 seconds (Bug#8869).
8871 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8873         * files.el (files-equal-p, file-subdir-of-p): New functions.
8874         (copy-directory): Error when trying to copy a directory on itself.
8875         Add missing copy-contents arg to tramp handler.
8876         * dired-aux.el (dired-copy-file-recursive): Same.
8877         (dired-create-files): Modify destination when source is equal to
8878         dest when copying files.
8879         Return also when dest is a subdir of source.  (Bug#10489)
8881 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
8883         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8884         (Bug#10874)
8886 2012-02-23  Alan Mackenzie  <acm@muc.de>
8888         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8889         parameter "after-hook:" to allow the expansion to run code after
8890         the execution of the mode hooks.
8892         * font-lock.el (font-lock-initial-fontify): New function extracted
8893         from font-lock-mode-internal.
8895         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8896         :after-hook.
8898 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8900         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8901         (completion--cache-all-sorted-completions): New function.
8902         (completion-all-sorted-completions): Use it.
8903         (completion--do-completion, minibuffer-force-complete):
8904         Use it to re-instate the flush hook.
8906         * icomplete.el (icomplete-completions): Replace last fix with a better
8907         one (bug#10850).
8909 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8911         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8912         when it might call us back infinitely (bug#10797).
8914 2012-02-23  Glenn Morris  <rgm@gnu.org>
8916         * minibuffer.el (completion-category-overrides): Doc fix.
8918 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8920         * minibuffer.el (completion-table-with-context): Fix inf-loop.
8921         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8923 2012-02-23  Glenn Morris  <rgm@gnu.org>
8925         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8926         (authors-obsolete-files-regexps, authors-ignored-files)
8927         (authors-ambiguous-files, authors-renamed-files-alist):
8928         Add more entries.
8930 2012-02-23  Juri Linkov  <juri@jurta.org>
8932         * isearch.el (isearch-occur): Sync interactive spec with occur's
8933         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
8935         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8937 2012-02-22  Juri Linkov  <juri@jurta.org>
8939         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8940         (ucs-insert): Doc fix.  Check for hex digits in the string.
8941         Don't display `nil' in the error message.  (Bug#10857)
8943 2012-02-22  Alan Mackenzie  <acm@muc.de>
8945         * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
8947 2012-02-22  Glenn Morris  <rgm@gnu.org>
8949         * ffap.el (ffap-c-path):
8950         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
8952 2012-02-22  Chong Yidong  <cyd@gnu.org>
8954         * custom.el (load-theme): Doc fix.
8956 2012-02-22  Glenn Morris  <rgm@gnu.org>
8958         * dired-x.el (dired-guess-shell-alist-default):
8959         Remove escape sequences from nroff output.  (Bug#172)
8961 2012-02-21  Glenn Morris  <rgm@gnu.org>
8963         * vc/emerge.el (emerge-defvar-local):
8964         Set `permanent-local' property rather than unused `preserved'.
8966         * textmodes/picture.el (picture-delete-char): New alias.
8967         (picture-mode-map): Use it.  (Bug#10860)
8968         (picture-mode): Doc fix.
8970 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
8972         * newcomment.el (uncomment-region-default): Remove unused binding.
8974 2012-02-21  Glenn Morris  <rgm@gnu.org>
8976         * textmodes/picture.el (picture-motion, picture-motion-reverse)
8977         (picture-self-insert, picture-tab-chars): Doc fix.
8978         (picture-mode-map): Fix C-a, C-e.
8980 2012-02-20  Glenn Morris  <rgm@gnu.org>
8982         * emacs-lisp/authors.el (authors-aliases): Add another entry.
8984 2012-02-20  Leo Liu  <sdl.web@gmail.com>
8986         * icomplete.el (icomplete-completions): Check FROM arg before
8987         passing to substring (Bug#10850).
8989 2012-02-19  Chong Yidong  <cyd@gnu.org>
8991         * comint.el: Require ansi-color.
8992         (comint-output-filter-functions): Add ansi-color-process-output.
8994         * ansi-color.el: Don't set comint-output-filter-functions; it is
8995         now in the initial value defined in comint.el.
8996         (ansi-color-apply-face-function): New variable.
8997         (ansi-color-apply-on-region): Use it.
8998         (ansi-color-apply-overlay-face): New function.
9000         * shell.el (shell): No need to require ansi-color.
9001         (shell-mode): Use ansi-color-apply-face-function to highlight
9002         color escapes using font-lock-face property (Bug#10835).
9004 2012-02-19  Chong Yidong  <cyd@gnu.org>
9006         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9007         mode-line formats (Bug#10839).
9009 2012-02-18  Glenn Morris  <rgm@gnu.org>
9011         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9013         * mail/undigest.el (unforward-rmail-message): Doc fix.
9015         * saveplace.el (save-place-ignore-files-regexp): Add :version.
9017 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
9019         * international/characters.el (script-list): Sync with the latest
9020         Unicode Character Database.
9022 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
9024         * international/titdic-cnv.el: Remove duplicate coding tag.
9025         * language/cham.el: Likewise.
9026         * language/tai-viet.el: Likewise.
9028 2012-02-18  Glenn Morris  <rgm@gnu.org>
9030         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9031         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9032         (calendar-bahai-all-holidays-flag, calendar-other-dates):
9033         * calendar/diary-lib.el (diary-abbreviated-year-flag):
9034         * calendar/holidays.el (holiday-bahai-holidays)
9035         (calendar-holidays, list-holidays):
9036         Use utf-8 Bahá'í in doc-strings, menus, etc.
9038 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
9040         * saveplace.el (save-place-ignore-files-regexp): New variable
9041         allowing for excluding files from saving their location of point.
9042         The default value matches the temporary commit message editing
9043         files from Git, SVN, Bazaar, and Mercurial.
9044         (save-place-to-alist): Use it.
9046 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
9047             Stefan Monnier  <monnier@iro.umontreal.ca>
9049         * newcomment.el (uncomment-region-default): Don't leave extra space
9050         when an arg is provided (bug#8150).
9052 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
9054         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9056 2012-02-17  Glenn Morris  <rgm@gnu.org>
9058         * net/socks.el: Require network-stream.  (Bug#10599)
9060 2012-02-17  Kenichi Handa  <handa@m17n.org>
9062         * international/charprop.el:
9063         * international/uni-name.el:
9064         * international/uni-old-name.el:
9065         * international/uni-comment.el: Regenerate.
9067 2012-02-16  Glenn Morris  <rgm@gnu.org>
9069         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9070         Interactively in calendar buffer, give an error if not on a date.
9072 2012-02-15  Glenn Morris  <rgm@gnu.org>
9074         * shell.el (shell-delimiter-argument-list):
9075         Revert 2011-02-17 change.  (Bug#8027)
9077 2012-02-15  Chong Yidong  <cyd@gnu.org>
9079         * minibuffer.el (completion-at-point-functions): Doc fix.
9081         * custom.el (defcustom): Doc fix; note use of defvar.
9083 2012-02-15  Glenn Morris  <rgm@gnu.org>
9085         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9086         Doc fixes.
9088 2012-02-14  Glenn Morris  <rgm@gnu.org>
9090         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9092 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
9094         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9095         way the ports list is computed.
9096         (smtpmail-query-smtp-server): Prompt the user for a port number if
9097         we can't connect to any of the standard ports (bug#10810).
9099 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
9101         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9103 2012-02-13  Glenn Morris  <rgm@gnu.org>
9105         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
9107 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
9109         * net/gnutls.el (gnutls-trustfiles): New variable.
9110         (gnutls-negotiate): Use it.
9112 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
9114         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9115         does its stuff if Gnus is running.
9117 2012-02-13  Alan Mackenzie  <acm@muc.de>
9119         Fix a loop in c-set-fl-decl-start.
9121         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9122         c-backward-syntactic-ws actually moves backwards.
9124 2012-02-13  Leo Liu  <sdl.web@gmail.com>
9126         * net/rcirc.el (rcirc-markup-attributes): Move point to the
9127         beginning so that all \C-o chars are removed.
9129 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
9131         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9133 2012-02-12  Alan Mackenzie  <acm@muc.de>
9135         Fix infinite loop with long macros.
9136         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9138 2012-02-12  Chong Yidong  <cyd@gnu.org>
9140         * window.el (display-buffer): Doc fix (Bug#10785).
9142 2012-02-12  Glenn Morris  <rgm@gnu.org>
9144         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9145         (x-disown-selection-internal, x-get-selection-internal):
9146         Sync docs with the xselect.c versions.
9148         * allout-widgets.el: Add missing license notice.
9150 2012-02-11  Glenn Morris  <rgm@gnu.org>
9152         * select.el (x-get-selection-internal, x-own-selection-internal)
9153         (x-disown-selection-internal):
9154         * x-dnd.el (x-get-selection-internal): Update declarations.
9156         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9158         * window.el (window-sides-slots):
9159         * tool-bar.el (tool-bar-position):
9160         * term/xterm.el (xterm-extra-capabilities):
9161         * ses.el (ses-self-reference-early-detection):
9162         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9163         (verilog-auto-wire-type)
9164         (verilog-auto-delete-trailing-whitespace)
9165         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9166         (verilog-auto-tieoff-declaration):
9167         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9168         (sql-oracle-statement-starters, sql-oracle-scan-on):
9169         * progmodes/prolog.el (prolog-align-comments-flag)
9170         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9171         (prolog-left-indent-regexp, prolog-paren-indent-p)
9172         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9173         (prolog-types, prolog-mode-specificators)
9174         (prolog-determinism-specificators, prolog-directives)
9175         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9176         (prolog-electric-dot-flag)
9177         (prolog-electric-dot-full-predicate-template)
9178         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9179         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9180         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9181         (prolog-program-switches, prolog-prompt-regexp)
9182         (prolog-debug-on-string, prolog-debug-off-string)
9183         (prolog-trace-on-string, prolog-trace-off-string)
9184         (prolog-zip-on-string, prolog-zip-off-string)
9185         (prolog-use-standard-consult-compile-method-flag)
9186         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9187         (prolog-imenu-max-lines, prolog-info-predicate-index)
9188         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9189         (prolog-char-quote-workaround):
9190         * progmodes/cc-vars.el (c-defun-tactic):
9191         * net/tramp.el (tramp-encoding-command-interactive)
9192         (tramp-local-end-of-line):
9193         * net/soap-client.el (soap-client):
9194         * net/netrc.el (netrc-file):
9195         * net/gnutls.el (gnutls):
9196         * minibuffer.el (completion-category-overrides)
9197         (completion-cycle-threshold)
9198         (completion-pcm-complete-word-inserts-delimiters):
9199         * man.el (Man-name-local-regexp):
9200         * mail/feedmail.el (feedmail-display-full-frame):
9201         * international/characters.el (glyphless-char-display-control):
9202         * eshell/em-ls.el (eshell-ls-date-format):
9203         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9204         (lisp-lambda-list-keyword-parameter-indentation)
9205         (lisp-lambda-list-keyword-parameter-alignment):
9206         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9207         * dired-x.el (dired-omit-verbose):
9208         * cus-theme.el (custom-theme-allow-multiple-selections):
9209         * calc/calc.el (calc-highlight-selections-with-faces)
9210         (calc-lu-field-reference, calc-lu-power-reference)
9211         (calc-note-threshold):
9212         * battery.el (battery-mode-line-limit):
9213         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9214         (archive-7z-update):
9215         * allout.el (allout-prefixed-keybindings)
9216         (allout-unprefixed-keybindings)
9217         (allout-inhibit-auto-fill-on-headline)
9218         (allout-flattened-numbering-abbreviation):
9219         * allout-widgets.el (allout-widgets-auto-activation)
9220         (allout-widgets-icons-dark-subdir)
9221         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9222         (allout-widgets-theme-dark-background)
9223         (allout-widgets-theme-light-background)
9224         (allout-widgets-item-image-properties-emacs)
9225         (allout-widgets-item-image-properties-xemacs)
9226         (allout-widgets-run-unit-tests-on-load)
9227         (allout-widgets-time-decoration-activity)
9228         (allout-widgets-hook-error-post-time)
9229         (allout-widgets-track-decoration):
9230         Add missing :version tags to new defcustoms and defgroups.
9232         * progmodes/sql.el (sql-ansi-statement-starters)
9233         (sql-oracle-statement-starters): Add custom type.
9235         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9236         (prolog-system-version): Give it a type.
9238 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
9240         * term/pc-win.el (x-select-text, x-selection-owner-p)
9241         (x-own-selection-internal, x-disown-selection-internal)
9242         (x-get-selection-internal): Sync doc strings and argument lists
9243         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
9245 2012-02-11  Leo Liu  <sdl.web@gmail.com>
9247         * progmodes/python.el (python-end-of-statement): Fix infinite
9248         loop.  (Bug#10788)
9250 2012-02-10  Glenn Morris  <rgm@gnu.org>
9252         * international/mule-cmds.el (unify-8859-on-encoding-mode)
9253         (unify-8859-on-decoding-mode): Properly mark as obsolete.
9255 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
9257         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9258         about SMTP before checking the From header.
9260         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9261         into own function for reuse by emacsbug.el.
9263 2012-02-10  Leo Liu  <sdl.web@gmail.com>
9265         * subr.el (condition-case-unless-debug): Rename from
9266         condition-case-no-debug.  All callers changed.
9267         (with-demoted-errors): Fix caller.
9269         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9270         * nxml/rng-valid.el (rng-do-some-validation):
9271         * emacs-lisp/package.el (package-refresh-contents)
9272         (package-menu-execute):
9273         * desktop.el (desktop-create-buffer):
9274         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9276 2012-02-10  Glenn Morris  <rgm@gnu.org>
9278         * textmodes/bibtex.el:
9279         Add missing :version tags for new/changed defcustoms.
9281         * files.el (remote-file-name-inhibit-cache): Doc fixes.
9283 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
9285         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9286         (smtpmail-via-smtp): Use it, or fall back on the From address.
9287         (smtpmail-send-it): Ditto.
9289 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9291         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9292         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
9293         (byte-compile-tmp-var): New const.
9294         (byte-compile-defvar): Use it to minimize .elc size.
9295         Just use `defvar' rather than simulate it (bug#10761).
9297 2012-02-09  Glenn Morris  <rgm@gnu.org>
9299         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
9301         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9302         Add :version tags.
9304         * progmodes/compile.el (compilation-error-screen-columns)
9305         (compilation-first-column, compilation-filter-start): Doc fixes.
9307         * vc/log-view.el (log-view-toggle-entry-display):
9308         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9310         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9311         (report-emacs-bug-can-use-xdg-email):
9312         (report-emacs-bug-insert-to-mailer): Doc fixes.
9313         (report-emacs-bug): Message fix.
9315         * net/browse-url.el (browse-url-can-use-xdg-open)
9316         (browse-url-xdg-open): Doc fixes.
9318         * electric.el (electric-indent-mode, electric-pair-mode)
9319         (electric-layout-rules, electric-layout-mode): Doc fixes.
9320         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9322 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
9324         * server.el (server-unselect-display): Don't inadvertently kill
9325         the current buffer.  (Bug#10729)
9327 2012-02-08  Glenn Morris  <rgm@gnu.org>
9329         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9330         (sql-list-table): Doc fixes.
9332         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9333         Comment out (does nothing).
9335         * completion.el (dynamic-completion-mode):
9336         * dirtrack.el (dirtrack-debug-mode):
9337         * electric.el (electric-layout-mode):
9338         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9339         * face-remap.el (text-scale-mode, buffer-face-mode):
9340         * iimage.el (iimage-mode):
9341         * image-mode.el (image-transform-mode):
9342         * minibuffer.el (completion-in-region-mode):
9343         * scroll-lock.el (scroll-lock-mode):
9344         * simple.el (next-error-follow-minor-mode):
9345         * tar-mode.el (tar-subfile-mode):
9346         * tooltip.el (tooltip-mode):
9347         * vcursor.el (vcursor-use-vcursor-map):
9348         * wid-browse.el (widget-minor-mode):
9349         * emulation/tpu-edt.el (tpu-edt-mode):
9350         * emulation/tpu-extras.el (tpu-cursor-free-mode):
9351         * international/iso-ascii.el (iso-ascii-mode):
9352         * language/thai-util.el (thai-word-mode):
9353         * mail/supercite.el (sc-minor-mode):
9354         * net/goto-addr.el (goto-address-mode):
9355         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9356         * progmodes/cwarn.el (cwarn-mode):
9357         * progmodes/flymake.el (flymake-mode):
9358         * progmodes/glasses.el (glasses-mode):
9359         * progmodes/hideshow.el (hs-minor-mode):
9360         * progmodes/pascal.el (pascal-outline-mode):
9361         * textmodes/enriched.el (enriched-mode):
9362         * vc/smerge-mode.el (smerge-mode):
9363         Doc fixes (minor mode argument).
9365 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
9367         * ls-lisp.el (ls-lisp-sanitize): New function.
9368         (ls-lisp-insert-directory): Use it to fix or remove any elements
9369         in file-alist with missing attributes.  (Bug#4673)
9371 2012-02-07  Alan Mackenzie  <acm@muc.de>
9373         Fix spurious recognition of c-in-knr-argdecl.
9375         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9376         putative K&R region.
9378 2012-02-07  Alan Mackenzie  <acm@muc.de>
9380         * progmodes/cc-engine.el (c-forward-objc-directive):
9381         Prevent looping in "#pragma mark @implementation".
9383 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
9385         * notifications.el (notifications-on-closed-signal): Make `reason'
9386         optional.  (Bug#10744)
9388 2012-02-07  Glenn Morris  <rgm@gnu.org>
9390         * emacs-lisp/easy-mmode.el (define-minor-mode):
9391         Doc fixes for the macro and the mode it defines.
9393         * image.el (imagemagick-types-inhibit): Doc fix.
9395         * cus-start.el (imagemagick-render-type): Add it.
9397 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
9399         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9400         Set the default at load time, too, so that `font-lock-fontify-buffer'
9401         can be called without setting up the entire mode first.  This fixes
9402         a bug in `mm-inline-text' with C MIME parts.
9404 2012-02-06  Chong Yidong  <cyd@gnu.org>
9406         * simple.el (list-processes--refresh): Delete exited processes
9407         (Bug#8094).
9409         * comint.el (comint-next-prompt): next-single-char-property-change
9410         and prev-single-char-property-change never return nil (Bug#8657).
9412         * custom.el (defcustom): Doc fix (Bug#9711).
9414 2012-02-05  Chong Yidong  <cyd@gnu.org>
9416         * cus-edit.el (custom-variable-reset-backup): Quote the value
9417         before storing it in the customized-value property (Bug#6712).
9418         (custom-display): Add a customization type tag.
9419         (custom-buffer-create-internal): Improve tooltip message.
9421         * wid-edit.el (widget-field-value-get): New optional arg to
9422         suppress trailing whitespace truncation.
9423         (character): Use it (Bug#2689).
9425 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
9427         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9428         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9430 2012-02-05  Chong Yidong  <cyd@gnu.org>
9432         * cus-edit.el (custom-variable-value-create): For mismatched
9433         types, show the current value (Bug#7600).
9435         * custom.el (defcustom): Doc fix.
9437 2012-02-05  Glenn Morris  <rgm@gnu.org>
9439         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9441 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
9443         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9444         (pp-buffer): Use `ignore-errors', `looking-at-p'.
9445         (pp-last-sexp): Use `looking-at-p'.
9447 2012-02-04  Glenn Morris  <rgm@gnu.org>
9449         * files.el (revert-buffer):
9450         Doc fix (mention revert-buffer-in-progress-p).
9452         * emacs-lisp/ert-x.el (ert-simulate-command):
9453         Check deferred-action-list (which is obsolete) is bound.
9455         * subr.el (with-wrapper-hook): Doc fixes.
9457         * simple.el (filter-buffer-substring-functions)
9458         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
9460 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
9462         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
9463         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
9465 2012-02-04  Leo Liu  <sdl.web@gmail.com>
9467         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
9469 2012-02-04  Glenn Morris  <rgm@gnu.org>
9471         * image.el (image-extension-data): Add obsolete alias.
9473         * isearch.el (isearch-update): Doc fix.
9475         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
9477         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
9479 2012-02-03  Glenn Morris  <rgm@gnu.org>
9481         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
9482         (image-animate-timeout): Doc fix.
9484         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
9486 2012-02-02  Glenn Morris  <rgm@gnu.org>
9488         * server.el (server-auth-dir): Doc fix.
9489         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
9491         * subr.el (run-mode-hooks): Doc fix.
9493 2012-02-02  Juri Linkov  <juri@jurta.org>
9495         * image-mode.el (image-toggle-display-image): Remove tautological
9496         `major-mode' from the `derived-mode-p' test.
9498 2012-02-02  Kenichi Handa  <handa@m17n.org>
9500         * composite.el (compose-region): Cancel previous change.
9502 2012-02-02  Kenichi Handa  <handa@m17n.org>
9504         * composite.el (compose-region, compose-string): Signal error for
9505         a null string component (Bug#6988).
9507 2012-02-01  Chong Yidong  <cyd@gnu.org>
9509         * view.el (view-buffer-other-window, view-buffer-other-frame):
9510         Handle special modes like view-buffer (Bug#10650).
9511         (view-buffer): Simplify.
9513         * frame.el (set-frame-font): Tweak meaning of third argument.
9515         * dynamic-setting.el (font-setting-change-default-font):
9516         Use set-frame-font (Bug#9982).
9518 2012-02-01  Glenn Morris  <rgm@gnu.org>
9520         * progmodes/compile.el (compilation-internal-error-properties):
9521         Respect compilation-first-column in the "*compilation*" buffer.
9523         * emacs-lisp/easy-mmode.el (define-minor-mode):
9524         Relax :variable's test for a named function.
9526 2012-01-31  Alan Mackenzie  <acm@muc.de>
9528         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
9529         off by one error.
9531 2012-01-31  Chong Yidong  <cyd@gnu.org>
9533         * frame.el (set-frame-font): New arg ALL-FRAMES.
9535         * menu-bar.el (menu-set-font): Use set-frame-font.
9537         * faces.el (face-spec-reset-face): Don't apply unspecified
9538         attribute values to the default face.
9540 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
9542         * progmodes/cwarn.el (cwarn): Remove dead link.
9543         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
9544         Remove * from defcustom docstrings.
9545         (turn-on-cwarn-mode): Make obsolete.
9546         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
9547         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
9549 2012-01-31  Glenn Morris  <rgm@gnu.org>
9551         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
9552         Fix :variable handling of mode a symbol not equal to modefun.
9553         Allow named functions to be used as the cdr of :variable.
9555 2012-01-30  Glenn Morris  <rgm@gnu.org>
9557         * emacs-lisp/authors.el (authors-fixed-entries):
9558         Remove reference to deleted file rnewspost.el.
9560 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
9562         * window.el (window-with-parameter): Remove unused variable `windows'.
9563         (window--side-check): Remove unused variable `code'.
9564         (window--resize-siblings): Remove unused variable `first'.
9565         (adjust-window-trailing-edge): Remove unused variable `failed'.
9566         (window-deletable-p, window--delete): Remove unused variable `buffer'.
9567         Use `let', not `let*'.
9568         (balance-windows-2): Remove unused variable `found'.
9569         (window--state-put-2): Remove unused variable `splits'.
9570         (window-state-put): Remove unused variable `selected'.
9571         (same-window-p): Use `string-match-p'.
9572         (display-buffer-assq-regexp): Remove unused variable `value'.
9573         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9574         Mark argument ALIST as ignored.
9575         (pop-to-buffer): Remove unused variable `old-window'.
9577 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
9579         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
9580         and .lzma compressed files.
9582 2012-01-29  Chong Yidong  <cyd@gnu.org>
9584         * frame.el (window-system-default-frame-alist): Doc fix.
9586         * dynamic-setting.el (font-setting-change-default-font): Don't
9587         change the default face if SET-FONT argument is non-nil (Bug#9982).
9589 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
9591         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
9593 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
9595         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
9596         breakpoints in files outside current directory (Bug#6098).
9598 2012-01-29  Chong Yidong  <cyd@gnu.org>
9600         * progmodes/python.el: Require ansi-color at top-level.
9602         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
9603         Define and use in Emacs Lisp mode (Bug#9360).
9604         (lisp-mode-abbrev-table): Add doc.
9605         (lisp-mode-variables): Don't set local-abbrev-table.
9606         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
9608 2012-01-28  Roland Winkler  <winkler@gnu.org>
9610         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
9612 2012-01-28  Roland Winkler  <winkler@gnu.org>
9614         * textmodes/bibtex.el (bibtex-entry-alist): New function.
9615         (bibtex-set-dialect): Use it.  Either set global values of
9616         dialect-dependent variables or bind these variables buffer-locally
9617         (Bug#10254).
9618         (bibtex-mode): Call bibtex-set-dialect via
9619         hack-local-variables-hook.
9620         (bibtex-dialect): Update docstring.
9621         Add safe-local-variable predicate.
9622         (bibtex-entry-alist, bibtex-field-alist): Initialize via
9623         bibtex-set-dialect.
9624         (bibtex-mode-map): Define menu for each dialect.
9625         (bibtex-entry): Fix docstring.
9627 2012-01-28  Chong Yidong  <cyd@gnu.org>
9629         * eshell/esh-arg.el (eshell-quote-argument): New function.
9631         * eshell/esh-ext.el (eshell-invoke-batch-file):
9632         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
9633         first arg to eshell-parse-command (Bug#10523).
9635 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9637         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
9638         `default-directory' is non-nil.
9640 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9642         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
9643         line that displays system-configuration-options.  (Bug#9924)
9645 2012-01-28  Drew Adams  <drew.adams@oracle.com>
9647         * descr-text.el (describe-char): Show information about POS, in
9648         addition to information about the character at POS.  Improve and
9649         update the doc string.  Change "code point" to "code point in
9650         charset", to avoid confusion with the character's Unicode code
9651         point shown above that.  (Bug#10129)
9653 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
9655         * descr-text.el (describe-char): Show the raw character, not only
9656         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
9657         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
9658         for the reasons.
9660 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
9662         * emacs-lisp/package.el (package-install):
9663         Run package-refresh-contents if there is no archive yet (Bug#9798).
9665 2012-01-28  Chong Yidong  <cyd@gnu.org>
9667         * emacs-lisp/package.el (package-maybe-load-descriptor):
9668         New function, split from package-maybe-load-descriptor.
9669         (package-maybe-load-descriptor): Use it.
9670         (package-download-transaction): Fully load required packages
9671         inside the loop, so that `require' calls work (Bug#10593).
9672         (package-install): No need to call package-initialize now.
9674 2012-01-28  Chong Yidong  <cyd@gnu.org>
9676         * simple.el (deactivate-mark): Doc fix (Bug#8614).
9678         * tooltip.el (tooltip-mode): Doc fix.
9679         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
9681         * frame.el (set-cursor-color): Doc fix (Bug#352).
9683         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
9684         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
9686         * cus-edit.el (custom-buffer-create-internal): Fix search button
9687         action (Bug#10542).
9688         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
9690 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
9692         * dired.el (dired-mark-files-regexp):
9693         Include any subdirectory components.  (Bug#10445)
9695 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9697         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
9698         Handle [host]:port syntax.  (Bug#10533)
9700 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
9702         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
9704 2012-01-26  Glenn Morris  <rgm@gnu.org>
9706         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
9707         * term.el (term-raw-escape-map): Use Control-X-prefix.
9708         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
9710 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
9712         * window.el (window-state-get, window--state-get-1): Don't deal
9713         with fixed-sizeness of windows.  Simplify code.
9715 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
9717         * window.el (window--state-get-1, window--state-put-2):
9718         Don't save and restore the mark.
9720 2012-01-25  Chong Yidong  <cyd@gnu.org>
9722         * custom.el (custom-variable-p): Doc fix.
9724 2012-01-25  Glenn Morris  <rgm@gnu.org>
9726         * dired.el (dired-goto-file): Handle some of the more common
9727         characters that `ls -b' escapes.  (Bug#10596)
9729         * progmodes/compile.el (compilation-next-error-function):
9730         Respect compilation-first-column in the "*compilation*" buffer.
9731         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
9733         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
9735 2012-01-24  Glenn Morris  <rgm@gnu.org>
9737         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
9739 2012-01-24  Julien Danjou  <julien@danjou.info>
9741         * color.el (color-rgb-to-hsl): Fix value computing.
9742         (color-hue-to-rgb): New function.
9743         (color-hsl-to-rgb): New function.
9744         (color-clamp, color-saturate-hsl, color-saturate-name)
9745         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9746         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9748 2012-01-24  Glenn Morris  <rgm@gnu.org>
9750         * vc/vc-rcs.el (vc-rcs-create-tag):
9751         * vc/vc-sccs.el (vc-sccs-create-tag):
9752         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
9754 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9756         * eshell/esh-util.el (eshell-read-hosts-file):
9757         Skip comment lines.  (Bug#10549)
9759         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
9761 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
9763         * subr.el (display-delayed-warnings): Doc fix.
9764         (collapse-delayed-warnings): New function to collapse identical
9765         adjacent warnings.
9766         (delayed-warnings-hook): Add it.
9768 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
9770         * net/tramp.el (tramp-action-login): Set connection property "login-as".
9772         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9773         (tramp-default-user-alist): Don't add "pscp".
9774         (tramp-do-copy-or-rename-file-out-of-band): Use connection
9775         property "login-as", if set.  (Bug#10530)
9777 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
9779         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9780         "plink1" and "psftp".  (Bug#10530)
9782 2012-01-21  Kenichi Handa  <handa@m17n.org>
9784         * international/mule-cmds.el (prefer-coding-system): Show a
9785         warning message if the default value of file-name-coding-system
9786         was not changed.
9788 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9790         * windmove.el (windmove-reference-loc):
9791         Fix windmove-reference-loc miscalculation.
9793 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
9795         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9796         default unit.
9798 2012-01-21  Glenn Morris  <rgm@gnu.org>
9800         * international/mule.el (auto-coding-alist): Add .tbz.
9802         * files.el (local-enable-local-variables): Doc fix.
9803         (inhibit-local-variables-regexps): Rename from
9804         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
9805         Doc fix.  Add some extensions from auto-coding-alist.
9806         (inhibit-local-variables-suffixes):
9807         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
9808         (inhibit-local-variables-p):
9809         New function, extracted from set-auto-mode-1.
9810         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
9811         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
9812         (hack-local-variables): Doc fix.  Make the mode-only case
9813         respect enable-local-variables and friends.
9814         Respect inhibit-local-variables-regexps for file-locals, but
9815         not for directory-locals.
9816         (set-visited-file-name):
9817         Take account of inhibit-local-variables-regexps.
9818         Whether it applies may change as the file name is changed.
9819         * jka-cmpr-hook.el (jka-compr-install):
9820         * jka-compr.el (jka-compr-uninstall):
9821         Update for inhibit-first-line-modes-suffixes name change.
9823 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
9825         * help-macro.el (make-help-screen): Temporarily restore original
9826         binding for minor-mode-map-alist (Bug#10454).
9828 2012-01-19  Julien Danjou  <julien@danjou.info>
9830         * color.el (color-name-to-rgb): Use the white color to find the max
9831         color component value and return correctly computed values.
9832         (color-name-to-rgb): Add missing float conversion for max value.
9834 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
9836         * window.el (window--state-get-1, window-state-get): Do not use
9837         special state value for window-persistent-parameters.
9838         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
9839         (window--state-put-2): Reset all window parameters to nil before
9840         assigning values of persistent parameters.
9842 2012-01-18  Alan Mackenzie  <acm@muc.de>
9844         Eliminate sluggishness and hangs in fontification of "semicolon
9845         deserts".
9847         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9848         Change value 10000 -> 3000.
9849         (c-state-safe-place): Reformulate so it doesn't stack up an
9850         infinite number of wrong entries in c-state-nonlit-pos-cache.
9851         (c-determine-limit-get-base, c-determine-limit): New functions to
9852         determine backward search limits disregarding literals.
9853         (c-find-decl-spots): Amend commenting.
9854         (c-cheap-inside-bracelist-p): New function which detects "={".
9856         * progmodes/cc-fonts.el
9857         (c-make-font-lock-BO-decl-search-function): Give a limit to a
9858         backward search.
9859         (c-font-lock-declarations): Fix an occurrence of point being
9860         undefined.  Check additionally for point being in a bracelist or
9861         near a macro invocation without a semicolon so as to avoid a
9862         fruitless time consuming search for a declarator.  Give a more
9863         precise search limit for declarators using the new
9864         c-determine-limit.
9866 2012-01-18  Glenn Morris  <rgm@gnu.org>
9868         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9869         (set-auto-mode): Doc fixes.
9871 2012-01-17  Glenn Morris  <rgm@gnu.org>
9873         * isearch.el (search-nonincremental-instead): Fix doc typo.
9875         * dired.el (dired-insert-directory): Handle newlines in directory name.
9876         (dired-build-subdir-alist): Unescape newlines in directory name.
9878 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
9880         * net/tramp.el (tramp-local-end-of-line): New defcustom.
9881         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9882         (tramp-action-terminal): Use it.  (Bug#10530)
9884 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9886         * minibuffer.el (completion--replace): Strip properties (bug#10062).
9888 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
9890         * window.el (window-state-ignored-parameters): Remove variable.
9891         (window--state-get-1): Rename argument MARKERS to IGNORE.
9892         Handle persistent window parameters.  Make copy of clone-of
9893         parameter only if requested.  (Bug#10348)
9894         (window--state-put-2): Install a window parameter only if it has
9895         a non-nil value or an existing parameter shall be overwritten.
9897 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
9899         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9901 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
9903         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9904         don't pass the (nil) value of `upnode' to string-match.
9906 2012-01-14  Chong Yidong  <cyd@gnu.org>
9908         * startup.el (command-line): Fix X resource class for cursorColor.
9909         Fix values recognized by the cursorBlink resource.
9911 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
9913         * epg.el (epg--make-temp-file): Avoid permission race condition
9914         when running on old Emacs versions (bug#10403).
9916 2012-01-14  Glenn Morris  <rgm@gnu.org>
9918         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9920 2012-01-13  Alan Mackenzie  <acm@muc.de>
9922         Fix filling for when filladapt mode is enabled.
9924         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9925         c-mask-paragraph, pass in `fill-paragraph' rather than
9926         `fill-region-as-paragraph'.  (This is a reversion of a previous
9927         change.)
9928         * progmodes/cc-mode.el (c-basic-common-init):
9929         Make fill-paragraph-handle-comment buffer local and set it to nil.
9931 2012-01-13  Glenn Morris  <rgm@gnu.org>
9933         * dired.el (dired-switches-escape-p): New function.
9934         (dired-insert-directory): Use dired-switches-escape-p.
9935         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
9937         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
9939 2012-01-12  Glenn Morris  <rgm@gnu.org>
9941         * mail/sendmail.el (mail-mode): Update paragraph-separate for
9942         changes in adaptive-fill-regexp.  (Bug#10276)
9944 2012-01-11  Alan Mackenzie  <acm@muc.de>
9946         Fix Emacs bug #10463 - put `widen's around the critical spots.
9948         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9949         widen around each invocation of c-state-pp-to-literal.  Remove an
9950         unused let variable.
9952 2012-01-11  Glenn Morris  <rgm@gnu.org>
9954         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
9955         Doc fix.
9957 2012-01-10  Chong Yidong  <cyd@gnu.org>
9959         * net/network-stream.el (network-stream-open-starttls):
9960         Avoid emitting a confusing error message when the server gives a bad
9961         response to the capability command.
9963 2012-01-10  Glenn Morris  <rgm@gnu.org>
9965         * mail/unrmail.el (unrmail): Tweak previous change.
9967 2012-01-09  Chong Yidong  <cyd@gnu.org>
9969         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9971 2012-01-08  Alan Mackenzie  <acm@muc.de>
9973         Optimise font locking in long enum definitions.
9975         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9976         arm to a cond form to handle enums.
9977         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9978         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9980 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9982         * files.el (move-file-to-trash): Preserve default file modes on error.
9983         (Bug#10401)
9985 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9987         * faces.el (set-face-attribute): Clarify the meaning of the nil
9988         frame (bug#10294).
9990         * subr.el (with-selected-frame): Mention that the selected frame
9991         is restored (bug#9980).
9993         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9994         (bug#9759).
9996         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9997         (password-read): Don't autoload unused function.
9999 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
10001         * progmodes/which-func.el (which-func-mode): Turn into a
10002         non-interactive function and mark as obsolete (bug#10428).
10004 2012-01-06  Chong Yidong  <cyd@gnu.org>
10006         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10007         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10008         functions, along with 1 and -1.
10010 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
10012         * time.el (display-time-load-average)
10013         (display-time-default-load-average): Doc fixes.  See the thread
10014         starting at
10015         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10016         for the details.
10018 2012-01-06  Glenn Morris  <rgm@gnu.org>
10020         * mail/unrmail.el (unrmail): Give an explicit error if the input file
10021         has no messages.  (Bug#10377)
10023         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10024         than Info-edit.  (Bug#10385)
10026         * time.el (display-time-load-average, display-time-next-load-average):
10027         Doc fixes.
10029         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10030         local setting of buffer-read-only to the input buffer.  (Bug#10419)
10032         * calendar/calendar.el (calendar-mode):
10033         Locally set scroll-margin to 0.  (Bug#10379)
10035 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
10037         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
10039 2012-01-05  Glenn Morris  <rgm@gnu.org>
10041         * eshell/em-unix.el (diff-no-select): Autoload it.
10042         (eshell/diff): Use diff-no-select.  (Bug#10420)
10044 2012-01-05  Chong Yidong  <cyd@gnu.org>
10046         * shell.el (shell-dynamic-complete-functions): Revert last change.
10047         (shell-command-completion-function): New function.
10048         (shell-completion-vars): Use it to implement
10049         shell-completion-execonly (Bug#10417).
10051         * custom.el (enable-theme): Don't set custom-safe-themes.
10053         * cus-theme.el (custom-theme-merge-theme):
10054         Ignore custom-enabled-themes and custom-safe-themes.
10056 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
10058         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10059         first prompt in `sql-interacive-mode'.
10060         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10061         keywords.
10062         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10063         (sql-product-interactive): Bug fix: Set `sql-buffer' in
10064         context of original buffer.  Invoke `sql-login-hook'.
10066 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
10068         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10069         letters in cite-prefix.
10071 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10073         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10075 2012-01-03  Chong Yidong  <cyd@gnu.org>
10077         * shell.el (shell-dynamic-complete-functions):
10078         Put pcomplete-completions-at-point, so as to try
10079         comint-filename-completion first (Bug#10417).
10081 2012-01-02  Richard Stallman  <rms@gnu.org>
10083         * battery.el (battery-status-function):
10084         Detect when to use battery-yeeloong-sysfs.
10085         (battery-echo-area-format): Add string for Yeeloong.
10086         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10087         (battery-yeeloong-sysfs): New function.
10089 2012-01-02  Chong Yidong  <cyd@gnu.org>
10091         * dirtrack.el (dirtrack-list): Eliminate unused third element.
10092         (dirtrack): Merge code for handling relative filenames in prompt
10093         from shell-dir-cookie-watcher.
10094         (dirtrack-debug-message): New arg to avoid excess format calls.
10096         * shell.el (shell-dir-cookie-re): Variable deleted.
10097         (shell-dir-cookie-watcher): Function deleted.
10098         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10099         with dirtrack-mode.
10101 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
10103         * term/w32-win.el (dynamic-library-alist) <gnutls>:
10104         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10105         libgnutls-26.dll.
10107 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
10109         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10111 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
10113         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10114         headers of non-MIME messages, when rmail-enable-mime is non-nil.
10116 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
10118         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10119         also for alternative shells.
10120         (tramp-open-connection-setup-interactive-shell): Check, whether
10121         the shell is a busybox.
10122         (tramp-send-command): Don't suppress multiple prompts for
10123         busyboxes, it hurts.
10125 2011-12-28  Chong Yidong  <cyd@gnu.org>
10127         * progmodes/gdb-mi.el (gdb-get-source-file-list)
10128         (gdb-get-source-file): Move mode line update to
10129         gdb-get-source-file (Bug#10087).
10131 2011-12-25  Chong Yidong  <cyd@gnu.org>
10133         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10134         gud-gdb-marker-filter without taking it as an argument.
10135         (gud-gdb-run-command-fetch-lines): Caller changed.
10136         (gud-gdb-completion-function): New variable.
10137         (gud-gdb-completion-at-point): Use it.
10138         (gud-gdb-completions-1): Split from gud-gdb-completions.
10140         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10141         function as separate arguments.
10142         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10143         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10144         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10145         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10146         (gdb-stopped, def-gdb-auto-update-trigger)
10147         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10148         (gdb-get-changed-registers, gdb-get-main-selected-frame):
10149         Callers changed.
10150         (gud-gdbmi-completions): New function.
10151         (gdb): Use it for generating the completion table.
10153 2011-12-24  Alan Mackenzie  <acm@muc.de>
10155         Introduce a mechanism to widen the region used in context font
10156         locking.  Use this to protect declarations from losing their contexts.
10158         * progmodes/cc-langs.el (c-before-font-lock-functions):
10159         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10160         (c-before-context-fontification-functions): New defvar, a list of
10161         functions to be run just before context (etc.) font locking.
10163         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10164         New, functionality extracted from
10165         c-neutralize-syntax-in-and-mark-CPP.
10166         (c-in-after-change-fontification): New variable.
10167         (c-after-change): Set c-in-after-change-fontification.
10168         (c-set-fl-decl-start): Rejig its interface, so it can be called
10169         from both after-change and context fontifying.
10170         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10171         New functions.
10172         (c-standard-font-lock-fontify-region-function): New variable.
10173         (c-font-lock-fontify-region): New function.
10175 2011-12-24  Juri Linkov  <juri@jurta.org>
10177         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10178         (Bug#10348)
10180 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
10182         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10183         existence of source file.  (Bug#10325)
10185 2011-12-23  Alan Mackenzie  <acm@muc.de>
10187         Fix unstable fontification inside templates.
10189         * progmodes/cc-langs.el (c-before-font-lock-functions):
10190         Newly created from the singular version.  The (c c++ objc) entry now
10191         additionally has c-set-fl-decl-start.  The other languages (apart
10192         from AWK) have that as a single entry.
10194         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10195         The functionality for "local" declarations has been extracted to
10196         c-set-fl-decl-start.
10198         * progmodes/cc-mode.el (c-common-init, c-after-change):
10199         Changes due to pluralisation of c-before-font-lock-functions.
10200         (c-set-fl-decl-start): New function, extracted from
10201         c-font-lock-enclosing-decls and enhanced.
10203 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
10205         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10207 2011-12-22  Juri Linkov  <juri@jurta.org>
10209         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
10211 2011-12-22  Chong Yidong  <cyd@gnu.org>
10213         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10215 2011-12-21  Drew Adams  <drew.adams@oracle.com>
10217         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
10219 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10221         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10223 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
10225         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
10226         highlighting and support.  Fix up comments for capitalization.
10227         (cfengine-mode-debug): New var.
10228         (cfengine3-mode): Change the modeline indicator to "CFE3".
10229         (cfengine3-font-lock-keywords): Improve defun highlighting.
10230         (cfengine2-actions): Rename from `cfengine-actions'.
10231         (cfengine2-font-lock-keywords): Rename from
10232         `cfengine-font-lock-keywords'.
10233         (cfengine2-imenu-expression): Rename from
10234         `cfengine-imenu-expression'.
10235         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10236         (cfengine2-beginning-of-defun): Rename from
10237         `cfengine-beginning-of-defun'.
10238         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10239         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10240         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
10241         modeline indicator to "CFE2".
10242         (cfengine-mode): Defalias to `cfengine-auto-mode'.
10243         (cfengine-mode-abbrevs): Mark obsolete.
10245 2011-12-21  Chong Yidong  <cyd@gnu.org>
10247         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10248         filename argument.
10250 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
10252         * window.el (window-normalize-buffer-to-display): Remove.
10253         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10255 2011-12-19  Chong Yidong  <cyd@gnu.org>
10257         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10258         Don't signal an error in a predicate function; return non-nil.
10259         (vc-dir-mark-file): Move the error here.
10260         (vc-dir-mark-unmark): If acting on the region, keep going if one
10261         of the entries cannot be marked/unmarked.
10262         (vc-dir-mark-all-files): If current entry is a directory, mark
10263         only child files, as documented.
10265 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10267         * ses.el: Ooops... undo changes of revision 106664, as trunk
10268         branch is feature frozen, and revision 106664 was a feature
10269         addition.
10271 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
10273         * term/ns-win.el (ns-get-selection-internal)
10274         (ns-store-selection-internal): Declare.
10275         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10276         Declare as obsolete.
10277         (ns-get-pasteboard, ns-paste-secondary):
10278         Use ns-get-selection-internal.
10279         (ns-set-pasteboard,  ns-copy-including-secondary):
10280         Use ns-store-selection-internal.
10282 2011-12-17  Chong Yidong  <cyd@gnu.org>
10284         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10285         (vc-deduce-fileset): Doc fix.
10287 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
10289         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10291 2011-12-13  Sam Steingold  <sds@gnu.org>
10293         * man.el (Man-getpage-in-background): When running under a
10294         window-system, ignore $MANWIDTH and $COLUMNS.
10296 2011-12-15  Kenichi Handa  <handa@m17n.org>
10298         * language/ethio-util.el: Change coding tag to utf-8-emacs.
10299         (setup-ethiopic-environment-internal): Comment out key-binding for
10300         ethio-toggle-punctuation.
10302 2011-12-13  Alan Mackenzie  <acm@muc.de>
10304         Add the switch statement to AWK Mode.
10306         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10307         "default" to the keywords regexp.
10309         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10310         expression as the rest.
10311         (c-nonlabel-token-key): Allow string literals for AWK.
10312         Refactor for the other modes.
10314         Large brace-block initialisation makes CC Mode slow: Fix.
10315         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10316         routines.  Limit backward searching in c-font-lock-enclosing.decl.
10318         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10319         pp-state and literal type in addition to the limits.
10320         (c-state-safe-place): New defun, extracted from c-state-literal-at.
10321         (c-state-literal-at): Use the above new defun.
10322         (c-slow-in-literal, c-fast-in-literal): Remove.
10323         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10325         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10326         being in a literal.  Add a limit for backward searching.
10328         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10329         c-slow-in-literal.
10331 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10333         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10335 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
10337         * window.el (delete-other-windows): Use correct frame in call to
10338         window-with-parameter.
10340 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
10342         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10343         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10344         (makefile-gmake-statements, makefile-makepp-statements):
10345         Use it and add new makepp keywords.
10346         (makefile-makepp-font-lock-keywords): Add new patterns.
10347         (makefile-match-function-end): Match new [...] and [[...]].
10349 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
10351         * ses.el (ses-call-printer-return, ses-cell-property-get)
10352         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10353         (ses-create-cell-variable, ses-reset-header-string)
10354         (ses-cell-set-formula, ses-repair-cell-reference-all)
10355         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10356         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10357         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10358         (ses-aset-with-undo, ses-load, ses-truncate-cell)
10359         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10360         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10361         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10362         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10363         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10364         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10365         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10366         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10368 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10370         * ses.el: The overall change is to add cell renaming, that is
10371         setting fancy names for cell symbols other than name matching
10372         "\\`[A-Z]+[0-9]+\\'" regexp .
10373         (ses-create-cell-variable): New defun.
10374         (ses-relocate-formula): Relocate formulas only for cells the
10375         symbols of which are not renamed, i.e. symbols whose names do not
10376         match regexp "\\`[A-Z]+[0-9]+\\'".
10377         (ses-relocate-all): Relocate values only for cells the symbols of
10378         which are not renamed.
10379         (ses-load): Create cells variables as the (ses-cell ...) are read,
10380         in order to check row col consistency with cell symbol name only
10381         for cells that are not renamed.
10382         (ses-replace-name-in-formula): New defun.
10383         (ses-rename-cell): New defun.
10385 2011-12-11  Chong Yidong  <cyd@gnu.org>
10387         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10388         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10390 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
10392         * window.el (other-window): Fix docstring.
10394 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10396         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10397         `from' or `to' address before taking its substring.
10398         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10399         encoded name is chopped in the middle of the encoded string, and
10400         thus displayed encoded.
10402 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
10404         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10406 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10408         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
10409         to use texinfo-update-node and commands that call it if the
10410         Texinfo file uses @node lines without next/prev/up pointers.
10411         Correct outdated description about texinfo-master-menu.
10412         (texinfo-all-menus-update, texinfo-master-menu)
10413         (texinfo-update-node, texinfo-every-node-update)
10414         (texinfo-multiple-files-update): Doc fix.  Warn against updating
10415         all the @node lines.
10416         (texinfo-master-menu): Only call texinfo-update-node if the prefix
10417         argument is numeric.  Explain better in the doc string what the
10418         function really does.
10419         (texinfo-insert-master-menu-list): Improve the error message
10420         displayed if there's no menu in the Top node.
10421         (Bug#2975)  See also this thread:
10422         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10424 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
10426         * speedbar.el (speedbar-supported-extension-expressions):
10427         Add .adb and .ads, commonly used for Ada source code (bug#10256).
10429 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
10431         * printing.el (pr-mode-alist):
10432         * simple.el (filter-buffer-substring-functions)
10433         (completion-list-insert-choice-function):
10434         * window.el (window-with-parameter, window-atom-root)
10435         (window-sides-slots, window-size-fixed, window-min-delta)
10436         (window-max-delta, window--resize-mini-window)
10437         (window--resize-child-windows-normal, window-tree)
10438         (delete-other-windows, quit-window, split-window)
10439         (display-buffer-record-window, special-display-buffer-names)
10440         (special-display-regexps, special-display-popup-frame)
10441         (same-window-p, split-window-sensibly)
10442         (display-buffer-overriding-action, display-buffer-alist)
10443         (display-buffer-base-action, display-buffer, switch-to-buffer)
10444         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10445         (fit-window-to-buffer, recenter-positions)
10446         (mouse-autoselect-window-state, mouse-autoselect-window-select):
10447         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10448         and remove unneeded backslashes in docstrings.
10450 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10452         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10454         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10455         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10456         end in ".mk".
10457         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10458         when reading the makefile (bug#10116).
10460 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10462         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
10463         (bug#10116).
10465 2011-12-06  Glenn Morris  <rgm@gnu.org>
10467         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
10469 2011-12-06  Chong Yidong  <cyd@gnu.org>
10471         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
10473 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
10475         * textmodes/table.el (table-shorten-cell): Fix typo.
10477 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
10479         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
10481 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
10483         * descr-text.el (describe-char): Fix display of strong
10484         right-to-left characters and directional embeddings and overrides.
10486         * simple.el (what-cursor-position): Fix display of codepoints of
10487         strong right-to-left characters.
10489 2011-12-05  Chong Yidong  <cyd@gnu.org>
10491         * faces.el (read-color): Doc fix.
10493 2011-12-05  Glenn Morris  <rgm@gnu.org>
10495         * align.el (align--set-marker): Add doc-string.
10496         Don't try to move something that is not a marker.  (Bug#10216)
10498 2011-12-04  Glenn Morris  <rgm@gnu.org>
10500         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
10501         overly zealous deletion of trailing whitespace.
10503 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
10505         * server.el (server-delete-client): On Windows, do not try to delete
10506         the only terminal.
10507         (server-process-filter): On Windows, treat requests for a tty frame as
10508         if they were for a GUI frame if the running server is in GUI mode.
10510 2011-12-03  Glenn Morris  <rgm@gnu.org>
10512         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
10514 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10516         * electric.el: Streamline electric-indent's hook.
10517         (electric-indent-chars): Revert to simple list.
10518         (electric-indent-functions): New var.
10519         (electric-indent-post-self-insert-function): Use it.
10521         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
10522         there's no inferior buffer (bug#10196).
10523         (prolog-consult-compile): Don't use toggle-read-only.
10525 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
10527         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
10528         interrupt.  (Bug#10187)
10530 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10532         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
10533         (bug#9160).
10535         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
10536         (bug#10191).
10538 2011-12-02  Juri Linkov  <juri@jurta.org>
10540         * info.el (Info-search): Display "end of manual" when Isearch
10541         reaches the end of single-file Info manual.  (Bug#9918)
10543 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
10545         * isearch.el (isearch-message-prefix): Run the input method part
10546         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
10548 2011-12-02  Juri Linkov  <juri@jurta.org>
10550         * isearch.el (isearch-occur): Use `word-search-regexp' for
10551         `isearch-word'.
10552         (isearch-search-and-update): Add condition for `isearch-word' and
10553         call `word-search-regexp'.  (Bug#10145)
10555 2011-12-01  Glenn Morris  <rgm@gnu.org>
10557         * eshell/em-hist.el (eshell-hist-initialize):
10558         Handle eshell-history-size nil and HISTSIZE set or unset.
10559         (eshell-history-file-name, eshell-history-size): Fix custom type.
10561 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10563         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
10565 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
10567         * progmodes/verilog-mode.el (verilog-pretty-expr):
10568         Rework verilog-pretty-expr to handle new assignment operators in system
10569         verilog, such as += *= and the like.
10570         (verilog-assignment-operator-re): Regular expression to find the
10571         assigment operator in a verilog assignment.
10572         (verilog-assignment-operation-re): Regular expression to find an
10573         assignment statement for pretty-expr.
10574         (verilog-in-attribute-p): Query returns true if point is in an
10575         attribute context; used to skip these for expression line up from
10576         pretty-expr.
10577         (verilog-in-parameter-p): Query returns true if point is in an
10578         parameter definition context; used to skip these for expression
10579         line up from pretty-expr.
10580         (verilog-in-parenthesis-p): Query returns true if point is in a
10581         parenthetical expression, specifically ( ) but not [ ] or { };
10582         used by pretty-expr.
10583         (verilog-just-one-space): If there is no space, don't add one.
10584         (verilog-get-lineup-indent-2): Specifically skip just attribute
10585         contexts for expression lineup, rather than skipping all
10586         parenthetical expressions.
10587         (verilog-calculate-indent): Fix comment, and fix indent.
10588         (verilog-do-indent): Indent declarations in lists (suggested by
10589         Joachim Lechner).
10590         (verilog-mode-abbrev-table): Populate abbrev mode with the various
10591         skeleton items.
10592         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
10593         by Alain Mellan).
10595 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
10597         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
10598         parameters with embedded comments.  Reported by Ray Stevens.
10599         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
10600         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
10601         Reported by Tim Holt.
10602         (verilog-auto): Fix AUTOing a upper module then AUTOing module
10603         instantiated by upper module causing wrong expansion until AUTOed a
10604         second time.  Reported by K C Buckenmaier.
10605         (verilog-diff-auto): Fix showing .* as a difference when
10606         `verilog-auto-star-save' off.  Reported by Dan Dever.
10607         (verilog-auto-reset, verilog-read-always-signals)
10608         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
10609         temporary signals in reset list if
10610         verilog-auto-reset-blocking-in-non is nil, and match assignment
10611         style to each signal's assignment type, bug381.
10612         Reported by Thomas Esposito.
10613         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
10614         (verilog-uvm-statement-re): Support UVM indentation and
10615         highlighting, with old OVM keywords only.
10616         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
10617         Support AUTOTIEOFF creating non-wire data types.
10618         Suggested by Jonathan Greenlaw.
10619         (verilog-auto-insert-lisp, verilog-delete-to-paren)
10620         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
10621         (verilog-inject-sense, verilog-read-inst-pins)
10622         (verilog-read-sub-decls, verilog-read-sub-decls-line):
10623         Fix mismatching parenthesis inside commented out code when deleting
10624         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
10625         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
10626         non-numeric vector width.  Reported by Alex Reed.
10627         (verilog-auto-ascii-enum): Add "onehot" option to work around not
10628         detecting signals with parameter widths.  Reported by Alex Reed.
10629         (verilog-auto-delete-trailing-whitespace):
10630         With `verilog-auto-delete-trailing-whitespace' remove trailing
10631         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
10632         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
10633         Fix verilog-scan-cache corruption when running user AUTO expansion
10634         hooks that call indentation routines.
10635         (verilog-simplify-range-expression): Fix typo ignoring lower case
10636         identifiers.
10637         (verilog-delete-auto): Fix delete-autos to also remove user created
10638         automatics, as long as they start with AUTO.
10639         (verilog-batch-diff-auto, verilog-diff-auto)
10640         (verilog-diff-function): Add `verilog-diff-auto' and bind to
10641         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
10642         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
10643         (verilog-in-paren-quick, verilog-re-search-backward-quick)
10644         (verilog-re-search-forward-quick, verilog-syntax-ppss):
10645         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
10646         is disabled and its cache will get corrupt, causing AUTOS not to
10647         expand.  Instead use only -quick functions.
10648         (verilog-scan-region): Fix scanning over escaped quotes.
10649         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
10650         (verilog-re-search-backward-quick)
10651         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
10652         related functions now ignore strings, to fix misparsing of strings
10653         with magic comments embedded in them.
10654         (verilog-read-auto-template):
10655         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
10656         Reported by Brad Dobbie.
10657         (verilog-read-auto-template):
10658         Fix 'verilog-auto-inst-template-numbers' with comments.
10659         Reported by Brad Dobbie.
10660         (verilog-auto-inst, verilog-auto-inst-param)
10661         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
10662         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
10663         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
10664         debugging templates without merge conflicts, bug357.
10665         Reported by Brad Dobbie.
10666         (verilog-read-auto-template):
10667         Fix verilog-auto-inst-template-numbers with multiple templates.
10668         Reported by Brad Dobbie.
10669         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
10670         abbrevs so user won't be asked to save.
10671         (verilog-read-auto-lisp-present): Fix to start at beginning of
10672         buffer in case called outside of verilog-auto.
10673         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
10674         to "X-2".  Reported by Matthew Myers.
10675         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
10676         all inputs from module templates.  Reported by Leith Johnson.
10677         (verilog-module-inside-filename-p): Fix locating programs as with
10678         modules.
10679         (verilog-auto-inst-port): Fix vl-width expressions when using
10680         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
10681         (verilog-decls-get-regs, verilog-decls-get-signals,
10682         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
10683         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
10684         verilog-read-decls): Combine reg and wire structures into one var
10685         structure to represent SystemVerilog concepts.
10686         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
10687         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
10688         (verilog-auto-wire-type, verilog-insert-definition):
10689         Add verilog-auto-wire-type and AUTOLOGIC to support using
10690         SystemVerilog "logic" keyword instead of "wire"/"reg".
10691         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
10692         to declares outputs that also have assignments (presumably in an
10693         ifdef or generate if so there's not a driver conflict).
10694         Reported by Matthew Myers.
10695         (verilog-auto-declare-nettype, verilog-insert-definition):
10696         Add verilog-auto-declare-nettype to fix declarations using
10697         `default_nettype none.  Reported by Julian Gorfajn.
10698         (verilog-read-always-signals-recurse, verilog-read-decls)
10699         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
10700         malformed end statement, bug325.  Reported by Joshua Wise and
10701         Andrew Drake.
10702         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
10703         (verilog-inst-comment-re): Fix not deleting Interfaced comment
10704         when expanding .* in interfaces, bug320.
10705         Reported by Pierre-David Pfister.
10706         (verilog-read-module-name): Fix import statements between module
10707         name and open parenthesis, bug317.
10708         Reported by Pierre-David Pfister.
10709         (verilog-simplify-range-expression): Fix simplification of
10710         multiplications inside AUTOWIRE connections, bug303.
10711         (verilog-auto-inst-port): Support parameter expansion in
10712         multidimensional arrays.
10713         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
10714         after "assert property".  Reported by Julian Gorfajn.
10715         (verilog-simplify-range-expression): Fix "couldn't merge" errors
10716         with multiplication, bug303.
10717         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
10718         Reported by Jan Frode Lonnum.
10720 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
10722         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
10723         (hfy-shell-file-name, hfy-shell):
10724         * international/fontset.el (x-decompose-font-name): Fix typos.
10726 2011-11-29  Ken Brown  <kbrown@cornell.edu>
10728         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
10729         (gdb-version): Remove defvar.
10730         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
10731         (gdb-gud-context-command, gdb-non-stop-handler)
10732         (gdb-current-context-command, gdb-stopped): Use it.
10733         (gdb-init-1): Enable pretty printing here.
10734         (gdb-non-stop-handler): Don't enable pretty-printing here.
10735         Check to see if the target supports non-stop mode; if not, turn off
10736         non-stop mode.  Use the following.
10737         (gdb-check-target-async): New defun.
10738         (gud-watch, gdb-stopped): Fix whitespace.
10739         (gdb-get-source-file): Don't try to display the source file if
10740         `gdb-main-file' is nil.
10742 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10744         * align.el: Try to generate fewer markers (bug#10047).
10745         (align--set-marker): New macro.
10746         (align-region): Use it.
10748 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10750         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10752 2011-11-29  Chong Yidong  <cyd@gnu.org>
10754         * indent.el (indent-for-tab-command, indent-according-to-mode):
10755         Doc fix.
10756         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
10758 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
10760         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10761         aware of remote file names.  (Bug#10124)
10763 2011-11-29  Chong Yidong  <cyd@gnu.org>
10765         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10767 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10769         * files.el (find-file): Don't use force-same-window (bug#10144).
10770         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10771         use pop-to-buffer if the selected window can't be used.
10772         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10774 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
10776         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10777         special-mode-map.
10779 2011-11-28  Chong Yidong  <cyd@gnu.org>
10781         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10783 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
10785         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10786           gdb-get-source-file-list on gdb-create-source-file-list.
10788 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
10790         * whitespace.el (whitespace-newline): Use a different foreground
10791         color for 16-color light-background displays.
10793 2011-11-24  Chong Yidong  <cyd@gnu.org>
10795         * window.el (display-buffer--special-action): Doc fix.
10797 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
10799         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10800         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10801         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10802         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10803         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10804         (avl-tree-stack-first):
10805         * emacs-lisp/cconv.el (cconv--analyse-use):
10806         * net/gnutls.el (gnutls-negotiate): Fix typos.
10808 2011-11-24  Glenn Morris  <rgm@gnu.org>
10810         * lpr.el (lpr-windows-system, lpr-lp-system):
10811         * mail/binhex.el (binhex-begin-line):
10812         * progmodes/grep.el (grep-history, grep-find-history):
10813         * textmodes/flyspell.el:
10814         * vc/pcvs-defs.el (cvs-global-menu):
10815         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10816         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10817         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10819         * net/tls.el: Fix case of "GnuTLS".
10821         * paths.el (rmail-file-name): Format doc-string for make-docfile.
10823         * version.el (emacs-build-system): Give it a doc-string.
10825 2011-11-24  Juri Linkov  <juri@jurta.org>
10827         * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
10829 2011-11-24  Glenn Morris  <rgm@gnu.org>
10831         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10832         if called on a non-mime message just toggle the headers.  (Bug#8006)
10834 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
10836         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10837         (allout-lead-with-comment-string, allout-structure-deleted-hook)
10838         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10839         (allout-rebullet-heading, allout-open-sibtopic)
10840         (allout-toggle-current-subtree-encryption)
10841         (allout-toggle-subtree-encryption, allout-encrypt-string)
10842         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10843         (allout-distinctive-bullets-string, allout-auto-activation):
10844         * window.el (window-normalize-buffer-to-display):
10845         * progmodes/verilog-mode.el (verilog-batch-indent):
10846         * textmodes/bibtex.el (bibtex-field-braces-opt)
10847         (bibtex-field-strings-opt):
10848         * vc/cvs-status.el (cvs-tree-merge):
10849         Fix typos.
10851 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
10853         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10854         `non-essential' to t, in order to avoid remote connections.
10856 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
10858         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10859         On MS-DOS and MS-Windows, compare with loaddefs.el
10860         case-insensitively.
10862 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10864         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
10866 2011-11-23  Glenn Morris  <rgm@gnu.org>
10868         * paths.el (rmail-file-name): Reformat the doc-string so that it
10869         is picked up.
10871         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10872         (rmail-auto-file): Ignore case in the "special" field names,
10873         as mail-fetch-field does for all others.
10875         * mail/rmail.el (rmail-forward):
10876         * mail/rmailkwd.el (rmail-set-label):
10877         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10878         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
10880         * mail/rmail.el (rmail-current-message): Doc fix.
10882         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
10884 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10886         * server.el (server-eval-and-print): Allow C-g (bug#6585).
10888 2011-11-22  Glenn Morris  <rgm@gnu.org>
10890         * mail/rmailmm.el (test-rmail-mime-handler)
10891         (test-rmail-mime-bulk-handler)
10892         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10894 2011-11-21  Juri Linkov  <juri@jurta.org>
10896         * calc/calc.el (calc-read-key-sequence):
10897         Let-bind `input-method-function' to nil.  (Bug#10018)
10899 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10901         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10902         Tell the caller that the next line needs recomputation, even
10903         though it doesn't start a sexp (bug#10094).
10905 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10907         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10909 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10911         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10912         Use force-same-window.
10914 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10916         * descr-text.el (describe-char-unicode-data):
10917         * json.el (json-string-escape):
10918         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10919         (Footnote-unicode, Footnote-style-p):
10920         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10922 2011-11-20  Chong Yidong  <cyd@gnu.org>
10924         * window.el (replace-buffer-in-windows): Restore interactive spec.
10926 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10928         * electric.el (electric-indent-mode): Fix last change (too optimistic).
10930         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10931         (byte-compile-global-not-obsolete-vars): New var.
10932         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10933         Use it.
10934         (byte-compile-warn-obsolete): Align text with the one in *Help*.
10936 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10938         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10939         * progmodes/pascal.el (electric-pascal-equal):
10940         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10941         * xml.el (xml-substitute-special): Fix typos.
10943 2011-11-20  Glenn Morris  <rgm@gnu.org>
10945         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10946         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10947         Doc fixes.
10948         (rmail-decode-mime-charset): Mark as obsolete.
10950         * mail/rmailsum.el (rmail-message-regexp-p-1):
10951         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10952         Before using mime functions, check they are set.  (Bug#10077)
10954 2011-11-19  Juri Linkov  <juri@jurta.org>
10956         * info.el (Info-finder-find-node): Use `package--builtins' instead
10957         of `package-alist'.  Use node names formed by the pattern "Keyword "
10958         and the keyword name.
10960 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10962         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10964 2011-11-19  Juri Linkov  <juri@jurta.org>
10966         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10967         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
10968         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10969         `old-history', `old-history-forward'.  Add let-binding
10970         `window-selected'.  Remove calls to `kill-buffer',
10971         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
10972         before calling `Info-find-node', so `Info-find-node-2' will reread
10973         the Info file.  Restore window positions only when `window-selected'
10974         is non-nil.
10976 2011-11-19  Juri Linkov  <juri@jurta.org>
10978         * isearch.el (isearch-lazy-highlight-new-loop):
10979         Remove condition `(not isearch-error)'.  (Bug#9918)
10981         * misearch.el (multi-isearch-search-fun): Add condition
10982         `(not bound)' to ignore lazy-highlighting search.
10983         Add the search-failed message "end of multi" when the end of
10984         multi-sequence is reached.  Uncapitalize the search-failed
10985         message "Repeat for next buffer".
10987         * info.el (Info-search): Add the search-failed message
10988         "end of the manual" when the end of the manual is reached
10989         in Isearch mode.
10991 2011-11-19  Juri Linkov  <juri@jurta.org>
10993         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10994         Use non-destructive `remove' instead of `delete' because
10995         `Info-history-list' stored to `Info-isearch-initial-history-list' in
10996         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10998 2011-11-19  Juri Linkov  <juri@jurta.org>
11000         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11001         to nil instead of binding `search-ring' and `regexp-search-ring'.
11002         (Bug#9185)
11004 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11006         * simple.el (line-move): Force movement by logical lines for any
11007         hscrolled window, not only when auto-hscroll-mode is on.
11008         (line-move-visual): Update doc string to that effect.  (Bug#10076)
11010 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11012         * language/european.el (macintosh): Define as alias for mac-roman.
11014 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11016         * mail/rmailmm.el (rmail-mime-display-header)
11017         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11018         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11019         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11020         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11021         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11022         of a raw aref.
11023         (rmail-mime-entity-segment): To get past the tagline, move forward
11024         2 more lines, to account for the 2 empty lines that precede and
11025         follow the line with the buttons.
11026         (rmail-mime-update-tagline): Move one more line, to get past the
11027         empty line that follows the buttons in the tagline.  (Bug#9520)
11029 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
11031         * window.el (window-max-delta-1, window-min-delta-1)
11032         (window-min-size-1, window-state-get-1, window-state-put-1)
11033         (window-state-put-2): Use "window--" prefix.
11035 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11037         * emacs-lisp/smie.el: Improve warnings and conflict detection.
11038         (smie-warning-count): New var.
11039         (smie-set-prec2tab): Use it.
11040         (smie-bnf->prec2): Improve warnings.  Add docstring.
11041         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11042         (smie-bnf--set-class): New function.
11043         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
11044         corner case.
11046         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11047         (compilation-error-properties, compilation-move-to-column):
11048         Handle compilation-first-column while in the target buffer.
11050         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11051         Don't hardcode point-min==1.
11053         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11054         (eshell-rewrite-for-command): Remove workaround.
11055         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11056         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11057         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11059         * files-x.el (modify-file-local-variable): Obey commenting conventions.
11061 2011-11-17  Glenn Morris  <rgm@gnu.org>
11063         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11064         Ignore buffer-local generated-autoload-file if it is the same
11065         as the global value.  (Bug#10049)
11067 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
11069         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11070         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11071         (reftex-toc-previous-heading, reftex-toc-max-level)
11072         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11073         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11074         (reftex-toc-do-promote, reftex-toc-promote-prepare)
11075         (reftex-toc-promote-action, reftex-toc-extract-section-number)
11076         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11077         (reftex-toc-rename-label, reftex-toc-visit-location)
11078         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11079         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11080         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11081         leaving "*toc*" only for references to the buffer.
11083 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
11085         * window.el (window-resize, delete-window, split-window):
11086         Replace window-splits by window-combination-resize.
11087         * cus-start.el (window-splits): Replace by window-combination-resize.
11089 2011-11-17  Glenn Morris  <rgm@gnu.org>
11091         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11092         Make bash entry derive from sh entry, not shell entry.
11094 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
11096         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11097         local file name.
11099 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11101         * menu-bar.el (menu-bar-file-menu):
11102         * printing.el (pr-ps-utility):
11103         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11104         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11105         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11106         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11107         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11108         (icalendar--convert-cyclic-to-ical)
11109         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11110         (icalendar--convert-ical-to-diary)
11111         (icalendar--convert-recurring-to-diary)
11112         (icalendar--convert-non-recurring-all-day-to-diary)
11113         (icalendar-import-format-sample):
11114         * progmodes/idlw-shell.el (idlwave-shell-mode):
11115         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11116         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11117         (vhdl-ps-print-init): Fix typos.
11119 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
11121         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11122         FSF and collapse date sequence, obscure author/maintainer email address
11123         better, remove extra version line, track relocation of author's webpage.
11125         * progmodes/python.el (python-pdbtrack-input-prompt)
11126         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11127         regular python pdb prompts.  Adjustments shamelessly taken exactly as
11128         suggested in EmacsWiki page (tiny change):
11129         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11131 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11133         * expand.el (expand-pos, expand-index, expand-point):
11134         Remove redundant info from docstring.
11135         (expand-add-abbrevs): Doc fix.
11136         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11137         (expand-sample-perl-mode-expand-list): Fix typos.
11139         * net/dbus.el (dbus-event-member-name):
11140         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11141         * term/pc-win.el (msdos-create-frame-with-faces):
11142         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11144 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
11146         * window.el (split-window, window-state-get-1)
11147         (window-state-put-1, window-state-put-2): Rename occurrences of
11148         window-nest to window-combination-limit.
11149         * cus-start.el (window-nest): Rename to window-combination-limit.
11151 2011-11-16  Chong Yidong  <cyd@gnu.org>
11153         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11154         regexp (Bug#10033).
11156 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11158         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11159         `completing-read' will remove *Completions* and will preserve
11160         current-buffer for us.
11161         (tmm-add-prompt): Users of *Completions* will always (re)set its
11162         major mode.
11163         (tmm-old-comp-map): Remove.
11165 2011-11-16  Glenn Morris  <rgm@gnu.org>
11167         * mail/rmailedit.el: Require rmailmm when compiling.
11168         (rmail-old-mime-state): New declaration.
11169         (rmail-edit-current-message): If editing a mime message,
11170         edit the "raw" message from the mbox buffer.
11171         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
11173 2011-11-15  Glenn Morris  <rgm@gnu.org>
11175         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11176         which wasn't being used.  Add optional arg to force given state.
11177         (rmail-mime): Add optional arg to force given state.
11179 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11181         * allout.el (allout-encryption-plaintext-sanitization-regexps):
11182         * frame.el (display-mm-dimensions-alist):
11183         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11184         (outline-move-subtree-down):
11185         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11186         (newsticker--treeview-do-get-node):
11187         * net/quickurl.el (quickurl-list-buffer-name):
11188         * progmodes/dcl-mode.el (dcl-mode):
11189         * progmodes/gdb-mi.el (gdb-mapcar*):
11190         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11192 2011-11-15  Glenn Morris  <rgm@gnu.org>
11194         * mail/rmail.el (rmail-file-coding-system): It's only ever used
11195         in a boolean sense, so just make it a boolean, and fix the doc.
11196         (rmail-show-mime-function, rmail-mime-feature)
11197         (rmail-require-mime-maybe): Doc fixes.
11198         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11200         * mail/rmailmm.el (rmail-show-mime): Doc fix.
11202 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11204         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11205         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11206         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11207         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11209 2011-11-15  Glenn Morris  <rgm@gnu.org>
11211         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11212         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11213         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11214         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11215         (rmail-mime, rmail-show-mime): Doc fixes.
11217         * term/ns-win.el (mode-line-frame-identification):
11218         Leave it alone.  (Bug#10051)
11220         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
11222         * mail/rmailout.el (rmail-output-to-rmail-buffer):
11223         Handle empty buffers.  (Bug#9978)
11225 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
11227         * international/mule.el (define-charset):
11228         * mail/rmailmm.el (rmail-mime-find-header-encoding):
11229         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11230         * progmodes/verilog-mode.el (verilog-backward-token):
11231         * textmodes/ispell.el (lookup-words):
11232         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11234 2011-11-14  Glenn Morris  <rgm@gnu.org>
11236         * progmodes/executable.el
11237         (executable-make-buffer-file-executable-if-script-p):
11238         Handle file-modes returning nil.
11240         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11241         message - not necessary, and causes problems.  (Bug#9831)
11243         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11245         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11247         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11248         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
11249         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11251 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
11253         * window.el (window-resize, delete-window): Use window-splits
11254         variable instead of function.
11255         (window-state-get-1, window-state-put-2, window-state-put):
11256         Don't deal with windows' splits status.
11258 2011-11-12  Glenn Morris  <rgm@gnu.org>
11260         * apropos.el (apropos-do-all, apropos-library, apropos-value)
11261         (apropos-documentation): Doc fixes.
11263 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
11265         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11266         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11268 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11270         * electric.el (electric-indent-post-self-insert-function): Make it
11271         possible for a char to only indent in some circumstances.
11272         (electric-indent-mode): Simplify.
11274 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
11276         * window.el (windows-with-parameter): Remove unused function.
11277         (windows-at-side): Rename to window-at-side-list.
11278         (window-check, window-atom-check, window-atom-check-1)
11279         (window-side-check, window-size-ignore, window-size-fixed-1)
11280         (window-in-direction-2): Prefix with "window--".
11281         (window-tree-1): Rename to window--subtree, fix doc-string.
11283 2011-11-11  Glenn Morris  <rgm@gnu.org>
11285         * subr.el (eval-after-load): If FILE is already loaded,
11286         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
11288 2011-11-10  Glenn Morris  <rgm@gnu.org>
11290         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11291         Call svn via vc-svn-command rather than vc-do-command.
11292         (vc-svn-command): Add --non-interactive.  (Bug#9993)
11293         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11295         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11296         Add toggle-read-only.  (Bug#7292)
11297         * files.el (toggle-read-only): Mention that it should only
11298         be used interactively.  (Bug#10006)
11300 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11302         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11303         Adjust regexp for OCaml warnings.
11305         * electric.el (electric-pair-post-self-insert-function): Let user
11306         turn it off buffer-locally (bug#9932).
11308         * progmodes/python.el (python-beginning-of-statement):
11309         Rewrite (bug#2703).
11311         * progmodes/compile.el: Better handle TABs (bug#9749).
11312         (compilation-internal-error-properties)
11313         (compilation-next-error-function): Obey the target buffer's
11314         compilation-error-screen-columns.
11316 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
11318         * progmodes/meta-mode.el: Remove obsolete comments.
11319         (meta-right-comment-regexp, meta-ignore-comment-regexp):
11320         Fix typos in docstrings.
11322 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
11324         * window.el (window-size-fixed-p): Rewrite doc-string.
11325         (window-resizable-p): Rename to window--resizable-p.  Update callers.
11326         (window--resizable): New function.  Make all callers of
11327         window-resizable call window--resizable instead.
11328         (window-resizable): Rewrite in terms of window--resizable.
11330 2011-11-08  Glenn Morris  <rgm@gnu.org>
11332         * progmodes/delphi.el (delphi-mode-syntax-table):
11333         Let define-derived-mode define a proper syntax table.  (Bug#9994)
11335 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11337         * window.el: Stay away from defsubst.
11338         (window-list-no-nils): Remove.
11339         (window-state-get-1, window-state-get): Use backquote instead.
11341 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11343         * emacs-lisp/find-func.el (find-function-read):
11344         Fix incorrect use of default argument in `completing-read'.
11346 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
11348         * window.el (display-buffer-function, special-display-function):
11349         Mention display-buffer-record-window but do not mention
11350         help-setup parameter in doc-strings.
11351         (window-min-delta): Fix doc-string typo.
11353 2011-11-08  Chong Yidong  <cyd@gnu.org>
11355         * window.el (window-total-height, window-total-width): Doc fix.
11356         (window-body-size): Move from C.
11357         (window-body-height, window-body-width): Move to C.
11359 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11361         * window.el: Make special-display like display-buffer-alist (bug#9532).
11362         (display-buffer--special-action): New function, morphed
11363         from display-buffer--special.
11364         (display-buffer): Use it to handle special-display-buffers at higher
11365         priority (just after display-buffer-alist).
11366         (display-buffer-fallback-action, display-buffer--other-frame-action)
11367         (pop-to-buffer-same-window): Remove display-buffer--special.
11369 2011-11-07  Glenn Morris  <rgm@gnu.org>
11371         * calendar/cal-menu.el (cal-menu-set-date-title):
11372         Do nothing if not in a calendar.  (Bug#9976)
11374 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11376         * files.el (find-file): Always use selected-window.
11378 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
11380         * window.el (window-combinations): Make WINDOW argument
11381         mandatory.  Rewrite doc-string.
11382         (walk-window-subtree, window-atom-check, window-min-delta)
11383         (window-max-delta, window--resize-this-window)
11384         (window--resize-root-window-vertically, window-tree)
11385         (balance-windows, window-state-put): Rewrite doc-strings as to
11386         not mention the term "subwindow".
11387         (window--resize-subwindows-skip-p): Rename to
11388         window--resize-child-windows-skip-p.
11389         (window--resize-subwindows-normal): Rename to
11390         window--resize-child-windows-normal.
11391         (window--resize-subwindows): Rename to
11392         window--resize-child-windows.
11393         (window-or-subwindow-p): Rename to window--in-subtree-p.
11395 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11397         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11398         Ensure that mbox format messages end in two newlines (Bug#9974).
11400 2011-11-06  Chong Yidong  <cyd@gnu.org>
11402         * window.el (window-combination-p): Function deleted; its
11403         side-effect is not used in any existing code.
11404         (window-combinations, window-combined-p): Call window-*-child
11405         directly.
11407 2011-11-05  Chong Yidong  <cyd@gnu.org>
11409         * window.el (window-valid-p): Rename from window-any-p.
11410         (window-size-ignore, window-state-get): Callers changed.
11411         (window-normalize-window): Rename from window-normalize-any-window.
11412         New arg LIVE-ONLY, replacing window-normalize-live-window.
11413         (window-normalize-live-window): Delete.
11414         (window-combination-p, window-combined-p, window-combinations)
11415         (walk-window-subtree, window-atom-root, window-min-size)
11416         (window-sizable, window-sizable-p, window-size-fixed-p)
11417         (window-min-delta, window-max-delta, window-resizable)
11418         (window-resizable-p, window-full-height-p, window-full-width-p)
11419         (window-current-scroll-bars, window-point-1, set-window-point-1)
11420         (window-at-side-p, window-in-direction, window-resize)
11421         (adjust-window-trailing-edge, maximize-window, minimize-window)
11422         (window-deletable-p, delete-window, delete-other-windows)
11423         (record-window-buffer, unrecord-window-buffer)
11424         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11425         (quit-window, split-window, window-state-put)
11426         (set-window-text-height, fit-window-to-buffer)
11427         (shrink-window-if-larger-than-buffer): Callers changed.
11429 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
11431         * mail/rmail.el (rmail-simplified-subject): Decode subject with
11432         rfc2047-decode-string.
11433         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11434         warnings.
11436         * window.el (window-body-height, window-body-width): Mention in
11437         the doc string that the return values are in frame's canonical
11438         units.  (Bug#9949)
11440 2011-11-03  Alan Mackenzie  <acm@muc.de>
11442         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11443         change in cc-engine.el.
11445 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11447         * window.el (switch-to-buffer): Use `force-same-window' interactively.
11449 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
11451         * window.el (quit-window): Call unrecord-window-buffer after
11452         showing another buffer in the window.  (Bug#9937)
11453         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11455 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
11457         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11458         Accept status with more than 9 shelves.  (Bug#9935)
11459         Reported by Colin D Bennett <colin@gibibit.com>.
11461 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
11463         * help.el (with-help-window): Don't reference
11464         temp-buffer-show-specifiers in doc-string.
11466 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
11468         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
11469         menu-item.
11471 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11473         * whitespace.el: New version 13.2.2.
11474         (whitespace-newline-mode): Disable properly.  Reported by Sarah
11475         <EmacsWiki>.
11477 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
11479         * net/newst-treeview.el: Remove "Time-stamp".
11480         (newsticker--group-manage-orphan-feeds): Do not call
11481         newsticker--treeview-tree-update.
11482         (newsticker-treeview-update, newsticker-treeview):
11483         Call newsticker--treeview-tree-update if necessary.
11485 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
11487         * window.el (window-iso-combination-p, window-iso-combined-p)
11488         (window-iso-combinations): Remove "iso-" infix.
11489         Suggested by Chong Yidong.
11490         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
11491         (window-max-delta-1, window-resize, window--resize-siblings)
11492         (window--resize-this-window, adjust-window-trailing-edge)
11493         (split-window, balance-windows-1)
11494         (shrink-window-if-larger-than-buffer):
11495         * calendar/calendar.el (calendar-generate-window):
11496         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
11498 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11500         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
11501         in place (bug#9907).
11502         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
11503         (eshell-rewrite-if-command, eshell-rewrite-for-command)
11504         (eshell-structure-basic-command, eshell-rewrite-while-command)
11505         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
11506         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
11507         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11508         (eshell-do-pipelines-synchronously, eshell-eval-command):
11509         Use backquotes and prefer setq to set.
11510         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
11511         (eshell-macrop): Use functionp.
11512         (eshell-do-eval): Handle multiple expressions in `while' body.
11514 2011-10-30  Chong Yidong  <cyd@gnu.org>
11516         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
11517         instead of set-mark (Bug#9810).
11519 2011-10-30  Chong Yidong  <cyd@gnu.org>
11521         * window.el (split-window-below, split-window-right): Rename from
11522         split-window-above-each-other and split-window-side-by-side
11523         respectively.  All callers changed.
11524         (split-window-sensibly, split-window-sensibly): Use them.
11525         (split-window-keep-point): Doc fix.
11527         * isearch.el: Add isearch-scroll property to split-window-below
11528         and split-window-right.
11530         * follow.el (follow-mode):
11531         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11532         * progmodes/ada-xref.el (ada-gdb-application):
11533         * emulation/vip.el (vip-buffer-in-two-windows):
11534         * image-dired.el (image-dired-dired-with-window-configuration):
11535         * dired-x.el (dired-do-find-marked-files):
11536         * dired.el (dired-pop-to-buffer):
11537         * bs.el (bs--show-with-configuration):
11538         * vc/emerge.el (emerge-setup-windows):
11539         * textmodes/two-column.el (2C-two-columns):
11540         * textmodes/reftex-toc.el (reftex-toc):
11541         * progmodes/gdb-mi.el (gdb-setup-windows):
11542         * progmodes/fortran.el (fortran-window-create):
11543         * net/newst-treeview.el (newsticker--treeview-window-init):
11544         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
11545         * emulation/tpu-edt.el (tpu-gold-map):
11546         * emulation/crisp.el (crisp-mode-map):
11547         * calendar/calendar.el (calendar-basic-setup): Callers changed.
11549 2011-10-29  Chong Yidong  <cyd@gnu.org>
11551         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
11553         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
11555         * textmodes/flyspell.el (flyspell-word): Fix char offset for
11556         forged Ispell output (Bug#7904).
11558         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11560 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11562         * doc-view.el: Avoid ugly errors about not finding nil.
11563         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
11564         (doc-view-dvipdf-program, doc-view-unoconv-program)
11565         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
11566         Avoid nil or absolute file name as default value.
11567         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
11569 2011-10-28  Alan Mackenzie  <acm@muc.de>
11571         * progmodes/cc-defs.el (c-version): -> 5.32.2.
11573 2011-10-28  Alan Mackenzie  <acm@muc.de>
11575         Amend the handling of c-beginning/end-of-defun in nested declaration
11576         scopes.
11578         * progmodes/cc-vars.el (c-defun-tactic): Move here from
11579         cc-langs.el.  Change it to a defcustom.
11581         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
11582         cc-vars.el.
11584         * progmodes/cc-engine.el (c-beginning-of-statement-1):
11585         Prevent "class foo : bar" being spuriously recognized as a label.
11587         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
11588         Add parameter `inclusive' (to include enclosing braces in the region).
11589         (c-widen-to-enclosing-decl-scope): New function.
11590         (c-while-widening-to-decl-block): New macro.
11591         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
11592         outward for defun boundaries, and correspondingly change symbol
11593         `respect-enclosure' to `go-outward'.
11594         (c-declaration-limits): Change algorithm to report only the "innermost"
11595         defun's boundaries.
11597 2011-10-28  Deniz Dogan  <deniz@dogan.se>
11599         * net/rcirc.el (rcirc-mode): Use hard newlines.
11601 2011-10-28  Alan Mackenzie  <acm@muc.de>
11603         Amend to indent and fontify macros "which include their own semicolon"
11604         correctly, using the "virtual semicolon" mechanism.
11606         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
11608         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
11609         Recode to scan one line at a time rather than having \n and \r
11610         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
11611         (c-forward-label): Amend for virtual semicolons.
11612         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
11614         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
11615         of the new C macros.
11617         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
11618         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
11619         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
11620         (c-opt-cpp-macro-define): Make into a full language variable.
11621         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
11622         AWK Mode (including \n, \r) removed, no longer needed.
11624         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
11625         Invoke c-make-macro-with-semi-re.
11627         * progmodes/cc-vars.el (c-macro-with-semi-re):
11628         (c-macro-names-with-semicolon): New variables.
11629         (c-make-macro-with-semi-re): New function.
11631 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11633         * vc/log-edit.el: Fill empty field rather than adding new one.
11634         (log-edit-add-field): New function.
11635         (log-edit-insert-changelog): Use it.
11637 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11639         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
11641 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11643         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
11644         (gdb--check-interpreter): New function.
11645         (gdb): Use it.
11647 2011-10-27  Glenn Morris  <rgm@gnu.org>
11649         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
11650         (least-positive-float, least-negative-float)
11651         (least-positive-normalized-float, least-negative-normalized-float)
11652         (float-epsilon, float-negative-epsilon):
11653         Remove unnecessary declarations.
11655         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
11656         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
11657         (least-positive-float, least-negative-float)
11658         (least-positive-normalized-float, least-negative-normalized-float)
11659         (float-epsilon, float-negative-epsilon): Add doc-strings,
11660         based on those in cl.texi.
11662         * files.el (set-visited-file-name): If the major-mode changed,
11663         reload the local variables.  (Bug#9796)
11665 2011-10-27  Chong Yidong  <cyd@gnu.org>
11667         * subr.el (change-major-mode-after-body-hook): New hook.
11668         (run-mode-hooks): Run it.
11670         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11671         Use change-major-mode-before-body-hook.
11673         * simple.el (fundamental-mode):
11674         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
11675         change introducing fundamental-mode-hook.
11677 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
11679         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
11681 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
11683         * ido.el (ido-file-name-all-completions-1): Do not require
11684         tramp.el explicitly.  (Bug#7583)
11686 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11688         * progmodes/octave-mod.el:
11689         * progmodes/octave-inf.el: Update maintainer.
11691 2011-10-26  Chong Yidong  <cyd@gnu.org>
11693         * subr.el (with-wrapper-hook): Rewrite doc.
11695 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
11697         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
11698         filenames "/method:foo:".  (Bug#9793)
11700 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11702         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
11703         (bug#9865).
11705 2011-10-24  Glenn Morris  <rgm@gnu.org>
11707         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
11709 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
11711         * notifications.el: Add the requirement of a running D-Bus session
11712         bus to the Commentary.
11714 2011-10-24  Juri Linkov  <juri@jurta.org>
11716         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11717         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
11718         (Bug#9364)
11720 2011-10-24  Juri Linkov  <juri@jurta.org>
11722         * info.el (Info-following-node-name-re): Add newline to the list
11723         of allowed characters for leading space.  (Bug#9824)
11725 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11727         * progmodes/octave-inf.el (inferior-octave-mode-map):
11728         Fix C-c C-h binding.
11729         * progmodes/octave-mod.el (octave-help): Remove.
11731 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
11733         Sync with Tramp 2.2.3.
11735         * net/tramp-cache.el (top): Pacify byte-compiler using
11736         `init-file-user' and `site-run-file'.
11738         * net/trampver.el: Update release number.
11740 2011-10-23  Chong Yidong  <cyd@gnu.org>
11742         * files.el (toggle-read-only): Remove obsolete comment about
11743         version control.
11745         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11746         for toggle-read-only.  Note that this hasn't called vc-next-action
11747         since 2008-05-02, though it wasn't documented at the time.
11749         * vc/ediff-init.el (ediff-toggle-read-only-function):
11750         Use toggle-read-only.
11752 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
11754         Fix bug #9560, sporadic wrong indentation; improve instrumentation
11755         of c-parse-state.
11757         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11758         correct faulty logical expression.
11759         (c-parse-state-state, c-record-parse-state-state):
11760         (c-replay-parse-state-state): New defvar/defuns.
11761         (c-debug-parse-state): Use new functions.
11763 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
11765         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11766         last fix.  Use window-in-direction correctly.
11768 2011-10-21  Chong Yidong  <cyd@gnu.org>
11770         * progmodes/idlwave.el (idlwave-mode):
11771         * progmodes/vera-mode.el (vera-mode): No need to set
11772         require-final-newline; that's done in prog-mode.
11773         Suggested by Stefan Monnier.
11775 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
11777         * mouse.el (mouse-drag-window-above)
11778         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11779         (mouse-drag-mode-line-1, mouse-drag-header-line)
11780         (mouse-drag-vertical-line-rightward-window): Remove.
11781         (mouse-drag-line): New function.
11782         (mouse-drag-mode-line, mouse-drag-header-line)
11783         (mouse-drag-vertical-line): Call mouse-drag-line.
11784         * window.el (window-at-side-p, windows-at-side): New functions.
11786 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
11788         * tar-mode.el (tar-grind-file-mode):
11789         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
11791 2011-10-21  Chong Yidong  <cyd@gnu.org>
11793         * progmodes/idlwave.el (idlwave-mode):
11794         * progmodes/vera-mode.el (vera-mode):
11795         Use mode-require-final-newline.
11797 2011-10-20  Glenn Morris  <rgm@gnu.org>
11799         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
11801 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
11803         * emulation/cua-base.el (cua-set-mark): Fix case of string.
11805 2011-10-20  Chong Yidong  <cyd@gnu.org>
11807         * emulation/cua-base.el (cua-mode):
11808         * mail/footnote.el (footnote-mode):
11809         * mail/mailabbrev.el (mail-abbrevs-mode):
11810         * net/xesam.el (xesam-minor-mode):
11811         * progmodes/bug-reference.el (bug-reference-mode):
11812         * progmodes/cap-words.el (capitalized-words-mode):
11813         * progmodes/compile.el (compilation-minor-mode)
11814         (compilation-shell-minor-mode):
11815         * progmodes/gud.el (gud-tooltip-mode):
11816         * progmodes/hideif.el (hide-ifdef-mode):
11817         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11818         * progmodes/subword.el (subword-mode):
11819         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11820         * progmodes/which-func.el (which-function-mode):
11821         * term/tvi970.el (tvi970-set-keypad-mode):
11822         * term/vt100.el (vt100-wide-mode):
11823         * textmodes/flyspell.el (flyspell-mode):
11824         * textmodes/ispell.el (ispell-minor-mode):
11825         * textmodes/nroff-mode.el (nroff-electric-mode):
11826         * textmodes/paragraphs.el (use-hard-newlines):
11827         * textmodes/refill.el (refill-mode):
11828         * textmodes/reftex.el (reftex-mode):
11829         * textmodes/rst.el (rst-minor-mode):
11830         * textmodes/sgml-mode.el (html-autoview-mode)
11831         (sgml-electric-tag-pair-mode):
11832         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11833         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11834         * emulation/crisp.el (crisp-mode):
11835         * emacs-lisp/eldoc.el (eldoc-mode):
11836         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11837         minor mode behavior.
11839 2011-10-19  Juri Linkov  <juri@jurta.org>
11841         * descr-text.el (describe-char): Add #x2010 and #x2011 to
11842         the list of hard-coded chars with escape-glyph face.
11844 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11848 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
11850         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11851         running process.
11853 2011-10-19  Glenn Morris  <rgm@gnu.org>
11855         * vc/vc-bzr.el (vc-bzr-after-dir-status):
11856         Ignore ignored files.  (Bug#9726)
11858 2011-10-19  Chong Yidong  <cyd@gnu.org>
11860         Doc fix for minor modes, stating that an omitted argument enables
11861         the mode unconditionally when called from Lisp.
11863         * abbrev.el (abbrev-mode):
11864         * allout.el (allout-mode):
11865         * autoinsert.el (auto-insert-mode):
11866         * autoarg.el (autoarg-mode, autoarg-kp-mode):
11867         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11868         (global-auto-revert-mode):
11869         * battery.el (display-battery-mode):
11870         * composite.el (global-auto-composition-mode)
11871         (auto-composition-mode):
11872         * delsel.el (delete-selection-mode):
11873         * desktop.el (desktop-save-mode):
11874         * dired-x.el (dired-omit-mode):
11875         * dirtrack.el (dirtrack-mode):
11876         * doc-view.el (doc-view-minor-mode):
11877         * double.el (double-mode):
11878         * electric.el (electric-indent-mode, electric-pair-mode):
11879         * emacs-lock.el (emacs-lock-mode):
11880         * epa-hook.el (auto-encryption-mode):
11881         * follow.el (follow-mode):
11882         * font-core.el (font-lock-mode):
11883         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11884         * help.el (temp-buffer-resize-mode):
11885         * hilit-chg.el (highlight-changes-mode)
11886         (highlight-changes-visible-mode):
11887         * hi-lock.el (hi-lock-mode):
11888         * hl-line.el (hl-line-mode, global-hl-line-mode):
11889         * icomplete.el (icomplete-mode):
11890         * ido.el (ido-everywhere):
11891         * image-file.el (auto-image-file-mode):
11892         * image-mode.el (image-minor-mode):
11893         * iswitchb.el (iswitchb-mode):
11894         * jka-cmpr-hook.el (auto-compression-mode):
11895         * linum.el (linum-mode):
11896         * longlines.el (longlines-mode):
11897         * master.el (master-mode):
11898         * mb-depth.el (minibuffer-depth-indicate-mode):
11899         * menu-bar.el (menu-bar-mode):
11900         * minibuf-eldef.el (minibuffer-electric-default-mode):
11901         * mouse-sel.el (mouse-sel-mode):
11902         * msb.el (msb-mode):
11903         * mwheel.el (mouse-wheel-mode):
11904         * outline.el (outline-minor-mode):
11905         * paren.el (show-paren-mode):
11906         * recentf.el (recentf-mode):
11907         * reveal.el (reveal-mode, global-reveal-mode):
11908         * rfn-eshadow.el (file-name-shadow-mode):
11909         * ruler-mode.el (ruler-mode):
11910         * savehist.el (savehist-mode):
11911         * scroll-all.el (scroll-all-mode):
11912         * scroll-bar.el (scroll-bar-mode):
11913         * server.el (server-mode):
11914         * shell.el (shell-dirtrack-mode):
11915         * simple.el (auto-fill-mode, transient-mark-mode)
11916         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11917         (line-number-mode, column-number-mode, size-indication-mode)
11918         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11919         * strokes.el (strokes-mode):
11920         * time.el (display-time-mode):
11921         * t-mouse.el (gpm-mouse-mode):
11922         * tool-bar.el (tool-bar-mode):
11923         * tooltip.el (tooltip-mode):
11924         * type-break.el (type-break-mode-line-message-mode)
11925         (type-break-query-mode):
11926         * view.el (view-mode):
11927         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11928         (global-whitespace-mode, global-whitespace-newline-mode):
11929         * xt-mouse.el (xterm-mouse-mode): Doc fix.
11931         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11932         Fix autogenerated docstring.
11934 2011-10-19  Juri Linkov  <juri@jurta.org>
11936         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11937         by checking environment variables "DESKTOP_SESSION" and
11938         "XDG_CURRENT_DESKTOP".  (Bug#9779)
11940 2011-10-19  Juri Linkov  <juri@jurta.org>
11942         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11943         (browse-url-chromium-program, browse-url-chromium-arguments):
11944         New defcustoms.
11945         (browse-url-default-browser): Check for `browse-url-chromium' and
11946         call `browse-url-chromium-program'.
11947         (browse-url-chromium): New command.  (Bug#9779)
11949 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
11951         * facemenu.el (list-colors-duplicates): On Windows, detect more
11952         duplicates by assuming that only colors matching "^System" are
11953         special "system colors".  (Bug#9722)
11955 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11957         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11958         to distinguish the author from the committer.
11960 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
11962         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11964 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
11966         * international/mule.el (sgml-html-meta-auto-coding-function):
11967         Add support for detecting encoding in HTML5 specified only as
11968         <meta charset="UTF-8">.  Implementation just makes http-equiv and
11969         content-type parts from HTML4 encoding string optional.  (Bug#9716)
11971 2011-10-18  Glenn Morris  <rgm@gnu.org>
11973         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
11975 2011-10-18  Chong Yidong  <cyd@gnu.org>
11977         * faces.el (cursor): Doc fix.
11979 2011-10-17  Chong Yidong  <cyd@gnu.org>
11981         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11983 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
11985         * dirtrack.el (dirtrack): Support shell buffers with path
11986         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
11988 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
11990         * json.el: Bump version to 1.3 and note change in History.
11991         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11993 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11995         * comint.el (comint-insert-input, comint-send-input)
11996         (comint-get-old-input-default, comint-backward-matching-input)
11997         (comint-next-prompt): Use nil instead of `input' for field property of
11998         past user input (bug#114).
12000         * minibuffer.el (completion--replace): Inherit surrounding properties
12001         (bug#114).
12002         (minibuffer-complete-and-exit): Use it.
12004         * comint.el (comint--table-subvert): Quote the all-completions output
12005         (bug#9160).
12007 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
12009         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12011         * menu-bar.el (menu-bar-file-menu): Add entry for making new
12012         window on right of selected.  (Bug#9350) Reword other window
12013         entries and separate them from frame entries.
12015 2011-10-15  Glenn Morris  <rgm@gnu.org>
12017         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12018         Doc fixes.
12020 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
12022         * net/network-stream.el (network-stream-open-starttls):
12023         Improve detection of failure due to lack of TLS support.
12025         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12026         putting the input text in front and in bold.
12028 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12030         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12032         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12033         empty buffer.
12035         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12036         unread-command-events rather than pushing yet-another event.
12038 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
12040         * mail/sendmail.el (sendmail-query-once): Improve the wording of
12041         the explanation of the possible choices.  Make the options passed
12042         to completing-read shorter.
12044 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12046         * textmodes/flyspell.el (flyspell-large-region): Make sure
12047         extended character mode is used if defined (Bug#1339).
12049 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
12051         * simple.el (what-cursor-position): Fix the display of the
12052         character info for LRE, LRO, RLE, and RLO characters by appending
12053         an invisible PDF.
12055 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12057         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12058         even in case of error; add debug spec; simplify data flow.
12059         (with-timeout-handler): Remove.
12061 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
12063         Fix Bug#6019, Bug#9315.
12065         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12066         complete `buffer-file-name', the local file name part could look
12067         remotely (for example on VMS).
12069         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12070         `tramp-run-real-handler'.
12071         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12072         already quoted by '"'.
12074         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12075         Let `file-name-handler-alist' be nil, the local file name part
12076         could look remotely (for example on VMS).
12078 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12080         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12081         from here...
12082         (flyspell-post-command-hook): ...to here.
12084 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12086         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12087         if not needed.
12088         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
12089         using completion.  Protect against "slow" callers.
12090         Remove the "message hack".
12092 2011-10-11  Juri Linkov  <juri@jurta.org>
12094         * isearch.el (isearch-lazy-highlight-word): New variable.
12095         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12096         Use it.  (Bug#9727)
12098 2011-10-11  Glenn Morris  <rgm@gnu.org>
12100         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12101         like f90-previous-statement does.
12103 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12105         * eshell/eshell.el (eshell-command): History should be saved
12106         only in interactive use, to avoid error.
12108 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12110         * minibuffer.el (completion-file-name-table): Fix last change,
12111         i.e. ignore normal errors but not the other ones.
12113 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
12115         * window.el (special-display-buffer-names)
12116         (special-display-regexps): Remove some remnants of earlier
12117         changes from doc-strings.
12118         (quit-windows-on): New function.
12120         * vc/vc.el (vc-revert, vc-rollback):
12121         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12122         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
12123         (Bug#6183) (Bug#7074) (Bug#7447)
12125 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
12127         * window.el (frame-auto-hide-function): Add version tag.
12128         (Bug#9699)
12130 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
12132         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12133         condition.
12135 2011-10-09  Leo Liu  <sdl.web@gmail.com>
12137         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12138         (Bug#9701)
12140 2011-10-08  Glenn Morris  <rgm@gnu.org>
12142         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12143         before the first code statement zero indent.  (Bug#9690)
12145 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
12147         * simple.el (count-words-region): Always count in the region.
12148         Report the number of lines and characters too.
12149         (count-words): New command, which counts in the buffer if the
12150         region is inactive, as count-words-region used to.
12151         (count-words--message): New function.  Handle plurals.
12152         (count-lines-region): Make it an alias for count-words-region.
12154         * bindings.el (esc-map): Replace count-lines-region with
12155         count-words-region.
12157 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
12159         * window.el (window--delete): Delete dedicated frame
12160         unconditionally when argument KILL is non-nil.  (Bug#9699)
12161         (switch-to-buffer): Fix doc-string typo.
12163 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12165         * eshell/eshell.el (eshell-command): Avoid using hooks.
12167 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
12169         * bindings.el ([M-left],[M-right]): Bind to left-word and
12170         right-word respectively.
12172 2011-10-07  Glenn Morris  <rgm@gnu.org>
12174         * cus-start.el (debug-on-quit): Fix custom type.
12176 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12178         * subr.el (define-key-after): Clarify that the function is not
12179         useful for non-menu keymaps.
12181         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12183 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12185         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12186         in current minibuffer (Fix bug with recursive minibuffers).
12188 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
12190         * progmodes/gdb-mi.el (gdb): Doc fix.
12192 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
12194         * window.el (frame-auto-hide-function): New option replacing
12195         frame-auto-delete.  Suggested by Stefan Monnier.
12196         (window--delete): Call frame-auto-hide-function instead of
12197         investigating frame-auto-delete.
12198         (window-point-1, set-window-point-1): New functions.
12199         (window-in-direction, record-window-buffer, window-state-get-1)
12200         (display-buffer-record-window): Use window-point-1 instead of
12201         window-point.
12202         (set-window-buffer-start-and-point): Use set-window-point-1.
12204 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12206         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12208 2011-10-05  Glenn Morris  <rgm@gnu.org>
12210         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12211         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
12213 2011-10-05  Leo Liu  <sdl.web@gmail.com>
12215         * subr.el (read-char-choice): Fix argument to buffer-live-p which
12216         works with buffer object.
12218 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12220         * mpc.el (mpc-tool-bar-map): Add labels.
12222 2011-10-04  Glenn Morris  <rgm@gnu.org>
12224         * calendar/holidays.el (calendar-check-holidays): Doc fix.
12226 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
12228         * window.el (window--delete): New function.
12229         (frame-auto-delete): Resuscitate option.
12230         (bury-buffer, replace-buffer-in-windows)
12231         (quit-window): Rewrite using window--delete.
12232         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12233         Pass display-buffer-mark-dedicated to window--display-buffer-2
12234         (Bug#9639).
12236 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12238         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12239         returns a list (bug#9554).  Add remote file name completion.
12240         * comint.el (comint--table-subvert): Curry and get quote&unquote
12241         functions as arguments.
12242         (comint--complete-file-name-data): Adjust call accordingly.
12243         * pcomplete.el (pcomplete--table-subvert): Remove.
12244         (pcomplete-completions-at-point): Use comint--table-subvert instead.
12246         * minibuffer.el (completion-table-case-fold): Use currying.
12247         (completion--styles-type, completion--cycling-threshold-type):
12248         New constants.
12249         (completion-styles, completion-category-overrides)
12250         (completion-cycle-threshold): Use them.
12251         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12252         completion-table-case-fold.
12254 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
12256         * minibuffer.el (completion-category-overrides): Fix type of styles
12257         and add more user friendly tags (bug#9660).
12259 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12261         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12262         (mule-input-method-string): New widget.
12263         (default-input-method, language-info-custom-alist): Use it.
12265 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12267         * pcomplete.el: Require comint.
12268         (pcomplete--common-suffix): Remove.
12269         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12270         (pcomplete--table-subvert): Sync with comint--table-subvert.
12271         (pcomplete--entries): Use comint-completion-file-name-table.
12272         * comint.el (comint-unquote-filename): Simplify.
12273         (comint-completion-file-name-table): New function (bug#9616).
12274         (comint--complete-file-name-data): Use it.
12276         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12277         (pcmpl-gnu-tar-buffer): Remove.
12278         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12279         around.  Make sure pcomplete-suffix-list is only changed temporarily.
12280         Don't look inside the tar's file if it's too large.
12282 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
12284         * cus-edit.el (custom-mode-map):
12285         * epa.el (epa-key-list-mode-map):
12286         * man.el (Man-mode-map):
12287         * startup.el (splash-screen-keymap):
12288         * simple.el (special-mode-map): Use scroll-up-command and
12289         scroll-down-command.
12291         * progmodes/idlw-help.el (idlwave-help-mode-map):
12292         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12293         * net/newst-plainview.el (newsticker-mode-map):
12294         * emulation/ws-mode.el (wordstar-mode-map):
12295         * emulation/vi.el (vi-com-map):
12296         * calc/calc-graph.el (calc-graph-show-dumb):
12297         * term/sun.el (terminal-init-sun):
12298         * term/ns-win.el (global-map):
12299         * progmodes/grep.el (grep-mode-map):
12300         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12301         * mail/rmail.el (rmail-mode-map):
12302         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12304         * custom.el (custom-safe-themes, load-theme): Treat value of t for
12305         custom-safe-themes as special.
12307 2011-10-01  Julien Danjou  <julien@danjou.info>
12309         * notifications.el (notifications-notify): Fix docstring.
12311 2011-10-01  Per Starbäck  <per@starback.se>
12313         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
12315 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
12317         * startup.el (command-line-1): Fix last fix by inserting
12318         initial-scratch-message into *scratch* before displaying it.
12319         (Bug#9605) and (Bug#9636)
12321 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
12323         * simple.el (line-move): If auto-hscroll-mode is disabled and the
12324         window is hscrolled, move by logical lines.  (Bug#9607)
12325         (line-move-visual): Update the doc string to the above effect.
12327 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
12329         * window.el (display-buffer-record-window): When WINDOW is the
12330         selected window use `point' instead of `window-point'.  (Bug#9626)
12332         * startup.el (command-line-1): Use insert-before-markers when
12333         inserting initial-scratch-message.  (Bug#9605)
12335         * help.el (help-window): Remove variable.
12337 2011-09-29  Glenn Morris  <rgm@gnu.org>
12339         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12341 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
12343         * descr-text.el (describe-char-categories): Accept category
12344         descriptions more than one line long.
12346 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12348         * simple.el (delete-trailing-whitespace): Fix last change.
12350         * progmodes/perl-mode.el (perl-syntax-propertize-function):
12351         Don't confuse "y => 3" as the beginning of a `y' operation.
12353         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12354         object has more than 4 slots (bug#9613).
12356 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
12358         * subr.el (with-output-to-temp-buffer):
12359         * net/quickurl.el (quickurl, quickurl-browse-url):
12360         Fix typos in docstrings.
12362 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
12364         * minibuffer.el (completion-styles)
12365         (completion-category-overrides): Cross reference each other in doc
12366         strings.
12368 2011-09-27  Glenn Morris  <rgm@gnu.org>
12370         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12371         to split-string.  (Bug#9606)
12373 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12375         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12376         (bug#9615).
12378 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
12380         * emacs-lisp/package.el (list-packages): Fix echo area message.
12382 2011-09-27  Leo Liu  <sdl.web@gmail.com>
12384         * ido.el (ido-read-internal): Accept cons cell HIST arg.
12386 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
12388         * net/dbus.el (dbus-unregister-object): Don't release services for
12389         registered signals.  (Bug#9581)
12391 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
12393         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12394         function that picks between cfengine 2 and 3 support
12395         automatically.  Update docs accordingly.
12397 2011-09-22  Kenichi Handa  <handa@m17n.org>
12399         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12400         ZERO.
12401         (indian-itrans-v5-table-for-tamil): New variable.
12402         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12404 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
12406         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12407         that's true if the current command involved collapsing of text.
12408         It's reset to false at the beginning of the next command.
12409         (allout-post-command-business): Move the cursor to the beginning
12410         of entry if the cursor is hidden and collapsing activity just
12411         happened.
12413 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
12415         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12416         tracking (Bug#9541).
12418 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
12420         * net/newst-reader.el (newsticker-html-renderer)
12421         (newsticker-show-news): Automatically load html rendering package
12422         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
12423         because w3m-fill-column is let-bound" and the error "Symbol's value
12424         as variable is void: w3m-fill-column".
12426 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
12428         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12429         Release services only if they are defined.  (Bug#9581)
12431 2011-09-23  Richard Stallman  <rms@gnu.org>
12433         * textmodes/paragraphs.el (forward-sentence): For backwards case,
12434         distinguish start of paragraph from start of its text.
12436         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12438         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12439         (rmail-generate-viewer-buffer): Put that hook on view buffer.
12440         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12442 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
12444         * international/mule-diag.el (mule-diag): Insert a newline after
12445         each fontset description.
12447 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12449         * simple.el (delete-trailing-whitespace):
12450         Document last change; simplify.
12452 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
12454         * simple.el (delete-trailing-whitespace): Also delete
12455         extra newlines at the end of the buffer.
12457         * textmodes/picture.el: Make motion commands obey shift-select-mode.
12458         (picture-newline): Use forward-line so as to ignore fields.
12460 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12462         * subr.el (with-wrapper-hook): Fix edebug spec.
12464 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12466         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
12467         (bug#4538).
12469 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
12471         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
12472         Fix nasty bug using wrong cached values.
12474 2011-09-23  Alan Mackenzie  <acm@muc.de>
12476         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
12478 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
12480         * window.el (pop-to-buffer): Ensure right window is selected if we
12481         chose another frame.
12483 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
12485         * simple.el (what-cursor-position): Use get-char-property-change
12486         and next-single-char-property-change, to be able to show display
12487         properties that come from overlays as well as text properties.
12489 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
12491         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
12493         * cmuscheme.el (run-scheme, switch-to-scheme):
12494         * cus-edit.el (customize-group, custom-buffer-create)
12495         (customize-browse):
12496         * info.el (info):
12497         * shell.el (shell):
12498         * mail/sendmail.el (mail):
12499         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
12501 2011-09-22  Richard Stallman  <rms@gnu.org>
12503         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
12504         move back only to line beg, don't move back over blank lines.
12506 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
12508         * files.el (copy-directory): Set directory attributes only in case
12509         they could be retrieved from the source directory.  (Bug#9565)
12511 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
12513         * progmodes/hideshow.el (hs-looking-at-block-start-p)
12514         (hs-find-block-beginning, hs-hide-level-recursive):
12515         Ignore strings as well as comments.  (Bug#9502)
12517 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
12519         * progmodes/sql.el (sql-comint-postgres):
12520         Convert port number to a string.  (Bug#9566)
12522 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
12524         * window.el (quit-window): Undedicate window when switching to
12525         previous buffer.  Reported by Thierry Volpiatto
12526         <thierry.volpiatto@gmail.com>.
12527         (special-display-popup-frame): When popping up a new frame reset
12528         its previous buffers to nil.  Simplify code.
12530 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
12532         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
12533         and process filter, as done also in `shell-command'.
12535 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
12537         * window.el (set-window-buffer-start-and-point):
12538         Call set-window-start with NOFORCE argument t.
12539         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12540         (quit-window): Reword doc-string.  Handle new format of
12541         quit-restore parameter.  Don't delete window if it has a
12542         previous buffer we can show instead of the present one.
12543         (display-buffer-record-window): Rewrite using a new format for
12544         the quit-restore window parameter
12545         (special-display-popup-frame, display-buffer-same-window)
12546         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12547         (display-buffer-pop-up-window, display-buffer-use-some-window):
12548         Adapt symbol passed to display-buffer-record-window.
12549         * help.el (help-window-setup): Handle new format of quit-restore
12550         parameter.
12552 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12554         * faces.el (face-list): Fix docstring (bug#9564).
12556         * window.el (display-buffer--action-function-custom-type):
12557         Don't include internal functions in the Custom interface.
12559 2011-09-20  Juri Linkov  <juri@jurta.org>
12561         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
12562         (Info-forward-node, Info-backward-node, Info-next-preorder)
12563         (Info-last-preorder): Use it.  (Bug#9528)
12565 2011-09-20  Juri Linkov  <juri@jurta.org>
12567         * info.el (Info-last-preorder): Visit last menu item only when
12568         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
12570 2011-09-20  Julien Danjou  <julien@danjou.info>
12572         * password-cache.el (password-cache-remove): Remove entries even if the
12573         value is nil, so that password with a nil value (negative caching) is
12574         possible to invalidate.
12576 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
12578         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
12579         all whitespace around breakpoint.  (Bug#9553)
12580         (f90-find-breakpoint): Only break at whitespace inside a comment.
12582 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12584         * minibuffer.el (completion-file-name-table): Keep track of errors.
12585         (completion-table-with-predicate): Handle the case where pred1 is nil.
12586         * pcomplete.el (pcomplete-completions-at-point): Simplify.
12588 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12590         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
12591         (debugger-return-value): Signal an error if the debugging context does
12592         not await any return value.
12594         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
12595         * image-mode.el (image-toggle-display-text)
12596         (image-toggle-display-image): Stay away from evil `intangible'.
12598 2011-09-19  Leo Liu  <sdl.web@gmail.com>
12600         * replace.el (occur-revert-arguments): Make it permanent-local.
12601         (occur-mode): Don't call font-lock-defontify.
12603 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
12605         * net/ldap.el (ldap-search-internal): Don't push empty search
12606         result (Bug#9508).
12608 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12610         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
12612 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
12614         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
12615         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
12617 2011-09-18  Juri Linkov  <juri@jurta.org>
12619         * buff-menu.el (Buffer-menu-mode-map):
12620         * dired.el (dired-mode-map):
12621         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
12622         (lisp-interaction-mode-map):
12623         * emacs-lisp/package.el (package-menu-mode-map):
12624         * epa.el (epa-key-list-mode-map):
12625         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
12626         (menu-bar-options-menu):
12627         * outline.el (outline-mode-menu-bar-map):
12628         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
12629         * vc/vc-dir.el (vc-dir-menu-map):
12630         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
12631         Capitalize non-function content words in menu item strings.
12633         * dired.el (dired-mode-map): Add menu item for
12634         `image-dired-dired-toggle-marked-thumbs'.
12636 2011-09-18  Juri Linkov  <juri@jurta.org>
12638         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
12639         to `isearch-case-fold-search' and restore its original value
12640         after the `isearch-mode' call.
12642 2011-09-18  Juri Linkov  <juri@jurta.org>
12644         * progmodes/grep.el (grep-process-setup): Don't check code for 1
12645         because `zgrep' returns 1 for successful matches (bug#9226).
12647 2011-09-18  Juri Linkov  <juri@jurta.org>
12649         * info.el (Info-extract-menu-node-name): Check the second match
12650         for empty string (second test-case of bug#9528).
12651         (Info-last-preorder): Let-bind `Info-history' to nil to not add
12652         intermediate nodes to the history (first test-case of bug#9528).
12654 2011-09-18  Juri Linkov  <juri@jurta.org>
12656         * info.el (Info-mode-syntax-table): New variable.
12657         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
12659 2011-09-18  Juri Linkov  <juri@jurta.org>
12661         * info.el (Info-file-supports-index-cookies):
12662         Increment line-beginning-position's arg from 3 to 4 because makeinfo
12663         outputs one more line for long file names (bug#4142).
12665 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12667         * newcomment.el (comment-normalize-vars): If prompting for
12668         comment-start, set comment-start-skip too (Bug#8424).
12670 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
12672         * icomplete.el: Fix previous fix of Bug#5849.
12673         (icomplete-mode): Don't set completion-show-inline-help.
12674         (icomplete-minibuffer-setup): Set completion-show-inline-help
12675         locally during icompletion.
12677 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
12679         * woman.el (woman2-process-escapes): Don't delete unrecognized
12680         escapes (Bug#7843).
12682         * files.el (inhibit-first-line-modes-regexps): Add image files.
12683         (hack-local-variables-prop-line): Return nil for malformed
12684         prop-lines (Bug#9044).
12686 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
12688         * net/tramp.el (top): Don't require 'shell.
12689         (tramp-methods): Fix docstring.
12690         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
12691         Return complete remote file name.  Handle "smb" case.
12692         Use `tramp-tmpdir', if defined for the respective method.
12693         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
12695         * net/tramp-compat.el (top): Require 'shell.
12697         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12698         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
12699         `tramp-current-host'.
12700         (tramp-get-remote-tmpdir): Remove.
12702         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
12703         `tramp-tmpdir' entries.
12704         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
12705         (tramp-smb-handle-file-attributes): Ignore errors.
12706         (tramp-smb-wait-for-output): Check also for process end.
12708 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12710         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
12711         when sending QUIT (bug#9312).
12713 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
12715         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
12716         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
12717         occur-mode-display-occurrence.
12718         (occur-edit-mode): Add usage message.
12719         (occur-cease-edit): New command.
12720         (occur-after-change-function): Use text properties to find the
12721         position of the prefix text.
12722         (occur-engine): Set stickiness of prefix text properties.
12724 2011-09-17  Glenn Morris  <rgm@gnu.org>
12726         * progmodes/etags.el (complete-tag):
12727         Fix call to completion-in-region.  (Bug#9526)
12729 2011-09-17  Juri Linkov  <juri@jurta.org>
12731         * textmodes/ispell.el (ispell-word): Add to the error message
12732         the word, ispell program name and current dictionary (bug#9121).
12733         (ispell-tex-arg-end): Capitalize "error" in the error message.
12735 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
12737         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
12738         check.  (Bug#4251)
12740 2011-09-17  Juri Linkov  <juri@jurta.org>
12742         * window.el (window-safe-min-height, window-safe-min-width):
12743         Fix typos (followup to bug#9522).
12745 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
12747         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12749 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
12751         * simple.el (line-move): If goal-column is set, move by logical
12752         lines, not by display lines.  (Bug#971)
12753         (next-line, previous-line, goal-column, line-move-visual): Doc fix
12754         to reflect the above change.
12756 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12758         * image.el (imagemagick-register-types): Use regexp-opt.
12760 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12762         * window.el (display-buffer-base-action): Rename from
12763         display-buffer-default-action.  Make default value empty.
12764         (display-buffer-overriding-action): Convert to defvar.
12765         (display-buffer-fallback-action): New var.
12767 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12769         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12770         declaration.
12771         (package--add-to-archive-contents): If there is a duplicate entry
12772         with an older version, remove it.
12773         (package-menu-mark-delete, package-menu-mark-install)
12774         (package-menu-mark-unmark): Make unused args optional.
12775         (package-menu-mark-obsolete-for-deletion):
12776         Use package-menu-get-status instead of a regexp search.
12777         (package-menu-get-status): Use tabulated-list-entry.
12778         (package-menu-mark-upgrades): New command.
12779         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
12780         (package-menu-execute): Do installation before deletion.
12781         (package-menu-refresh, package-menu-execute): Use derived-mode-p
12782         instead of checking major-mode.
12783         (package-menu--find-upgrades): New function.
12785 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12787         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12788         passwords in the log buffer.
12789         (smtpmail-process-filter): Update the process marker so that the
12790         "broken by peer" status message is inserted in the right place.
12792 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12795         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12796         bibtex-completion-at-point-function.
12797         (bibtex-completion-at-point-function): Use them.
12799         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12801         * mpc.el (mpc-constraints-tag-lookup): New function.
12802         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12803         also to browser "album|playlist".
12805 2011-09-14  Juri Linkov  <juri@jurta.org>
12807         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
12808         (isearch-edit-string): Use length of `isearch-string' when
12809         `isearch-fail-pos' returns nil.
12810         (isearch-message): Remove duplicate code and call
12811         `isearch-fail-pos' with arg `t'.
12813 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
12815         * replace.el (occur-mode-goto-occurrence): Don't force using other
12816         window (Bug#9499).
12818         * dired-aux.el (dired-do-chmod): Don't provide initial input.
12820 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
12822         * window.el (display-buffer-window): Remove.
12823         (display-buffer-record-window): Use help-setup window parameter
12824         instead of variable display-buffer-window.
12825         (display-buffer-function, special-display-buffer-names)
12826         (special-display-function): Mention help-setup parameter instead
12827         of display-buffer-window in doc-string.
12828         * help.el (help-window-setup): New argument help-window.
12829         Use help-window-setup parameter instead of display-buffer-window.
12830         Reword some messages.
12831         (with-help-window): Pass window used for displaying the buffer
12832         to help-window-setup.  Don't set display-buffer-window.
12834 2011-09-13  Glenn Morris  <rgm@gnu.org>
12836         * emacs-lisp/debug.el (debugger-make-xrefs):
12837         Preserve point.  (Bug#9462)
12839 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12841         * window.el (window-deletable-p): Use next-frame.
12843 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
12845         * window.el (window-auto-delete): Remove.
12846         (window-deletable-p): Remove argument FORCE.  Don't deal with
12847         dedication and previous buffers.
12848         (switch-to-prev-buffer): Don't delete window.
12849         (delete-windows-on): Delete a window's frame if and only if the
12850         window is dedicated.
12851         (replace-buffer-in-windows): Delete buffer's window or frame if
12852         and only if window is dedicated.
12853         (quit-window): Handle quit-restore as before last change.
12854         (bury-buffer): Delete window only if window-deletable-p returns t.
12856 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12858         * window.el (window-deletable-p): Never delete the last frame on a
12859         given terminal.
12861 2011-09-13  Glenn Morris  <rgm@gnu.org>
12863         * help.el (describe-key-briefly): Copy previous standard-output change.
12865 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
12867         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
12869 2011-09-13  Glenn Morris  <rgm@gnu.org>
12871         * emacs-lisp/lisp-mode.el (lisp-indent-function):
12872         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12874 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
12876         * dired-aux.el (dired-mark-read-string): Don't return default
12877         value on empty input (Bug#9361).
12878         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12879         Omit initial minibuffer contents.
12880         (dired-do-chmod): Signal an error on empty input.
12881         (dired-mark-read-string): Don't return default on empty input.
12883         * files.el (file-modes-symbolic-to-number): Doc fix.
12885 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12887         * international/mule-cmds.el (ucs-completions): Remove.
12888         (read-char-by-name): Use complete-with-action instead; add metadata.
12890 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12892         * window.el (display-buffer--action-function-custom-type)
12893         (display-buffer--action-custom-type): New vars.
12894         (display-buffer-alist, display-buffer-default-action)
12895         (display-buffer-overriding-action): Add defcustom types.
12897         * frame.el (delete-other-frames): Doc fix (Bug#276).
12899 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12901         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12903 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12905         Change modes that used same-window-* vars to use switch-to-buffer.
12907         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12908         Use switch-to-buffer.
12910         * cus-edit.el (customize-group, custom-buffer-create)
12911         (customize-browse, custom-buffer-create-other-window):
12912         Use switch-to-buffer or switch-to-buffer-other-window.
12914         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12915         (Info-prev, Info-up, Info-speedbar-goto-node)
12916         (info-display-manual): Use switch-to-buffer.
12917         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12919         * mail/sendmail.el (mail): Use switch-to-buffer.
12920         (mail-recover): Use switch-to-buffer-other-window.
12922         * cmuscheme.el (run-scheme, switch-to-scheme):
12923         * ielm.el (ielm):
12924         * shell.el (shell):
12925         * net/rlogin.el (rlogin):
12926         * net/telnet.el (telnet, rsh):
12927         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12929 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12931         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12933 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12935         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12936         so don't mention it (bug#9301).
12937         (dired-sort-toggle-or-edit): Clarify string further.
12939         * faces.el (face-spec-set-match-display): Make `(type graphic)'
12940         match `x', `w32' and `ns', like the manual says (bug#9029).
12942         * subr.el (eval-after-load): Doc string clarification (bug#9125).
12943         (process-kill-buffer-query-function): Mention the buffer name in
12944         the query.
12946         * image-mode.el (image-next-line): The line parameter is mandatory
12947         (bug#9258).
12949         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12950         which can be useful (bug#9301).
12952         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12954         * subr.el (match-string): Mention that the current buffer should
12955         be the same as the search was done in (bug#9282).
12957         * facemenu.el: Disable the remove-* commands if the mark isn't
12958         active (bug#9162).
12960 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12962         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12963         of display-buffer.
12964         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12966         * replace.el (occur-mode-goto-occurrence)
12967         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12968         and display-buffer.
12970         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12971         display-buffer.
12973         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12974         special-display and same-window variables.
12975         (mail-other-window): Use switch-to-buffer-other-window.
12976         (mail-other-frame): USe switch-to-buffer-other-frame.
12978         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12979         Use display-buffer-other-frame.
12980         (gdb-display-gdb-buffer): Use pop-to-buffer.
12982         * progmodes/gud.el (gud-goto-info): Use info-other-window.
12984         * progmodes/python.el: Don't set same-window-buffer-names.
12986         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12988         * window.el (display-buffer-alist): Add *Python*.
12990 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12992         * window.el (display-buffer-alist): Add entry for buffers
12993         previously handled same-window-*.
12994         (display-buffer-alist, display-buffer-default-action)
12995         (display-buffer-overriding-action): Mark as risky.
12996         (display-buffer-alist): Document action function changes.
12997         (display-buffer--same-window-action)
12998         (display-buffer--other-frame-action): New variables.
12999         (switch-to-buffer, display-buffer-other-frame): Use them.
13000         (display-buffer): Rename reuse-frame entry to reusable-frames.
13001         (display-buffer-reuse-selected-window): Function deleted.
13002         (display-buffer-reuse-window): Handle reusable-frames alist entry.
13003         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13004         (display-buffer-special): New function.
13005         (display-buffer--maybe-pop-up-frame-or-window): Rename from
13006         display-buffer-reuse-or-pop-window.  Split off special-display
13007         part into display-buffer-special.
13008         (display-buffer-use-some-window): Don't perform any special
13009         pop-up-frames handling.
13010         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13011         (display-buffer--maybe-same-window): Rename from
13012         display-buffer-maybe-same-window.
13014         * info.el: Don't set same-window-regexps.
13015         (info-setup): New function.
13016         (info-other-window, info): Call it.
13018         * cus-edit.el: Don't set same-window-regexps.
13019         (customize-group): New argument.
13020         (customize-group-other-window): Use it.
13021         (customize-face, customize-face-other-window): Likewise.
13022         (custom-buffer-create-other-window): Use pop-to-buffer directly.
13024         * net/rlogin.el:
13025         * net/telnet.el:
13026         * progmodes/gud.el: Don't set same-window-regexps.
13028         * cmuscheme.el:
13029         * ielm.el:
13030         * shell.el:
13031         * mail/sendmail.el:
13032         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13034 2011-09-10  Juri Linkov  <juri@jurta.org>
13036         * isearch.el (isearch-edit-string): Remove obsolete mention of
13037         `C-w' (`isearch-yank-word-or-char') from docstring.
13038         (isearch-query-replace): Fix typo in docstring (bug#9466).
13040 2011-09-10  Juri Linkov  <juri@jurta.org>
13042         * paren.el (show-paren-function): Don't show escaped parens.
13043         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
13045 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
13047         * mail/sendmail.el (mml-to-mime, mml-attach-file)
13048         (mm-default-file-encoding): Remove autoload forms, they are
13049         replaced with autoload cookies in mml.el and mm-encode.el.
13050         (mail-add-attachment): New command.
13051         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13052         (mail-mode): Mention mail-insert-file and mail-add-attachment in
13053         the doc string.
13054         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13056 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
13058         * simple.el (count-words-region): Use buffer if there's no region
13059         (bug#9429).
13061 2011-09-09  Juri Linkov  <juri@jurta.org>
13063         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13064         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13065         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
13067 2011-09-09  Alan Mackenzie  <acm@muc.de>
13069         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13070         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
13072 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
13074         Fix for Savannah bug#9392.
13075         * simple.el (mail-encode-mml): New defvar.
13077         * mail/rmail.el (mail-encode-mml): Add a defvar.
13078         (rmail-enable-mime-composing): Default to t.
13079         (rmail-forward): Use MIME method of forwarding only if both
13080         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13081         Set mail-encode-mml non-nil if the MIME method was used.
13083         * mail/sendmail.el (mml-to-mime): Add autoload form.
13084         (mail-encode-mml): Add a defvar.
13085         (mail-mode): Make mail-encode-mml buffer-local and initialize it
13086         to nil.
13087         (mail-send): If mail-encode-mml is non-nil, run the outgoing
13088         message through mml-to-mime, and reset mail-encode-mml to nil.
13090 2011-09-09  Glenn Morris  <rgm@gnu.org>
13092         * woman.el (woman-if-body): When processing an .el block,
13093         do not delete the next .el block as well.  (Bug#9447)
13094         (woman-special-characters): Add oq, cq, and hy characters.
13096 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13098         * window.el (window-deletable-p): Make sure window is live before
13099         invoking window-prev-buffers.
13101 2011-09-08  Leo Liu  <sdl.web@gmail.com>
13103         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
13105 2011-09-08  Juri Linkov  <juri@jurta.org>
13107         * progmodes/compile.el (compilation-environment): Make it
13108         a defcustom (bug#8340).
13110 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13112         * window.el (frame-auto-delete): Rename to window-auto-delete.
13113         Make it control auto-deletion of windows and/or frames.
13114         (window-deletable-p): New argument FORCE.  Rewrite conditions
13115         for deleting window/frame.  (Bug#9419)
13116         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13117         Rewrite handling of case when window/frame can be deleted.
13118         (delete-windows-on): Call window-deletable-p with new FORCE
13119         argument t.  (Bug#9456)
13121 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
13123         * help-mode.el (help-mode): Restore autoload.
13125 2011-09-07  Juri Linkov  <juri@jurta.org>
13127         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13128         `compilation-environment'.  Set buffer-local
13129         `compilation-environment' to `thisenv' later after (funcall mode).
13130         (Bug#8340)
13132         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
13133         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13134         instead of replacing its value.  (Bug#8340)
13136 2011-09-07  Juri Linkov  <juri@jurta.org>
13138         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13139         based on text properties put by `grep-filter' instead of matching
13140         escape sequences.
13141         (grep-mode): Set buffer-local `compilation-error-screen-columns'
13142         to the value of `grep-error-screen-columns' (bug#9438).
13144 2011-09-07  Juri Linkov  <juri@jurta.org>
13146         * simple.el (next-error-highlight, next-error-highlight-no-select):
13147         Doc fix (bug#9432).
13149 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
13151         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13152         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
13154 2011-09-07  Leo Liu  <sdl.web@gmail.com>
13156         * net/rcirc.el (rcirc-mode): Conditionally initialize
13157         rcirc-input-ring.
13159 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13161         * emacs-lisp/find-func.el (find-function-C-source): Only set
13162         find-function-C-source-directory after checking that we found a source
13163         file there (bug#9440).
13165 2011-09-06  Alan Mackenzie  <acm@muc.de>
13167         * isearch.el (isearch-other-meta-char): Wherever a key list is
13168         unread, "unread" the prefix arg, too.  This fixes bug #8901.
13170 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
13172         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13174 2011-09-05  Juri Linkov  <juri@jurta.org>
13176         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13178 2011-09-05  Juri Linkov  <juri@jurta.org>
13180         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13181         keeping point where processing of grep matches begins, and
13182         continue to delete remaining escape sequences from the same point.
13183         (grep-filter): Make leading zero optional in "0?1;31m" because
13184         git-grep emits "\033[1;31m" escape sequences unlike expected
13185         "\033[01;31m" as GNU Grep does (bug#9408).
13186         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13188 2011-09-05  Juri Linkov  <juri@jurta.org>
13190         * subr.el (y-or-n-p): Capitalize "yes".
13192 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
13194         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
13195         `tramp-cache-unload-hook' where appropriate.
13196         (tramp-methods): Rename `tramp-remote-sh' to
13197         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
13198         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13200         * net/tramp-sh.el (top): Don't require 'shell.
13201         (tramp-methods): Add `tramp-remote-shell' and
13202         `tramp-remote-shell-args' entries.
13203         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13204         (tramp-sh-handle-shell-command): Remove.
13205         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13206         Use `tramp-remote-shell'.
13208 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
13210         * mail/sendmail.el (sendmail-query-once-function): Delete.
13211         (sendmail-query-once): Save directly to send-mail-function.
13212         Update message-send-mail-function too.
13214         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13216 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13218         * progmodes/python.el (python-mode-map): Use correct function to
13219         start python interpreter from menu-bar (as reported by Geert
13220         Kloosterman).
13221         (inferior-python-mode-map): Fix typo.
13222         (python-shell-map): Remove.
13224 2011-09-03  Deniz Dogan  <deniz@dogan.se>
13226         * net/rcirc.el (rcirc-print): Simplify code for
13227         rcirc-scroll-show-maximum-output.  There is no need to walk
13228         through all windows to find the right one.
13230 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13232         * help.el (help-return-method): Doc fix.
13234 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
13236         * window.el (window-deletable-p): Don't return a non-nil value
13237         when there's a buffer that was shown in the window before.
13238         (Bug#9419)
13239         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13240         Set window's previous buffers to nil.
13242 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
13244         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13245         newline before and after the tag line, so it doesn't interfere
13246         with determining the paragraph direction of bidirectional text.
13248 2011-09-03  Leo Liu  <sdl.web@gmail.com>
13250         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
13252 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13254         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13255         (pop-to-buffer): Change interactive spec.  Pass second argument
13256         directly to display-buffer.
13257         (display-buffer): Fix interactive spec.  Use functionp to
13258         distinguish between a function and a list of functions.
13260         * abbrev.el (edit-abbrevs):
13261         * arc-mode.el (archive-extract):
13262         * autoinsert.el (auto-insert):
13263         * bookmark.el (bookmark-bmenu-list):
13264         * files.el (find-file):
13265         * view.el (view-buffer):
13266         * progmodes/compile.el (compilation-goto-locus):
13267         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13269 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13271         * window.el (display-buffer-alist): Doc fix.
13272         (display-buffer): Add docstring.  Don't treat
13273         display-buffer-default specially.
13274         (display-buffer-reuse-selected-window)
13275         (display-buffer-same-window, display-buffer-maybe-same-window)
13276         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13277         (display-buffer-pop-up-window)
13278         (display-buffer-reuse-or-pop-window)
13279         (display-buffer-use-some-window): New functions.
13280         (display-buffer-default-action): Use them.
13281         (display-buffer-default): Delete.
13282         (pop-to-buffer-1): Fix choice of actions.
13284 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13286         * minibuffer.el (completion--insert-strings): Don't get confused by
13287         completion entries that end with an LF char.
13289 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
13291         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13293 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
13295         * window.el (display-buffer): Restore interactive spec.
13296         (display-buffer-same-window, display-buffer-other-window):
13297         New functions.
13298         (pop-to-buffer-1): New function.  Use the above.
13299         (pop-to-buffer, pop-to-buffer-same-window): Use it.
13300         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13302         * view.el (view-buffer-other-window, view-buffer-other-frame):
13303         Just use pop-to-buffer.
13305 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13307         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
13309 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
13311         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
13313 2011-08-31  Richard Stallman  <rms@gnu.org>
13315         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13316         of the separation of rmail-view-buffer from rmail-buffer.
13317         If you say no to "replace original", the decrypt is in the
13318         view buffer.  If you say yes, the decrypt goes into the
13319         rmail buffer also.
13321 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
13323         * window.el (display-buffer-window): Rewrite doc-string.
13324         (display-buffer-record-window): New function.
13325         (display-buffer-macro-specifiers)
13326         (display-buffer-even-window-sizes, display-buffer-set-height)
13327         (display-buffer-set-width, display-buffer-in-window)
13328         (display-buffer-reuse-window, display-buffer-split-specifiers)
13329         (display-buffer-side-specifiers, display-buffer-split-window-1)
13330         (display-buffer-split-window, display-buffer-split-atom-window)
13331         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13332         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13333         (display-buffer-other-window-means-other-frame)
13334         (display-buffer-normalize-special)
13335         (display-buffer-normalize-default)
13336         (display-buffer-normalize-argument)
13337         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13338         (display-buffer-normalize-specifiers, display-buffer-frame)
13339         (display-buffer-same-window, display-buffer-same-frame)
13340         (display-buffer-other-window)
13341         (display-buffer-same-frame-other-window)
13342         (display-buffer-other-frame, pop-to-buffer-same-window)
13343         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13344         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13345         (switch-to-buffer-same-frame)
13346         (switch-to-buffer-other-window-same-frame)
13347         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13348         (display-buffer-alist-set-1, display-buffer-alist-set-2)
13349         (display-buffer-alist-set): Remove.
13350         (display-buffer-function, special-display-buffer-names)
13351         (special-display-regexps, special-display-function):
13352         In doc-string refer to display-buffer-window and quit-restore
13353         parameter.
13354         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13355         (special-display-frame-alist, special-display-popup-frame)
13356         (same-window-buffer-names, same-window-regexps, same-window-p)
13357         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13358         (split-window-preferred-function, split-height-threshold)
13359         (split-width-threshold, window-splittable-p)
13360         (split-window-sensibly, window--try-to-split-window)
13361         (window--frame-usable-p, even-window-heights)
13362         (window--even-window-heights, window--display-buffer-1)
13363         (window--display-buffer-2, display-buffer-other-frame):
13364         Restore old Emacs 23 code, order and doc-strings where applicable.
13365         (display-buffer-default, display-buffer-assq-regexp): New functions.
13366         (display-buffer-alist): Rewrite doc-string.
13367         (display-buffer-default-action)
13368         (display-buffer-overriding-action): New variables.
13369         (display-buffer, switch-to-buffer): Rewrite.
13370         (pop-to-buffer): Restore Emacs 23 behavior but use
13371         window-normalize-buffer-to-display.
13372         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13373         Restore Emacs 23 behavior but use
13374         window-normalize-buffer-to-switch-to.
13375         (pop-to-buffer-same-window): Rewrite.
13376         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13377         Rewrite using Emacs 23 options.
13379 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
13381         * net/tramp.el (tramp-root-regexp): Remove.
13382         (tramp-completion-file-name-regexp-unified)
13383         (tramp-completion-file-name-regexp-separate)
13384         (tramp-completion-file-name-regexp-url): Don't use leading volume
13385         letter on w32 systems.  (Bug#5303, Bug#9311)
13386         (tramp-drop-volume-letter): Simplify definition.
13387         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13389 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13391         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13392         (bug#9356).
13394 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
13396         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13398 2011-08-29  Juri Linkov  <juri@jurta.org>
13400         * isearch.el (isearch-done): Don't display message "Mark saved"
13401         when arg `edit' is non-nil to prevent its flicker in the echo area.
13403 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13405         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13406         obsolete packages for deletion.
13408 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
13410         * help-mode.el (help-mode-map): Add special-mode-map to parent.
13411         (help-mode): Derive help-mode from special-mode.  Don't invoke
13412         view-mode from help-mode.
13413         (help-xref-override-view-map): Remove.
13414         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13415         view-mode is not used anymore.
13417 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13419         * server.el (server-port): Doc fix.
13421         * cus-theme.el (custom-theme-choose-mode): Inherit from
13422         special-mode (Bug#9124).
13423         (custom-theme-choose-mode-map): Add special-mode to parent.
13425 2011-08-28  Alan Mackenzie  <acm@muc.de>
13427         * progmodes/cc-fonts.el
13428         (c-make-font-lock-BO-decl-search-function): New function.
13429         (c-basic-matchers-after - "Fontify the clauses after various
13430         keywords"): Extract the three keyword lists for the 3 erroneous
13431         constructs from the list of four, and use the new function above
13432         in place of an old one.
13434 2011-08-28  Deniz Dogan  <deniz@dogan.se>
13436         * net/rcirc.el (rcirc-insert-prev-input)
13437         (rcirc-insert-next-input): Remove unused argument.
13439 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13443 2011-08-27  Alan Mackenzie  <acm@muc.de>
13445         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13446         handle function pointer parameters properly.
13448 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
13450         * window.el (display-buffer-reuse-window): Fix case where
13451         selected window was reused with non-nil OTHER-WINDOW argument.
13452         (Bug#9381)
13454 2011-08-27  Deniz Dogan  <deniz@dogan.se>
13456         * net/rcirc.el (rcirc-check-auth-status): Adding support for
13457         oftc's NickServ messages.
13459 2011-08-27  Glenn Morris  <rgm@gnu.org>
13461         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
13463 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
13465         * emacs-lisp/package.el (package-install): Call package-initialize
13466         if called interactively.
13468 2011-08-26  Leo Liu  <sdl.web@gmail.com>
13470         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
13472 2011-08-25  Juri Linkov  <juri@jurta.org>
13474         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13475         `search-whitespace-regexp' (bug#9364).
13477 2011-08-25  Juri Linkov  <juri@jurta.org>
13479         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
13480         `regexp-search-ring' to their global values to protect from
13481         updating by `read-from-minibuffer' (bug#9185).
13483 2011-08-25  Juri Linkov  <juri@jurta.org>
13485         * textmodes/ispell.el (ispell-command-loop): Add newline
13486         at the end of the "Use option `i'..." line.
13488 2011-08-25  Juri Linkov  <juri@jurta.org>
13490         * battery.el (display-battery-mode): If `battery-status-function'
13491         or `battery-mode-line-format' is nil, display the message and set
13492         `display-battery-mode' to nil (bug#9363).
13494 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
13496         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
13497         bidi-string-mark-left-to-right; they are unnecessary now.
13499 2011-08-25  Deniz Dogan  <deniz@dogan.se>
13501         * net/quickurl.el: Documentation typo fixes.
13503 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
13505         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
13507 2011-08-25  Glenn Morris  <rgm@gnu.org>
13509         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
13511         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
13512         (smtpmail-via-smtp): Handle nil response from smtp.
13514 2011-08-24  Juri Linkov  <juri@jurta.org>
13516         * proced.el (proced-marked): Inherit from `error' instead of
13517         `font-lock-warning-face'.
13519         * ibuffer.el (ibuffer-marked-face): Change default face from
13520         `font-lock-warning-face' to `warning'.
13521         (ibuffer-deletion-face): Change default face from
13522         `font-lock-type-face' to `error'.
13524         * battery.el (battery-update): Use the face `error' instead of
13525         `font-lock-warning-face' (bug#6117).
13527 2011-08-24  Juri Linkov  <juri@jurta.org>
13529         * faces.el (success): Change face color from "Green3" to
13530         "ForestGreen" on light background (bug#9353).
13532 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
13534         * window.el (quit-window): Rename from quit-restore-window.
13535         Use same arglist as old quit-window.
13536         (frame-auto-delete): Doc fix.
13538         * view.el (view-mode-exit): Use quit-window.
13540 2011-08-24  Juri Linkov  <juri@jurta.org>
13542         * isearch.el (isearch-ring-adjust1): Start visiting previous
13543         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
13544         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
13545         for empty search string (when the last search string is reused
13546         automatically) to adjust the isearch ring to the last element and
13547         prepare the correct index for further M-p commands (bug#9185).
13549 2011-08-24  Kenichi Handa  <handa@m17n.org>
13551         * international/ucs-normalize.el: If decomposition property of
13552         CHAR is the default one (i.e. a list of CHAR itself), treat it as
13553         nil.
13554         (nfd, nfkd): Likewise.
13556 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13558         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
13559         from process filters aren't reliably transmitted to the surrounding
13560         accept-process-output.
13561         (mpc-proc-check): New function.
13562         (mpc-proc-sync): Use it (bug#8293)
13564 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13566         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
13567         Add compatibility functions (bug#9313).
13569 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
13571         * cus-start.el (all): Add entry for bidi-paragraph-direction.
13573         * international/uni-bidi.el: Regenerate.
13575 2011-08-23  Kenichi Handa  <handa@m17n.org>
13577         * international/charprop.el:
13578         * international/uni-bidi.el:
13579         * international/uni-category.el:
13580         * international/uni-combining.el:
13581         * international/uni-comment.el:
13582         * international/uni-decimal.el:
13583         * international/uni-decomposition.el:
13584         * international/uni-digit.el:
13585         * international/uni-lowercase.el:
13586         * international/uni-mirrored.el:
13587         * international/uni-name.el:
13588         * international/uni-numeric.el:
13589         * international/uni-old-name.el:
13590         * international/uni-titlecase.el:
13591         * international/uni-uppercase.el: Regenerate.
13593 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
13595         * help.el (help-window-setup): Fix message displayed when other
13596         window is reused.  (Bug#9341)
13598 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13600         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
13601         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
13603         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
13604         Mark obsolete.
13605         * shell.el (shell-parse-pcomplete-arguments): New function.
13606         (shell-completion-vars): Use it instead (bug#9160).
13608 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13610         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
13611         strings and comments (bug#9333).
13613         * emacs-lisp/debug.el (debug-arglist): New function.
13614         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
13615         (debug-on-entry-1): Handle interpreted closures (bug#9120).
13617 2011-08-22  Juri Linkov  <juri@jurta.org>
13619         * progmodes/compile.el (compilation-mode-font-lock-keywords):
13620         Revert regexp that highlights output switches to its old
13621         pre-2010-10-28 value and remove one `?' from it (bug#9319).
13623         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
13624         to check for empty output (bug#9226).
13626 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
13628         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
13629         symbol-constituent as the default, as that stops font-lock from
13630         working properly (Bug#8843).
13632 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13634         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
13635         `coding-system-for-*' around the process open call to avoid
13636         auth-source side effects.
13637         (smtpmail-try-auth-methods): Expand the secret password.
13638         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
13639         probe hangs.
13641 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13643         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
13645         * emacs-lisp/find-func.el (find-function-noselect): New arg
13646         lisp-only.
13648         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
13649         signal an error for built-in functions (Bug#6664).
13651 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13653         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
13654         (smtpmail-try-auth-methods): Use it.
13656 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
13658         * font-lock.el (font-lock-fontify-region)
13659         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
13660         (font-lock-default-unfontify-buffer)
13661         (font-lock-default-fontify-region)
13662         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
13664         * progmodes/compile.el (compilation-error-properties):
13665         Fix confusion between file struct and message struct (Bug#9319).
13666         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
13667         `ant' regexp.
13669         * net/browse-url.el (browse-url-firefox): Don't call
13670         browse-url-firefox-sentinel unless using -remote (Bug#9328).
13672 2011-08-20  Glenn Morris  <rgm@gnu.org>
13674         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
13676         * tutorial.el (tutorial--default-keys): Update some default bindings.
13678         * files.el (hack-local-variables): Fully ignore case for "mode:".
13680 2011-08-20  Alan Mackenzie  <acm@muc.de>
13682         Resolve invalid use of a regexp in regexp-opt.
13684         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
13685         detection for a java annotation.
13687         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
13688         detection for a java annotation.
13690         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
13691         handling for java.
13692         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
13694 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
13696         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
13697         (Bug#9274).
13699 2011-08-20  Alan Mackenzie  <acm@muc.de>
13701         Fontify CPP expressions correctly when starting in the middle of
13702         such a construct.  Mainly for when jit-lock etc. starts a chunk
13703         here.
13705         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
13706         variable.
13707         (c-make-font-lock-search-form): New function, extracted from
13708         c-make-font-lock-search-function.
13709         (c-make-font-lock-search-function): Use the above function.
13710         (c-make-font-lock-context-search-function): New function.
13711         (c-cpp-matchers): Enhance the preprocessor expression case with
13712         the above function
13713         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
13714         which takes an expression.
13716         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
13718 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
13720         * window.el (display-buffer-reuse-window)
13721         (display-buffer-pop-up-window): Don't reuse or split a side
13722         window.
13724 2011-08-19  Glenn Morris  <rgm@gnu.org>
13726         * files.el (hack-local-variables-prop-line, hack-local-variables):
13727         Downcase "Mode:".  (Bug#9331)
13729 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
13731         * international/characters.el: Add L and R categories.
13733         * subr.el (bidi-string-mark-left-to-right): Rename from
13734         string-mark-left-to-right.  Use category search.
13736         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
13738 2011-08-18  Juri Linkov  <juri@jurta.org>
13740         * faces.el (error, warning, success): New faces with definitions
13741         copied from old default values of `font-lock-warning-face',
13742         `compilation-warning', `compilation-info' (bug#6117).
13744         * font-lock.el (font-lock-warning-face): Inherit from `error'.
13746         * progmodes/compile.el (compilation-error): Inherit from `error'.
13747         (compilation-warning): Inherit from `warning'.
13748         (compilation-info): Inherit from `success'.
13750         * dired.el (dired-marked): Inherit from `warning'.
13751         (dired-flagged): Inherit from `error'.
13753 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13755         * mail/smtpmail.el (auth-source): Require to avoid problems with
13756         binding variables (bug#9298).  Also clean up some unused
13757         autoloads.
13759         * net/network-stream.el (network-stream-open-starttls):
13760         Support using starttls.el without using gnutls-cli.
13762 2011-08-17  Juri Linkov  <juri@jurta.org>
13764         * progmodes/grep.el (rgrep): Handle the case when
13765         `grep-find-command' is a cons cell (bug#9278).
13767 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
13769         * window.el (display-buffer-pop-up-frame): Run frame creation
13770         function with BUFFER current (as special-display-popup-frame
13771         does).  Reported by Drew Adams.
13773 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
13775         * epa-mail.el: Simplify GnuPG group expansion using
13776         epg-expand-group.
13777         (epa-mail-group-alist, epa-mail-group-modtime)
13778         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13779         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13780         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13781         Remove.
13783 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
13785         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13787 2011-08-16  Alan Mackenzie  <acm@muc.de>
13789         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13790         Correct, to avoid the inside of macros.
13792 2011-08-16  Richard Stallman  <rms@gnu.org>
13794         * epa-mail.el: Handle GnuPG group definitions.
13795         (epa-mail-group-alist, epa-mail-group-modtime)
13796         (epa-mail-gnupg-conf-file): New variables.
13797         (epa-mail-parse-groups, epa-mail-sync-groups)
13798         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13799         (epa-mail-expand-recipients): New functions.
13800         (epa-mail-encrypt): Call epa-mail-expand-recipients.
13802         * mail/rmail.el (rmail-epa-decrypt): New command.
13804         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13805         Don't bind buffer-read-only, just inhibit-read-only.
13806         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13807         (epa-decrypt-armor-in-region): Make error message clearer.
13809 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13811         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13812         and "a2b" to "ab" for `prefix'.
13814 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
13816         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13817         filter groups.
13818         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
13819         Fourquet (Bug#8804).
13821 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
13823         * startup.el (argi): Declare as global variable (bug#9275).
13825 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
13827         * subr.el (string-mark-left-to-right): Search the entire string
13828         for RTL script, not just the terminating character.  Doc fix.
13830 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13832         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13833         New function.
13834         (js--regexp-literal, js-syntax-propertize-function): Remove.
13835         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13836         (js-mode-map): Don't rebind electric keys.
13837         (js-insert-and-indent): Remove.
13838         (js-mode): Setup electric-layout and electric-indent instead.
13840         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13842 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
13844         * epa.el (epa-progress-callback-function): Fix the logic of
13845         displaying progress.
13846         * epa-file.el (epa-file-insert-file-contents): Make progress
13847         display more user-friendly.
13848         (epa-file-write-region): Ditto.
13850 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
13852         * subr.el (string-mark-left-to-right): New function.
13854         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13855         Use string-mark-left-to-right.
13856         (list-buffers-noselect): Caller changed.
13858         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13859         Use string-mark-left-to-right.
13860         (tabulated-list-print): Recenter after moving point.
13862 2011-08-10  Juri Linkov  <juri@jurta.org>
13864         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13865         This finishes incomplete reversion of revno:104787 (2011-06-30)
13866         intended by revno:104988 (2011-07-06).
13868 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
13870         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13871         (Bug#7554).
13873 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13875         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13876         character.  (Bug#6594)
13878 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
13880         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13881         (image-dired--with-db-file): New macro.
13882         (image-dired-write-tags, image-dired-remove-tag)
13883         (image-dired-create-gallery-lists, image-dired-write-comments)
13884         (image-dired-get-comment, image-dired-mark-tagged-files)
13885         (image-dired-list-tags, image-dired-gallery-generate): Use it.
13886         (image-dired-gallery-generate): Use insert-file-contents.
13888         * time.el (display-time-world-list, display-time-world-display):
13889         * time-stamp.el (time-stamp-string):
13890         * vc/add-log.el (add-change-log-entry): Use setenv instead of
13891         set-time-zone-rule (Bug#7337).
13893 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
13895         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13896         (epg-error-to-string, epg-errors-to-string): New function.
13897         (epg-wait-for-completion): Reverse errors list.
13898         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13899         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13900         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13901         (epg-sign-keys, epg-generate-key-from-file)
13902         (epg-generate-key-from-string): Format errors by using
13903         epg-errors-to-string (bug#9255).
13904         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13906 2011-08-07  Juri Linkov  <juri@jurta.org>
13908         * faces.el (list-faces-display): Remove extra angle bracket
13909         from `help-mode-map'.
13911         * info.el (Info-history-toc-nodes): Doc fix.
13913         * longlines.el (longlines-mode): Doc fix.
13915 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13917         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13918         of statements and in a few more cases (bug#9183).
13920         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13921         New functions.
13922         (cl-transform-lambda): Use them (bug#9239).
13924 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
13926         * window.el (display-buffer-same-window)
13927         (display-buffer-same-frame, display-buffer-other-window)
13928         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13929         (pop-to-buffer-other-window)
13930         (pop-to-buffer-same-frame-other-window)
13931         (pop-to-buffer-other-frame): Make them defuns.
13932         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13934 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13936         * subr.el (make-composed-keymap): Move from C.  Change calling
13937         convention, and improve docstring to bring attention to a subtle point.
13938         * minibuffer.el (completing-read-default): Adjust accordingly.
13940 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
13942         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13943         (tramp-open-shell): Use `tramp-shell-quote-argument'.
13945         * net/trampver.el: Update release number.
13947 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13949         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13950         "in" (bug#9190).
13952 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13954         * mail/sendmail.el (sendmail-query-once): Restore the current
13955         buffer after querying (bug#9074).
13957         * dired.el (dired-flagged): Use different faces for marked and
13958         flagged files (bug#6117).
13960         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13961         (bug#4433).
13963         * ido.el (ido-mode): Switch off the message if called
13964         non-interactively.
13966         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13967         before 587, since it appears that that's more likely to work for
13968         more people.
13970         * cus-edit.el (custom-file): When running under emacs -q, always
13971         refuse to save the customizations, even if the .emacs file doesn't
13972         exist.
13974         * info.el: Remove the `Info-beginning-of-buffer' function
13975         (bug#8325).
13977         * net/network-stream.el (network-stream-open-starttls):
13978         Use `starttls-available-p' to see whether starttls.el can be used.
13980 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
13982         * window.el (display-buffer-in-window): Don't set dedicated status
13983         of window here (Bug#9215).
13984         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13985         (display-buffer-pop-up-side-window)
13986         (display-buffer-in-side-window): Set dedicated status of window here.
13988 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13990         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13991         before binding generated-autoload-file.
13993 2011-08-01  Deniz Dogan  <deniz@dogan.se>
13995         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13997 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
13999         Sync with Tramp 2.2.2.
14001         * net/trampver.el: Update release number.
14003 2011-07-30  Juri Linkov  <juri@jurta.org>
14005         * dired-aux.el (dired-touch-initial): Remove function.
14006         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14007         current time, and `default' to the last modification time of the
14008         current marked file (bug#6887).
14010 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
14012         * simple.el (goto-line): Use string-to-number to provide a
14013         numeric argument to read-number (bug#9163).
14015 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
14017         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14018         connection process, it could be nil.
14020 2011-07-27  Leo Liu  <sdl.web@gmail.com>
14022         Simplify url handling in rcirc-mode.
14024         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14025         (rcirc-browse-url-at-mouse): Remove.
14026         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14028 2011-07-26  Alan Mackenzie  <acm@muc.de>
14030         Fontify bitfield declarations properly.
14032         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14033         (c-symbol-chars): Now exported as a lang variable.
14034         (c-not-primitive-type-keywords): New lang variable.
14036         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14037         QT keyword "more" to prevent "more slots: ...." being spuriously
14038         parsed as a bitfield declaration.
14040         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14041         Refactor and enhance to handle bitfield declarations.
14042         (c-punctuation-in): New function.
14043         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14044         declarations properly.
14046 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
14048         * calendar/icalendar.el (icalendar--all-events): Take care of
14049         multiple vcalendars in a single file.
14050         (icalendar--convert-float-to-ical): Checkdoc fixes.
14052 2011-07-25  Deniz Dogan  <deniz@dogan.se>
14054         * image.el (insert-image): Clarifying docstring.
14056 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
14058         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14059         `tramp-send-command-and-check' if there is no error.
14060         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14062 2011-07-22  Alan Mackenzie  <acm@muc.de>
14064         Prevent cc-langs.elc being loaded at run time.
14066         * progmodes/cc-mode.el: Remove two autoload forms which loaded
14067         cc-langs.
14069         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14070         "(require 'cc-langs)".  Quote a form so it will evaluate at
14071         (cc-mode's) compilation time.
14073 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
14075         * net/tramp.el (tramp-file-name-handler): Avoid recursive
14076         loading.  (Bug#9114)
14078 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
14080         * window.el (display-buffer-pop-up-window)
14081         (display-buffer-pop-up-side-window)
14082         (display-buffer-in-side-window): Call display-buffer-set-height
14083         and display-buffer-set-width after setting the new window's
14084         buffer so `fit-window-to-buffer' and friends work on the right buffer.
14086 2011-07-20  Sam Steingold  <sds@gnu.org>
14088         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14089         (etags-tags-included-tables): Call `convert-standard-filename' on
14090         the file names contained in TAGS so that windows Emacs can handle
14091         TAGS files created by cygwin ctags.
14093 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14095         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14096         which apparently didn't work.
14098 2011-07-19  Roland Winkler  <winkler@gnu.org>
14100         * proced.el (proced-send-signal): For *Marked Processes* buffer
14101         put point at beginning of buffer.
14103 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
14105         * proced.el (proced-format): Make header lines align with the text
14106         (bug#1779).
14108 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14110         * view.el (view-buffer): Allow running in `special' modes if we're
14111         visiting a file (bug#8615).
14113 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
14115         * window.el (display-buffer-alist-of-strings-p)
14116         (display-buffer-alist-set-1, display-buffer-alist-set-2):
14117         New functions.
14118         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14119         more accurately.
14121 2011-07-18  Alan Mackenzie  <acm@muc.de>
14123         Fontify declarators properly when, e.g., a jit-lock chunk begins
14124         inside a declaration.
14126         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14128         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14129         New function.
14130         (c-complex-decl-matchers): Insert reference to
14131         c-font-lock-enclosing-decls.
14133         * progmodes/cc-engine.el (c-backward-single-comment):
14134         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14135         to nil around calls to (forward-comment -1).
14137 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14139         * image.el (put-image): Doc typo fix.
14141         * progmodes/etags.el (tags-search): Doc typo fix.
14143         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14144         password if we get errors 550 to 554.
14146 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14148         * net/gnutls.el (gnutls-log-level): Remove.
14150         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14151         indentation character (bug#6380).
14153         * files.el (buffer-offer-save): Made permanently local (bug#6241).
14155         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14156         to clarify what the problem is (bug#4291).
14158         * simple.el (current-kill): Clarify what
14159         `interprogram-paste-function' does (bug#7500).
14160         (auto-fill-mode): Document `auto-fill-function' in relation to
14161         `auto-fill-mode' (bug#2470).
14163 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
14165         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14166         method if slot is read-only (bug#9035).
14168 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
14170         * frame.el (select-frame-set-input-focus): New argument NORECORD.
14171         * window.el (pop-to-buffer): Select window used even if it was
14172         selected before, see discussion of (Bug#8615), (Bug#6954).
14173         Pass argument NORECORD on to select-frame-set-input-focus.
14175 2011-07-15  Glenn Morris  <rgm@gnu.org>
14177         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
14178         Respect help-form.
14180 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
14182         * net/gnutls.el (gnutls-min-prime-bits): New variable.
14183         (gnutls-negotiate): Use it.
14185 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14187         * net/gnutls.el (gnutls-negotiate):
14188         Upcase `gnutls-algorithm-priority'.
14190 2011-07-15  Glenn Morris  <rgm@gnu.org>
14192         * jka-compr.el (jka-compr-verbose): Move from here...
14193         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
14194         Add missing :version tag.
14195         * info.el: No need to require jka-compr when compiling.
14197 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14199         * net/gnutls.el (gnutls-algorithm-priority): New variable.
14200         (gnutls-negotiate): Use it.
14202         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14204         * info.el (Info-beginning-of-buffer): New command.
14205         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14206         announcing `b' as the key (bug#8325).
14207         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14209         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14211         * international/mule-cmds.el
14212         (describe-specified-language-support): Make the error message
14213         clearer (bug#8905).
14215         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14217         * isearch.el (isearch-barrier): Add a doc string, since it's
14218         mentioned in a function doc string (bug#8678).
14220 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
14222         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14223         buffer argument (Bug#9083) and self-identifying label argument.
14225 2011-07-15  Glenn Morris  <rgm@gnu.org>
14227         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
14229 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14231         * man.el (Man-fontify-manpage): Fix message when formatting the
14232         man page (bug#7929).
14234 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14236         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14237         argument LRM; if non-nil, append an invisible LRM character to the
14238         buffer name.
14239         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14240         last argument non-nil, when formatting buffer names.
14241         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14242         paragraph direction.
14244 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14246         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14247         the man page name (bug#7929).
14249         * image.el (put-image): Mention the `put-image' overlay property
14250         (bug#7834).
14252         * scroll-bar.el (set-scroll-bar-mode): Mention that
14253         `scroll-bar-mode' lists the values (bug#7772).
14255         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14256         command (bug#7729).
14258         * rect.el (apply-on-rectangle): Return the point after the last
14259         operation.
14260         (string-rectangle): Go to the point after the last operation
14261         (bug#7522).
14263         * printing.el (pr-toggle-region): Clarify the documentation
14264         slightly (bug#7493).
14266         * time.el (display-time-update):
14267         Allow `display-time-mail-function' to return nil (bug#7158).
14268         Fix suggested by Detlev Zundel.
14270         * vc/diff.el (diff): Clarify the order the file names are read
14271         (bug#7111).
14273         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14274         the doc string (bug#7015).
14276         * font-lock.el (font-lock-maximum-decoration): Mention what
14277         numeric levels mean (bug#6935).
14279         * startup.el (initial-buffer-choice): Don't mention the `none'
14280         selection, which is against policy.
14282 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
14284         * window.el (display-buffer-normalize-special):
14285         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14287 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14289         * subr.el (version<, version<=, version=): Mention "-CVS" and
14290         "-12345" alpha version numbers.
14292 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14294         * bindings.el: Add advertised binding for set-mark-command
14295         (Bug#5772).
14297 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14299         * bindings.el (mode-line-other-buffer):
14300         * bookmark.el (bookmark-bmenu-2-window):
14301         * bs.el (bs-cycle-next, bs-cycle-previous):
14302         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14303         switch-to-buffer.
14305         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14306         Delete.
14308 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
14310         * follow.el (follow-debug-message, follow-redisplay):
14311         * jka-cmpr-hook.el (with-auto-compression-mode):
14312         Fix typos in docstrings.
14314 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14316         * subr.el (with-silent-modifications): Clarify somewhat what the
14317         macro inhibits (bug#6525).
14319         * simple.el (eval-expression): Note what it does if called
14320         interactively (bug#6495).
14322 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14324         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14325         Use pop-to-buffer buffer-or-name if it is nil.
14327         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14328         Remove switch-to-buffer.
14330 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14332         * files.el (make-directory): Clarify that an error will be raised
14333         if there's an error (bug#6397).
14335         * startup.el (initial-buffer-choice): Add `none' as a choice
14336         (bug#6234).
14338         * subr.el (add-hook): Clarify section about buffer-local hooks
14339         (bug#6218).
14341         * dired.el (dired-flagged): Clarify doc string (bug#6117).
14343 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14345         * tabify.el (untabify): Preserve the current column so that point
14346         doesn't move (bug#6032).
14348 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14350         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14351         Rewrite to avoid awkward possessive "s" (bug#5986).
14353 2011-07-13  Glenn Morris  <rgm@gnu.org>
14355         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
14356         (dired-insert-directory): Give a message the first time
14357         if ls is found not to support --dired.
14359 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14361         * simple.el (toggle-truncate-lines): Clarify what is toggled
14362         (bug#5580).  Text by Drew Adams.
14364 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14366         * simple.el (blink-matching-open): Make the error message from the
14367         last change less verbose.
14369 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
14371         * font-lock.el (font-lock-comment-face): Use the high contrast
14372         "yellow" color for font-lock-comment-face on low color terminals
14373         using a dark background color (bug#4221).
14375 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14377         * dired.el (dired-insert-set-properties): Make the doc string
14378         reflect what it does now (bug#5325).
14380         * simple.el (blink-matching-open): Say that we were unable to find
14381         the match within the limit, if we're limited (bug#5122).
14383         * international/mule-cmds.el (prefer-coding-system): Add an
14384         example (bug#4869).
14386         * progmodes/etags.el (tags-search): Document `file-list-form'
14387         (bug#4731).
14389 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
14391         * net/browse-url.el (browse-url-default-browser)
14392         (browse-url-browser-function): Make the default browser choice a
14393         bit more logical (bug#4300).  Also clean up the doc string.
14395 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14397         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14398         binary endings (bug#4440).
14400 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14402         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14403         which can be pretty annoying (bug#8971).
14405         * jka-compr.el (jka-compr-verbose): New variable, and use
14406         throughout (bug#8971).
14408         * info.el (Info-find-file): Fall back on the installation
14409         directory if we can't find the info node anywhere else.
14411 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
14413         * vc/vc.el (vc-revert-file):
14414         Don't set file time-stamp in the past.  (Bug#5181)
14416 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14418         * files.el (after-find-file): Give a better error message when
14419         trying to find a symlink that points to a file that doesn't exist
14420         (bug#4398).
14422         * progmodes/cc-vars.el: Remove (probably) misleading comment
14423         (bug#4396).
14425 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14427         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14429 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14431         * mouse-sel.el: Hack restoring functionality, while keeping
14432         compatibility with 2010-07-03 changes to mouse selection.
14433         (mouse-sel-primary-overlay): New var.
14434         (mouse-sel-selection-alist): Use it.
14435         (mouse-sel-mode): Doc fix; remove points that are default features
14436         of mouse.el.
14438 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
14440         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14441         Fix previous fix (bug#2490).
14443 2011-07-12  Roland Winkler  <winkler@gnu.org>
14445         * textmodes/bibtex.el (bibtex-initialize):
14446         Use pop-to-buffer-same-window.
14447         (bibtex-search-entries): Fix interactive call.
14449 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14451         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14452         Fontise bytecomp Error lines more correctly (bug#2490).
14453         Fix suggested by Johan BockgÃ¥rd.
14455         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14457         * dired-x.el (dired-guess-default): Use `delete-dups'.
14459 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14461         * dired.el (dired-mark-prompt):
14462         * dired-aux.el (dired-read-shell-command): Doc fix.
14464 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14466         * mail/sendmail.el (sendmail-query-once):
14467         Use `customize-save-variable' unconditionally, now that it works under
14468         emacs -Q.
14470         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14472         * cus-edit.el (custom-file): Take an optional no-error variable.
14473         (customize-save-variable): Set the variable, and give a warning if
14474         running under "emacs -q".
14476 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
14478         * loadhist.el (unload-feature-special-hooks):
14479         Add `auto-coding-functions', `fill-nobreak-predicate' and
14480         `find-directory-functions' (bug#5327).
14482 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14484         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
14486         * cus-edit.el (custom-guess-name-alist): -alist variables should
14487         use the `alist' type (bug#3120).  Suggested by Drew Adams.
14489         * printing.el: Add documentation to all the `pr-toggle-' commands.
14491 2011-07-11  Leo Liu  <sdl.web@gmail.com>
14493         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
14494         backends where it makes sense (bug#2623).
14496 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14498         * dired-x.el (dired-guess-default): Remove duplicate shell command
14499         entries (bug#2028).
14500         (dired-guess-default): Fix grammar in doc string (bug#2028).
14501         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
14503         * subr.el (remove-duplicates): New conveniency function.
14505 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14507         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
14508         (bug#1526).
14510 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
14512         * window.el (display-buffer-normalize-default): Don't invert
14513         meaning of even-window-heights.  Reported by Eli Zaretskii
14514         <eliz@gnu.org>.
14516 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
14518         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
14520 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
14522         * window.el (display-buffer): Fix arguments to
14523         display-buffer-reuse-window in last change.
14525         * faces.el (link): Use a less saturated blue on light backgrounds.
14527         * startup.el (fancy-startup-text, fancy-about-text)
14528         (fancy-startup-tail): Use font-lock faces, for background safety.
14530 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
14532         * emulation/viper-cmd.el (viper-change-state-to-vi):
14533         Limit triggering of abbrev expansion (Bug#9038).
14535 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
14537         * window.el (display-buffer-default-specifiers): Remove.
14538         (display-buffer-macro-specifiers): Remove default specifiers.
14539         (display-buffer-alist): Default to nil.
14540         (display-buffer-reuse-window): New optional argument other-window.
14541         (display-buffer-pop-up-window): Allow splitting internal
14542         windows.  Check whether a live window was created.
14543         (display-buffer-other-window-means-other-frame)
14544         (display-buffer-normalize-arguments): Rename to
14545         display-buffer-normalize-argument and rewrite.  Set the
14546         other-window specifier.
14547         (display-buffer-normalize-special): New function.
14548         (display-buffer-normalize-options): Rename to
14549         display-buffer-normalize-default and rewrite.
14550         (display-buffer-normalize-options-inhibit): Remove.
14551         (display-buffer-normalize-specifiers): Rewrite.
14552         (display-buffer): Process other-window specifier and call
14553         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
14554         more faithfully.
14555         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
14556         (display-buffer-alist-set): Don't handle 'unset default values.
14557         (display-buffer-in-window, display-buffer-alist-set):
14558         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
14559         <tassilo@member.fsf.org>.
14561 2011-07-09  Leo Liu  <sdl.web@gmail.com>
14563         * register.el (insert-register): Restore accidental change on
14564         2011-06-26.  (Bug#9028)
14566 2011-07-09  Glenn Morris  <rgm@gnu.org>
14568         * subr.el (remq): Handle the empty list.  (Bug#9024)
14570 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
14572         * mail/sendmail.el (send-mail-function): No longer delay custom
14573         initialization.
14574         * custom.el (custom-initialize-delay): Doc fix.
14576 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14578         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
14580 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
14582         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
14583         human-friendly prompt.
14585 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
14587         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
14588         provided by a particular plugin.
14590 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14592         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
14593         save customizations (with "emacs -Q"), just set the variable
14594         instead of erroring out.
14596         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
14598 2011-07-08  Juri Linkov  <juri@jurta.org>
14600         * arc-mode.el (archive-zip-expunge, archive-zip-update)
14601         (archive-zip-update-case): Use 7z if found by `executable-find'.
14602         The order of searching the available programs is the same as in
14603         `archive-zip-extract' (bug#8968).
14605 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14607         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
14608         (menu-bar-options-menu): Tweak descriptions.
14610 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14612         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
14613         menu items into verb phrases (bug#1421).  Also refill to fit under
14614         80 columns.
14616 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14618         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
14619         (Info-read-node-name): Doc fix (Bug#1084).
14621         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
14622         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
14623         (end-of-sexp, beginning-of-sexp)
14624         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
14625         (forward-symbol, forward-same-syntax, word-at-point)
14626         (sentence-at-point): Doc fix (Bug#1144).
14628 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14630         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
14631         should cover it (bug#1281).
14633         * cus-edit.el (custom-show): Mark as obsolete.
14635         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
14636         negotiation fails, then possibly try again with a non-encrypted
14637         connection (bug#9017).
14639         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
14640         be used.
14642 2011-07-07  Richard Stallman  <rms@gnu.org>
14644         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
14645         property, and handle its changed format.
14646         Look for the correct line number.
14647         Use file's line contents (but not past first =) to find
14648         correct line in message.
14650 2011-07-07  Kenichi Handa  <handa@m17n.org>
14652         * international/characters.el (build-unicode-category-table):
14653         Delete it.
14654         (unicode-category-table): Set it by unicode-property-table-internal.
14656         * international/mule-cmds.el (char-code-property-alist): Move to
14657         to src/chartab.c.
14658         (get-char-code-property): Call unicode-property-table-internal to
14659         load a file.  Call get-unicode-property-internal where necessary.
14660         (put-char-code-property): Call unicode-property-table-internal to
14661         load a file.  Call put-unicode-property-internal where necessary.
14662         put-unicode-property-internal where necessary.
14663         (char-code-property-description):
14664         Call unicode-property-table-internal to load a file.
14666         * international/charprop.el:
14667         * international/uni-bidi.el:
14668         * international/uni-category.el:
14669         * international/uni-combining.el:
14670         * international/uni-comment.el:
14671         * international/uni-decimal.el:
14672         * international/uni-decomposition.el:
14673         * international/uni-digit.el:
14674         * international/uni-lowercase.el:
14675         * international/uni-mirrored.el:
14676         * international/uni-name.el:
14677         * international/uni-numeric.el:
14678         * international/uni-old-name.el:
14679         * international/uni-titlecase.el:
14680         * international/uni-uppercase.el: Regenerate.
14682         * loadup.el: Load international/charprop.el before
14683         international/characters.
14685 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
14687         * window.el (next-buffer, previous-buffer): Signal an error if
14688         called from a minibuffer window.
14690         * bindings.el: Revert 2011-07-04 change.
14692 2011-07-06  Richard Stallman  <rms@gnu.org>
14694         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
14695         (rmail-mime-insert-bulk, rmail-mime-insert-text):
14696         Treat markers like ints.
14697         (rmail-mime-entity): Doc fix.
14699 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14701         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
14702         defcustom again for backwards compatibility.
14704         * simple.el (shell-command-on-region): Fill.
14706         * dired-aux.el (dired-kill-line): Add a doc string.
14708         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
14709         to "\\sw\\|\\s_" (bug#358).
14711         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
14712         (dired-unmark-backward): Ditto.
14713         (dired-flag-backup-files): Ditto.
14715         * dired-x.el (dired-mark-sexp): Ditto.
14717 2011-07-06  Richard Stallman  <rms@gnu.org>
14719         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
14720         (rmail-mime-entity): New arg TRUNCATED.
14721         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
14722         New functions.
14723         (rmail-mime-save): Warn if entity is truncated.
14724         (rmail-mime-toggle-hidden): Likewise, for showing.
14725         (rmail-mime-process-multipart): Record when an entity is truncated.
14727         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
14728         if ENTITY is a string.
14730 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14732         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
14733         of faces when `M-C-x'-ing their definitions (bug#8378).
14734         Also clean up the code slightly.
14736         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
14737         because that makes the colors go away.
14739         * mail/sendmail.el (send-mail-function): Change the default to
14740         `sendmail-query-once'.
14741         (sendmail-query-once): Add an autoload cookie.
14743         * net/network-stream.el (network-stream-open-starttls): Try using
14744         a plain connection even if the server offered STARTTLS, and we
14745         kinda wanted to use it, if Emacs doesn't have any STARTTLS
14746         capability.  This should make smtpmail.el work in slightly more
14747         configurations.
14749 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
14751         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14752         New defun.
14753         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14755 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
14757         * progmodes/sql.el: Version 3.0
14758         (sql-product-alist): Add product :completion-object,
14759         :completion-column, and :statement attributes.
14760         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14761         (sql-mode-syntax-table): Mark all punctuation.
14762         (sql-font-lock-keywords-builder): Temporarily remove fallback on
14763         ansi keywords.
14764         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14765         (sql-mode-oracle-font-lock-keywords): Improve.
14766         (sql-oracle-show-reserved-words): New function for development.
14767         (sql-product-font-lock): Simplify for source code buffers.
14768         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14769         New functions.
14770         (sql-highlight-product): Set product specific syntax table.
14771         (sql-mode-map): Add statement movement functions.
14772         (sql-ansi-statement-starters, sql-oracle-statement-starters):
14773         New variable.
14774         (sql-statement-regexp, sql-beginning-of-statement)
14775         (sql-end-of-statement, sql-signum): New functions.
14776         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14777         (sql-show-sqli-buffer): Bug fix.
14778         (sql-interactive-mode): Store connection data as buffer local.
14779         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
14780         with sql-interactive-mode.
14781         (sql-save-connection): Save buffer local settings.
14782         (sql-connection-menu-filter): Change menu entry name.
14783         (sql-product-interactive): Bug fix.
14784         (sql-preoutput-hold): New variable.
14785         (sql-interactive-remove-continuation-prompt): Bug fixes.
14786         (sql-debug-redirect): New variable.
14787         (sql-str-literal): New function.
14788         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14789         Redesign.
14790         (sql-oracle-save-settings, sql-oracle-restore-settings)
14791         (sql-oracle-list-all, sql-oracle-list-table): New functions.
14792         (sql-completion-object, sql-completion-column)
14793         (sql-completion-sqlbuf): New variables.
14794         (sql-build-completions-1, sql-build-completions)
14795         (sql-try-completion): New functions.
14796         (sql-read-table-name): Use them.
14797         (sql-contains-names): New buffer local variable.
14798         (sql-list-all, sql-list-table): Use it.
14799         (sql-oracle-completion-types): New variable.
14800         (sql-oracle-completion-object, sql-sqlite-completion-object)
14801         (sql-postgres-completion-object): New functions.
14803 2011-07-06  Glenn Morris  <rgm@gnu.org>
14805         * window.el (pop-to-buffer): Doc fix.
14807 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
14809         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14811 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
14813         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14815         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14817 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
14819         * button.el (button): Inherit from link face.  Suggested by Dan
14820         Nicolaescu.
14822 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14824         * progmodes/gdb-mi.el: Fit in 80 columns.
14825         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14826         switch-to-buffer.
14828         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14829         if imenu is simply not configured (bug#8941).
14831 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
14833         * allout.el (allout-post-undo-hook): New allout outline-change
14834         event hook to signal undo activity.
14835         (allout-post-command-business): Run allout-post-undo-hook if an
14836         undo just occurred.
14837         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14838         * allout-widgets.el (allout-widgets-after-undo-function):
14839         Ensure the integrity of the current item's decoration after it has been
14840         in the vicinity of an undo.
14841         (allout-widgets-mode): Include allout-widgets-after-undo-function
14842         on the new allout-post-undo-hook.
14844 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14846         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14847         Let define-derived-mode define it.
14848         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14849         cycles of abbrev-table inheritance (bug#8998).
14851 2011-07-05  Roland Winkler  <winkler@gnu.org>
14853         * textmodes/bibtex.el: Add support for biblatex.
14854         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14855         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14856         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14857         (bibtex-entry-alist, bibtex-field-alist): New variables.
14858         (bibtex-entry-field-alist): Obsolete alias for
14859         bibtex-BibTeX-entry-alist.
14860         (bibtex-entry-alist, bibtex-field-alist): New widgets.
14861         (bibtex-set-dialect): New command.
14862         (bibtex-entry-type, bibtex-entry-head)
14863         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14864         Bind via bibtex-set-dialect.
14865         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14866         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14867         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14868         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14869         Define via bibtex-set-dialect.
14870         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14871         Obey bibtex-no-opt-remove-re.
14872         (bibtex-vec-push, bibtex-vec-incr): New functions.
14873         (bibtex-format-entry, bibtex-field-list)
14874         (bibtex-print-help-message, bibtex-validate)
14875         (bibtex-search-entries): Use new format of bibtex-entry-alist.
14877 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14879         * progmodes/compile.el (compilation-goto-locus):
14880         * net/tramp-cmds.el (tramp-append-tramp-buffers):
14881         * bs.el (bs-cycle-next, bs-cycle-previous):
14882         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14883         * bindings.el (mode-line-other-buffer):
14884         * autoinsert.el (auto-insert):
14885         * arc-mode.el (archive-extract):
14886         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14888 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14890         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14891         Fix check of `emacs-lock-unlockable-modes'.
14892         Coerce true values of `emacs-lock--try-unlocking' to t.
14894 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14896         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14897         * emacs-lock.el: New file.
14899 2011-07-05  Julien Danjou  <julien@danjou.info>
14901         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14902         than `boundp' to check if face is set.
14904 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14906         * register.el (registerv-make):
14907         * window.el (window-min-height): Fix typos in docstrings.
14909 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
14911         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14912         Update doc string.
14914 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14916         * server.el (server-execute): Catch quit and call
14917         `server-return-error' to pass the error back to emacsclient and
14918         close the connection (bug#8942).
14920 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
14922         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14923         insecure exception for current topic.  Also note that auto-saves
14924         are handled differently.
14926         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14927         State variables for tracking auto-save inhibition situation.
14929         (allout-write-contents-hook-handler): Rename from
14930         'allout-write-file-hook-handler', and describe how it depends on
14931         write-contents-functions sensitivity to non-nil value to prevent
14932         file write.
14934         (allout-auto-save-hook-handler): Remove.  auto-save does not check
14935         this in individual buffers, only in the starting buffer, so this
14936         is not the right way for us to inhibit auto-save in a buffer
14937         according to its condition.
14939         (allout-mode): Use new allout-write-contents-hook-handler, and
14940         only with write-contents-functions.  Remove auto-save provisions -
14941         they're implemented elsewhere.
14943         (allout-before-change-handler): If undo is in progress, note that
14944         for attention of allout-post-command-business.
14946         (allout-post-command-business): If the command we're following was
14947         an undo, check for change in the status of encrypted items and
14948         adjust auto-save inhibitions accordingly.
14950         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14951         according to whether there are or aren't any plain-text topics
14952         pending encryption.
14954         (allout-inhibit-auto-save-info-for-decryption):
14955         Adjust buffer-saved-size and some allout state to inhibit auto-saves
14956         if there are plain-text topics pending encryption.
14958         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14959         buffer-saved-size and some allout state to not inhibit auto-saves
14960         if there are no longer any plain-text topics pending encryption.
14962         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14963         No longer provide for exemption of the current topic.
14965 2011-07-04  Juri Linkov  <juri@jurta.org>
14967         Add 7z operations to delete and save changed members (bug#8968).
14968         * arc-mode.el (archive-7z-expunge, archive-7z-update):
14969         New defcustoms.
14970         (archive-7z-write-file-member): New function.
14971         (archive-7z-summarize): Fix the number of dashes in the
14972         listing output.
14974 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14976         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14977         (bug#8958).
14979 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
14981         * bindings.el: Ignore next-buffer and previous-buffer in
14982         minibuffer-local-map.
14984         * font-lock.el (font-lock-builtin-face): Change light background
14985         color to dark slate blue (Bug#6693).
14987 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
14989         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14991 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14993         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14994         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14995         Add switch-to-buffer.
14997 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14999         * isearch.el (isearch-search-fun-function): Clarify further the
15000         meaning of the function returned.
15002 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
15004         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15006         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15007         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15008         Use it.
15009         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
15010         `tramp-default-remote-path' does not exist.
15011         (tramp-send-command-and-read): New optional argument NOERROR.
15012         (tramp-open-connection-setup-interactive-shell)
15013         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15014         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15015         (tramp-process-sentinel): Flush also process' connection property.
15016         (tramp-sh-handle-start-file-process): Do not set process
15017         sentinel.  It is done now ...
15018         (tramp-maybe-open-connection): ... here.  (Bug#8929)
15020 2011-07-04  MON KEY  <monkey@sandpframing.com>
15022         * play/animate.el (animate-string): Doc fixes and allow changing
15023         the buffer name (bug#5417).
15025 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15027         * play/animate.el (animation-buffer-name): Rename from *animate*.
15029 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
15031         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15032         This is simpler and helps future-proof the code.
15033         (timer-until): Use time-subtract and float-time.
15034         (timer--time-less-p): Use time-less-p.
15036 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15038         * type-break.el (timep): Use the value of `float-time' to avoid a
15039         byte-compiler warning.
15041         * server.el (server-eval-and-print): Return any result, even nil.
15043 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
15045         * type-break.el: Accept time formats that the builtins accept.
15046         (timep, type-break-time-difference): Accept any format that
15047         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15048         This is simpler and helps future-proof the code.
15049         (type-break-time-difference): Round rather than ignoring
15050         subseconds components.
15052 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15054         * info.el (Info-apropos-matches): Make non-interactive, since it
15055         doesn't seem to do anything useful as a command (bug#8829).
15057 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
15059         * frame.el (frame-background-mode, frame-set-background-mode):
15060         Move from faces.el.
15061         (frame-default-terminal-background): New function.
15063         * custom.el (custom-push-theme): Don't record faces in `changed'
15064         theme; this doesn't work correctly for per-frame face settings.
15065         (disable-theme): Use face-set-after-frame-default to reset faces.
15066         (custom--frame-color-default): New function.
15068 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15070         * dired.el (dired-flagging-regexp): Remove unused variable
15071         (bug#8769).
15073 2011-03-29  Kevin Ryde  <user42@zip.com.au>
15075         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15076         `perl-Test2' extend to match possible "fail #N" rep count
15077         (bug#8377).
15079 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15081         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15082         `smtpmail-via-smtp' now returns the error instead of nil.
15084         * isearch.el (isearch-search-fun-function): Clarify the doc string
15085         (bug#8101).
15087 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
15089         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15090         unnecessary spaces (bug#8987).
15092 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15094         * net/network-stream.el (open-network-stream): Use the
15095         :end-of-capability command thoughout.
15097 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15099         * net/network-stream.el (open-network-stream): Add the
15100         :end-of-capability command parameter, used by pop3.el.
15102 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15104         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15106         * fringe.el (fringe-query-style): Remove redundant text " (type ?
15107         for list)" (bug#6475).
15109         * files.el (file-expand-wildcards): Ignore non-readable
15110         sub-directories while trying to find matches instead of signaling
15111         an error (bug#6297).
15113         * man.el (Man-reference-regexp): Allow matching possible
15114         word-wrapped references (bug#6289).
15116         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15117         for consistency with the other vc buffers (bug#6197).
15118         (vc-checkin): Ditto.
15120         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15122         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15124 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15126         * custom.el (defcustom): Clarify that :set is only used in the
15127         Customize user interface (bug#6089).
15129         * progmodes/flymake.el (flymake-mode): If the buffer isn't
15130         associated with a file, refuse to run instead of erroring out
15131         (bug#6084).
15133         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15134         the doc string, since it appears that using `fill-column' always
15135         controls the width (bug#7845).
15137         * simple.el (shell-command-on-region): Say where the error output
15138         went if `shell-command-default-error-buffer' is set (bug#6857).
15140 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
15142         * allout.el (allout-yank-processing): Adjust cursor position for
15143         backwards-deleted space.
15145         (allout-rebullet-heading): Register changes with
15146         allout-exposure-changed-hook, so the modified topic is properly
15147         decorated.
15149 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15151         * minibuffer.el (completion-in-region): Document PREDICATE
15152         (bug#7136).
15154         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15155         of keyword/argument pairs (bug#6904).
15157         * replace.el (multi-occur):
15158         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15160 2011-07-02  Drew Adams  <drew.adams@oracle.com>
15162         * dired.el (dired-mark-if): Make the message about whether it's
15163         marking or unmarking clearer (bug#8523).
15165 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15167         * disp-table.el (display-table-print-array): New function.
15168         (describe-display-table): Use it to print the vectors more pretty
15169         (Bug#8859).
15171 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
15173         * window.el (window-state-get-1): Don't assign clone numbers.
15174         Add clone-of item to list of window parameters.
15175         (window-state-put-2): Don't process clone numbers.
15176         (display-buffer-alist): Fix doc-string.
15178 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15180         * subr.el (remq): Don't allocate if it's not needed.
15181         (keymap--menu-item-binding, keymap--menu-item-with-binding)
15182         (keymap--merge-bindings): New functions.
15183         (keymap-canonicalize): Use them to refine the canonicalization.
15184         * minibuffer.el (minibuffer-local-completion-map)
15185         (minibuffer-local-must-match-map): Move initialization from C.
15186         (minibuffer-local-filename-completion-map): Move initialization from C;
15187         don't inherit from anything here.
15188         (minibuffer-local-filename-must-match-map): Make obsolete.
15189         (completing-read-default): Use make-composed-keymap to combine
15190         minibuffer-local-filename-completion-map with either
15191         minibuffer-local-must-match-map or
15192         minibuffer-local-filename-completion-map.
15194 2011-07-01  Glenn Morris  <rgm@gnu.org>
15196         * type-break.el (type-break-time-sum): Use dolist.
15198         * textmodes/flyspell.el (flyspell-word-search-backward):
15199         Replace CL function.
15201 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15203         * mouse.el (mouse--strip-first-event): New function.
15204         (function-key-map): Use it to map fringe clicks to normal clicks
15205         by default.
15207         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15208         (vc-bzr-revision-completion-table): Add support for annotate and date.
15210         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15211         inherit from parent.
15213 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15215         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15216         (dired-show-file-type): Doc fixup (bug#8818).
15218         * dired.el (dired-mode): Fix up the doc string as suggested by
15219         Drew Adams (bug#8817).
15221         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15222         cookie, since the manual says that it should be possible to add
15223         this function to `find-file-hook' (bug#8709).
15225 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15227         * progmodes/cfengine.el: Moved all cfengine3.el functionality
15228         here.  Noted Ted Zlatanov as the maintainer.
15229         (cfengine-common-settings, cfengine-common-syntax): New functions
15230         to set up common things between `cfengine-mode' and
15231         `cfengine3-mode'.
15232         (cfengine3-mode): New mode.
15233         (cfengine3-defuns cfengine3-defuns-regex
15234         (cfengine3-class-selector-regex cfengine3-category-regex)
15235         (cfengine3-vartypes cfengine3-font-lock-keywords)
15236         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15237         (cfengine3-indent-line): Add from cfengine3.el.
15239 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
15241         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15243         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15245 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
15247         * window.el (same-window-buffer-names, same-window-regexps)
15248         (same-window-p, special-display-frame-alist)
15249         (special-display-popup-frame, special-display-function)
15250         (special-display-buffer-names, special-display-regexps)
15251         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15252         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15253         (split-window-preferred-function, split-height-threshold)
15254         (split-width-threshold, even-window-heights)
15255         (display-buffer-mark-dedicated, window-splittable-p)
15256         (split-window-sensibly, window-safely-shrinkable-p):
15257         Un-obsolete.
15258         (display-buffer): Don't spread args with function specifier
15259         because special-display-popup-frame won't like it.
15261 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
15263         Time-stamp simplifications and fixes.
15264         These improve accuracy slightly, and future-proof the code
15265         against some potential changes to current-time format.
15267         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15268         by using time-since and float-time.
15270         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15271         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
15272         + NNN microseconds".
15274         * type-break.el (type-break-time-sum): Rewrite using time-add.
15276         * play/hanoi.el (hanoi-current-time-float): Remove.
15277         All uses replaced by float-time.
15279         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15280         This yields a more-accurate answer.
15281         (rng-time-to-float): Remove; no longer needed.
15283         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15285         * calendar/timeclock.el (timeclock-seconds-to-time):
15286         Defalias to seconds-to-time, since they're the same thing.
15288         * emacs-lisp/elp.el (elp-elapsed-time):
15289         * emacs-lisp/benchmark.el (benchmark-elapse):
15290         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15292 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15294         * window.el (bury-buffer): Don't iconify the only frame.
15295         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15296         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
15298 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
15300         * eshell/em-smart.el (eshell-smart-display-navigate-list):
15301         Add mouse-yank-primary.
15303 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15305         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15307 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15309         * emacs-lisp/find-func.el (find-library--load-name): New fun.
15310         (find-library-name): Use it to find relative load names when provided
15311         absolute file name (bug#8803).
15313 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15315         * textmodes/flyspell.el (flyspell-word): Consider words that
15316         differ only in case as potential doublons (bug#5687).
15318         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15319         Remove two rather uninteresting debugging-like messages to make
15320         debbugs.el more silent.
15322         * comint.el (comint-password-prompt-regexp): Accept "Response" as
15323         a password-like phrase.
15325 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
15327         * progmodes/cc-guess.el: New file.
15329         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15331         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15332         derived from `c-basic-common-init'.
15334         * progmodes/cc-mode.el (top-level): Require cc-guess.
15335         (c-basic-common-init): Use `cc-choose-style-for-mode'.
15337 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
15339         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15341 2011-06-30  Alan Mackenzie  <acm@muc.de>
15343         * progmodes/cc-engine.el (c-guess-continued-construct):
15344         Correct the handling of template-args-cont, particularly for when font
15345         lock is disabled.  Name this case as "CASE G".
15347 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
15349         * allout.el (allout-yank-processing): Fix injection of extra space
15350         between bullet and non-whitespace character in first topic when
15351         pasting, ensuring that the actual spacing in the pasted topic
15352         following the bullet char is preserved.  This extra space was
15353         causing pasted encrypted topics to get a decrypted status even
15354         when the content was actually still encrypted.  Now the decryption
15355         status from before the paste is preserved.
15357         (allout-flag-region): Set all allout overlays so they evaporate
15358         when reduced to zero length (evanescent), to prevent overlay
15359         leakage.
15361 2011-06-30  Glenn Morris  <rgm@gnu.org>
15363         * w32-fns.el (w32-charset-info-alist): Declare.
15365         * find-dired.el (find-grep-options): Simplify.
15367         * term/ns-win.el (ns-set-resource): Declare.
15369         * ses.el (row, col): Declare dynamic variables honestly.
15371         * textmodes/reftex-parse.el (index-tags): Declare.
15373 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
15375         * cus-edit.el (customize-push-and-save): New function.
15377         * files.el (hack-local-variables-confirm): Use it.
15379         * custom.el (load-theme): New arg NO-CONFIRM.
15380         Use customize-push-and-save (Bug#8720).
15381         (custom-enabled-themes): Doc fix.
15383         * cus-theme.el (customize-create-theme)
15384         (custom-theme-merge-theme): Callers to load-theme changed.
15386 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15388         * thingatpt.el (thing-at-point-short-url-regexp): Require that
15389         short URLs have at least one dot in them (bug #7614).
15391         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15392         nil, because using a pty is apparently too slow (bug #895).
15394 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15396         * mail/sendmail.el (sendmail-query-once): New function.
15397         (sendmail-query-once-function): New variable.
15399 2011-06-29  Glenn Morris  <rgm@gnu.org>
15401         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15403         * ses.el (top-level): Require cl when compiling.
15404         (ses-set-localvars): Fix error statement.
15405         Call it at compile time to silence a storm of warnings.
15407 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
15409         * window.el (normalize-live-buffer): Rename to
15410         window-normalize-buffer.
15411         (normalize-live-frame): Rename to window-normalize-frame.
15412         (normalize-any-window): Rename to window-normalize-any-window.
15413         (normalize-live-window): Rename to window-normalize-live-window.
15414         (make-window-atom): Rename to window-make-atom.
15415         (window-resize-reset): Rename to window--resize-reset.
15416         (window-resize-reset-1): Rename to window--resize-reset-1.
15417         (resize-mini-window): Rename to window--resize-mini-window.
15418         (resize-subwindows-skip-p): Rename to
15419         window--resize-subwindows-skip-p.
15420         (resize-subwindows-normal): Rename to
15421         window--resize-subwindows-normal.
15422         (resize-subwindows): Rename to window--resize-subwindows.
15423         (resize-other-windows): Rename to window--resize-siblings.
15424         (resize-this-window): Rename to window--resize-this-window.
15425         (resize-root-window): Rename to window--resize-root-window.
15426         (resize-root-window-vertically): Rename to
15427         window--resize-root-window-vertically.
15428         (normalize-buffer-to-display): Rename to
15429         window-normalize-buffer-to-display.
15430         (normalize-buffer-to-switch-to): Rename to
15431         window-normalize-buffer-to-switch-to.
15432         Correspondingly update all callers of the functions listed
15433         above.
15434         (display-buffer-alist, display-buffer-normalize-arguments)
15435         (display-buffer-normalize-options, display-buffer)
15436         (display-buffer-alist-set): Use "function" instead of
15437         "fun-with-args".
15439 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
15441         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15442         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
15443         debbugs.gnu.org.  Mention acknowledgment email.
15445 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15447         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15448         buffer multibyteness, since it shouldn't matter.
15450 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
15452         * window.el (display-buffer-in-side-window): Handle dedicated
15453         windows as in display-buffer-reuse-window.
15454         (display-buffer-normalize-alist): Use value of override
15455         specifier.
15456         (display-buffer-normalize-specifiers): Use value of
15457         other-window-means-other-frame specifier.
15458         (display-buffer-alist): Rewrite some texts in widgets.
15459         (display-buffer): Spread arguments when calling function
15460         specified by fun-with-args.
15462 2011-06-28  Deniz Dogan  <deniz@dogan.se>
15464         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15465         Unnest `let'.
15467         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
15468         selectors (Bug#5732).
15469         (css-proprietary-nmstart-re): Use `regexp-opt'.
15471 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
15473         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
15474         (eshell-ls-date-format): New defcustom.
15475         (eshell-ls-file): Use it.
15477 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15479         * help-fns.el (describe-variable): Fix message for terminal-local vars.
15481 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
15483         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
15484         (ange-ftp-make-tmp-name): New arg.
15485         (ange-ftp-file-local-copy): Use it.
15487 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
15489         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
15490         no-conversion (Bug#8870).
15492 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
15494         * window.el (window-right, window-left, window-child)
15495         (window-child-count, window-last-child)
15496         (window-iso-combination-p, walk-window-tree-1)
15497         (window-atom-check-1, window-tree-1, delete-window)
15498         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
15499         new naming conventions - window-vchild, window-hchild,
15500         window-next and window-prev are now called window-top-child,
15501         window-left-child, window-next-sibling and window-prev-sibling
15502         respectively.
15503         (resize-window-reset): Rename to window-resize-reset.
15504         (resize-window-reset-1): Rename to window-resize-reset-1.
15505         (resize-window): Rename to window-resize.
15506         (window-min-height, window-min-width)
15507         (resize-mini-window, resize-this-window, resize-root-window)
15508         (resize-root-window-vertically, adjust-window-trailing-edge)
15509         (enlarge-window, shrink-window, maximize-window)
15510         (minimize-window, delete-window, quit-restore-window)
15511         (split-window, balance-windows, balance-windows-area-adjust)
15512         (balance-windows-area, window-state-put-2)
15513         (display-buffer-even-window-sizes, display-buffer-set-height)
15514         (display-buffer-set-width, set-window-text-height)
15515         (fit-window-to-buffer): Rename all "resize-window" prefixed
15516         calls to use the "window-resize" prefix convention.
15517         (display-buffer-alist): Fix symbol for label specifier.
15518         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
15519         corresponding specifier.
15520         Reported by Juanma Barranquero <lekktu@gmail.com>.
15522 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15524         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
15525         convention.
15526         (ses-call-printer): Does not pass an empty string to formatter when the
15527         cell is empty to keep from barking printer Calc math-format-value.
15529 2011-06-27  Richard Stallman  <rms@gnu.org>
15531         * battery.el (battery-mode-line-limit): New variable.
15532         (battery-update): Handle it.
15534         * mail/rmailmm.el (rmail-mime-process-multipart):
15535         Handle truncated messages.
15537 2011-06-27  Glenn Morris  <rgm@gnu.org>
15539         * progmodes/flymake.el (flymake-err-line-patterns):
15540         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
15542 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15544         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
15545         (ses--clean-!, ses--clean-_): New functions.
15546         (ses-range): Add configurability of readout order, and conversion
15547         to Calc vector.
15549         * ses.el (ses-repair-cell-reference-all): New function.
15550         (ses-cell-symbol): Set macro as safe, so that it can be used in
15551         formulas.
15553         * ses.el: Update cycle detection algorithm.
15554         (ses-localvars): Add ses--Dijkstra-attempt-nb and
15555         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
15556         (ses-set-localvars): New function.
15557         (ses-make-cell): Add property-list as a cell element.
15558         (ses-cell-property-get-fun, ses-cell-property-get)
15559         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
15560         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
15561         New functions.
15562         (ses-cell-property-set, ses-cell-property-pop)
15563         (ses-cell-property-get-handle): New macro.
15564         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
15565         New aliases, used for code readability.
15566         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
15567         cycle detection.
15568         (ses-self-reference-early-detection): New defcustom.
15569         (ses-formula-references): Robustify against self-referring cells.
15570         (ses-mode): Use ses-set-localvars.
15571         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
15572         before lauching the update processing.
15573         (ses-initialize-Dijkstra-attempt): New function.
15574         (ses-recalculate-cell): Update for cycle detection based on
15575         Dijkstra algorithm.
15577         * ses.el: Fix commenting and indenting convention.
15579 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15581         * bs.el (bs-cycle-next): Complete last change.
15583 2011-06-27  Drew Adams  <drew.adams@oracle.com>
15585         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
15587 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15589         * net/network-stream.el (network-stream-open-starttls):
15590         Don't re-get capabilities unless we've reestablished connection.
15591         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
15593         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
15594         to binary to possibly avoid line encoding issues on Windows (among
15595         other things).
15597 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15599         * net/network-stream.el (open-network-stream): Return an :error
15600         saying what the problem was, if possible.
15602         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
15603         server.
15605         * net/network-stream.el (network-stream-open-starttls): If we
15606         wanted to use STARTTLS, and the server offered it, but we weren't
15607         able to because we had no STARTTLS support, then close the connection.
15608         (open-network-stream): Return an :error element, if present.
15610 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15612         * hl-line.el (hl-line-sticky-flag): Doc fix.
15613         (global-hl-line-sticky-flag): New option (Bug#8323).
15614         (global-hl-line-highlight): Obey it.
15616         * vc/vc.el (vc-revert-show-diff): Default to t.
15618 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
15620         * allout-widgets.el (allout-widgets-post-command-business):
15621         Stop decorating intermediate isearch matches.  They're not being
15622         undecorated when an isearch is continued past, and isearch
15623         automatically collapses them.  This leads to "widget leaks", where
15624         decorated items accumulate in collapsed areas.  Lines with lots of
15625         hidden widgets can slow down cursor travel, substantially.
15626         Too much complicated machinery would be needed to ensure undecoration,
15627         so we're doing without this nicety.
15629         (allout-widgets-tally-string): Don't try to do a hash-table-count
15630         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
15631         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
15632         *Messages* when allout-widgets-maintain-tally is t.
15634 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
15636         * window.el (display-buffer-normalize-argument): Rename to
15637         display-buffer-normalize-arguments.  Handle special meaning of
15638         LABEL argument.  Respect special-display-function when popping up
15639         a new frame.  Fix code searching for a window showing the buffer
15640         on another frame.
15641         (display-buffer-normalize-specifiers):
15642         Call display-buffer-normalize-arguments.
15643         (display-buffer-in-window): Don't undedicate the window if its
15644         buffer remains the same.
15645         Reported by Drew Adams <drew.adams@oracle.com>.
15646         (display-buffer-alist): Add choice for same-window macro
15647         specfier.
15648         (display-buffer): Mention special meaning of LABEL argument in
15649         doc-string.  Fix quoting.  Don't pop up a new frame even as
15650         fallback.
15652 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
15654         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
15655         avoid deleting the current window in some cases (bug#8911).
15657 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
15659         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
15660         (Bug#8934)
15662 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15664         * net/network-stream.el (network-stream-open-starttls):
15665         Use built-in TLS support if `gnutls-available-p' is true.
15666         (network-stream-open-tls): Ditto.
15668 2011-06-26  Leo Liu  <sdl.web@gmail.com>
15670         * register.el (registerv): New struct.
15671         (registerv-make): New function.
15672         (jump-to-register, describe-register-1, insert-register):
15673         Support the jump-func, print-func and insert-func slot of a registerv
15674         struct.  (Bug#8415)
15676 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
15678         * vc/vc.el (vc-revert-show-diff): New defcustom.
15679         (vc-diff-internal): New arg specifying diff buffer.
15680         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
15681         reuse an existing *vc-diff* buffer (Bug#8927).
15683         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
15685 2011-06-26  Glenn Morris  <rgm@gnu.org>
15687         * progmodes/f90.el (f90-critical-indent): New option.
15688         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
15689         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
15690         (f90-mode): Doc fix.
15691         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
15692         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
15693         (f90-beginning-of-block, f90-next-block, f90-indent-region)
15694         (f90-match-end): Handle block, critical.
15696 2011-06-25  Glenn Morris  <rgm@gnu.org>
15698         * calendar/diary-lib.el (diary-included-files): Doc fix.
15699         (diary-include-files): New function, extracted from
15700         diary-include-other-diary-files and diary-mark-included-diary-files.
15701         (diary-include-other-diary-files, diary-mark-included-diary-files):
15702         Just call diary-include-files.
15703         (diary-mark-entries): Reset diary-included-files on first call.
15705         * calendar/diary-lib.el (diary-mark-entries)
15706         (diary-mark-included-diary-files):
15707         Visit included diary-files in temp buffers.
15709         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
15710         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
15711         (f90-start-block-re, f90-imenu-generic-expression)
15712         (f90-looking-at-program-block-start, f90-no-block-limit):
15713         Add support for submodules.
15715         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15716         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
15718 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
15720         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
15721         buffer-file-type before setting its value, to avoid disastrous
15722         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
15724 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15726         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
15728         * ses.el (ses-unload-function):
15729         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
15731         * proced.el (proced-unload-function):
15732         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
15734 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
15736         * server.el (server-create-window-system-frame): Add parameters arg.
15737         (server-process-filter): Doc fix.  Handle frame-parameters.
15739 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
15741         Fix bug#8730, bug#8781.
15743         * loadhist.el (unload--set-major-mode): New function.
15744         (unload-feature): Use it.
15746         * progmodes/python.el (python-after-info-look): Add autoload cookie.
15747         (python-unload-function): New function.
15749 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15751         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15753 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
15755         * net/browse-url.el (browse-url-firefox-program): Add icecat to
15756         the candidates list.
15758 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
15760         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15762 2011-06-23  Richard Stallman  <rms@gnu.org>
15764         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15765         (rmail-variables): Set next-error-move-function.
15766         (rmail-what-message): Take argument POS.
15767         (rmail-next-error-move): New function.
15769 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15771         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15772         messages for adjacent non-terminals.
15774 2011-06-23  Richard Stallman  <rms@gnu.org>
15776         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15777         (rmail-show-message-1): Preserve buffer modified flag.
15778         (rmail-start-mail): Don't specify use of rmail-mail-return;
15779         that's done by mail-bury now.
15780         (rmail-mail-return): Handle arg NEWBUF.
15782 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
15784         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15785         SIZE is a number.
15787 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
15789         * window.el (get-lru-window, get-mru-window)
15790         (get-largest-window): Never return a minibuffer window.
15791         (display-buffer-pop-up-window): Fix a bug that could lead to
15792         reusing the minibuffer window.
15793         (display-buffer): Pass original specifier argument to
15794         display-buffer-function instead of the normalized one.
15795         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15797 2011-06-22  Leo Liu  <sdl.web@gmail.com>
15799         * minibuffer.el (completing-read-function)
15800         (completing-read-default): Move from minibuf.c
15802 2011-06-22  Richard Stallman  <rms@gnu.org>
15804         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15805         to Rmail even if not started by a special Rmail command.
15807         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15808         Copy the buffer currently showing just one message.
15810 2011-06-22  Roland Winkler  <winkler@gnu.org>
15812         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15813         (bibtex-clean-entry): First delete the old key so that a
15814         customized algorithm for generating the new key does not get
15815         confused by the old key.
15816         (bibtex-url): Obey regexp of first step.
15817         (bibtex-search-entries): Do not use add-to-list with local
15818         list-var.
15820 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15822         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15823         stored a user name, then query for the password first, instead of
15824         waiting for SMTP to give an error message and the trying again.
15826 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
15828         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15829         BUFFER in call-process.
15831 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15833         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15834         QUIT twice.
15835         (smtpmail-try-auth-methods): Require user name and password from
15836         auth-source.
15838 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
15840         * window.el (display-buffer-default-specifiers)
15841         (display-buffer-alist): Remove entries for pop-up-frame-alist.
15842         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15843         (split-window): Normalize SIDE argument (Bug#8916).
15845         * frame.el (pop-up-frame-alist, pop-up-frame-function)
15846         (special-display-frame-alist, special-display-popup-frame):
15847         Remove duplicate declarations.  These are now in window.el.
15849 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15851         * mail/smtpmail.el (smtpmail-via-smtp):
15852         Set :use-starttls-if-possible so that we always use STARTTLS if the
15853         server supports it.  SMTP servers that support STARTTLS commonly
15854         require it.
15856         * net/network-stream.el (network-stream-open-starttls): Support
15857         upgrading to STARTTLS always, even if we don't have built-in support.
15858         (open-network-stream): Add the :always-query-capabilities keyword.
15860         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15861         upgrades with `open-network-stream', and rely solely on
15862         auth-source for all credentials.  Big changes throughout the file,
15863         but in particular:
15864         (smtpmail-auth-credentials): Remove.
15865         (smtpmail-starttls-credentials): Remove.
15866         (smtpmail-via-smtp): Check for servers saying they want AUTH after
15867         MAIL FROM, too.
15869         * net/network-stream.el (network-stream-open-starttls):
15870         Provide support for client certificates both for external and built-in
15871         STARTTLS.
15872         (auth-source): Require.
15873         (open-network-stream): Document the :client-certificate keyword.
15874         (network-stream-certificate): Change cert-cert to cert and
15875         cert-key to key.
15877 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
15879         * net/tramp-cache.el (top): Don't load the persistency file when
15880         "emacs -Q" has been called.
15882 2011-06-21  Tim Harper  <timcharper@gmail.com>
15884         * term/ns-win.el (ns-initialize-window-system):
15885         Set application-specific `ApplePressAndHoldEnabled' system
15886         resource to NO as it is not yet supported by the NS port.
15888 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
15890         * misc.el (list-dynamic-libraries--refresh): Compute header here...
15891         (list-dynamic-libraries): ...not here.
15893 2011-06-21  Leo Liu  <sdl.web@gmail.com>
15895         * subr.el (sha1): Implement sha1 using secure-hash.
15897 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
15899         * window.el (display-buffer-alist): In default value do not
15900         enforce searching a window on any but the selected frame.
15901         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15902         (display-buffer-select-window): Remove function.
15903         (display-buffer-in-window): When a window on another frame gets
15904         reused, do not select it any more but just raise its frame if
15905         necessary (Bug#8851) and (Bug#8856).
15906         (display-buffer-normalize-options): Handle pop-up-frames related
15907         options more faithfully.
15908         (pop-to-buffer): Don't rely on `display-buffer' selecting the
15909         window if it is on another frame.
15910         (display-buffer-alist, display-buffer-default-specifiers):
15911         Don't make new frame unsplittable by default.
15912         (display-buffer-normalize-argument): Fix doc-string typo and use
15913         'same-frame-other-window instead of 'other-window when associating
15914         with display-buffer-macro-specifiers.
15916 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
15918         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15919         New functions.
15920         (5x5-mode-map, 5x5-mode-menu): Bind them.
15921         (5x5-draw-grid): Tweak the solver's rendering.
15923 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15925         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15926         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15928 2011-06-21  Drew Adams  <drew.adams@oracle.com>
15930         * menu-bar.el: Use function variable instead of switch-to-buffer.
15931         (menu-bar-select-buffer-function): New variable.
15932         (menu-bar-update-buffers): Use it (bug#8876).
15934 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15936         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15937         variable's status.
15939 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
15941         * x-dnd.el (x-dnd-version-from-flags)
15942         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15943         and long as number (Bug#8899).
15944         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15946 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15948         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15949         (completion-try-completion, completion-all-completions): Compute the
15950         metadata argument if it's missing; make it optional (bug#8795).
15952         * wid-edit.el: Use lex-bind and move towards completion-at-point.
15953         (widget-complete): Use new :completion-function property.
15954         (widget-completions-at-point): New function.
15955         (default): Use :completion-function instead of :complete.
15956         (widget-default-completions): Rename from widget-default-complete;
15957         Rewrite.
15958         (widget-string-complete, widget-file-complete, widget-color-complete):
15959         Remove functions.
15960         (file, symbol, function, variable, coding-system, color):
15961         * international/mule-cmds.el (default-input-method, charset)
15962         (language-info-custom-alist):
15963         * cus-edit.el (face): Use new property :completions.
15965         * progmodes/pascal.el (pascal-completions-at-point): New function.
15966         (pascal-mode): Use it.
15967         (pascal-mode-map): Use completion-at-point.
15968         (pascal-toggle-completions): Make obsolete.
15969         (pascal-complete-word, pascal-show-completions):
15970         * progmodes/octave-mod.el (octave-complete-symbol):
15971         Redefine as obsolete alias.
15972         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15973         Signal absence of completion info for old Octave,
15974         (inferior-octave-complete): Redefine as obsolete alias.
15975         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15976         (meta-completions-at-point): Rename from meta-complete-symbol and
15977         adapt it for use on completion-at-point-functions.
15978         (meta-common-mode): Use it.
15979         (meta-looking-at-backward, meta-match-buffer): Remove.
15980         (meta-complete-symbol): Redefine as obsolete alias.
15981         (meta-common-mode-map): Use completion-at-point.
15982         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15983         (makefile-mode-map): Use completion-at-point.
15984         (makefile-completions-at-point): Rename from makefile-complete and
15985         adapt it for use on completion-at-point-functions.
15986         (makefile-mode): Use it.
15987         (makefile-complete): Redefine as obsolete alias.
15989 2011-06-20  Deniz Dogan  <deniz@dogan.se>
15991         * net/rcirc.el: Delete trailing whitespaces once and for all.
15993 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
15995         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15997 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
15999         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16001         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16003 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
16005         * window.el (display-buffer-other-window-means-other-frame):
16006         Call display-buffer-normalize-alist.
16007         (display-buffer-normalize-specifiers-1): Rename to
16008         display-buffer-normalize-argument.  New argument other-frame.
16009         Rewrite.
16010         (display-buffer-normalize-specifiers-2): Rename to
16011         display-buffer-normalize-options.
16012         (display-buffer-normalize-alist-1): New function.
16013         (display-buffer-normalize-specifiers-3): Rename to
16014         display-buffer-normalize-alist.
16015         Call display-buffer-normalize-alist-1.
16016         (display-buffer-normalize-options-inhibit): New variable.
16017         (display-buffer-normalize-specifiers): Rewrite calling
16018         display-buffer-normalize-alist,
16019         display-buffer-normalize-argument, and
16020         display-buffer-normalize-options.  Don't call the latter if
16021         display-buffer-normalize-options-inhibit is non-nil.
16022         (frame-auto-delete): New option.
16023         (window-deletable-p): Use frame-auto-delete.
16024         (window-list-no-nils, window-state-ignored-parameters)
16025         (window-state-get-1, window-state-get, window-state-put-list)
16026         (window-state-put-1, window-state-put-2, window-state-put):
16027         New functions.
16028         (display-buffer-normalize-options): Move special-display-p group
16029         after pop-up-frame group (Bug#8851) and (Bug#8856).
16031 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
16033         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16034         groups (Bug#8776).
16035         (rx-submatch-n): New function.
16036         (rx): Document it.
16038         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16039         (Bug#8768).
16041         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16043         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16045         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16046         anytime existing face settings are present (Bug#8889).
16048         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16049         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16050         Remove unused argument.
16052 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
16054         * window.el (display-buffer-default-specifiers):
16055         Remove pop-up-frame.  Add pop-up-window-min-height,
16056         pop-up-window-min-width, and another reuse-window specifier
16057         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
16058         (display-buffer-normalize-specifiers-2):
16059         Handle split-height-threshold and split-width-threshold also when
16060         pop-up-windows is unset.  Add a reuse-window specifier for the
16061         case popping up a new window fails.
16062         (special-display-popup-frame): Remove double quoting.
16063         (display-buffer-normalize-specifiers-1): Fix thinko.
16065 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16067         * shell.el (shell-completion-vars): Set pcomplete-termination-string
16068         according to comint-completion-addsuffix.
16070         * pcomplete.el: Convert to lexical binding and fix bug#8819.
16071         (pcomplete-suffix-list): Mark as obsolete.
16072         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16073         pcomplete-seen in the closure.
16074         (pcomplete-comint-setup): Setup completion-at-point as well.
16075         (pcomplete--entries): New function.
16076         (pcomplete--env-regexp): New var.
16077         (pcomplete-entries): Rewrite to work with partial-completion and
16078         without relying on pcomplete-suffix-list.
16079         (pcomplete-pare-list): Remove, unused.
16081 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16083         * window.el (display-buffer-alist): Set pop-up-window-min-height
16084         and pop-up-window-min-width in default value.  Reported by
16085         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
16086         other-window-means-other-frame.
16087         (display-buffer-macro-specifiers): Comment out entry for
16088         other-window specifier.
16089         (display-buffer-other-window-means-other-frame): New function.
16090         (display-buffer-normalize-specifiers-1): New arguments
16091         buffer-name and label.  Treat other-window case specially.
16092         (display-buffer-normalize-specifiers-2): Treat other-window case
16093         specially.
16094         (display-buffer-normalize-specifiers-3): New function.
16095         (display-buffer-normalize-specifiers):
16096         Call display-buffer-normalize-specifiers-3.
16098 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16100         * window.el (same-window-p): Fix two typos introduced when
16101         adding with-no-warnings.
16102         (display-buffer-normalize-specifiers-1): Don't check
16103         pop-up-frames for 'unset initialization.
16104         (display-buffer-normalize-specifiers-2): Major rewrite using
16105         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16106         (pop-up-frames, display-buffer-reuse-frames)
16107         (display-buffer-mark-dedicated): Don't initialize to 'unset.
16108         Suggested by David Engster <deng@randomsample.de>.
16109         (even-window-heights): Initialize to 'unset.
16110         (display-buffer-alist-set): Handle new 'unset initializations.
16111         (display-buffer-macro-specifiers): Don't pop up a new frame in the
16112         other window case.
16114 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
16116         * window.el (display-buffer-normalize-specifiers-1):
16117         Respect current value of pop-up-frames for most reasonable values of
16118         second argument of display-buffer (Bug#8865).
16119         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16120         (switch-to-buffer-other-window-same-frame)
16121         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
16122         Adams (Bug#8875).
16123         (display-buffer): Don't check noninteractive when calling
16124         display-buffer-pop-up-frame.
16125         (display-buffer-pop-up-frame): Never pop up a frame in
16126         noninteractive mode (Bug#8857).
16127         (enlarge-window, shrink-window): Don't report an error when the
16128         window can't be resized as requested (Bug#8862).
16130 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16134         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16136         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16138 2011-06-15  Alan Mackenzie  <acm@muc.de>
16140         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16141         for declarators, disable knr checking to speed up for normal files.
16142         2: Refactor, replacing a sequence of nested if forms by a cond form.
16144 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16146         * net/network-stream.el (open-network-stream): Add the keyword
16147         :always-query-capabilities for the case where you want to force a
16148         `plain' network connection, but the protocol still requires the
16149         capabilitiy command (i.e., SMTP and EHLO).
16151         * subr.el (process-live-p): Rename from `process-alive-p' for
16152         consistency with other `-live-p' functions.
16154 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16156         * window.el (same-window-buffer-names, same-window-regexps)
16157         (special-display-frame-alist, special-display-popup-frame)
16158         (special-display-function, special-display-buffer-names)
16159         (special-display-regexps, pop-up-frame-alist)
16160         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16161         (pop-up-windows, split-window-preferred-function)
16162         (split-height-threshold, split-width-threshold, even-window-heights)
16163         (display-buffer-mark-dedicated): Don't encourage the use of
16164         display-buffer-alist from Elisp code.
16166 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
16168         * progmodes/python.el (python-mode): Derive from prog-mode.
16169         * progmodes/ps-mode.el (ps-mode):
16170         * progmodes/mixal-mode.el (mixal-mode):
16171         * progmodes/cfengine.el (cfengine-mode):
16172         * progmodes/ld-script.el (ld-script-mode): Likewise.
16174 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
16176         * window.el (display-buffer-alist): Trim default value to avoid
16177         popping up a new frame (Bug#8857) or reusing an arbitrary window
16178         on another frame.
16179         (display-buffer): Do not fall back on popping up a new frame in
16180         batch mode (Bug#8857).
16182 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
16184         * cus-theme.el (describe-theme-1): Use custom-theme-p.
16185         (custom-theme-summary): New function.
16186         (customize-themes): Use it.
16188 2011-06-13  Glenn Morris  <rgm@gnu.org>
16190         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16192 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
16194         * help.el (help-window): Remove variable.
16195         (help-window-point-marker, temp-buffer-max-height)
16196         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16197         (help-print-return-message): Don't set help-window.
16198         (resize-temp-buffer-window): Rewrite cod eand doc-string.
16199         (help-window-setup-finish): Remove.
16200         (help-window-display-message, help-window-setup)
16201         (with-help-window): Major rewrite based on new
16202         display-buffer-window variable.
16204         * help-mode.el (help-mode-finish): Remove help-window related
16205         code.
16207         * view.el (view-exits-all-viewing-windows): Remove reference to
16208         view-return-to-alist in doc-string.
16209         (view-return-to-alist): Make obsolete.
16210         (view-buffer): Call pop-to-buffer-same-window and remove
16211         undo-window code.
16212         (view-buffer-other-window): Call pop-to-buffer-other-window and
16213         simplify code.  Ignore second argument.
16214         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16215         simplify code.  Ignore second argument.
16216         (view-return-to-alist-update): Make obsolete.
16217         (view-mode-enter): Rename second argument to QUIT-RESTORE.
16218         Rewrite using quit-restore window parameters.
16219         (view-mode-exit): Rename second argument to EXIT-ONLY.
16220         Rewrite using quit-restore-window.
16221         (View-exit, View-exit-and-edit, View-leave, View-quit)
16222         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16223         appropriate arguments.
16224         (view-end-message): Use quit-restore window parameter.
16226         * window.el (display-buffer-function): Rewrite doc-string.
16227         (display-buffer-window, display-buffer-alist): New variables.
16228         (display-buffer-split-specifiers)
16229         (display-buffer-side-specifiers)
16230         (display-buffer-macro-specifiers): New constants.
16231         (display-buffer-even-window-sizes, display-buffer-set-height)
16232         (display-buffer-set-width, display-buffer-select-window)
16233         (display-buffer-in-window, display-buffer-reuse-window)
16234         (display-buffer-split-window-1, display-buffer-split-window)
16235         (display-buffer-split-atom-window, display-buffer-pop-up-window)
16236         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16237         (display-buffer-in-side-window, normalize-buffer-to-display)
16238         (display-buffer-normalize-specifiers-1)
16239         (display-buffer-normalize-specifiers-2)
16240         (display-buffer-normalize-specifiers, display-buffer-frame):
16241         New functions.
16242         (display-buffer): Major rewrite.
16243         (display-buffer-other-window, display-buffer-other-frame)
16244         (pop-to-buffer, switch-to-buffer-other-window)
16245         (switch-to-buffer-other-frame): Rewrite.
16246         (display-buffer-same-window, display-buffer-same-frame)
16247         (display-buffer-same-frame-other-window)
16248         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16249         (pop-to-buffer-other-window)
16250         (pop-to-buffer-same-frame-other-window)
16251         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16252         (switch-to-buffer-other-window-same-frame): New functions.
16253         (same-window-p, special-display-p): Rewrite disabling warnings.
16254         Make obsolete.
16255         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16256         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16257         Make obsolete
16258         (same-window-buffer-names, same-window-regexps)
16259         (special-display-frame-alist, special-display-popup-frame)
16260         (special-display-function, special-display-buffer-names)
16261         (special-display-regexps, pop-up-frame-alist)
16262         (pop-up-frame-function, split-window-preferred-function)
16263         (split-height-threshold, split-width-threshold)
16264         (even-window-heights): Make obsolete.
16266 2011-06-12  Glenn Morris  <rgm@gnu.org>
16268         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
16269         Misc simplifications.
16271 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
16273         * window.el (window-safely-shrinkable-p): Restore function which
16274         was inadvertently removed in change from 2011-06-11.  Declare as
16275         obsolete.
16277         * calendar/calendar.el (calendar-generate-window):
16278         Use window-iso-combined-p instead of combination of one-window-p and
16279         window-safely-shrinkable-p.
16281 2011-06-12  Glenn Morris  <rgm@gnu.org>
16283         * progmodes/fortran.el (fortran-mode-syntax-table):
16284         * progmodes/f90.el (f90-mode-syntax-table):
16285         Set % to punctuation.  (Bug#8820)
16286         (f90-find-tag-default): Remove, no longer needed.
16288 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
16290         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16292 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
16294         * image.el (image-animated-p): Return animation delay in seconds.
16295         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16296         (image-animate-timeout): Remove DELAY argument.  Don't assume
16297         every subimage has the same delay; get it from image-animated-p.
16298         (image-animate): Caller changed.
16300 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
16302         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16303         to ignored backtrace functions.
16305 2011-06-11  Glenn Morris  <rgm@gnu.org>
16307         * calendar/appt.el (appt-disp-window-function): Doc fix.
16308         (appt-check): Handle overlapping appointments.  (Bug#8337)
16310 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
16312         * window.el (window-tree-1, window-tree): New functions, moving
16313         the latter to window.el.
16314         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16315         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16316         (bw-refresh-edges): Remove.
16317         (balance-windows-1, balance-windows-2): New functions.
16318         (balance-windows): Rewrite in terms of window tree functions,
16319         balance-windows-1 and balance-windows-2.
16320         (bw-adjust-window): Remove.
16321         (balance-windows-area-adjust): New function with functionality of
16322         bw-adjust-window but using resize-window.
16323         (set-window-text-height): Rewrite doc-string.
16324         Use normalize-live-window and resize-window.
16325         (enlarge-window-horizontally, shrink-window-horizontally):
16326         Rename argument to DELTA.
16327         (window-buffer-height): New function.
16328         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16329         Rewrite using new window resize routines.
16330         (kill-buffer-and-window, mouse-autoselect-window-select):
16331         Use ignore-errors instead of condition-case.
16332         (quit-window): Call delete-frame instead of delete-windows-on
16333         for the only buffer on frame.
16335 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16337         * loadup.el (top-level): Load window before files for the sake
16338         of replace-buffer-in-windows.
16340         * files.el (read-buffer-to-switch)
16341         (switch-to-buffer-other-window)
16342         (switch-to-buffer-other-frame, display-buffer-other-frame):
16343         Move to window.el.
16345         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16346         (previous-buffer): Move to window.el.
16348         * bindings.el (unbury-buffer): Move to window.el.
16350         * window.el (delete-other-windows-vertically): Move after
16351         definition of delete-other-windows.
16352         (other-window, delete-windows-on, replace-buffer-in-windows):
16353         Move here from window.c.
16354         (record-window-buffer, unrecord-window-buffer)
16355         (set-window-buffer-start-and-point, switch-to-prev-buffer)
16356         (switch-to-next-buffer): New functions.
16357         (get-next-valid-buffer, last-buffer, next-buffer): Move here
16358         from simple.el.  Call switch-to-next-buffer.
16359         (previous-buffer): Move here from simple.el.
16360         Call switch-to-prev-buffer.
16361         (bury-buffer): Move here from buffer.c.  Switch to previous
16362         buffer when window cannot be deleted.
16363         (unbury-buffer): Move here from bindings.el.
16364         (ctl-x-map): Move binding for other-window from window.c to
16365         here.
16366         (read-buffer-to-switch, switch-to-buffer-other-window)
16367         (switch-to-buffer-other-frame): Move here from files.el.
16368         (normalize-buffer-to-switch-to): New functions.
16369         (switch-to-buffer): Move here from buffer.c.
16370         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16372 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16374         * window.el (window-min-height, window-min-width): Move here
16375         from window.c.  Add defcustoms and rewrite doc-strings.
16376         (resize-mini-window, resize-window): New functions.
16377         (adjust-window-trailing-edge, enlarge-window, shrink-window):
16378         Move here from window.c.
16379         (maximize-window, minimize-window): New functions.
16380         (delete-window, delete-other-windows, split-window): Move here
16381         from window.c.
16382         (window-split-min-size): New function.
16383         (split-window-keep-point): Mention split-window-above-each-other
16384         instead of split-window-vertically.
16385         (split-window-above-each-other, split-window-vertically):
16386         Rename split-window-vertically to split-window-above-each-other
16387         and provide defalias for old definition.
16388         (split-window-side-by-side, split-window-horizontally):
16389         Rename split-window-horizontally to split-window-side-by-side
16390         and provide defalias for the old definition.
16391         (ctl-x-map): Move bindings for delete-window,
16392         delete-other-windows and enlarge-window here from window.c.
16393         Replace bindings for split-window-vertically and
16394         split-window-horizontally by bindings for
16395         split-window-above-each-other and split-window-side-by-side.
16397         * cus-start.el (all): Remove entries for window-min-height and
16398         window-min-width.  Add entries for window-splits and
16399         window-nest.
16401 2011-06-09  Glenn Morris  <rgm@gnu.org>
16403         * calendar/appt.el (appt-mode-line): New function.
16404         (appt-check, appt-disp-window): Use it.
16406         * files.el (hack-one-local-variable-eval-safep):
16407         Allow minor-modes with explicit +/-1 arguments.
16409 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
16411         * term/xterm.el (xterm): Add defgroup.
16412         (xterm-extra-capabilities): Add defcustom to supply known xterm
16413         capabilities, skip querying them, or query them (default).
16414         (terminal-init-xterm): Use it.
16415         (terminal-init-xterm-modify-other-keys): New function to set up
16416         modifyOtherKeys support to simplify `terminal-init-xterm'.
16418 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
16420         * window.el (resize-window-reset, resize-window-reset-1)
16421         (resize-subwindows-skip-p, resize-subwindows-normal)
16422         (resize-subwindows, resize-other-windows, resize-this-window)
16423         (resize-root-window, resize-root-window-vertically)
16424         (window-deletable-p, window-or-subwindow-p)
16425         (frame-root-window-p): New functions.
16427 2011-06-09  Glenn Morris  <rgm@gnu.org>
16429         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16430         (ange-ftp-get-files): Use it.
16432 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
16434         * mail/sendmail.el (mail-recover-1, mail-recover):
16435         * files.el (recover-file, recover-session):
16436         Handle dired-listing-switches not being just a single short option.
16438 2011-06-09  Glenn Morris  <rgm@gnu.org>
16440         * calendar/appt.el (appt-display-message, appt-disp-window):
16441         Handle lists of appointments.
16443 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16445         * window.el (one-window-p): Move down in code.
16446         Rewrite doc-string.
16447         (window-current-scroll-bars): Rewrite doc-string.
16448         Normalize live window argument.
16449         (walk-windows, get-window-with-predicate, count-windows):
16450         Rewrite doc-string.  Use window-list-1.
16451         (window-in-direction-2, window-in-direction, get-mru-window):
16452         New functions.
16454 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
16456         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16457         Doc fix (Bug#8713).
16459 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
16461         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
16463 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
16465         * loadhist.el (unload-feature-special-hooks):
16466         Add `comint-output-filter-functions'.
16468 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
16470         * calendar/appt.el (appt-check): Move some initializations into the let.
16472 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16474         * window.el (window-height): Defalias to window-total-height.
16475         (window-width): Defalias to window-body-width.
16477 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
16479         * image-mode.el (image-toggle-animation): New command.
16480         (image-mode-map): Bind it to RET.
16481         (image-mode): Update message.
16482         (image-toggle-display-image): Avoid a spurious cache flush.
16483         (image-transform-rotation): Doc fix.
16484         (image-transform-properties): Return quickly in the normal case.
16485         (image-animate-loop): Rename from image-animate-max-time.
16487         * image.el (image-animate-max-time): Move to image-mode.el.
16488         (create-animated-image): Remove unnecessary function.
16489         (image-animate): Rename from image-animate-start.  New arg.
16490         (image-animate-stop): Remove; just use image-animate-timer.
16491         (image-animate-timer): Use car-safe.
16492         (image-animate-timeout): Rename argument.
16494 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
16496         * window.el (get-lru-window, get-largest-window): Move here from
16497         window.c.  Rename first argument to ALL-FRAMES.
16498         Rephrase doc-strings.
16499         (get-buffer-window-list): Rewrite using window-list-1.
16500         Rephrase doc-string.
16501         (window-safe-min-height, window-safe-min-width): New constants.
16502         (window-size-ignore, window-min-size, window-min-size-1)
16503         (window-sizable, window-sizable-p, window-size-fixed-1)
16504         (window-size-fixed-p, window-min-delta-1, window-min-delta)
16505         (window-max-delta-1, window-max-delta, window-resizable)
16506         (window-resizable-p, window-total-height, window-total-width)
16507         (window-body-width): New functions.
16508         (window-full-height-p, window-full-width-p): Rewrite using
16509         window-total-size.
16510         (window-body-height): Rewrite using window-body-size.
16512 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
16514         * window.el (window-right, window-left, window-child)
16515         (window-child-count, window-last-child, window-any-p)
16516         (normalize-live-buffer, normalize-live-frame)
16517         (normalize-any-window, normalize-live-window)
16518         (window-iso-combination-p, window-iso-combined-p)
16519         (window-iso-combinations)
16520         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
16521         (windows-with-parameter, window-with-parameter)
16522         (window-atom-root, make-window-atom, window-atom-check-1)
16523         (window-atom-check, window-side-check, window-check):
16524         New functions.
16525         (ignore-window-parameters, window-sides, window-sides-vertical)
16526         (window-sides-slots): New variables.
16527         (window-size-fixed): Move down in code.  Minor doc-string fix.
16529 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
16531         * comint.el (comint-dynamic-complete-as-filename)
16532         (comint-dynamic-complete-filename): Correctly call
16533         completion-in-region.
16535 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16537         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
16538         in last change.
16540 2011-06-05  Deniz Dogan  <deniz@dogan.se>
16542         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
16543         (rcirc): Use it to prompt for encryption.
16545 2011-06-05  Roland Winkler  <winkler@gnu.org>
16547         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
16548         (bibtex-search-entries): New command bound to C-c C-a.
16549         (bibtex-display-entries): New function.
16551 2011-06-05  Roland Winkler  <winkler@gnu.org>
16553         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
16554         (bibtex-insert-kill): After yanking insert newline if necessary.
16555         (bibtex-initialize): Call bibtex-string-files-init only once.
16556         (bibtex-mode): Do not call easy-menu-add.
16557         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
16558         (bibtex-yank): Set arg properly if nil.
16560 2011-06-05  Roland Winkler  <winkler@gnu.org>
16562         * textmodes/bibtex.el (bibtex-search-entry-globally):
16563         New variable.
16564         (bibtex-search-entry): Use it.
16566 2011-06-05  Roland Winkler  <winkler@gnu.org>
16568         * textmodes/bibtex.el (bibtex-entry-format): New option
16569         sort-fields.
16570         (bibtex-format-entry, bibtex-reformat): Honor this option.
16571         (bibtex-parse-entry): Return fields in proper order.
16573 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
16575         * doc-view.el (doc-view-remove-if): Move computation of result out
16576         of `dolist' to silence misleading lexical-binding warning.
16578 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
16580         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
16581         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
16583 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16585         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
16586         "SunOS 5.10".
16588 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
16590         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
16591         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
16592         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
16593         (tramp-parse-putty):
16594         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
16595         (tramp-completion-function-alist-ssh)
16596         (tramp-completion-function-alist-telnet)
16597         (tramp-completion-function-alist-su)
16598         (tramp-completion-function-alist-putty): Set `tramp-autoload'
16599         cookie.
16601         * net/tramp-ftp.el:
16602         * net/tramp-sh.el:
16603         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
16604         load "tramp.el" `tramp-set-completion-function'.
16606 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16608         * shell.el: Require and use pcomplete.
16609         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
16610         (shell-completion-vars): Set pcomplete-default-completion-function.
16612 2011-06-04  Deniz Dogan  <deniz@dogan.se>
16614         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
16615         `memq' (Bug#8799).
16617 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16619         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
16621 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
16623         * bs.el (bs--mark-unmark, bs--nth-wrapper):
16624         * mpc.el (mpc-select-extend, mpc-songpointer-context):
16625         * vc/log-view.el (log-view-beginning-of-defun):
16626         * vc/smerge-mode.el (smerge-apply-resolution-patch)
16627         (smerge-refine-forward, smerge-refine-chopup-region):
16628         Silence warning for unused `dotimes' counter variables.
16630 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16632         * net/tramp.el (tramp-with-progress-reporter): Rename from
16633         with-progress-reporter.  Use `declare'.
16634         * net/tramp-smb.el:
16635         * net/tramp-sh.el:
16636         * net/tramp-gvfs.el: Update all uses.
16638 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
16640         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
16641         buffer isn't killed before making it current.
16643 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16645         Silence various byte-compiler warnings.
16646         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
16647         `access-type' and new obsolescence format.
16648         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
16649         new format.
16650         (byte-compile-check-variable): New `access-type' argument.
16651         Only warn if the access-type is obsolete.
16652         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16653         (byte-compile-variable-set): Adjust callers.
16654         * help-fns.el (describe-variable): Adjust to new obsolescence format.
16655         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
16656         setting it as obsolete.
16657         * simple.el (minibuffer-completing-symbol):
16658         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
16659         access as obsolete.
16660         * minibuffer.el (minibuffer-completing-file-name): Don't make it
16661         obsolete yet.
16662         * international/quail.el (quail-mouse-choose-completion): Remove unused
16663         code referring to obsolete var.
16664         (quail-choose-completion-string): Remove.
16665         * server.el (server-clients-with, server-kill-buffer-query-function)
16666         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
16667         * proced.el (proced-send-signal):
16668         * emacs-lisp/lisp.el (lisp-complete-symbol):
16669         Replace completion-annotate-function with completion-extra-properties.
16671 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16673         * simple.el (goto-line): Use read-number.
16674         (overriding-map-is-bound): Remove.
16675         (saved-overriding-map): Change default.
16676         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
16677         Take the map as argument.
16678         (universal-argument, negative-argument, digit-argument): Use it.
16679         (restore-overriding-map): Adjust.
16680         (do-auto-fill): Use fill-forward-paragraph.
16681         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
16683         * minibuffer.el (minibuffer-inactive-mode-map): New var.
16684         (minibuffer-inactive-mode): New major mode.
16685         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
16686         the *Messages* buffer" hack.
16687         (mouse-popup-menubar): Don't burp if the event is a normal key.
16689         Miscellaneous tweaks.
16690         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
16691         lexical scoping as in subr.el's dolist and dotimes.
16692         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
16693         Silence compiler warning.
16694         * thingatpt.el (forward-whitespace): Trivial coding style fix.
16695         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
16696         * international/ccl.el (ccl-compile): Trivial simplification.
16697         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
16698         * emacs-lisp/testcover.el (testcover-end): Remove spurious
16699         `printflag' argument.
16700         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
16701         Purecopy the whole obsolescence data.
16703 2011-06-01  Leo Liu  <sdl.web@gmail.com>
16705         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
16706         improve doc-string as suggested by Marco Pessotto
16707         <melmothx@gmail.com>.
16708         (rcirc-print): Fix last change.
16710 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16712         * minibuffer.el (complete-with-action): Return nil for the metadata and
16713         boundaries of non-functional tables.
16714         (completion-table-dynamic): Return nil for the metadata.
16715         (completion-table-with-terminator): Add default case, using
16716         complete-with-action.
16717         (completion--metadata): New function.
16718         (completion-all-sorted-completions, minibuffer-completion-help): Use it
16719         to try and avoid pathological performance problems.
16720         (completion--embedded-envvar-table): Return `category' metadata.
16722 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16724         * subr.el (process-alive-p): New tiny convenience function.
16726 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16728         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
16729         content but also its previous major mode.
16731 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
16733         * emacs-lisp/debug.el (debug): Restore the previous content of the
16734         *Backtrace* buffer when we exit with C-M-c.
16736 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16738         * minibuffer.el: Add metadata method to completion tables.
16739         (completion-category-overrides): New defcustom.
16740         (completion-metadata, completion--field-metadata)
16741         (completion-metadata-get, completion--styles)
16742         (completion--cycle-threshold): New functions.
16743         (completion-try-completion, completion-all-completions):
16744         Add `metadata' argument to choose completion-styles.
16745         (completion--do-completion): Use metadata to choose cycling.
16746         (completion-all-sorted-completions): Use metadata for sorting.
16747         Remove :completion-cycle-penalty which is not needed any more.
16748         (completion--try-word-completion): Add `metadata' argument.
16749         (minibuffer-completion-help): Check metadata for annotation function
16750         and sorting.
16751         (completion-file-name-table): Return `category' metadata.
16752         (minibuffer-completing-file-name): Make obsolete.
16753         * simple.el (minibuffer-completing-symbol): Make obsolete.
16754         * icomplete.el (icomplete-completions): Pass new `metadata' param to
16755         completion-try-completion.
16757 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16759         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16761 2011-05-30  Leo Liu  <sdl.web@gmail.com>
16763         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16764         (rcirc-print): Decode all incoming messages (bug#8744).
16765         (rcirc-decode-coding-system): Allow value nil for automatic coding
16766         system detection.
16768 2011-06-01  Glenn Morris  <rgm@gnu.org>
16770         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16772 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16774         * image.el (image-animate-max-time): Allow nil and t values.
16775         Default to nil.
16776         (create-animated-image): Doc fix.
16777         (image-animate-start): Remove second arg; just use
16778         image-animate-max-time.
16779         (image-animate-timeout): Doc fix.  Args changed.
16781         * image-mode.el (image-toggle-display-image): Ensure that the
16782         image spec passed to the animate timer is the same object as in
16783         the buffer's display property (Bug#6981).
16784         (image-transform-properties): Doc fix.
16786         * image.el (image-animate-max-time): Default to nil.
16788 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
16790         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16791         entire buffer list (Bug#8184).
16793 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16795         * image.el (imagemagick-types-inhibit)
16796         (imagemagick-register-types): Doc fix.
16798 2011-05-29  Deniz Dogan  <deniz@dogan.se>
16800         * net/rcirc.el (rcirc): Use the user's stored encryption method by
16801         default.
16803 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16805         * select.el: Don't perform clipboard-manager saving in hooks;
16806         leave the hooks empty.
16808 2011-05-28  Leo Liu  <sdl.web@gmail.com>
16810         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16811         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
16812         (occur-edit-mode): New major mode (Bug#8463).
16813         (occur-after-change-function): New function.
16814         (occur-engine): Give Occur tags a read-only property.
16816 2011-05-28  Kevin Ryde  <user42@zip.com.au>
16818         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16820 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16822         * bindings.el (help-echo): Make the initial non-indicator dash
16823         empty on graphical terminals (Bug#7295).
16825         * files.el (auto-mode-alist): Move config rule after the
16826         in-stripping one (Bug#8547).
16828         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16830         * startup.el (normal-splash-screen): Remove gratuitous mode-line
16831         setting (Bug#8740).
16833 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
16835         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16836         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16837         (Bug#8539).
16839 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16841         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16843 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
16845         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16846         (hs-hide-block-at-point, hs-find-block-beginning)
16847         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16848         (Bug#8279).
16850 2011-05-28  Glenn Morris  <rgm@gnu.org>
16852         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
16854 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16856         * help-fns.el (describe-function-1): If the function is a derived
16857         major mode, print the parent mode.
16859         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16860         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16862 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16864         * minibuffer.el (completion--capf-wrapper): Check applicability before
16865         returning non-nil for non-exclusive completion data.
16866         * progmodes/etags.el (tags-completion-at-point-function):
16867         * info-look.el (info-lookup-completions-at-point): Mark as
16868         non-exclusive.
16869         (info-complete): Adjust accordingly.
16871         * info-look.el: Convert to lexical-binding and completion-at-point.
16872         (info-lookup-completions-at-point): New function.
16873         (info-complete): Use it and completion-in-region.
16875 2011-05-28  Drew Adams  <drew.adams@oracle.com>
16877         * isearch.el: Let M-e start with point at the first mismatched char.
16878         (isearch-fail-pos): New function.
16879         (isearch-edit-string): Use it.
16881 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16883         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16885 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
16887         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
16888         traversal functions for avl-trees.
16889         (avl-tree--stack): New struct.
16890         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16891         (avl-tree-enter): Add optional `updatefun' arg.
16892         (avl-tree--do-enter): Add optional `updatefun' arg.
16893         Change return value.
16894         (avl-tree-delete): Add optional `test' and `nilflag' args.
16895         (avl-tree--do-delete): Add `test' and `nilflag' args.
16896         Change return value.
16897         (avl-tree-member): Add optional `nilflag'
16898         (avl-tree-member-p): New function.
16899         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16900         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16901         (avl-tree-stack-empty-p): New functions.
16903         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16904         avl-tree--del-balance1 and make it work both ways.
16905         (avl-tree--del-balance2): Remove.
16906         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16907         make it work both ways.
16908         (avl-tree--enter-balance2): Remove.
16909         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16910         New macros.
16911         (avl-tree--mapc, avl-tree-map): Add direction argument.
16913 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
16915         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16917 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
16919         * select.el: Support clipboard managers with built-in function
16920         x-clipboard-manager-save, via delete-frame-functions and
16921         kill-emacs-hook.
16922         (xselect-convert-to-targets): Add MULTIPLE target to list.
16923         (xselect-convert-to-save-targets): New function.
16925 2011-05-27  Kenichi Handa  <handa@m17n.org>
16927         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16928         let-binding rfc2047-encode-encoded-words to nil.
16930 2011-05-27  Glenn Morris  <rgm@gnu.org>
16932         * mail/emacsbug.el: Don't require url-util.
16934         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
16936         * files.el (set-auto-mode):
16937         Also respect mode: entries at the end of the file.  (Bug#8586)
16939 2011-05-26  Glenn Morris  <rgm@gnu.org>
16941         * files.el (hack-local-variables-prop-line, hack-local-variables):
16942         Downcase mode names, as seems to be traditional.
16943         (hack-local-variables, hack-local-variables-apply): Doc fixes.
16945         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16946         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
16948 2011-05-25  Julien Danjou  <julien@danjou.info>
16950         * textmodes/rst.el (rst-define-level-faces): Do not define face
16951         symbol if it is already defined.
16953 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16955         * play/5x5.el (5x5-new-game, 5x5-randomize):
16956         Reset 5x5-solver-output to nil when a new grid is cast.
16957         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16958         these debugging traces, as defmacro breaks the compiled code.
16960 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16962         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16964 2011-05-24  Leo Liu  <sdl.web@gmail.com>
16966         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16967         (vc-bzr-sha1): Adapt.
16969         * sha1.el: Remove.  Function `sha1' is now builtin.
16971         * bindings.el: Provide sha1 feature.
16973 2011-05-24  Kenichi Handa  <handa@m17n.org>
16975         * mail/sendmail.el: Require `rfc2047'.
16976         (mail-insert-from-field): Do not perform RFC2047 encoding.
16977         (mail-encode-header): New function.
16978         (sendmail-send-it): Set buffer-file-coding-system of the work
16979         buffer to the return value of select-message-coding-system.
16980         Call mail-encode-header.
16982         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16984 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
16986         * mail/supercite.el (sc-default-cite-frame):
16987         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16989 2011-05-24  Glenn Morris  <rgm@gnu.org>
16991         * progmodes/python.el (brm-menu): Declare.
16993         * emulation/viper.el (viper-set-hooks): Declare.
16995         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16996         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16997         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16998         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16999         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17000         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17002 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17004         Add an :exit-function for completion-at-point.
17006         * minibuffer.el (completion--done): New fun.
17007         (completion--do-completion): Use it.  New arg `expect-exact'.
17008         (minibuffer-complete, minibuffer-complete-word): Don't output message,
17009         since completion--do-completion does it for us now.
17010         (minibuffer-force-complete): Use completion--done and
17011         completion--replace.  Handle sole-completion case with more care.
17012         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17013         (completion-extra-properties): New var.
17014         (completion-annotate-function): Make obsolete.
17015         (minibuffer-completion-help): Adjust accordingly.
17016         Use completion-list-insert-choice-function.
17017         (completion-at-point, completion-help-at-point):
17018         Bind completion-extra-properties.
17019         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17020         * simple.el (completion-list-insert-choice-function): New var.
17021         (completion-setup-function): Preserve it.
17022         (choose-completion): Pay attention to it, shuffle the code a bit.
17023         (choose-completion-string): New arg `insert-function'.
17025         * textmodes/bibtex.el: Convert to lexical binding.
17026         (bibtex-mode-map): Use completion-at-point.
17027         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17028         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17029         (bibtex-complete): Define as obsolete alias.
17030         (bibtex-complete-internal): Remove.
17031         (bibtex-format-entry): Remove unused sub-group in regexp.
17032         * shell.el (shell--command-completion-data)
17033         (shell-environment-variable-completion):
17034         * pcomplete.el (pcomplete-completions-at-point):
17035         * comint.el (comint--complete-file-name-data): Use :exit-function
17036         instead of completion-table-with-terminator so it also works for
17037         choose-completion.
17039 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17041         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17043         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17044         (bug#8710).
17046         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17048 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
17050         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17051         customization variable and implement: If non-nil, auto-fill will
17052         be inhibited while on topic's header line.
17054 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17056         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17057         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
17058         always have a solution in grid size = 5 cases.
17059         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17060         (5x5-solver-output, 5x5-log-buffer): New vars.
17061         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17062         Make these variables buffer local to achieve 5x5 multi-session-ness.
17063         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17064         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17065         (5x5-solve-suggest): New funs.
17066         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17067         randomize a grid so that we ensure that there is always a solution.
17068         (5x5-make-random-grid): Allow other movement than flipping.
17070 2011-05-23  Kevin Ryde  <user42@zip.com.au>
17072         * emacs-lisp/advice.el (ad-read-advised-function):
17073         Use `function-called-at-point' as the default, if it has
17074         advice and passes PREDICATE.
17076 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17078         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17079         byte-compile-lambda if it's actually a lambda.
17081         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17082         Fix function quoting.  Use backquote better.
17084 2011-05-22  Yuanle Song  <sylecn@gmail.com>
17086         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17087         matching (Bug#8516).
17089 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
17091         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17092         different face (Bug#8178).
17094 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
17096         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17097         defface (Bug#8144).
17099 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17101         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17102         funcall as well (bug#8712).  Warn when performing those conversions.
17103         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17105         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17107 2011-05-22  Glenn Morris  <rgm@gnu.org>
17109         * files.el (hack-local-variables-prop-line): Small simplifications.
17110         (hack-local-variables, hack-local-variables-prop-line):
17111         If MODE-ONLY, return the mode, rather than just `t'.
17113 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17115         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17117 2011-05-21  Glenn Morris  <rgm@gnu.org>
17119         * files.el (hack-local-variables-prop-line, hack-local-variables):
17120         If only interested in the mode, don't bother doing the other stuff.
17122         * image-mode.el (image-after-revert-hook):
17123         Redraw all frames on which the image is visible.  (Bug#8567)
17125         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
17127         * wid-edit.el (widget-checklist-match-inline):
17128         Fix 2011-04-19 change.  (Bug#8649)
17130 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17132         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17133         Also allow singlespace after single-letter capitals followed by a dot.
17135         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17136         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17138 2011-05-20  Nix  <nix@esperi.org.uk>
17140         * files.el (basic-save-buffer-2):
17141         Fix handling of break-hardlink-on-save with non-existent files.
17143 2011-05-19  Deniz Dogan  <deniz@dogan.se>
17145         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17146         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17148 2011-05-19  Glenn Morris  <rgm@gnu.org>
17150         * progmodes/f90.el (f90-type-def-re):
17151         Handle "type, bind(c)".  (Bug#8691)
17153         * emacs-lisp/autoload.el (batch-update-autoloads):
17154         Set autoload-excludes by parsing loadup.el rather than Makefiles.
17156 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
17158         * net/tramp.el (tramp-process-actions): Set "first-password-request"
17159         property for the correct connection in case of multihops.
17161 2011-05-18  Glenn Morris  <rgm@gnu.org>
17163         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17164         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17166         Rationalize calendar handling of day and month abbrev-arrays.
17167         * calendar/calendar.el (calendar-customized-p): New function.
17168         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17169         (calendar-day-name-array, calendar-month-name-array): Doc fix.
17170         Add :set function.
17171         (calendar-abbrev-length, calendar-day-abbrev-array)
17172         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17173         (calendar-day-abbrev-array, calendar-month-abbrev-array):
17174         Elements may no longer be nil.
17175         (calendar-day-name, calendar-month-name):
17176         Update for changed nature of abbrev arrays.
17177         * calendar/diary-lib.el (diary-name-pattern):
17178         Update for changed nature of abbrev arrays.
17179         (diary-mark-entries-1): Update calendar-make-alist calls.
17180         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17181         * calendar/cal-html.el (cal-html-day-abbrev-array):
17182         Simply inherit from calendar-day-abbrev-array.
17184 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17186         * progmodes/grep.el (grep-mode): Disable default
17187         compilation-directory-matcher setting (bug#8684).
17189 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
17191         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17192         instead of "head" and "tail".  There were problems with SunOS 5.9,
17193         and it performs better.
17195 2011-05-17  Glenn Morris  <rgm@gnu.org>
17197         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17199         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17200         Replace obsolete function.
17202         * shell.el (pcomplete-parse-arguments-function): Declare.
17204         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17205         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17206         (appt-check): Doc fixes.
17207         (appt-disp-window-function, appt-delete-window-function):
17208         Remove needless special case in custom :type.
17209         (appt-display-count): Default to 0, not nil.
17210         (appt-check): Reset appt-display-count to 0, not nil.
17212 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
17214         * progmodes/python.el (python-font-lock-keywords):
17215         Add the Python 3.X keyword "nonlocal" (bug#8639).
17217 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17219         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17221 2011-05-16  Kevin Ryde  <user42@zip.com.au>
17223         * info-look.el (makefile-automake-mode): New setups, looking in
17224         automake manual, then makefile-mode.
17225         (makefile-mode): Remove automake manual, have it just in
17226         makefile-automake-mode since there's various things different or
17227         not relevant to plain make.
17228         (makefile-mode): Remove "other-modes" non-existent automake-mode,
17229         believe a hypothetical automake-mode would go to makefile-mode,
17230         not the other way around.
17232 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
17234         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17235         hunk-end tags (Bug#8672).
17237         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17238         vc-annotate-show-diff-revision-at-line (Bug#8671).
17240 2011-05-14  Glenn Morris  <rgm@gnu.org>
17242         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17243         in the middle of an existing one with multiple authors.  (Bug#8645)
17244         (change-log-font-lock-keywords): Also handle multiple author lines
17245         with leading tabs.  (Bug#8644)
17247         * calendar/appt.el (appt-check): Rename some local variables.
17248         Some simplification/reordering.
17250         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17251         (feedmail-sendmail-f-doesnt-sell-me-out)
17252         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17253         (feedmail-debug-sit-for, feedmail-queue-express-hook)
17254         (feedmail-queue-runner-message-sender): Set :version.
17255         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17256         (bbdb-dwim-net-address, vm-mail): Declare.
17257         (feedmail-binmail-gnulinuxish-template):
17258         Rename from feedmail-binmail-linuxish-template.
17259         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17260         Use insert-buffer-substring.
17262 2011-05-14  Bill Carpenter  <bill@carpenter.org>
17264         * mail/feedmail.el (feedmail-patch-level): Increase.
17265         (feedmail-debug): New custom group.
17266         (feedmail-confirm-outgoing-timeout)
17267         (feedmail-sendmail-f-doesnt-sell-me-out)
17268         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17269         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17270         (feedmail-sender-line, feedmail-from-line)
17271         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17272         (feedmail-spray-this-address)
17273         (feedmail-spray-address-fiddle-plex-list)
17274         (feedmail-queue-use-send-time-for-date)
17275         (feedmail-queue-use-send-time-for-message-id)
17276         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17277         (feedmail-buffer-eating-function):
17278         Doc fixes.
17279         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17280         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17281         (feedmail-message-action-scroll-down): New functions.
17282         (feedmail-queue-directory, feedmail-queue-draft-directory):
17283         Use expand-file-name.
17284         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17285         Remove C-v help entry.
17286         (feedmail-queue-buffer-file-name): New variable.
17287         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17288         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17289         (feedmail-message-action-send-strong, feedmail-message-action-edit)
17290         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17291         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17292         (feedmail-message-action-toggle-spray)
17293         (feedmail-run-the-queue-no-prompts)
17294         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17295         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17296         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17297         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17298         (feedmail-envelope-deducer, feedmail-fiddle-from)
17299         (feedmail-fiddle-sender, feedmail-default-date-generator)
17300         (feedmail-fiddle-date, feedmail-fiddle-message-id)
17301         (feedmail-fiddle-spray-address)
17302         (feedmail-fiddle-list-of-spray-fiddle-plexes)
17303         (feedmail-fiddle-list-of-fiddle-plexes)
17304         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17305         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17306         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17307         Change default.  Doc fix.
17308         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17309         (feedmail-binmail-linuxish-template): New constant.
17310         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
17311         Respect feedmail-sendmail-f-doesnt-sell-me-out.
17312         (feedmail-send-it): Add debug call.
17313         Use feedmail-queue-buffer-file-name, and
17314         feedmail-send-it-immediately-wrapper.
17315         (feedmail-message-action-send): Add debug call.
17316         Use feedmail-send-it-immediately-wrapper.
17317         (feedmail-queue-express-to-queue): Add debug call.
17318         Run feedmail-queue-express-hook.
17319         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
17320         (feedmail-message-action-help-blat):
17321         Rename from feedmail-queue-send-edit-prompt-help-first.
17322         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
17323         Check line-endings.  Handle errors better.
17324         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17325         Doc fix.  Add debug call.
17326         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
17327         Use feedmail-queue-send-edit-prompt-inner.
17328         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17329         (feedmail-queue-send-edit-prompt-inner): New function, extracted
17330         from feedmail-queue-send-edit-prompt.
17331         (feedmail-queue-send-edit-prompt-help)
17332         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17333         (feedmail-tidy-up-slug): Add debug call.
17334         Respect feedmail-queue-slug-suspect-regexp.
17335         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17336         (feedmail-dump-message-to-queue): Add debug call.
17337         Expand queue-directory.
17338         (feedmail-dump-message-to-queue): Change message slightly.
17339         Use feedmail-say-chatter.
17340         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
17341         (feedmail-send-it-immediately-wrapper): New function.
17342         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
17343         Insert empty string rather than newline.  Handle full-frame case.
17344         Use catch/throw.  Use feedmail-say-chatter.
17345         (feedmail-fiddle-from): Try mail-host-address.
17346         (feedmail-default-message-id-generator): Doc fix.
17347         Bind system-time-locale.  Handle missing end.
17348         (feedmail-fiddle-x-mailer): Add debug call.
17349         Handle feedmail-x-mailer-line being nil.
17350         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17351         Add debug call.  Use buffer-substring-no-properties.
17352         (feedmail-say-debug, feedmail-say-chatter): New functions.
17353         (feedmail-find-eoh): Give an explicit error.
17355 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
17357         * net/newst-treeview.el (newsticker-treeview-face): Change default
17358         family from helvetica to sans.
17359         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17360         etc/images/newsticker.
17362         * net/newst-reader.el (newsticker-feed-face): Change default
17363         family from helvetica to sans.
17365         * net/newst-plainview.el (newsticker-new-item-face)
17366         (newsticker-old-item-face, newsticker-immortal-item-face)
17367         (newsticker-obsolete-item-face, newsticker-date-face)
17368         (newsticker-statistics-face): Change default family from
17369         helvetica to sans.
17370         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17371         etc/images/newsticker.
17373         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17374         (newsticker--process-auto-mark-filter-match): Tell user about
17375         auto-marking.
17377 2011-05-13  Didier Verna  <didier@xemacs.org>
17379         Common Lisp indentation improvements on defmethod and lambda-lists.
17380         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17381         TODO entries.
17382         (lisp-lambda-list-keyword-parameter-indentation)
17383         (lisp-lambda-list-keyword-parameter-alignment)
17384         (lisp-lambda-list-keyword-alignment): New customizable user options.
17385         (lisp-indent-defun-method): Improve docstring.
17386         (extended-loop-p): Fix comment.
17387         (lisp-indent-lambda-list-keywords-regexp): New variable.
17388         (lisp-indent-lambda-list): New function.
17389         (lisp-indent-259): Use it.
17390         (lisp-indent-defmethod): Support for more than one
17391         method qualifier and properly indent methods lambda-lists.
17392         (defgeneric): Provide a missing common-lisp-indent-function property.
17394 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17396         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17397         bounds for the empty string (bug#8667).
17399 2011-05-13  Glenn Morris  <rgm@gnu.org>
17401         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17403         * mail/sendmail.el (sendmail-program): Try executable-find first.
17404         (sendmail-send-it): `sendmail-program' cannot be unbound.
17406         * calendar/appt.el (appt-make-list): Simplify.
17407         (appt-time-msg-list): Doc fix.
17408         (appt-check): Change mode-line message at the time of the appointment.
17410 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17412         * progmodes/ld-script.el (ld-script-keywords)
17413         (ld-script-builtins): Update keywords list.
17415 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17417         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17419         * shell.el (shell-completion-vars): New function.
17420         (shell-mode):
17421         * simple.el (read-shell-command): Use it.
17422         (blink-matching-open): No need for " [...]" in minibuffer-message.
17424 2011-05-12  Glenn Morris  <rgm@gnu.org>
17426         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17427         (appt-check): Simplify.
17429 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
17431         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17432         literal "/dev/null".
17434 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17436         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17437         Fix typo.
17439 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
17441         * progmodes/which-func.el (which-function):
17442         Use add-log-current-defun instead of add-log-current-defun-function,
17443         which might not be defined (Bug#8260).
17445 2011-05-12  Glenn Morris  <rgm@gnu.org>
17447         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17448         Let byte-compile-initial-macro-environment always take precedence.
17450 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17452         * net/rcirc.el: Add support for SSL/TLS connections.
17453         (rcirc-server-alist): New field `encryption'.
17454         (rcirc): Check `encryption' settings.
17455         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
17456         Merge make-local-variable into `set'.
17457         (rcirc--connection-open-p): New function.
17458         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
17459         the process is not a network process (e.g. running gnutls-cli).
17460         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
17461         Make rcirc-(en|de)code-coding-system local here.
17462         (rcirc-mode): Merge make-local-variable into `set'.
17463         (rcirc-parent-buffer): Make permanent buffer-local.
17464         (rcirc-multiline-minor-mode): Don't do it here.
17465         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
17466         there's no server buffer.
17468 2011-05-11  Glenn Morris  <rgm@gnu.org>
17470         * newcomment.el (comment-kill): Prefix "unused" local.
17472         * term/w32console.el (get-screen-color): Declare.
17474         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
17475         Handle symbol elements of byte-compile-initial-macro-environment.
17477 2011-05-10  Leo Liu  <sdl.web@gmail.com>
17479         * bookmark.el (bookmark-bmenu-mode-map):
17480         Bind bookmark-bmenu-search to `/'.
17482         * mail/footnote.el: Convert to utf-8 encoding.
17483         (footnote-unicode-string, footnote-unicode-regexp): New variable.
17484         (Footnote-unicode): New function.
17485         (footnote-style-alist): Add unicode style to the list.
17486         (footnote-style): Doc fix.
17488 2011-05-10  Jim Meyering  <meyering@redhat.com>
17490         Fix doubled-word typos.
17491         * international/quail.el (quail-insert-kbd-layout): and and -> and
17492         * kermit.el: and and -> and
17493         * net/ldap.el (ldap-search-internal): to to -> to
17494         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
17495         * progmodes/js.el (js-mode): and and -> and
17496         * textmodes/artist.el (artist-move-to-xy): at at -> at
17497         (artist-draw-region-trim-line-endings): if if -> if
17498         And Safetyc -> Safety.
17499         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
17501 2011-05-10  Glenn Morris  <rgm@gnu.org>
17502             Stefan Monnier  <monnier@iro.umontreal.ca>
17504         * files.el (hack-one-local-variable-eval-safep):
17505         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
17507 2011-05-10  Glenn Morris  <rgm@gnu.org>
17509         * calendar/diary-lib.el (diary-list-entries-hook)
17510         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
17511         (diary-nongregorian-marking-hook, diary-list-entries)
17512         (diary-include-other-diary-files, diary-mark-entries)
17513         (diary-mark-included-diary-files): Doc fixes.
17515 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17517         * misc.el: Require tabulated-list.el during compilation.
17519 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17521         * progmodes/compile.el (compilation-start):
17522         Run compilation-filter-hook for the async case too.
17523         (compilation-filter-hook): Doc fix.
17525 2011-05-09  Deniz Dogan  <deniz@dogan.se>
17527         * wdired.el: Remove outdated installation comment.  Fix usage
17528         comment.
17530 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
17532         * misc.el: Implement new command `list-dynamic-libraries'.
17533         (list-dynamic-libraries--loaded-only-p): New variable.
17534         (list-dynamic-libraries--refresh): New function.
17535         (list-dynamic-libraries): New command.
17537 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
17539         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17540         Fix the ant regexp to handle end-line and end-column info from jikes.
17541         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
17542         higher priority to avoid clobbering by gnu.
17544 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17546         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
17547         if the face has existing theme settings (Bug#8454).
17549 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
17551         * progmodes/perl-mode.el (perl-imenu-generic-expression):
17552         Only match variables declared via `my' or `our' (Bug#8261).
17554         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
17555         special file names `.' and `..' (Bug#8259).
17557 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
17559         * progmodes/grep.el (grep-mode-font-lock-keywords):
17560         Remove buffer-changing entries.
17561         (grep-filter): New function.
17562         (grep-mode): Add it to compilation-filter-hook.
17564         * progmodes/compile.el (compilation-filter-hook)
17565         (compilation-filter-start): New defvars.
17566         (compilation-filter): Call compilation-filter-hook prior to
17567         updating the process mark.
17569 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17571         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
17573 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
17575         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
17576         mailclient-send-it even if window-system is nil.  (Bug#8595)
17578         * term/w32console.el (terminal-init-w32console):
17579         Call get-screen-color and use its output to set the frame
17580         background-mode.  (Bug#8597)
17582 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
17584         Make bytecomp.el understand that defmethod defines funs (bug#8631).
17585         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
17586         New functions.
17587         (defgeneric, eieio--defmethod): Use them.
17588         (eieio-defgeneric): Remove.
17589         (defmethod): Call defgeneric in a way visible to the byte-compiler.
17591 2011-05-07  Glenn Morris  <rgm@gnu.org>
17593         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
17594         Use let rather than let*.
17595         (timeclock-find-discrep): Remove unused local.
17597         * calendar/diary-lib.el (diary-comment-start): Doc fix.
17599         * calendar/appt.el (appt-time-msg-list): Doc fix.
17601 2011-05-06  Noah Friedman  <friedman@splode.com>
17603         * apropos.el (apropos-print-doc): Only use
17604         emacs-lisp-docstring-fill-column when it is bound to an integer,
17605         per that variable's documentation.
17607 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17609         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
17610         and warnings are not silently discarded (e.g. use -d instead of -P).
17612 2011-05-06  Glenn Morris  <rgm@gnu.org>
17614         * calendar/appt.el (appt-message-warning-time): Doc fix.
17615         (appt-warning-time-regexp): New option.
17616         (appt-make-list): Respect appt-message-warning-time.
17618         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
17619         New options.
17620         (diary-add-to-list): Strip comments from the displayed string.
17621         (diary-mode): Set comment-start and comment-end.
17623         * vc/diff-mode.el (smerge-refine-subst): Declare.
17624         (diff-refine-hunk): Don't require smerge-mode when compiling.
17626 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
17628         * simple.el (list-processes): Return nil as the docstring says.
17630 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17632         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
17633         to "".
17634         (ange-ftp-write-region, ange-ftp-insert-file-contents)
17635         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
17636         determining of binary transfer.  (Bug#7383)
17638 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
17640         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17641         Fix port computation bug.  (Bug#8618)
17643 2011-05-05  Glenn Morris  <rgm@gnu.org>
17645         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
17647         * simple.el (shell-dynamic-complete-functions)
17648         (comint-dynamic-complete-functions): Declare.
17650         * net/network-stream.el (gnutls-negotiate):
17651         * simple.el (tabulated-list-print): Fix declarations.
17653         * progmodes/gud.el (syntax-symbol, syntax-point):
17654         Remove unnecessary and incorrect declarations.
17656         * emacs-lisp/check-declare.el (check-declare-scan):
17657         Handle byte-compile-initial-macro-environment in bytecomp.el
17659 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17661         Fix earlier half-done eieio-defmethod change (bug#8338).
17662         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
17663         Streamline and change calling convention.
17664         (defmethod): Adjust accordingly and simplify.
17665         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
17666         new eieio--defmethod.
17667         (slot-boundp): Minor CSE simplification.
17669 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
17671         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
17672         (glasses-make-readable): Use glasses-separate-capital-groups.
17674 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
17676         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
17677         (warning-series): Doc fix.
17678         (display-warning): Don't try to create the buffer if we just found it.
17680 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
17682         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
17683         (autoload-find-generated-file): New function.
17684         (generate-file-autoloads): Bind generated-autoload-file to
17685         buffer-file-name.
17686         (update-file-autoloads, update-directory-autoloads):
17687         Use autoload-find-generated-file.  If called interactively, prompt for
17688         output file (Bug#7989).
17689         (batch-update-autoloads): Doc fix.
17691 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
17693         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
17695 2011-05-04  Glenn Morris  <rgm@gnu.org>
17697         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
17698         function, so it follows changes in calendar-date-style.
17699         (diary-fancy-date-matcher): New function.
17700         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
17701         (diary-fancy-font-lock-fontify-region-function):
17702         Use diary-fancy-date-pattern as a function.
17704         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
17705         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
17707 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
17709         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
17710         instead of positional arguments.  Allow :keylist and :crlfiles
17711         arguments.
17712         (open-gnutls-stream): Call it.
17714         * net/network-stream.el (network-stream-open-starttls): Adjust to
17715         call `gnutls-negotiate' with :process and :hostname arguments.
17717 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17719         * minibuffer.el (completion--message): New function.
17720         (completion--do-completion, minibuffer-complete)
17721         (minibuffer-force-complete, minibuffer-complete-word): Use it.
17722         (completion--do-completion): Don't ignore completion-auto-help when in
17723         icomplete-mode.
17725         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
17726         internal encoding (e.g. tibetan zero is not whitespace).
17727         (global-whitespace-mode): Prefer save-current-buffer.
17728         (whitespace-trailing-regexp): Remove useless save-match-data.
17729         (whitespace-empty-at-bob-regexp): Minor simplification.
17731 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
17733         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
17735 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
17737         * textmodes/ispell.el (ispell-add-per-file-word-list):
17738         Use `concat' to create string for insertion.
17740 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17742         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
17743         Avoid open-line which runs post-self-insert-hook.
17744         (bibtex-fill-entry): Remove unused `end' var.
17746 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
17748         * textmodes/ispell.el (ispell-add-per-file-word-list):
17749         Protect against `nil' value of `comment-start' (Bug#8579).
17751 2011-05-03  Leo Liu  <sdl.web@gmail.com>
17753         * isearch.el (isearch-yank-pop): New command.
17754         (isearch-mode-map): Bind it to `M-y'.
17755         (isearch-forward): Mention it.
17757 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17759         * simple.el (minibuffer-complete-shell-command): Remove.
17760         (minibuffer-local-shell-command-map): Use completion-at-point.
17761         (read-shell-command): Setup completion vars here instead.
17762         (read-expression-map): Bind TAB to symbol completion.
17764         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17765         error directly rather via storing it into `results'.
17767 2011-05-02  Leo Liu  <sdl.web@gmail.com>
17769         * vc/diff.el: Fix description.
17771 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17773         * server.el (server-eval-at): New function.
17775 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17777         * net/network-stream.el (open-network-stream): Take a :nowait
17778         parameter and pass it on to `make-network-process'.
17779         (network-stream-open-plain): Ditto.
17781 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17783         * faces.el (face-spec-set-match-display): Don't match toolkit
17784         options on terminal frames.
17786 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17788         * progmodes/pascal.el: Use lexical binding.
17789         (pascal-mode-map): Remove author preferences.
17791         * pcomplete.el (pcomplete-std-complete): Don't abuse
17792         completion-at-point.
17794 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17796         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17797         removing code that has been dead since 1991 or so.
17799         * startup.el (command-line): When warning about "_emacs", use a
17800         delayed warning to allow the user to filter it out.
17802 2011-04-28  Deniz Dogan  <deniz@dogan.se>
17804         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17805         user has not joined.
17807 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17809         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17810         aren't any completions at point.
17812 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17814         * subr.el (display-delayed-warnings): New function.
17815         (delayed-warnings-hook): New variable.
17817 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17819         * minibuffer.el (completion-at-point, completion-help-at-point):
17820         Don't presume that a given completion-at-point-function will always
17821         use the same calling convention.
17823         * pcomplete.el (pcomplete-completions-at-point):
17824         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
17825         pcomplete-seen is non-nil.
17826         (pcomplete-comint-setup): Also recognize the new comint/shell
17827         completion functions.
17828         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17829         pcomplete-seen is non-nil.
17831 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
17833         * calendar/icalendar.el (diary-lib): Add require statement.
17834         (icalendar--create-uid): Read out a uid from a text-property on
17835         the first character in the entry.  This allows for code to add its
17836         own uid to the entry.
17837         (icalendar--convert-float-to-ical): Add export of
17838         `diary-float'-entries save for those with the optional DAY
17839         argument.
17841 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
17843         * subr.el (shell-quote-argument): Use alternate escaping strategy
17844         when we spot a variable reference in a string.
17846 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17848         * cus-start.el (all): Define customization for debug-on-event.
17850 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17852         * subr.el (shell-quote-argument): Escape correctly under Windows.
17854 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17856         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17858 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
17860         * net/tramp.el (tramp-process-actions): Add POS argument.
17861         Delete region between POS and (pos).
17863         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17864         Use `nil' position in `tramp-process-actions' call.
17865         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17867         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17868         position in `tramp-process-actions' call.
17870         * net/trampver.el: Update release number.
17872 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17874         * custom.el (defcustom): Obey lexical-binding.
17876         Fix octave-inf completion problems reported by Alexander Klimov.
17877         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17878         Inherit from octave-mode-syntax-table.
17879         (inferior-octave-mode): Set info-lookup-mode.
17880         (inferior-octave-completion-at-point): New function.
17881         (inferior-octave-complete): Use it and completion-in-region.
17882         (inferior-octave-dynamic-complete-functions): Use it as well, and use
17883         comint-filename-completion.
17884         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17885         symbol elements which shouldn't be word elements.
17886         (octave-font-lock-keywords, octave-beginning-of-defun)
17887         (octave-function-header-regexp): Adjust regexps accordingly.
17888         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17890 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
17892         * net/gnutls.el (gnutls-errorp): Declare before first use.
17894 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
17896         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17897         verify-error, and verify-hostname-error parameters.  Check whether
17898         default trustfile exists before going to use it.  Add missing
17899         argument to gnutls-message-maybe call.  Return value.
17900         Reported by Claudio Bley <claudio.bley@gmail.com>.
17901         (open-gnutls-stream): Add usage example.
17903         * net/network-stream.el (network-stream-open-starttls): Give host
17904         parameter to `gnutls-negotiate'.
17905         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17906         * subr.el (shell-quote-argument): Escape correctly under Windows.
17908 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
17910         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17911         Use correct match group (bug#8438).
17913 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17915         * emacs-lisp/package.el (package-built-in-p): Fix typo.
17916         (package-menu--generate): New arg specifying packages to show.
17917         (package-menu-refresh, package-menu-execute, list-packages):
17918         Callers changed.
17919         (package-show-package-list): New function, replacing deleted
17920         package--list-packages (renamed because it is non-internal).
17922         * finder.el (finder-list-matches): Use package-show-package-list
17923         instead of deleted package--list-packages.
17925         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17926         Based on a previous implementation by Juanma Barranquero (Bug#8366).
17927         (vc-annotate-mode-map): Bind it to RET.
17929 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
17931         * progmodes/etags.el (next-file): Don't use set-buffer to change
17932         buffers (Bug#8478).
17934 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17936         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17938         * apropos.el (apropos-label-face): Avoid variable-pitch face.
17939         (apropos-accumulator): Doc fix.
17940         (apropos-function, apropos-macro, apropos-command)
17941         (apropos-variable, apropos-face, apropos-group, apropos-widget)
17942         (apropos-plist): Add face property.
17943         (apropos-symbols-internal): Fix indentation.
17944         (apropos-print): Simplify help, and recognize apropos-multi-type.
17945         (apropos-print-doc): Use button-type-get to extract the button's
17946         face property.  Fill docstring (Bug#8352).
17948 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
17950         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17952         * play/mpuz.el (mpuz-silent): Doc fix.
17953         (mpuz-mode-map): Use mapc.
17954         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17955         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17956         Fix typos in docstrings.
17958         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17959         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17961         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17963 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
17965         * minibuffer.el (completion--do-completion): Avoid the "Next char
17966         not unique" prompt if icomplete-mode is enabled (Bug#5849).
17968         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17969         mouse-2 into unread-command-events, it is interpreted correctly.
17971         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17972         (image-toggle-display): Doc fix.
17974 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
17976         * textmodes/page.el (what-page): Use line-number-at-pos to
17977         calculate line number (Bug#6825).
17979 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17981         * eshell/esh-mode.el (find-tag-interactive): Declare function.
17982         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17983         Pass argument NO-DEFAULT to `find-tag-interactive'.
17985 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17987         Lexical-binding cleanup.
17989         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17990         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17991         * progmodes/ada-prj.el (ada-prj-initialize-values)
17992         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17993         (ada-prj-show-value):
17994         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17995         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17996         (antlr-invalidate-context-cache, antlr-options-menu-filter)
17997         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17998         * progmodes/bug-reference.el (bug-reference-push-button):
17999         * progmodes/fortran.el (fortran-line-length):
18000         * progmodes/glasses.el (glasses-change):
18001         * progmodes/octave-mod.el (octave-fill-paragraph):
18002         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18003         (python-pdbtrack-grub-for-buffer, python-sentinel):
18004         * progmodes/sql.el (sql-save-connection):
18005         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18006         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18007         Mark unused parameters.
18009         * progmodes/compile.el (compilation--flush-directory-cache)
18010         (compilation--flush-parse, compile-internal): Mark unused parameters.
18011         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18012         (compilation-next-error-function): Remove unused variable `timestamp'.
18014         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18015         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18017         * progmodes/dcl-mode.el (dcl-end-of-command):
18018         Remove unused variable `start'.
18019         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18020         (dcl-option-value-basic, dcl-option-value-offset)
18021         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18022         Mark unused parameters.
18023         (dcl-save-local-variable): Remove unused variable `val'.
18024         (mode): Declare.
18026         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18027         Mark unused parameters.
18028         (delphi-ignore-changes): Move before first use.
18029         (delphi-charset-token-at): Remove unused variable `start'.
18030         (delphi-else-start): Remove unused variable `if-count'.
18031         (delphi-comment-block-start, delphi-comment-block-end):
18032         Remove unused variable `kind'.
18033         (delphi-indent-line): Remove unused variable `new-point'.
18035         * progmodes/ebrowse.el (ebrowse-files-list)
18036         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18037         Mark unused parameters.  Don't quote `lambda'.
18038         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18039         Don't quote `lambda'.
18040         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18041         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18042         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18043         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18044         Use `ignore-errors'.
18045         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18046         (ebrowse-view/find-file-and-search-pattern)
18047         (ebrowse-view/find-member-declaration/definition):
18048         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18049         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18050         Rename parameter PREFIX-ARG to PREFIX.
18051         (ebrowse-tags-read-name): Remove unused variables `start' and
18052         `member-info'.
18053         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18054         to `tags-file'.
18056         * progmodes/etags.el (local-find-tag-hook): Declare.
18057         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18058         Mark unused parameters.
18060         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18061         (executable-interpret): Mark unused parameter.
18063         * progmodes/flymake.el (flymake-process-sentinel)
18064         (flymake-after-change-function)
18065         (flymake-create-temp-with-folder-structure)
18066         (flymake-get-include-dirs-dot): Mark unused parameters.
18067         (flymake-safe-delete-directory): Remove unused variable `err'.
18069         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18070         (speedbar-timer-fn, speedbar-line-text)
18071         (speedbar-change-expand-button-char, speedbar-delete-subblock)
18072         (speedbar-center-buffer-smartly): Declare functions.
18073         (gdb-find-watch-expression): Remove unused variable `array'.
18074         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18075         (gdb-starting): Mark unused parameters.
18076         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18077         (gdb-table-string): Remove unused variable `res'.
18078         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18079         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18080         (gdb-display-buffer): Remove unused variable `cur-size'.
18082         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18083         allow lexical-binding compilation.
18084         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18085         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18086         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18087         Mark unused parameters.
18088         (gud-gdb-marker-filter): Remove unused variable `match'.
18089         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18090         lambda expressions and funcall them, instead of using `fset'.
18092         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18093         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18095         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18096         variable `header-beg'; use `let'.
18098         * progmodes/icon.el (indent-icon-exp): Remove unused variables
18099         `restart', `last-sexp' and `at-do'.
18101         * progmodes/js.el (js--debug): Mark unused parameter.
18102         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18103         (js--splice-into-items): Remove unused variable `item'.
18104         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18106         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18107         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18108         (makefile-complete): Remove unused variable `try'.
18109         (makefile-fill-paragraph, makefile-match-function-end):
18110         Mark unused parameters.
18112         * progmodes/octave-inf.el (inferior-octave-complete):
18113         Remove unused variable `proc'.
18114         (inferior-octave-output-digest): Mark unused parameter.
18116         * progmodes/perl-mode.el (perl-calculate-indent):
18117         Remove unused variable `err'.
18119         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18120         (prolog-indent-line): Mark unused parameters.
18121         (prolog-indent-line): Remove unused variable `beg'.
18123         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18124         (reporter-dont-compact-list): Declare.
18126         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18127         Remove unused variable `char'.
18128         (sh-debug): Mark unused parameter.
18129         (sh-get-indent-info): Remove unused variable `start'.
18130         (sh-calculate-indent): Remove unused variable `var'.
18132         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18133         (simula-electric-keyword): Remove unused variable `null'.
18134         (simula-search-backward, simula-search-forward): Remove unused
18135         variables `begin' and `end'.
18137         * progmodes/vera-mode.el (vera-guess-basic-syntax):
18138         Remove unused variable `pos'.
18139         (vera-electric-tab, vera-comment-uncomment-region):
18140         Mark unused parameters.
18141         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18143 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
18145         * emacs-lisp/package.el (package--builtins, package-alist)
18146         (package-load-descriptor, package-built-in-p, package-activate)
18147         (define-package, package-installed-p)
18148         (package-compute-transaction, package-buffer-info)
18149         (package--push): Doc fix.  Distinguish more clearly between
18150         version strings and version lists.
18152 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
18154         Lexical-binding cleanup.
18156         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18157         (5x5-make-mutate-best):
18158         * play/fortune.el (fortune-in-buffer):
18159         * play/gomoku.el (gomoku-init-display):
18160         * play/solitaire.el (solitaire, solitaire-do-check):
18161         * play/tetris.el (tetris-default-update-speed-function):
18162         Mark unused parameters.
18164         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18165         (bubbles--shift): Remove unused variable `char-org'.
18166         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
18167         (bubbles--show-images): Remove unused variable `char'.
18169         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18170         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18171         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18172         (decipher-analyze-buffer): Use ?\s.
18173         (decipher-make-checkpoint): Remove unused variable `mapping'.
18175         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18177         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18178         Remove unused variable `result'; use `let'.
18180         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18181         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18182         (gametree-children-shown-p, gametree-compute-reduced-score):
18183         Use `ignore-errors'.
18185         * play/handwrite.el (ps-lpr-switches): Declare.
18186         (handwrite): Remove unused variables `pmin' and `lastp'.
18188         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18190         * play/landmark.el (landmark-init-display)
18191         (landmark-update-naught-weights): Mark unused parameters.
18192         (landmark-y): Remove unused variable `noise'.  Simplify.
18193         (landmark-human-plays): Remove unused variable `score'.
18195         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18196         (mpuz-try-proposal): Remove unused variable `game'.
18198         * play/zone.el (life-patterns): Declare.
18200 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
18202         * vc/vc.el (ediff-vc-internal): Declare function.
18204 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18206         * shell.el: Use lexical-binding and std completion UI.
18207         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18208         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18209         comint-preoutput-filter-functions rather than on
18210         comint-output-filter-functions.
18211         (shell-command-completion, shell--command-completion-data)
18212         (shell-filename-completion, shell-environment-variable-completion)
18213         (shell-c-a-p-replace-by-expanded-directory): New functions.
18214         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18215         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18216         (shell-dynamic-complete-environment-variable): Use them.
18217         (shell-dynamic-complete-as-environment-variable)
18218         (shell-dynamic-complete-as-command): Remove.
18219         (shell-match-partial-variable): Match past point.
18220         * comint.el: Clean up use of completion-at-point-functions.
18221         (comint-completion-at-point): New function.
18222         (comint-mode): Use it completion-at-point-functions.
18223         (comint-dynamic-complete): Make it obsolete.
18224         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18225         (comint-c-a-p-replace-by-expanded-history): New function.
18226         (comint-dynamic-complete-functions)
18227         (comint-replace-by-expanded-history): Use it.
18228         * minibuffer.el (completion-table-with-terminator): Allow dynamic
18229         termination strings.  Try harder to avoid second try-completion.
18230         (completion-in-region-mode-map): Disable bindings that don't work yet.
18232         * comint.el: Use lexical-binding.  Require CL.
18233         (comint-dynamic-complete-functions): Use comint-filename-completion.
18234         (comint-completion-addsuffix): Tweak custom type.
18235         (comint-filename-completion, comint--common-suffix)
18236         (comint--common-quoted-suffix, comint--table-subvert)
18237         (comint--complete-file-name-data): New functions.
18238         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18239         (comint-dynamic-list-filename-completions): Use them.
18240         (comint-dynamic-simple-complete): Make obsolete.
18242         * minibuffer.el (completion-in-region-mode):
18243         Keep completion-in-region-mode--predicate global.
18244         (completion-in-region--postch):
18245         Assume completion-in-region-mode--predicate is not null.
18247         * progmodes/flymake.el (flymake-start-syntax-check-process):
18248         Obey `dir'.  Simplify.
18250         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18251         we're in VC after all.
18253 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
18255         * vc/vc.el (vc-diff-build-argument-list-internal)
18256         (vc-version-ediff, vc-ediff): New commands.
18257         (vc-version-diff): Use vc-diff-build-argument-list-internal.
18259 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18261         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18262         add sanity check.
18264         * obsolete/erc-hecomplete.el: Make obsolete.
18265         * obsolete/: Standardize obsolescence info in the header.
18267 2011-04-20  Glenn Morris  <rgm@gnu.org>
18269         * calendar/solar.el (solar-horizontal-coordinates):
18270         Use the longitude argument rather than `calendar-longitude'.
18271         (solar-date-next-longitude): Remove unused locals.
18273 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18275         * whitespace.el: New version 13.2.1.
18277 2011-04-20  felix  <EmacsWiki>  (tiny change)
18279         * whitespace.el (global-whitespace-mode): Keep highlight when
18280         switching between major modes on a file.
18282 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18284         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18285         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18286         multi-line comments as well.
18288 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
18290         Lexical-binding cleanup.
18292         * arc-mode.el (archive-mode-revert):
18293         * cmuscheme.el (scheme-interactively-start-process):
18294         * custom.el (custom-initialize-delay):
18295         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18296         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18297         * emacs-lock.el (emacs-lock-clear-sentinel):
18298         * ezimage.el (defezimage):
18299         * follow.el (follow-avoid-tail-recenter):
18300         * fringe.el (set-fringe-mode-1):
18301         * generic-x.el (bat-generic-mode-compile):
18302         * help-mode.el (help-info-variable, help-do-xref)
18303         (help-mode-revert-buffer):
18304         * help.el (view-emacs-todo):
18305         * iswitchb.el (iswitchb-completion-help):
18306         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18307         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18308         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18309         * locate.el (locate-update):
18310         * longlines.el (longlines-encode-region)
18311         (longlines-after-change-function):
18312         * outline.el (outline-isearch-open-invisible):
18313         * ps-def.el (declare-function, charset-dimension, char-width)
18314         (encode-char):
18315         * ps-mule.el (ps-mule-plot-string):
18316         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18317         (recentf-edit-list-select, recentf-edit-list-validate)
18318         (recentf-open-files-action):
18319         * rect.el (delete-whitespace-rectangle-line)
18320         (rectangle-number-line-callback):
18321         * register.el (window-configuration-to-register)
18322         (frame-configuration-to-register):
18323         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18324         * select.el (xselect-convert-to-string, xselect-convert-to-length)
18325         (xselect-convert-to-targets, xselect-convert-to-delete)
18326         (xselect-convert-to-filename, xselect-convert-to-charpos)
18327         (xselect-convert-to-lineno, xselect-convert-to-colno)
18328         (xselect-convert-to-os, xselect-convert-to-host)
18329         (xselect-convert-to-user, xselect-convert-to-class)
18330         (xselect-convert-to-name, xselect-convert-to-integer)
18331         (xselect-convert-to-atom, xselect-convert-to-identity):
18332         * subr.el (declare, ignore, process-kill-without-query)
18333         (text-clone-maintain):
18334         * terminal.el (te-get-char, te-tic-sentinel):
18335         * tool-bar.el (tool-bar-make-keymap):
18336         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18337         * type-break.el (type-break-mode, type-break-noninteractive-query):
18338         * view.el (View-back-to-mark):
18339         * wid-browse.el (widget-browse-action, widget-browse-widget)
18340         (widget-browse-widgets, widget-browse-sexp):
18341         * widget.el (define-widget-keywords):
18342         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18343         Mark unused parameters.
18345         * align.el (align-adjust-col-for-rule): Mark unused parameter.
18346         (align-areas): Remove unused variable `look'.
18347         (align-region): Remove unused variables `real-end' and `pos-list'.
18349         * apropos.el (apropos-score-doc): Remove unused variable `i'.
18351         * bindings.el (mode-line-modified, mode-line-remote):
18352         Mark unused parameters.
18353         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18355         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18356         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18358         * comint.el (comint-history-isearch-pop-state)
18359         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18360         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18361         (comint-substitute-in-file-name): Doc fix.
18363         * completion.el (cmpl-statistics-block): Mark unused parameter.
18364         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18365         (save-completions-to-file, load-completions-from-file):
18366         Remove unused local variable `e'.
18368         * composite.el (compose-chars): Remove unused variable `len'.
18369         (lgstring-insert-glyph): Remove unused variable `g'.
18370         (compose-glyph-string): Remove unused variables `ascent',
18371         `descent', `lbearing' and `rbearing'.
18372         (compose-glyph-string-relative): Remove unused variables
18373         `lbearing', `rbearing' and `wadjust'.
18374         (compose-gstring-for-graphic): Remove unused variables `header',
18375         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
18376         (compose-gstring-for-terminal): Remove unused variables `header'
18377         and `nchars'.  Use `let', not `let*'.
18379         * cus-edit.el (Custom-set, Custom-save, custom-reset)
18380         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18381         (Custom-buffer-done, custom-buffer-create-internal)
18382         (custom-browse-visibility-action, custom-browse-group-tag-action)
18383         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18384         (widget-magic-mouse-down-action, custom-toggle-parent)
18385         (custom-add-parent-links, custom-toggle-hide-variable)
18386         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18387         (custom-toggle-hide-face, face, hook, custom-group-link-action)
18388         (custom-face-menu-create, custom-variable-menu-create, get)
18389         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18390         (custom-reset-standard-save-and-update): Remove unused variable `value'.
18391         (customize-apropos): Remove unused variable `tests'.
18392         (custom-group-value-create): Remove unused variable `hidden-p'.
18393         (sort-fold-case): Declare.
18395         * cus-theme.el (custom-reset-standard-faces-list)
18396         (custom-reset-standard-variables-list): Declare.
18397         (customize-create-theme, custom-theme-revert, custom-theme-write)
18398         (custom-theme-choose-mode, customize-themes, custom-theme-save):
18399         Mark unused parameters.
18401         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18403         * delim-col.el (delimit-columns-max): Move defvar before first use.
18405         * descr-text.el (describe-char-categories): Don't quote `lambda'.
18406         (describe-char): Don't quote `lambda'.  Mark unused parameter.
18408         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18409         (auto-insert): Declare.
18410         (desktop-restore-file-buffer): Rename desktop-* parameters;
18411         mark unused ones.
18412         (desktop-create-buffer): Rename desktop-* parameters and bind them.
18413         (desktop-buffer): Rename desktop-* parameters.
18415         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18416         (dframe-reposition-frame-xemacs, dframe-help-echo)
18417         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18418         Mark unused parameters.
18420         * dired-aux.el (backup-extract-version-start, overwrite-query)
18421         (overwrite-backup-query, rename-regexp-query)
18422         (rename-non-directory-query): Declare.
18423         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18424         (dired-add-entry): Remove unused variable `orig-file-name'.
18425         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18426         Use parameter PRESERVE-TIME instead of accessing dynamic variable
18427         `dired-copy-preserve-time' directly.
18428         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18429         (dired-insert-subdir-newpos): Rename unused variable `pos'.
18431         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18432         (dired-virtual-revert, dired-make-relative-symlink):
18433         Mark unused parameters.
18434         (manual-program): Declare.
18435         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18436         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18437         wrapped in `with-no-warnings' to avoid replacing one warning by another.
18439         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18441         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18443         * echistory.el (electric-history-in-progress, Helper-return-blurb):
18444         Declare.
18446         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18448         * electric.el (Electric-command-loop): Rename parameter
18449         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18451         * expand.el (expand-in-literal): Remove unused variable `here'.
18453         * facemenu.el (facemenu-add-new-color):
18454         Remove unused variable `docstring'.
18456         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18457         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18458         (face-attr-construct): Mark unused parameter.  Doc fix.
18459         (read-color): Remove unused variable `hex-string'.
18461         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
18462         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
18463         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
18464         (display-buffer-other-frame): Remove unused variable `old-window'.
18465         (kill-buffer-hook): Declare.
18466         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
18467         Mark unused parameters.
18468         (after-find-file): Pass 1 to `auto-save-mode', not t.
18470         * files-x.el (auto-insert): Declare.
18471         (modify-file-local-variable-prop-line): Remove unused variable `val'.
18473         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
18474         variable `buf'.  Mark unused parameter.
18475         (find-lisp-insert-directory): Mark unused parameter.
18477         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
18478         (format-encode-region): Remove unused variables `cur-buf' and `result'.
18479         (format-common-tail): Remove, unused.
18480         (format-deannotate-region): Remove unused variable `loc'.
18481         (format-annotate-region): Remove unused variable `p'.
18482         (format-annotate-single-property-change): Remove unused variables
18483         `default' and `tail'.
18485         * forms.el (read-file-filter): Declare.
18486         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
18488         * frame.el (frame-creation-function-alist): Mark unused parameter.
18489         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
18491         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
18492         Remove unused parameters.
18493         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
18494         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
18496         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
18497         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
18498         (hfy-prepare-tag-map): Mark unused parameters.
18499         (htmlfontify-buffer): Use `called-interactively-p'.
18501         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
18502         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
18503         (ibuffer-do-occur): Mark unused parameters.
18504         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
18505         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
18507         * ibuffer.el: Don't quote `lambda'.
18508         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
18509         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
18510         Mark unused parameters.
18512         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
18513         (ido-completing-read): Mark unused parameters.
18514         (ido-copy-current-word): Mark unused parameters;
18515         remove unused variable `name'.
18516         (ido-sort-merged-list): Remove unused parameter `dirs'.
18518         * ielm.el (ielm-input-sender): Mark unused parameter.
18519         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
18520         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
18521         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
18522         `ielm-string' as a dynamic variable accessible from the IELM prompt.
18523         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
18525         * image-dired.el (image-dired-display-thumbs): Remove unused
18526         variables `curr-file' and `count'.
18527         (image-dired-remove-tag): Remove unused variable `start'.
18528         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
18529         variable `curr-file'
18530         (image-dired-rotate-original): Remove unused variable `temp-file'.
18531         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
18532         Remove unused variable `file'.
18533         (image-dired-gallery-generate): Remove unused variable `curr'.
18534         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
18536         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
18538         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
18540         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
18542         * isearch.el (minibuffer-history-symbol): Declare.
18543         (isearch-edit-string): Remove unused variable `err'.
18544         (isearch-message-prefix, isearch-message-suffix):
18545         Mark unused parameters.
18547         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
18549         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
18551         * makesum.el (double-column): Remove unused variable `cnt'.
18553         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
18554         (ido-ignore-item-temp-list): Declare.
18556         * mouse-drag.el (mouse-drag-throw): Remove unused variables
18557         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
18558         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
18559         (mouse-drag-drag): Remove unused variables `mouse-delta' and
18560         `mouse-col-delta'.
18562         * mouse-sel.el (mouse-extend-internal):
18563         Remove unused variable `orig-window-frame'.
18565         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
18566         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
18567         Move declarations before first use.
18568         (pcomplete-opt): Mark unused parameters; doc fix.
18570         * proced.el (proced-revert): Mark unused parameter.
18571         (proced-send-signal): Remove unused variable `err'.
18573         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
18574         Rename parameter PREFIX-ARG to ARG.
18575         (ps-basic-plot-string, ps-basic-plot-whitespace):
18576         Mark unused parameters.
18578         * replace.el (replace-count): Define.
18579         (occur-revert-function): Mark unused parameters.
18580         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
18581         (isearch-case-fold-search, isearch-string): Declare.
18582         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
18583         bind `case-fold-search'.  Remove unused variables `beg' and `end',
18584         and simplify.
18585         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
18586         COUNT and bind `replace-count'.
18587         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
18588         to COUNT.
18590         * savehist.el (print-readably, print-string-length): Declare.
18592         * shadowfile.el (shadow-expand-cluster-in-file-name):
18593         Remove unused variable `cluster'.
18594         (shadow-copy-file): Remove unused variable `i'.
18595         (shadow-noquery, shadow-clusters, shadow-site-cluster)
18596         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
18597         (shadow-define-literal-group, shadow-define-regexp-group)
18598         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
18600         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
18601         (shell): Use `called-interactively-p'.
18602         (shell-directory-tracker): Remove unused variable `chdir-failure'.
18604         * simple.el (compilation-context-lines, comint-file-name-quote-list)
18605         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
18606         (delete-backward-char): Remove unused variable `ocol'.
18607         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
18608         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
18609         (event-apply-hyper-modifier, event-apply-shift-modifier)
18610         (event-apply-control-modifier, event-apply-meta-modifier):
18611         Mark unused parameters.
18612         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
18613         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
18615         * speedbar.el (speedbar-ignored-directory-expressions)
18616         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
18617         (speedbar-find-file, speedbar-dir-follow)
18618         (speedbar-directory-buttons-follow, speedbar-tag-find)
18619         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
18620         (speedbar-buffers-line-directory, speedbar-buffer-click):
18621         Mark unused parameters.
18622         (speedbar-tag-file): Remove unused variable `mode'.
18623         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
18625         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
18627         * talk.el (talk): Remove unused variable `display'.
18629         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
18630         (tar-write-region-annotate): Mark unused parameter.
18632         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
18633         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
18634         Declare them, wrapped in `with-no-warnings' to avoid replacing one
18635         warning by another.
18637         * time-stamp.el (time-stamp-string-preprocess):
18638         Remove unused variable `require-padding'.
18640         * tree-widget.el (widget-glyph-enable): Declare.
18641         (tree-widget-action): Mark unused parameter.
18643         * w32-fns.el (x-get-selection): Mark unused parameter.
18644         (autoload-make-program, generated-autoload-file): Declare.
18646         * wdired.el (wdired-revert): Mark unused parameters.
18647         (wdired-xcase-word): Remove unused variable `err'.
18649         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
18650         (whitespace-help-scroll): Remove unused variable `data-help'.
18652         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
18653         (widget-image-insert, widget-after-change, default)
18654         (widget-default-format-handler, widget-default-notify)
18655         (widget-default-prompt-value, widget-info-link-action)
18656         (widget-url-link-action, widget-function-link-action)
18657         (widget-variable-link-action, widget-file-link-action)
18658         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
18659         (widget-field-prompt-internal, widget-field-action, widget-field-match)
18660         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
18661         (widget-insert-button-action, widget-delete-button-action, visibility)
18662         (widget-documentation-link-action, widget-documentation-string-action)
18663         (widget-const-prompt-value, widget-regexp-match, symbol)
18664         (widget-coding-system-prompt-value)
18665         (widget-key-sequence-value-to-external, sexp)
18666         (widget-sexp-value-to-internal, character, vector, cons)
18667         (widget-choice-prompt-value, widget-boolean-prompt-value)
18668         (widget-color--choose-action): Mark unused parameters.
18669         (widget-item-match-inline, widget-choice-match-inline)
18670         (widget-checklist-match, widget-checklist-match-inline)
18671         (widget-group-match): Rename parameter VALUES to VALS.
18672         (widget-field-value-set): Remove unused variable `size'.
18673         (widget-color-action): Remove unused variables `value' and `start'.
18675         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
18676         variable `dir'.  Doc fix.
18677         (windmove-find-other-window): Don't pass it.
18679         * window.el (count-windows): Mark unused parameter.
18680         (bw-adjust-window): Remove unused variable `err'.
18682         * woman.el (woman-file-name): Remove unused variable `default'.
18683         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
18684         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
18685         (global-font-lock-mode): Declare.
18686         (woman-decode-region): Mark unused parameter.
18687         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
18689         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
18690         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
18691         (x-dnd-handle-moz-url): Remove unused variable `title'.
18692         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
18694         * xml.el (xml-parse-tag, xml-parse-attlist):
18695         Remove unused variable `pos'.
18697 2011-04-19  Glenn Morris  <rgm@gnu.org>
18699         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
18700         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
18701         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
18702         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
18703         * calendar/cal-html.el (cal-html-insert-minical):
18704         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
18705         (calendar-mark-date-pattern):
18706         Prefix "unused" locals.
18708         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
18709         optional argument `style'.
18711         * calendar/appt.el (appt-make-list):
18712         * calendar/cal-china.el (calendar-chinese-date-string):
18713         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
18714         (diary-hebrew-yahrzeit):
18715         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
18716         * calendar/calendar.el (calendar-generate-window):
18717         * calendar/time-date.el (time-to-days):
18718         Remove unused local variables.
18720 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
18722         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
18723         glyphless-char-display table.
18724         (tabulated-list-glyphless-char-display): New var.
18726 2011-04-18  Sam Steingold  <sds@gnu.org>
18728         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
18729         to acknowledgments.
18731 2011-04-17  Glenn Morris  <rgm@gnu.org>
18733         * calendar/diary-lib.el (diary-sexp-entry):
18734         * calendar/holidays.el (holiday-sexp):
18735         Set debug-on-error rather than the removed stack-trace-on-error.
18737 2011-04-16  Glenn Morris  <rgm@gnu.org>
18739         * progmodes/f90.el: Use lexical-binding.
18740         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
18742 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18744         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18745         (mail-mode): Setup mailalias completion here instead.
18746         * mail/mailalias.el: Use lexical-binding.
18747         (pattern, mailalias-done): Declare dynamic.
18748         (mail-completion-at-point-function): New function, from mail-complete.
18749         (mail-complete): Use it.
18750         (mail-completion-expand): New function.
18751         (mail-get-names): Use it.
18752         (mail-directory, mail-directory-process, mail-directory-stream):
18753         Don't use `pattern' for lexically bound arg.
18755         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18757         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18758         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18759         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18761         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18762         (byte-save-window-excursion, byte-temp-output-buffer-setup)
18763         (byte-interactive-p): Define them again, for use when inlining
18764         old code.
18766 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
18768         * loadup.el: Use `string-to-number', not `string-to-int'.
18770 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18772         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18773         gud-gdb-complete-command.
18774         (gud-gdb-completions): New function, from gud-gdb-complete-command.
18775         (gud-gdb-completion-at-point): New function.
18776         (gud-gdb-completions): Remove.
18778 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
18780         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18781         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
18782         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18783         whether `executable-find' is bound.
18785         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18787 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18789         * minibuffer.el (completion-in-region-mode-predicate)
18790         (completion-in-region-mode--predicate): New vars.
18791         (completion-in-region, completion-in-region--postch)
18792         (completion-in-region-mode): Use them.
18793         (completion--capf-wrapper): Also return the hook function.
18794         (completion-at-point, completion-help-at-point):
18795         Adjust and provide a predicate.
18797         Preserve arg names for advice of subr and lexical functions (bug#8457).
18798         * help-fns.el (help-function-arglist): Consolidate the subr and
18799         new-byte-code cases.  Add argument `preserve-names' to extract names
18800         from the docstring when needed.
18801         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18802         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18803         (ad-arglist): Use help-function-arglist's new arg.
18804         (ad-definition-type): Use cond.
18806 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
18808         * autorevert.el (auto-revert-handler):
18809         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18810         which was removed in revno:101730 (2010-10-02).
18811         Don't quote lambda.
18813         * image-mode.el (image-transform-set-scale):
18814         Fix change in revno:103877 (2011-04-09).
18816 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18818         * net/network-stream.el (network-stream-open-starttls): Only do
18819         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18820         Upgrades via gnutls-cli are too slow to be done opportunistically.
18822 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
18824         * dframe.el (dframe-current-frame): Remove spurious quote.
18826 2011-04-12  Glenn Morris  <rgm@gnu.org>
18828         * calendar/cal-tex.el (cal-tex-end-document):
18829         Try to automatically use latin1 input if needed.
18831         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18832         Don't try to cons a mark onto an empty element.
18834 2011-04-11  Leo Liu  <sdl.web@gmail.com>
18836         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18837         buffers.
18838         (ido-kill-buffer-at-head): Support killing virtual buffers.
18840 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
18842         * minibuffer.el (completion-show-inline-help): New var.
18843         (completion--do-completion, minibuffer-complete)
18844         (minibuffer-force-complete, minibuffer-complete-word):
18845         Inhibit minibuffer messages if completion-show-inline-help is nil.
18847         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18848         to avoid interference from inline help (Bug#5849).
18850 2011-04-10  Leo Liu  <sdl.web@gmail.com>
18852         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18853         Fix typo.
18855 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
18857         * image-mode.el (image-toggle-display-image): Signal an error if
18858         not in Image mode.
18859         (image-transform-mode, image-transform-resize)
18860         (image-transform-set-rotation): Doc fix.
18861         (image-transform-set-resize): Delete.
18862         (image-transform-set-scale, image-transform-fit-to-height)
18863         (image-transform-fit-to-width): Handle image-toggle-display-image
18864         and image-transform-resize directly.
18866 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
18868         * doc-view.el (doc-view-fit-width-to-window)
18869         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18870         New functions for fitting the shown image to the Emacs window size.
18871         (doc-view-mode-map): Add bindings for the new functions.
18873 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
18875         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18876         Fix typo in docstring.
18878 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18880         * files.el (file-size-human-readable): Produce one digit after
18881         decimal, like "ls -lh" does.
18883         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18884         the file size representation.
18886         * simple.el (list-processes): If async subprocesses are not
18887         available, error out with a clear error message.
18889 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
18891         * help.el (help-form-show): New function, to be called from C.
18892         Put help-form output in a buffer named differently than *Help*.
18894 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18896         * files.el (file-size-human-readable): New function.
18898         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18899         computing the representation inline.  Don't require `cl'.
18901 2011-04-08  Glenn Morris  <rgm@gnu.org>
18903         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18905         * net/browse-url.el (browse-url-firefox):
18906         Test system-type, not system-configuration.
18908         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18909         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18910         Use log-edit-empty-buffer-p.  (Bug#7598)
18912         * net/rlogin.el (rlogin-process-connection-type): Simplify.
18913         (rlogin-mode-map): Initialize in the defvar.
18914         (rlogin): Use ignore-errors.
18916         * replace.el (occur-mode-map): Some fixes for menu items.
18918 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18920         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
18922 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18924         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18925         issuing unused warnings.
18927         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18928         macro directly.
18930         * simple.el: Lisp reimplement of list-processes.  Based on an
18931         earlier reimplementation by Leo Liu, but using tabulated-list.el.
18932         (process-menu-mode): New major mode.
18933         (list-processes--refresh, list-processes):
18934         (process-menu-visit-buffer): New functions.
18936         * files.el (save-buffers-kill-emacs): Don't assume any return
18937         value of list-processes, which is undocumented anyway.
18939 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18941         * emacs-lisp/tabulated-list.el: New file.
18943         * emacs-lisp/package.el: Use Tabulated List mode.
18944         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18945         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
18946         table format using Tabulated List mode variables.
18947         (package--push): New macro, replacing package-list-maybe-add.
18948         (package-menu--generate): Use package--push.  Renamed from
18949         package--generate-package-list.
18950         (package-menu-refresh, list-packages): Use it.
18951         (package-menu--print-info): Rename from package-print-package.
18952         Return insertion data instead of inserting it directly.
18953         (package-menu-describe-package, package-menu-execute):
18954         Use tabulated-list-get-id.
18955         (package-menu-mark-delete, package-menu-mark-install)
18956         (package-menu-mark-unmark, package-menu-backup-unmark)
18957         (package-menu-mark-obsolete-for-deletion):
18958         Use tabulated-list-put-tag.
18959         (package--list-packages, package-menu-revert)
18960         (package-menu-get-package, package-menu-get-version)
18961         (package-menu-sort-by-column): Functions deleted.
18962         (package-menu-package-list, package-menu-sort-key): Vars deleted.
18963         (package-menu--status-predicate, package-menu--version-predicate)
18964         (package-menu--name-predicate)
18965         (package-menu--description-predicate): Handle arguments in the
18966         Tabulated List format.
18967         (package-list-packages-no-fetch): Call list-packages.
18969 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
18971         * files.el (after-find-file-from-revert-buffer): Remove variable.
18972         (after-find-file): Don't bind it.
18973         (revert-buffer-in-progress-p): New variable.
18974         (revert-buffer): Bind it.
18975         Pass nil for `after-find-file-from-revert-buffer'.
18977         * saveplace.el (save-place-find-file-hook): Use new variable
18978         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18980 2011-04-06  Glenn Morris  <rgm@gnu.org>
18982         * Makefile.in (AUTOGEN_VCS): New variable.
18983         (autoloads): Use $AUTOGEN_VCS.
18985         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18986         * calendar/calendar.el (calendar-mode-map):
18987         Check for toolkit scroll bars.  (Bug#8305)
18989 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18991         * minibuffer.el (completion-in-region--postch)
18992         (completion-in-region-mode): Remove unnecessary messages.
18994 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
18996         * font-lock.el (font-lock-refresh-defaults):
18997         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18998         revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
19000         * info.el (Info-directory-list, Info-read-node-name-2)
19001         (Info-split-parameter-string): Doc fixes.
19002         (Info-virtual-nodes): Reflow docstring.
19003         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19004         (Info-apropos-toc-nodes, info-finder, Info-get-token)
19005         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19006         Fix typos in docstrings.
19007         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19008         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19009         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19010         (Info-restore-desktop-buffer): Mark unused parameters.
19011         (Info-directory-find-file, Info-directory-find-node)
19012         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19013         (Info-virtual-index-find-node, Info-apropos-find-file)
19014         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19015         Mark unused parameters; fix typos in docstrings.
19016         (Info-virtual-index): Remove unused local variable `nodename'.
19018 2011-04-05  Deniz Dogan  <deniz@dogan.se>
19020         * net/rcirc.el: Update my e-mail address.
19021         (rcirc-mode-map): Remove M-o binding.
19023 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19025         * startup.el (command-line): Save the cursor's theme-face
19026         directly, instead of using face-override-spec.
19028         * custom.el (load-theme): Minor optimization in assigning faces.
19030 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19032         * help-fns.el (describe-variable): Complete all variables having
19033         documentation, including keywords.
19034         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19036 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19038         Convert to lexical-binding.
19040         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19041         (bs--get-marked-string, bs--get-modified-string)
19042         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19043         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19044         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19046         * ehelp.el (electric-help-execute-extended)
19047         (electric-help-ctrl-x-prefix):
19048         * hexl.el (hexl-revert-buffer-function):
19049         * linum.el (linum-after-change, linum-after-scroll):
19050         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19052         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19054 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
19056         * epa-dired.el:
19057         * epa-mail.el:
19058         * epa-hook.el:
19059         * epa-file.el:
19060         * epa.el:
19061         * epg.el: Use lexical binding.
19063 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
19065         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19067         * textmodes/flyspell.el (flyspell-word): Recognize default
19068         dictionary case for flyspell-mark-duplications-exceptions.
19069         Use regexp matching for languages.
19070         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19071         default dictionary (Bug#7926).
19073 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
19075         * emacs-lisp/package.el (package--with-work-buffer):
19076         Recognize https URLs.
19078         * net/network-stream.el: Move from gnus/proto-stream.el.
19079         Change prefix to network-stream throughout.
19080         (open-protocol-stream): Merge into open-network-stream, leaving
19081         open-protocol-stream as an alias.  Handle nil BUFFER args.
19083         * subr.el (open-network-stream): Move to net/network-stream.el.
19085 2011-04-02  Glenn Morris  <rgm@gnu.org>
19087         * find-dired.el (find-exec-terminator): New option.
19088         (find-ls-option): Test for -ls support.
19089         (find-ls-subdir-switches): Test for -b in find-ls-option.
19090         (find-dired, find-grep-dired): Doc fixes.
19091         (find-dired): Use find-exec-terminator.
19093         * find-dired.el (find-ls-option, find-ls-subdir-switches)
19094         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19095         (find-name-arg): Remove purecopy.
19097         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19098         (grep-compute-defaults): Check for `-exec COMMAND +' support.
19099         Set grep-find-use-xargs, grep-find-command, and grep-find-template
19100         accordingly.  Don't add the null-device if not needed.
19102         * files.el (save-some-buffers): Doc fix.
19104 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
19106         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19108 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
19110         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19111         Use `dolist' rather than `mapcar'.
19113 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19115         Add lexical binding.
19117         * subr.el (apply-partially): Use new closures rather than CL.
19118         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19119         (dolist, dotimes): Use slightly different expansion for lexical code.
19120         (functionp): Move to C.
19121         (letrec): New macro.
19122         (with-wrapper-hook): Use it and apply-partially instead of CL.
19123         (eval-after-load): Preserve lexical-binding.
19124         (save-window-excursion, with-output-to-temp-buffer): Turn them
19125         into macros.
19127         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19129         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19130         than the arglist.
19131         (help-add-fundoc-usage): Don't add `Not documented'.
19132         (help-function-arglist): Handle closures, subroutines, and new
19133         byte-code-functions.
19134         (help-make-usage): Remove leading underscores.
19135         (describe-function-1): Handle closures.
19136         (describe-variable): Use special-variable-p for completion.
19138         * files.el (lexical-binding): Declare safe.
19140         * emacs-lisp/pcase.el: Don't use destructuring-bind.
19141         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
19142         (pcase): Add `let' pattern.
19143         Change memoization so it actually works.
19144         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19145         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19146         <let>: New case.
19148         * emacs-lisp/macroexp.el: Use lexical binding.
19149         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
19150         Don't convert ' to #' without checking that it's indeed quoting
19151         a lambda.
19153         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19154         Use eval-sexp-add-defvars.
19155         (eval-sexp-add-defvars): New fun.
19157         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19159         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19160         Don't autoload.
19161         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19162         than the internal `byte-compile-lambda'.
19163         (defmethod): Don't hide code under quotes.
19164         (eieio-defmethod): New `code' argument.
19166         * emacs-lisp/eieio-comp.el: Remove.
19168         * emacs-lisp/edebug.el (edebug-eval-defun)
19169         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19170         (edebug-toggle): Avoid `eval'.
19172         * emacs-lisp/disass.el (disassemble-internal): Handle new
19173         `closure' objects.
19174         (disassemble-1): Handle new byte codes.
19176         * emacs-lisp/cl.el (pushnew): Silence warning.
19178         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19179         (cl-byte-compile-throw): Remove.
19180         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19182         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19183         closures.
19185         * emacs-lisp/cconv.el: New file.
19187         * emacs-lisp/bytecomp.el: Use lexical binding instead of
19188         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
19189         (byte-compile-initial-macro-environment):
19190         Handle declare-function here.
19191         (byte-compile--lexical-environment): New var.
19192         (byte-stack-ref, byte-stack-set, byte-discardN)
19193         (byte-discardN-preserve-tos): New lap codes.
19194         (byte-interactive-p): Don't use any more.
19195         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19196         New macros.
19197         (byte-compile-lapcode): Use them and handle new lap codes.
19198         (byte-compile-obsolete): Remove.
19199         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19200         (byte-compile-arglist-warn): Check late def of inlinable funs.
19201         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19202         since they should have been expanded by now.
19203         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19204         (byte-compile-from-buffer): Remove unused second arg.
19205         (byte-compile-preprocess): New function.
19206         (byte-compile-toplevel-file-form): New function to distinguish
19207         file-form calls from outside from file-form calls from hunk-handlers.
19208         (byte-compile-file-form): Simplify.
19209         (byte-compile-file-form-defsubst): Remove.
19210         (byte-compile-file-form-defmumble): Simplify now that
19211         byte-compile-lambda always returns a byte-code-function.
19212         (byte-compile): Preprocess.
19213         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19214         Remove, not used any more.
19215         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19216         (byte-compile-make-args-desc): New funs.
19217         (byte-compile-lambda): Handle lexical functions.  Always return
19218         a byte-code-function.
19219         (byte-compile-reserved-constants): New var, to make up room for
19220         closed-over variables.
19221         (byte-compile-constants-vector): Obey it.
19222         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19223         (byte-compile-macroexpand-declare-function): New function.
19224         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19225         byte-code-functions.
19226         (byte-compile-form): Check obsolescence here.
19227         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19228         (byte-compile-variable-ref): Remove.
19229         (byte-compile-dynamic-variable-op): New fun.
19230         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19231         (byte-compile-variable-set): New funs.
19232         (byte-compile-discard): Add 2 args.
19233         (byte-compile-stack-ref, byte-compile-stack-set)
19234         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19235         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19236         macroexpand-all instead.
19237         (byte-compile-quote-form): Remove.
19238         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19239         (byte-compile-bind, byte-compile-unbind): New funs.
19240         (byte-compile-let): Handle let* and lexical binding.
19241         (byte-compile-let*): Remove.
19242         (byte-compile-catch, byte-compile-unwind-protect)
19243         (byte-compile-track-mouse, byte-compile-condition-case):
19244         Handle a new :fun-body form, used for lexical scoping.
19245         (byte-compile-save-window-excursion)
19246         (byte-compile-with-output-to-temp-buffer): Remove.
19247         (byte-compile-defun): Simplify.
19248         (byte-compile-stack-adjustment): New fun.
19249         (byte-compile-out): Use it.
19250         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19252         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19253         handler any more.
19255         * emacs-lisp/byte-opt.el: Use lexical binding.
19256         (byte-inline-lapcode): Remove (to bytecomp).
19257         (byte-compile-inline-expand): Pay attention to inlining to/from
19258         lexically bound code.
19259         (byte-compile-unfold-lambda): Don't handle byte-code-functions
19260         any more.
19261         (byte-optimize-form-code-walker): Don't handle save-window-excursion
19262         any more and don't call compiler-macros.
19263         (byte-compile-splice-in-already-compiled-code): Remove.
19264         (byte-code): Don't inline any more.
19265         (disassemble-offset): Receive `bytes' as argument rather than via
19266         dynamic scoping.
19267         (byte-compile-tag-number): Declare before first use.
19268         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19269         `return' even if make-spliceable.
19270         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19271         obsolete interactive-p.
19272         (byte-optimize-lapcode): Optimize new lap-codes.
19273         Don't trip up on new form of `byte-constant' lap code.
19275         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19277         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19279         * custom.el (custom-initialize-default, custom-declare-variable):
19280         Use `defvar'.
19282         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19283         New variables.
19284         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19285         (COMPILE_FIRST): Add macroexp and cconv.
19286         * makefile.w32-in: Mirror changes in Makefile.in.
19288         * vc/cvs-status.el:
19289         * vc/diff-mode.el:
19290         * vc/log-edit.el:
19291         * vc/log-view.el:
19292         * vc/smerge-mode.el:
19293         * textmodes/bibtex-style.el:
19294         * textmodes/css-mode.el:
19295         * startup.el:
19296         * uniquify.el:
19297         * minibuffer.el:
19298         * newcomment.el:
19299         * reveal.el:
19300         * server.el:
19301         * mpc.el:
19302         * emacs-lisp/smie.el:
19303         * doc-view.el:
19304         * dired.el:
19305         * abbrev.el: Use lexical binding.
19307 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
19309         * info.el (info-display-manual): New function.
19311 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19313         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19315 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
19317         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19318         an entry for that server in rcirc-authinfo.  (Bug#8385)
19320 2011-03-31  Glenn Morris  <rgm@gnu.org>
19322         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19324         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19326 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
19328         * progmodes/python.el (python-default-interpreter)
19329         (python-python-command-args, python-jython-command-args)
19330         (python-which-shell, python-which-args, python-which-bufname)
19331         (python-file-queue, python-comint-output-filter-function)
19332         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19333         variables and functions.
19335 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19337         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19338         (completion-in-region-mode): New minor mode.
19339         (completion-in-region): Use it.
19340         (completion-in-region--data, completion-in-region-mode-map): New vars.
19341         (completion-in-region--postch): New function.
19342         (completion--capf-misbehave-funs, completion--capf-safe-funs):
19343         New vars.
19344         (completion--capf-wrapper): New function.
19345         (completion-at-point): Use it to track well-behavedness of
19346         hook functions.
19347         (completion-help-at-point): New command.
19349 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
19351         * vc/add-log.el (add-change-log-entry): Don't use whitespace
19352         syntax class to search for whitespace on a single line
19353         (Message-ID: <4D938140.4030905@redhat.com>).
19355 2011-03-30  Leo Liu  <sdl.web@gmail.com>
19357         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19358         New commands.
19359         (edit-abbrevs-map): Bind them here.
19360         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
19362 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
19364         * allout.el (allout-hide-by-annotation, allout-flag-region):
19365         Reduce possibility of overlay leakage by making them volatile.
19367         * allout-widgets.el (allout-widgets-tally): Define as nil so the
19368         hash is not shared between buffers.  Mode initialization is
19369         responsible for giving it a useful starting value.
19370         (allout-item-span): Reduce possibility of overlay leakage by
19371         making them volatile.
19372         (allout-widgets-count-buttons-in-region): Add diagnostic function
19373         for tracking down button overlay leaks.
19375 2011-03-29  Leo Liu  <sdl.web@gmail.com>
19377         * ido.el (ido-read-internal): Use the default history var
19378         minibuffer-history if no HISTORY is specified.
19380 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
19382         * net/imap.el (imap-shell-open, imap-process-connection-type):
19383         Use imap-process-connection-type for 'shell' streams as well as
19384         Kerberos, SSL, other subprocesses.
19386 2011-03-28  Leo Liu  <sdl.web@gmail.com>
19388         * abbrev.el (abbrev-table-empty-p): New function.
19389         (prepare-abbrev-list-buffer): Place empty abbrev tables after
19390         nonempty ones.  (Bug#5937)
19392 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
19394         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19396 2011-03-27  Leo Liu  <sdl.web@gmail.com>
19398         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19399         for foreground and background colors.
19400         (ansi-color-make-color-map): Adapt.
19402 2011-03-25  Leo Liu  <sdl.web@gmail.com>
19404         * midnight.el (midnight-time-float): Remove.  Note it calculates
19405         the microsecond component incorrectly and seconds-to-time does the
19406         same job.
19407         Remove redundant (require 'timer).
19409         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19410         (ido-completions): Remove unused arguments.  (Bug#8329)
19412 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19414         * minibuffer.el (completion--flush-all-sorted-completions):
19415         Remove itself from hook.
19416         (completion-at-point): Let the functions perform the completion
19417         immediately and return nil or t.
19418         * comint.el (comint-dynamic-complete-functions): Now identical to
19419         completion-at-point-functions.
19420         (comint-dynamic-list-input-ring): Remove unused var `index'.
19421         (comint--match-partial-filename, comint--unquote&expand-filename):
19422         New funs, split from comint-match-partial-filename.
19423         (comint-dynamic-complete): Use completion-at-point.
19424         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19426 2011-03-24  Drew Adams  <drew.adams@oracle.com>
19428         * thingatpt.el: Support `defun'.
19430 2011-03-23  Leo Liu  <sdl.web@gmail.com>
19432         * abbrevlist.el: Move to obsolete/abbrevlist.el.
19434         * help-mode.el (help-mode-finish): Tweak regexp.
19436 2011-03-23  Glenn Morris  <rgm@gnu.org>
19438         * eshell/esh-opt.el (eshell-eval-using-options):
19439         Do not bind unused local variable `eshell-option-stub'.
19441         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19443 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19445         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19446         keymap variable in `with-no-warnings' to avoid a warning when the
19447         keymap has been already `defconst'ed.
19449 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19451         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19452         encode all chars in abbrevs; otherwise use emacs-mule or
19453         utf-8-emacs.  (Bug#8308)
19455 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19457         * simple.el (backward-delete-char-untabify):
19458         Avoid warning about using `delete-backward-char'.
19460         * image.el (image-type-file-name-regexps): Make it variable.
19461         `imagemagick-register-types' modifies it, and the user may want
19462         to add new extensions for known image types.
19463         (imagemagick-register-types): Throw error if not using ImageMagick.
19465 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19467         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
19468         located before rcirc-prompt-end-marker.
19469         (rcirc-complete): Error if point is not after rcirc prompt.
19470         Handle the case when table is nil.
19471         (rcirc-user-authenticated): Define to fix compiler warning.
19473 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
19475         * custom.el (custom--inhibit-theme-enable): Make it affect only
19476         custom-theme-set-variables and custom-theme-set-faces.
19477         (provide-theme): Ignore custom--inhibit-theme-enable.
19478         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
19479         (custom-enabling-themes): Delete variable.
19480         (enable-theme): Accept only loaded themes as arguments.
19481         Ignore the special custom-enabled-themes variable.
19482         (custom-enabled-themes): Forbid themes from setting this.
19483         Eliminate use of custom-enabling-themes.
19484         (custom-push-theme): Quote "changed" custom var entry.
19486 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19488         * ido.el (ido-read-internal): Add ido-selected to history instead
19489         of user input.
19491 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19493         * subr.el (deferred-action-list, deferred-action-function):
19494         Mark obsolete.
19496 2011-03-21  Leo Liu  <sdl.web@gmail.com>
19498         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
19499         change on 2011-02-13 (bug#8309).
19501         * minibuffer.el (read-file-name-function): Change default value.
19502         (read-file-name--defaults): Rename from read-file-name-defaults.
19503         (read-file-name-default): Rename from read-file-name.
19504         (read-file-name): Call read-file-name-function.
19506 2011-03-21  Glenn Morris  <rgm@gnu.org>
19508         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
19509         Doc fixes.
19511 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
19513         * cus-theme.el: Add missing provide statement.
19514         (customize-create-theme): Extract theme value correctly.
19515         (custom-theme-visit-theme): Autoload.
19516         (customize-create-theme): Prompt before inserting default faces.
19518 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
19520         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
19521         units and musical notes.
19523 2011-03-20  Leo Liu  <sdl.web@gmail.com>
19525         * ido.el (ido-read-internal): Use completing-read-default.
19526         (ido-completing-read): Fix compatibility with completing-read.
19528 2011-03-20  Christian Ohler  <ohler@gnu.org>
19530         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
19531         (ert-delete-all-tests): Use `called-interactively-p' rather than
19532         `interactive-p'.
19533         (ert--make-xrefs-region): Respect END.
19535 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19537         * dired-aux.el (dired-create-directory): Signal an error if the
19538         directory already exists (Bug#8246).
19540         * facemenu.el (list-colors-display): Call list-faces-display
19541         inside with-help-window.
19542         (list-colors-print): Use display property to align the final
19543         column, instead of checking window-width.
19545 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
19547         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
19548         windows-nt systems.
19549         (emerge-protect-metachars): Quote correctly for ms-dos and
19550         windows-nt systems.
19552 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
19554         * info.el (info-initialize): Replace all uses of `:' with
19555         path-separator for compatibility with non-Unix systems.
19556         Cache quoting of path-separator.  (Bug#8258)
19558 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
19560         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
19561         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
19562         (mouse-avoidance-mode): Fix typos in docstrings.
19564 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
19566         * startup.el (package-subdirectory-regexp): Move from package.el.
19567         Omit \\` and \\', and let callers add them.
19569         * emacs-lisp/package.el (package-strip-version)
19570         (package-load-all-descriptors): Add \\` and \\' to
19571         package-subdirectory-regexp before using it.
19572         (package-untar-buffer): New arg DIR; ensure that file untars only
19573         into this expected directory.  Remove superfluous delete-region.
19574         (package-unpack): Caller changed.
19575         (package-tar-file-info): Use package-subdirectory-regexp.
19577 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19579         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
19580         diff-mode-shared-map (bug#8284).
19581         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
19583 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19585         * calendar/time-date.el (format-seconds): Use assoc instead of
19586         assoc-string, since assoc-string doesn't exist in XEmacs.
19588 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
19590         * custom.el (custom-known-themes): Reflow docstring.
19591         (custom-theme-load-path): Fix typo in docstring.
19592         (load-theme): Fix typo in error message.
19593         (custom-available-themes, custom-variable-theme-value):
19594         Use `let', not `let*'.
19596 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
19598         * calc/README: Mention inclusion of musical notes.
19600         * calc/calc-units.el (calc-lu-quant): Rename from
19601         `calc-logunits-quantity'.
19602         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
19603         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
19604         (calc-db): Rename from `calc-dblevel'.
19605         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
19606         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
19607         (calc-np): Rename from `calc-nplevel'.
19608         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
19609         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
19610         (calc-lu-plus): Rename from `calc-logunits-add'.
19611         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
19612         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
19613         (calc-lu-minus): Rename from `calc-logunits-sub'.
19614         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
19615         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
19616         (calc-lu-times): Rename from `calc-logunits-mul'.
19617         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
19618         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
19619         (calc-lu-divide): Rename from `calc-logunits-div'.
19620         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
19621         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
19623         * calc/calc-ext.el (calc-init-extensions): Update the names of the
19624         functions being autoloaded.
19626         * calc/calc.el (calc-lu-power-reference): Rename from
19627         `calc-logunits-power-reference'.
19628         (calc-lu-field-reference): Rename from
19629         `calc-logunits-field-reference'.
19631         * calc/calc-help.el (calc-l-prefix-help):
19632         Mention musical note functions.
19634 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19636         * minibuffer.el (completion-all-sorted-completions):
19637         Use :completion-cycle-penalty text property if present.
19639 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
19641         * allout.el (allout-yank-processing): Adjust for new rebulleting
19642         regime so bullet being yanked is used without prompting the user
19643         for a choice.
19645 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19647         * startup.el (command-line): Warn the user that _emacs is deprecated.
19649 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
19651         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
19652         (delphi-verbose, delphi-comment-face, delphi-string-face)
19653         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
19654         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
19655         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
19656         (delphi-new-comment-line, delphi-font-lock-defaults)
19657         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
19658         Fix typos in docstrings.
19660 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
19662         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
19663         Invert the roles of character and string values for INSTEAD, so a
19664         string is used for the more common case of a defaulting prompt.
19666 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19668         * progmodes/ruby-mode.el (ruby-backward-sexp):
19669         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
19670         * play/gamegrid.el (gamegrid-make-face):
19671         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
19672         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
19673         * notifications.el (notifications-notify):
19674         * net/xesam.el (xesam-search-engines):
19675         * net/quickurl.el (quickurl-list-insert):
19676         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
19678 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
19680         * startup.el (command-line): Update package subdirectory regexp.
19682 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19684         * allout.el (allout-abbreviate-flattened-numbering)
19685         (allout-mode-deactivate-hook): Fix up obsolescence "date".
19687         * subr.el (read-char-choice): Only show the cursor after the prompt,
19688         not after the answer.
19690 2011-03-15  Kevin Ryde  <user42@zip.com.au>
19692         * help-fns.el (variable-at-point): Skip leading quotes, if any
19693         (bug#8253).
19695 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19697         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
19698         warning message.
19700 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
19702         * shell.el (shell): When called interactively, offer to change the
19703         shell file name on remote hosts.
19705 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
19707         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
19708         integration for LDAP parameters.  The host, base, user or binddn,
19709         and secret tokens can be specified in a netrc file, for instance.
19710         This is optional because an `auth-source' parameter must be
19711         specified in the search attributes.
19713 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
19715         * help.el (describe-mode): Link to the mode's definition (bug#8185).
19717 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19719         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
19720         into declaration.  Remove redundant and harmful binding.
19722 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
19724         * files.el (file-ownership-preserved-p): Pass `integer' as an
19725         explicit 2nd argument to `file-attributes'.  If the file's owner
19726         is the Administrators group on Windows, and the current user is
19727         Administrator, consider that a match.
19729         * server.el (server-ensure-safe-dir): Consider server directory
19730         safe on MS-Windows if its owner is the Administrators group while
19731         the current Emacs user is Administrator.  Use `=' to compare
19732         numerical UIDs, since they could be integers or floats.
19734 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
19736         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
19738 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
19740         Sync with Tramp 2.2.1.
19742         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
19744         * net/trampver.el: Update release number.
19746 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19748         * progmodes/compile.el (compilation--previous-directory): Fix up
19749         various nil/dead-marker mismatches (bug#8014).
19750         (compilation-directory-properties, compilation-error-properties):
19751         Don't call it at a position past the one we're about to change.
19753         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19754         Disable obsolescence warnings in the file that declares it.
19756 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
19758         * allout-widgets.el (allout-widgets-tally):
19759         Initialize allout-widgets-tally as a hash table rather than nil to
19760         prevent mode-line redisplay warnings.  Also, clarify the module
19761         description and fix a comment typo.
19763 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
19765         * help-fns.el (describe-variable): Don't complete keywords.
19766         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19768 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
19770         * emacs-lisp/package.el (package-version-join): Impose a standard
19771         string representation for pre/alpha/beta version lists.
19772         (package-unpack-single): Standardize the directory name by passing
19773         it through package-version-join.
19774         (package-strip-rcs-id): Accept any version string that does not
19775         signal an error in version-to-list.
19777 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
19779         * simple.el (delete-trailing-whitespace): Return nil for the
19780         benefit of `write-file-functions'.
19782 2011-03-10  Glenn Morris  <rgm@gnu.org>
19784         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19786         * vc/vc-git.el (vc-git-program): New option.
19787         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19788         (vc-git--call): Use it.
19790         * eshell/esh-util.el (eshell-condition-case): Doc fix.
19792         * cus-edit.el (Custom-newline): If no button at point, look
19793         for a subgroup button at start-of-line.  (Bug#2298)
19795         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19797 2011-03-10  Julien Danjou  <julien@danjou.info>
19799         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19800         `cursor-type' is nil.
19802 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
19804         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19806 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
19808         * allout.el: Change so yank of distinctive-bullet items
19809         preserves the existing header prefix, rebulleting it if necessary,
19810         rather than replacing it.  This is necessary for proper operation
19811         of cooperative addons like allout-widgets.
19812         (allout-make-topic-prefix, allout-rebullet-heading):
19813         Change SOLICIT arg to INSTEAD, and interpret additionally a string
19814         value as alternate bullet to be used, instead of prompting the user
19815         for a bullet character.
19817 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
19819         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19820         Do not use `tramp-file-name-port', because this returns also
19821         `tramp-default-port'.
19823 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
19825         * net/rcirc.el (rcirc-handler-001): Remove useless
19826         with-rcirc-process-buffer.
19827         (rcirc-check-auth-status): Swap arguments to string-match.
19829 2011-03-09  Glenn Morris  <rgm@gnu.org>
19831         * shell.el (shell-mode):
19832         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
19834         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19835         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
19837 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19839         * emacs-lisp/package.el (package-refresh-contents)
19840         (package-menu-execute): Use condition-case-no-debug.
19842 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
19844         * simple.el (shell-command-to-string): Use `process-file'.
19846         * emacs-lisp/package.el (package-tar-file-info): Handle also
19847         remote files.
19849         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19850         Use `equal' for upload base check.
19852 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
19854         * textmodes/texinfo.el (texinfo-environments):
19855         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
19857 2011-03-08  Glenn Morris  <rgm@gnu.org>
19859         * cus-start.el (cursor-in-non-selected-windows):
19860         Fix :set quoting oddness.  (Bug#8192)
19862         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19863         in some setf expressions.  (Bug#2159)
19865 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19867         * custom.el (custom-available-themes): Return themes in
19868         alphabetical order.
19870 See ChangeLog.15 for earlier changes.
19872 ;; Local Variables:
19873 ;; coding: utf-8
19874 ;; End:
19876   Copyright (C) 2011-2012  Free Software Foundation, Inc.
19878   This file is part of GNU Emacs.
19880   GNU Emacs is free software: you can redistribute it and/or modify
19881   it under the terms of the GNU General Public License as published by
19882   the Free Software Foundation, either version 3 of the License, or
19883   (at your option) any later version.
19885   GNU Emacs is distributed in the hope that it will be useful,
19886   but WITHOUT ANY WARRANTY; without even the implied warranty of
19887   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19888   GNU General Public License for more details.
19890   You should have received a copy of the GNU General Public License
19891   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.