* calendar/todos.el Add and revise various doc strings, remove
[emacs/old-mirror.git] / lisp / ChangeLog
blob4b82e61dff9694bc664b526f19405f2f5e7aa52b
1 2012-09-18  Stephen Berman  <stephen.berman@gmx.net>
3         * calendar/todos.el Add and revise various doc strings, remove
4         further commented out code; add further comments; further code
5         rearrangement.
6         (todos-file-do, todos-archive-file, todos-mode-hook)
7         (todos-edit-mode-hook, todos-exclusion-start, todos-exclusion-end)
8         (todos-view-archive, todos-search-string)
9         (todos-jump-to-category-noninteractively, todos-initial-setup):
10         Remove.
11         (todos-files): Remove this defcustom.
12         (todos-initial-category, todos-display-categories-first)
13         (todos-auto-switch-todos-file, todos-default-todos-file)
14         (todos-categories-category-label, todos-categories-todo-label)
15         (todos-categories-diary-label, todos-categories-done-label)
16         (todos-categories-archived-label)
17         (todos-categories-number-separator, todos-categories-align)
18         (todos-ignore-archived-categories, todos-nondiary-marker):
19         New defcustoms.
20         (todos-prefix, todos-done-separator, todos-file-top)
21         (todos-categories-buffer, todos-archived-categories-buffer)
22         (todos-edit-buffer, todos-always-add-time-string, todos-button):
23         Change default value.
24         (todos-done-string): Add todos-reset-done-string as :set function,
25         but keep this commented out.
26         (todos-files, todos-archives, todos-insertion-map)
27         (todos-category-done, todos-nondiary-start, todos-nondiary-end)
28         (todos-show-done-only, todos-date-string-start)
29         (todos-done-string-start): New variables.
30         (todos-files-directory, todos-files-function, todos-merged-files)
31         (todos-prompt-merged-files, todos-files, todos-modes-set-1)
32         (todos-modes-set-2, todos-reset-done-string, todos-reset-categories)
33         (todos-toggle-switch-todos-file-noninteractively)
34         (todos-switch-todos-file, todos-counts, todos-get-count)
35         (todos-set-count, todos-set-categories)
36         (todos-truncate-categories-list, todos-update-categories-sexp)
37         (todos-read-file-name, todos-sort, todos-display-sorted)
38         (todos-label-to-key, todos-insert-sort-button): New functions.
39         (todos-display-categories-sorted-by-todo)
40         (todos-display-categories-sorted-by-diary)
41         (todos-display-categories-sorted-by-done)
42         (todos-display-categories-sorted-by-archived)
43         (todos-update-merged-files, todos-switch-to-archive)
44         (todos-choose-archive, todos-merged-top-priorities)
45         (todos-jump-to-category-other-file, todos-clear-matches)
46         (todos-add-file, todos-change-default-file, todos-move-category)
47         (todos-merge-category, todos-merge-categories)
48         (todos-edit-item-time, todos-move-item-to-file)
49         (todos-unarchive-category, todos-toggle-item-diary-nonmarking)
50         (todos-toggle-diary-nonmarking): New commands.
51         (todos-toggle-show-done-only): New command replacing todos-view-archive.
52         (todos-faces): New defgroup; use in all face definitions.
53         (todos-sorted-column, todos-archived-only, todos-search): New faces.
54         (todos-font-lock-keywords): Use subexpression 1 with matcher
55         todos-category-string-match.
56         (todos-mode-map, todos-archive-mode-map, todos-edit-mode-map)
57         (todos-categories-mode-map): Add new key bindings; change some
58         existing bindings.
59         (todos-top-priorities-mode-map): New keymap.
60         (todos-menu): Add submenues and new entries.
61         (auto-mode-alist): Add extension of Todos and Todos archive files.
62         (todos-mode, todos-archive-mode): Make derived mode; use
63         todos-modes-set-1, todos-modes-set-2, todos-auto-switch-todos-file
64         and todos-switch-todos-file; make todos-show-done-only local
65         variable.
66         (todos-edit-mode): Make derived mode; use todos-modes-set-1.
67         (todos-categories-mode): Make derived mode.
68         (todos-top-priorities-mode): New derived major mode.
69         (todos-save): Remove unused code.
70         (todos-quit): Handle todos-categories-mode; save archive buffer.
71         (todos-show): Add optional argument to prompt for a Todos file; if
72         called interactively or with prefix arg or from an archive, don't
73         make a no-op but reset todos-current-todos-file, todos-categories
74         and todos-category-number; use todos-read-file-name,
75         todos-display-categories-first, todos-ignore-archived-categories.
76         (todos-display-categories): Change argument name; refactor code
77         for inserting table labels and lines, using
78         todos-ignore-archived-categories, todos-sort,
79         todos-categories-number-separator, todos-insert-sort-button,
80         todos-categories-*-labels, and todos-insert-category-line.
81         (todos-display-categories-alphabetically): Use todos-display-sorted.
82         (todos-toggle-view-done-items): Use todos-done-string-start and
83         todos-get-count.
84         (todos-toggle-display-date-time): Use todos-done-string-start.
85         (todos-top-priorities): Remove autoload cookie; partially rewrite:
86         new argument list; allow combining top priorities of multiple
87         Todos files; change display to include category (and file) name as
88         part of item header; use todos-top-priorities-mode.
89         (todos-diary-items): Reimplement using only todos-top-priorities.
90         (todos-forward-category, todos-backward-category): Accommodate to
91         1-based numbering of categories; move point to top of category.
92         (todos-jump-to-category): Rewrite, adding optional arguments to
93         provide a category in non-interactive uses and to prompt for which
94         Todos file to jump to.
95         (todos-search): Reimplement; highlight each match as found, say
96         how many matches remain and prompt whether to go to next one; at
97         end of search prompt whether to remove highlighting.
98         (todos-add-category): Remove autoload cookie; assign new category
99         the highest category number; associate zero-initialized vector of
100         item counts, instead of property list, with new category; use
101         todos-validate-category-name and todos-update-categories-sexp.
102         (todos-rename-category): Use todos-validate-category-name and
103         todos-update-categories-sexp; take archive files into account.
104         (todos-delete-category): Use todos-get-count and
105         todos-update-categories-sexp, let-bind variable that were
106         mistakenly global; use delete-region instead of kill-region;
107         accommodate to 1-based numbering of categories; move point to top
108         of category.
109         (todos-raise-category): Handle item count vectors; use
110         todos-insert-category-line and todos-update-categories-sexp.
111         (todos-insert-item): Use nil time-string argument to omit time
112         string; use todos-nondiary-start and todos-nondiary-end and
113         todos-update-categories-sexp; if category named to insert into
114         does not exist, add it; take new diary items into account.
115         (todos-insert-item-ask-date, todos-insert-item-ask-date-time)
116         (todos-insert-item-ask-date-time-for-diary)
117         (todos-insert-item-ask-date-time-for-diary-here)
118         (todos-insert-item-ask-date-time-here)
119         (todos-insert-item-ask-date-maybe-notime)
120         (todos-insert-item-ask-date-maybe-notime-for-diary)
121         (todos-insert-item-ask-date-maybe-notime-for-diary-here)
122         (todos-insert-item-ask-date-maybe-notime-here)
123         (todos-insert-item-ask-date-for-diary)
124         (todos-insert-item-ask-date-for-diary-here)
125         (todos-insert-item-ask-date-here, todos-insert-item-ask-dayname)
126         (todos-insert-item-ask-dayname-time)
127         (todos-insert-item-ask-dayname-time-for-diary)
128         (todos-insert-item-ask-dayname-time-for-diary-here)
129         (todos-insert-item-ask-dayname-time-here)
130         (todos-insert-item-ask-dayname-maybe-notime)
131         (todos-insert-item-ask-dayname-maybe-notime-for-diary)
132         (todos-insert-item-ask-dayname-maybe-notime-for-diary-here)
133         (todos-insert-item-ask-dayname-maybe-notime-here)
134         (todos-insert-item-ask-dayname-for-diary)
135         (todos-insert-item-ask-dayname-for-diary-here)
136         (todos-insert-item-ask-dayname-here, todos-insert-item-ask-time)
137         (todos-insert-item-ask-time-for-diary)
138         (todos-insert-item-ask-time-for-diary-here)
139         (todos-insert-item-ask-time-here)
140         (todos-insert-item-maybe-notime)
141         (todos-insert-item-maybe-notime-for-diary)
142         (todos-insert-item-maybe-notime-for-diary-here)
143         (todos-insert-item-maybe-notime-here)
144         (todos-insert-item-for-diary, todos-insert-item-for-diary-here):
145         New insertion commands.
146         (todos-insert-item-from-calendar): Use todos-current-todos-file.
147         (todos-delete-item): Handle diary items;
148         use todos-update-categories-sexp.
149         (todos-edit-item): Check if point is with item string;
150         use read-string instead of read-from-minibuffer;
151         use todos-date-string-start; after editing put point at start of
152         item text.
153         (todos-edit-multiline): Narrow to item before invoking
154         todos-edit-mode; show key binding of todos-edit-quit in a message.
155         (todos-edit-quit): Use todos-save; kill buffer.
156         (todos-edit-item-header): Add optional argument to prompt for
157         editing only date string or only time string;
158         use todos-date-string-start.
159         (todos-edit-item-date, todos-edit-item-date-is-today)
160         (todos-raise-item-priority, todos-lower-item-priority): Rename
161         from todos-{raise, lower}-item and make them DTRT in
162         todos-top-priorities-mode.
163         (todos-set-item-priority): Make interactive; use todos-get-count
164         and todos-insert-with-overlays; interactively, just relocate the
165         item within its category.
166         (todos-move-item): Add optional argument to prompt for a category
167         in another Todos file; handle diary items; fix restoration after
168         cancelling before inserting.
169         (todos-item-done): Handle diary items; simplify handling of
170         insertion in done items section.
171         (todos-item-undo): Handle diary items.
172         (todos-archive-done-items): Accommodate to new handling of archive
173         files (in parallel with Todos files); handle diary items; use
174         todos-done-string-start.
175         (todos-toggle-item-diary-inclusion): Use todos-nondiary-start,
176         todos-nondiary-end and todos-item-counts.
177         (todos-toggle-diary-inclusion): Use todos-category-done instead of
178         todos-category-end.
179         (todos-print): Remove autoload cookie; rewrite to make overlays,
180         line wrapping and wrap prefixes printable.
181         (todos-date-pattern): Make parenthesized groups shy.
182         (todos-date-string-match): Use todos-date-string-start; make
183         todos-date-pattern an explicitly numbered group.
184         (todos-time-string-match): Use todos-date-string-start.
185         (todos-done-string-match): Use todos-done-string-start.
186         (todos-category-string-match): Rewrite to match new category and
187         category+filename patterns in todos-top-priorities-mode.
188         (todos-prefix-overlays): Use todos-done-string-start and
189         todos-category-done.
190         (todos-reset-prefix): Handle archive files; restore point after
191         changing prefix.
192         (todos-reset-separator): Handle archive files.
193         (todos-category-number): Make category number one more than its
194         list index.
195         (todos-current-category): Accommodate to 1-based numbering of
196         categories.
197         (todos-category-select): Simplify handling of done items and done
198         separator string overlay.
199         (todos-item-start): Use todos-date-string-start and
200         todos-done-string-start.
201         (todos-item-start, todos-item-end): Fix wrong parenthesizing.
202         (todos-item-string): Restore point after getting item bounds; use
203         buffer-substring-no-properties.
204         (todos-done-item-p): Use todos-done-string-start.
205         (todos-make-categories-list): Add optional argument to force
206         looping through file to get categories and their item counts,
207         otherwise set todos-categories from sexp in first line; use
208         vectors of item counts instead of plists; count diary items.
209         (todos-item-counts): Use todos-counts, todos-set-counts,
210         todos-get-counts, and todos-update-categories-sexp instead of
211         getting and setting properties; handle diary items.
212         (todos-read-category): Add argument to set prompt; don't offer
213         default category.
214         (todos-validate-category-name): Rename from
215         todos-check-category-name; take into account whether there are
216         already categories or not.
217         (todos-read-date): Accept `*' as an unspecified month, day, or year.
218         (todos-padded-string): Accommodate new structure of
219         todos-categories as alists; use todos-categories-align.
220         (todos-descending-counts-store): New variable.
221         (todos-insert-category-line): Rename from
222         todos-insert-category-name and reimplement using labels and
223         todos-get-counts instead of properties; use
224         todos-ignore-archived-categories; highlight sorted column.
226 2012-09-14  Stephen Berman  <stephen.berman@gmx.net>
228         * calendar/todos.el Remove lots of commented out code; add various
229         comments; further code rearrangement.
230         (todos-insert-item-here-ask-date-time)
231         (todos-insert-item-ask-date-time)
232         (todos-insert-item-ask-dayname-time)
233         (todos-insert-item-for-diary)
234         (todos-insert-item-for-diary-ask-date-time)
235         (todos-make-categories-alist, todos-categories-alist): Remove.
236         (todos-categories-list): Comment out.
237         (todos-make-categories-list): New function replacing
238         todos-make-categories-alist, using category plists to get item
239         counts and taking archive into account.
240         (todos-current-todos-file): New variable.
241         (todos-mode-map): Update key bindings.
242         (todos-save): Add as comment code to make sure todos-categories
243         sexp is current on saving.
244         (todos-quit): Call todos-show on quitting Todos archive buffer.
245         (todos-show): If todos-current-todos-file is not set to Todos
246         file, set it as a new file; set todos-categories from
247         todos-make-categories-alist.
248         (todos-display-categories): Use a different display format for
249         archive file; put point initially on the first button.
250         (todos-toggle-view-done-items): Check the category's `done'
251         property to determine if there are done items.
252         (todos-view-archive): Set todos-current-todos-file to the archive
253         file; jump from the Todos file to the same category in the
254         archive, if it exists, else jump to the first category; use
255         message instead of error.
256         (todos-add-category): Intern a special symbol for the new category
257         and set its property list to holds counts of the numbers of todo,
258         done and archived items in the category; assign the new category
259         the current highest category number.
260         (todos-rename-category): Don't use todos-categories-alist.
261         (todos-delete-category): Check the category's `todo' and `done'
262         properties to determine if it is empty; ensure that the end of the
263         last category is found; after deleting the category, empty its
264         plist and unintern its special symbol.
265         (todos-insert-item-here): Fix argument list of todos-insert-item.
266         (todos-delete-item, todos-raise-item, todos-lower-item):
267         Use message instead of error.
268         (todos-move-item): If the category to be moved to does not exist,
269         add it as a new category.
270         (todos-item-done, todos-reset-separator):
271         Use todos-category-select instead of todos-show.
272         (todos-archive-done-items): Make buffer writeable; conditionalize
273         search for end of category; save after adding to archive in case
274         the file is new, so it can be found.
275         (todos-category-select): Wrap search in if instead of or+and;
276         don't hide done items in an archive.
277         (todos-set-item-priority): Check the category's `todo'
278         property to determine if there are not done todo items.
279         (todos-jump-to-category-noninteractively): Just switch to buffer
280         visiting todos-current-todos-file, since this can be either a
281         Todos file or an archive.
282         (todos-item-counts): Use category's plist instead of an alist.
283         (todos-longest-category-name-length): Argument is now a list of
284         category names, not an alist, so just test each element, not each
285         element's the car.
286         (todos-padded-string): Use todos-categories instead of
287         todos-categories-alist.
288         (todos-insert-category-name): Use category plist to get item
289         counts; take archived items into account.
291 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
293         * calendar/todos.el: Numerous spelling and comment fixes, doc
294         string fixes to conform with checkdoc, further rearrangement of
295         definitions, etc.
296         (todos-previous-line, todos-previous-answer)
297         (todos-insert-item-ask-date, todos-change-date)
298         (todos-date-nodayname-pattern, todos-dayname-date-pattern)
299         (todos-count-items-in-category, todos-count-all-items): Remove.
300         (todos-update-numbered-prefix, todos-item-start-overlays)
301         (todos-add-item-non-interactively): Comment out, also in uses.
302         (todos-done-separator): Change default value.
303         (todos-always-add-time-string): Rename from todos-add-time-string
304         and adjust uses.
305         (todos-read-category): Rename from todos-completing-read and
306         adjust callers; use todos-current-category.
307         (todos-make-categories-alist): Rename from function
308         todos-categories-alist.
309         (todos-categories-alist): New variable.
310         (todos-indent-to-here): New defcustom.
311         (todos-button): New face.
312         (todos-display-categories-alphabetically, todos-raise-category)
313         (todos-lower-category, todos-insert-item-for-diary-ask-date-time)
314         (todos-insert-item-here-ask-date-time)
315         (todos-insert-item-ask-date-time)
316         (todos-insert-item-ask-dayname-time): New commands.
317         (todos-edit-item-header): New command replacing todos-change-date.
318         (todos-category-number, todos-indent, todos-item-counts)
319         (todos-check-category-name, todos-read-date, todos-read-dayname)
320         (todos-read-time, todos-padded-string)
321         (todos-insert-category-name): New functions.
322         (todos-set-item-priority): New function replacing
323         todos-add-item-non-interactively.
324         (todos-mode-map): Remap newline to newline-and-indent.
325         (todos-edit-mode-map): Make sparse keymap; remap newline to
326         newline-and-indent.
327         (todos-categories-mode-map): New keymap.
328         (todos-mode, todos-edit-mode): Make indent-line-function local
329         variable and set to todos-indent.
330         (todos-categories-mode): New major mode.
331         (todos-display-categories): List categories initially in their
332         numerical order; add optional argument to switch to alphabetical
333         listing.
334         (todos-toggle-view-done-items): Simplify implementation.
335         (todos-toggle-display-date-time): Fix regexp search string.
336         (todos-backward-item, todos-forward-item): Use variable
337         todos-item-start.
338         (todos-add-category): Use todos-check-category-name and
339         todos-categories-alist.
340         (todos-rename-category): Use todos-current-category,
341         todos-check-category-name and todos-categories-alist.
342         (todos-delete-category): Use todos-check-category-name and
343         todos-categories-alist and take done items into account.
344         (todos-insert-item): Use separate arguments to handle insertion of
345         date/dayname and time strings, add new argument to mark item for
346         diary inclusion, use new todos-read-* functions,
347         todos-set-item-priority and todos-item-counts.
348         (todos-insert-item-here, todos-insert-item-for-diary)
349         (todos-insert-item-from-calendar): Adapt to new version of
350         todos-insert-item.
351         (todos-delete-item, todos-item-done): Use todos-item-counts.
352         (todos-edit-item): Indent newlines inserted by C-q C-j if nonspace
353         char follows.
354         (todos-lower-item): Ensure only not-done items can be lowered.
355         (todos-move-item): Use todos-current-category, todos-read-category
356         and todos-item-counts.
357         (todos-archive-done-items): Use todos-current-category and
358         todos-item-counts; fix regexp search string.
359         (todos-item-undo): Use todos-current-category,
360         todos-set-item-priority, todos-insert-with-overlays and
361         todos-item-counts; restore if user quits before inserting undone
362         item.
363         (todos-date-pattern): Rewrite without using
364         todos-date-nodayname-pattern and todos-dayname-date-pattern.
365         (todos-date-string-match): Do not make todos-date-pattern an
366         unnumbered group.
367         (todos-time-string-match): Make todos-date-pattern a shy group.
368         (todos-wrap-and-indent): Use todos-indent-to-here.
369         (todos-reset-prefix): Revert to using todos-show instead of
370         todos-category-select.
371         (todos-prefix-overlays): Fix numbering of done items and updating
372         of prefix.
373         (todos-category-select): Use todos-current-category; fix display
374         of separator string; don't move point to top of category.
375         (todos-jump-to-category-noninteractively): Use todos-category-number.
376         (todos-insert-with-overlays): Use todos-item-start unconditionally.
377         (todos-item-start): New variable.
378         (todos-item-start): Use it to define this function.
379         (todos-item-end): Adjust if item is last unfinished one before
380         displayed done items.
381         (todos-remove-item): Use todos-item-start and todos-item-end
382         instead of todos-forward-item and todos-backward-item.
383         (todos-longest-category-name-length): Add argument for list of
384         categories.
386 2012-09-13  Stephen Berman  <stephen.berman@gmx.net>
388         * calendar/todos.el: Comment out calendar require, since diary-lib
389         requires calendar.  Rearrange file to group definitions according
390         to their use (types of commands, internal functions, etc.)
391         (todos-file-done, todos-insert-threshold, todos-remove-separator)
392         (todos-date-string, todos-time-string, todos-check-overlay)
393         (todos-show-paren-hack, todos-file-item, todos-more-important-p):
394         Comment out.
395         (todos-current-date, todos-item-end-overlays)
396         (todos-list-categories): Remove.
397         (todos-item-end): Remove (the variable, not the function).
398         (todos-prefix-overlays): Rename from todos-item-overlays and adjust
399         callers.
400         (todos-done-separator, todos-done-string, todos-show-with-done)
401         (todos-files, todos-archive-file, todos-categories-buffer)
402         (todos-archived-categories-buffer, todos-wrap-lines)
403         (todos-line-wrapping-function): New defcustoms.
404         (todos-done, todos-done-sep): New faces.
405         (todos-done-face, todos-done-sep-face): Corresponding new variables.
406         (todos-search-string, todos-date-nodayname-pattern)
407         (todos-dayname-date-pattern, todos-date-pattern): New variables.
408         (todos-done-string-match, todos-category-string-match)
409         (todos-check-format, todos-wrap-and-indent, todos-reset-separator)
410         (todos-current-category, todos-count-items-in-category)
411         (todos-done-item-p, todos-categories-alist, todos-count-all-items)
412         (todos-longest-category-name-length): New functions.
413         (todos-categories-list): New buffer-specific function replacing
414         todos-list-categories.
415         (todos-toggle-item-numbering, todos-toggle-view-done-items)
416         (todos-search, todos-view-archive, todos-diary-items)
417         (todos-toggle-display-date-time, todos-insert-item-no-time)
418         (todos-insert-item-ask-date, todos-insert-item-for-diary)
419         (todos-insert-item-from-calendar, todos-edit-quit)
420         (todos-change-date, todos-item-done, todos-archive-done-items)
421         (todos-item-undo): New commands.
422         (todos-archive-mode): New major mode.
423         (todos-archive-mode-map, todos-edit-mode-map): New keymaps.
424         (todos-category-beg): Change value.
425         (todos-number-prefix): Change default value.
426         (todos-edit-buffer): Change from defvar to defcustom.
427         (todos-font-lock-keywords): Use todos-done-string-match and
428         todos-category-string-match.
429         (todos-backward-item, todos-forward-item): Use todos-done-string
430         and todos-date-pattern.
431         (todos-display-categories): Reimplement using buttons from
432         button.el instead of widgets.
433         (todos-top-priorities): Use with-current-buffer; take done items
434         into account; ensure buffers gets fontified.
435         (todos-add-category): Ensure new category does not begin with
436         empty lines.
437         (todos-jump-to-category): Use todos-category-select instead of
438         todos-show.
439         (todos-rename-category): Prompt for new name in body instead of in
440         interactive spec.
441         (todos-insert-item): Don't insert in done items section of
442         category.  Add two optional arguments to control insertion: (i) to
443         insert near point without prompting for priority; (ii) to use
444         defaults for date and time strings, to prompt for these, or to
445         choose date from the Calendar.
446         (todos-insert-item-here): Reimplement using todos-insert-item.
447         (todos-delete-item): Don't move point after deleting last item.
448         (todos-raise-item, todos-lower-item): Take done items into account.
449         (todos-move-item): Don't move done items; update item numbering;
450         restore if user quits before inserting moved item.
451         (todos-print): Prompt for confirmation to print.
452         (todos-reset-prefix): Search backward from end of file instead of
453         forward from top.
454         (todos-jump-to-category-noninteractively): Take Todos archive into
455         account.
456         (todos-category-select): Show or hide done items according to
457         todos-show-with-done; if shown, coordinate separator and prefix
458         overlays.
459         (todos-add-item-non-interactively): Replace binary insertion
460         algorithm with prompting for numerical priority.
461         (todos-insert-with-overlays): Remove use of variable todos-item-end.
462         (todos-item-start): Take done items into account; use
463         todos-date-pattern.
464         (todos-item-end): Reimplement using todos-forward-item.
465         (todos-remove-item): Reimplement using todos-forward-item and
466         todos-backward-item; redo overlay handling.
467         (todos-mode-map): Add some new key bindings and change numerous
468         existing bindings; use "i" as prefix key for item insertion
469         commands.
470         (todos-mode): Use todos-wrap-lines and delegate word-wrap and
471         wrap-prefix settings to todos-wrap-and-indent; add to invisibility
472         spec; set buffer-read-only to t and consequently let-bind this
473         variable in all Todos commands that change buffer content.
474         (todos-edit-mode): Make an indepent mode, not derived from text-mode.
475         (todos-save): Don't save top priorities buffer.
476         (todos-show): Make a no-op if called interactively in narrowed
477         Todos mode, since, also to work around item prefix reduplication
478         bug with show-paren-mode enabled; use todos-categories-list.
480 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
482         * calendar/todos.el: Comment out time-stamp require; require
483         calendar and diary-lib.
484         (todos-prefix): Change default value and doc string to reflect new
485         meaning; add :initialize and :set functions.
486         (todos-time-string-format, todos-entry-prefix-function)
487         (todos-initials, todos-entry-timestamp-initials)
488         (todos-prefix-face, todos-category-sep, todos-category-end)
489         (todos-cp): Comment out.
490         (todos-prefix-string): Inherit from font-lock-comment-face.
491         (todos-item-header, todos-item-header-face): Remove.
492         (todos-date, todos-time): New faces.
493         (todos-date-face, todos-time-face): Corresponding new variables.
494         (todos-add-time-string, todos-include-in-diary)
495         (todos-exclusion-start, todos-exclusion-end, todos-number-prefix):
496         New defcustoms.
497         (todos-item-end, todos-item-start-overlays)
498         (todos-item-end-overlays): New variables.
499         (todos-date-string-match, todos-time-string-match): New functions.
500         (todos-font-lock-keywords): Use them.
501         (todos-current-date, todos-date-string, todos-time-string)
502         (todos-toggle-item-diary-inclusion, todos-toggle-diary-inclusion)
503         (todos-reset-prefix, todos-update-numbered-prefix)
504         (todos-check-overlay, todos-item-overlays)
505         (todos-insert-with-overlays, todos-show-paren-hack): New functions.
506         (todos-highlight-item): New command.
507         (todos-category-beg): Change value.
508         (todos-category-select): Use todos-category-beg and todos-item-overlays.
509         (todos-backward-item): Add optional count argument; use it and
510         todos-item-start.
511         (todos-forward-item): Use todos-check-overlay, todos-item-start
512         and variable todos-item-end.
513         (todos-edit-item, todos-delete-item): Use todos-number-prefix,
514         todos-update-numbered-prefix, todos-item-overlays.
515         (todos-add-category, todos-rename-category)
516         (todos-list-categories): Use new category format.
517         (todos-delete-category): Allow deleting non-empty category;
518         use new category format.
519         (todos-add-item-non-interactively): Comment out unnecessary
520         save-excursion; use todos-insert-with-overlays.
521         (todos-insert-item): Comment out unnecessary save-excursion; use
522         new item format for date/time header and diary inclusion marking.
523         (todos-insert-item-here): Use new item format for date/time header
524         and diary inclusion marking; use todos-insert-with-overlays.
525         (todos-raise-item): Make a no-op if point is on an empty line; use
526         todos-insert-with-overlays.
527         (todos-lower-item): Use todos-insert-with-overlays.
528         (todos-top-priorities): Move call to todos-show inside
529         save-excursion; add save-current-buffer after save-restriction.
530         (todos-item-start): Use variable todos-item-end.
531         (todos-item-end): Use todos-check-overlay and variable todos-item-end.
532         (todos-remove-item): Take item overlays into account.
533         (todos-mode): Change calculation of wrap-prefix; make
534         hl-line-range-function a local variable and set it to highlight
535         todo item.
536         (todos-show): Ensure point stays at top of category.
538 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
540         * calendar/todos.el (todos-window-configuration): Comment out.
541         (todos-display-categories): Comment out use of
542         todos-window-configuration; use switch-to-buffer instead of
543         pop-to-buffer.
544         (todos-jump-to-category-noninteractively): Comment out use of
545         todos-window-configuration.
546         (todos-edit-item): Don't allow editing of date/time item header.
547         (todos-insert-item, todos-insert-item-here): Insert date/time
548         header in front of new item string.
549         (todos-mode): Tweak wrap-prefix.
551 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
553         * calendar/todos.el (todos-file-do, todos-file-done):
554         Change default location to directory "~/.emacs.d/".
555         (todos-completion-ignore-case, todos-categories-buffer):
556         New defcustoms.
557         (todos-prefix-string, todos-item-header): New faces.
558         (todos-prefix-face, todos-item-header-face): Corresponding
559         new variables.
560         (todos-rename-category, todos-delete-category)
561         (todos-display-categories, todos-move-item): New commands.
562         (todos-mode-map): Add key bindings for new commands and for
563         todos-add-category, which had no key binding.
564         (todos-jump-to-category-noninteractively): New function.
565         (todos-top-priorities): Comment out code using a previously
566         deleted variable.
567         (todos-completing-read): Allow SPC to insert a space when entering
568         a new category name; use todos-completion-ignore-case.
569         (todos-font-lock-keywords, todos-window-configuration):
570         New variables.
571         (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
572         word-wrap, and wrap-prefix local variables.
574 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
576         * calendar/todos.el (todos-list-categories): Fix typos.
577         (todos-show): Ensure file is in todos-mode.
579 2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
581         * calendar/todos.el (todos-header): Remove defvar.
582         (todos-add-category): Comment out code that inserts and updates
583         the file local variables first line of the file todos-file-do.
584         (todos-list-categories): New function.
585         (todos-show): Use it; remove use of a previously deleted variable.
587 2012-09-11  Stephen Berman  <stephen.berman@gmx.net>
589         * calendar/todos.el: New file.  This is a copy of todo-mode.el
590         from revision 94343 except for the following changes: replace all
591         occurrences of the namespace prefix "todo-" with "todos-", delete
592         the defvar todo-cats (the old name of todo-categories) and its use
593         in todos-add-category, delete all defaliases of old command names.
595 2012-09-11  Bastien Guerry  <bzg@gnu.org>
597         * subr.el (set-temporary-overlay-map): Add a docstring.
598         (bug#12346)
600 2012-09-11  Bastien Guerry  <bzg@gnu.org>
602         * minibuffer.el (completion-table-subvert): Fix docstring.
603         (bug#12347)
605 2012-09-11  Bastien Guerry  <bzg@gnu.org>
607         * help-fns.el (describe-variable): Fix typo. (bug#12346)
609 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
611         * progmodes/sql.el: Version 3.1
612         (sql-db2-escape-newlines): New variable.
613         (sql-escape-newlines-filter): Use it.
615 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
617         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
619 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
621         * vc/diff-mode.el (diff-mode-menu): Bind
622         diff-remove-trailing-whitespace.
624 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
626         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
627         (emacs-lisp-byte-code-comment)
628         (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
629         New functions.
630         (eval-sexp-add-defvars): Don't skip defvars in column >0.
631         (eval-defun-2): Remove bogus interactive spec.
632         (lisp-indent-line): Remove redundant whole-exp code, now done in
633         indent-according-to-mode.
634         (save-match-data): Remove redundant indent data.
636         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
637         Use `declare'.
639 2012-09-09  Juri Linkov  <juri@jurta.org>
641         * replace.el (replace-regexp-lax-whitespace): New defcustom.
642         (replace-lax-whitespace, query-replace-regexp)
643         (query-replace-regexp-eval, replace-regexp): Doc fix.
644         (perform-replace, replace-highlight): Let-bind
645         isearch-lax-whitespace to replace-lax-whitespace and
646         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
648         * isearch.el (isearch-query-replace): Let-bind
649         replace-lax-whitespace to isearch-lax-whitespace and
650         replace-regexp-lax-whitespace to
651         isearch-regexp-lax-whitespace.  (Bug#10885)
653 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
655         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
657 2012-09-09  Alan Mackenzie  <acm@muc.de>
659         * progmodes/cc-engine.el (c-state-cache-init):
660         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
661         (c-record-parse-state-state):
662         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
664 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
666         * register.el (register-separator): Rename from
667         separator-register.  All uses changed.  Doc fix.
668         (register): Fix version.
670 2012-09-09  Chong Yidong  <cyd@gnu.org>
672         * replace.el (query-replace-map): Bind four new symbols for
673         requesting window scrolling.
675         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
676         query-replace-map (Bug#8948).
678         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
680         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
681         since they are now in query-replace-map.
683         * window.el (scroll-other-window-down): Make the arg optional.
685 2012-09-09  Chong Yidong  <cyd@gnu.org>
687         * files.el (hack-local-variables-confirm): Use quit-window to kill
688         the *Local Variables* buffer.
690 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
692         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
693         not just expect to be at its beginning.  Adjust callees.
694         Succeed when do-end block has no space before the pipe character.
695         (ruby-brace-to-do-end): When the original block is one-liner,
696         convert to multiline.  Reindent the result.
698 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
700         * register.el (register): New group.
701         (register-separator): New user option.
702         (increment-register): Route it to `append-to-register', if
703         register contains text.  Implication is that `C-x r +' can now be
704         used for appending to a text register (bug#12217).
705         (append-to-register, prepend-to-register): Add separator based on
706         `register-separator.
708 2012-09-08  Alan Mackenzie  <acm@muc.de>
710         AWK Mode: make auto-newline work when there's "==" in the pattern.
711         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
712         correctly.
713         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
714         Test more rigorously for "=" token.
716 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
718         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
719         Only fail when reached LIMIT.
721 2012-09-08  Chong Yidong  <cyd@gnu.org>
723         * dired.el (dired-mode-map): Don't bind M-=.
725         * dired-aux.el (dired-diff): Use backup file as default.
727 2012-09-08  Drew Adams  <drew.adams@oracle.com>
729         * subr.el (add-to-history): Fix delete usage (Bug#12314).
731 2012-09-08  Chong Yidong  <cyd@gnu.org>
733         * subr.el (syntax-after, syntax-class): Doc fix.
735 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
737         * window.el (display-buffer-in-previous-window): New buffer
738         display action function.
740         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
741         (debugger-previous-window): New variable.
742         (debug): Rewrite using display-buffer-in-previous-window,
743         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
745 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
749 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
751         * progmodes/python.el (python-shell-send-string):
752         When default-directory is remote, create temp file on remote
753         filesystem.
754         (python-shell-send-file): When file is remote, pass local view of
755         file paths to remote Python interpreter.  (Bug#12340)
757 2012-09-07  Chong Yidong  <cyd@gnu.org>
759         * window.el (switch-to-buffer): Doc fix (Bug#12181).
761         * files.el (after-find-file): Don't fail on a read-only buffer if
762         require-final-newline is `visit' or `visit-save' (Bug#11156).
764         * subr.el (read-char-choice): Allow quitting via ESC ESC.
766         * userlock.el (ask-user-about-supersession-threat):
767         Use read-char-choice (Bug#12093).
769 2012-09-07  Chong Yidong  <cyd@gnu.org>
771         * subr.el (buffer-narrowed-p): New function.
773         * ses.el (ses-widen):
774         * simple.el (count-words--buffer-message):
775         * net/browse-url.el (browse-url-of-buffer): Use it
777         * simple.el (count-words-region): Don't signal an error if there
778         is a non-nil prefix arg and the mark is not set.
780         * help.el (describe-key-briefly): Allow the message to be seen
781         when invoked from the minibuffer (Bug#7014).
783 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
785         * progmodes/ruby-mode.el (ruby-end-of-defun)
786         (ruby-beginning-of-defun): Simplify, allow indentation before
787         block beginning and end keywords.
788         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
789         (ruby-end-of-defun): Expect that the point is at the beginning of
790         the defun.
792 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
794         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
795         (bug#12367).
796         (cl--make-usage-args): Strip _ from argument names.
798 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
800         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
801         obsolete alias speedbar-key-map.
802         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
803         (vhdl-index-menu-init): Don't use obsolete variable
804         font-lock-maximum-size.
806 2012-09-06  Chong Yidong  <cyd@gnu.org>
808         * frame.el (window-system-version): Mark as obsolete.
810         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
811         of obsolete variable speedbar-key-map.
813 2012-09-06  Juri Linkov  <juri@jurta.org>
815         * replace.el (replace-lax-whitespace): New defcustom.
816         (query-replace, query-replace-regexp, query-replace-regexp-eval)
817         (replace-string, replace-regexp): Mention it in docstrings.
818         (perform-replace, replace-highlight): Let-bind
819         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
820         to the values of replace-lax-whitespace and regexp-flag.
821         Don't let-bind search-whitespace-regexp.  (Bug#10885)
823         * isearch.el (isearch-query-replace): Let-bind
824         replace-lax-whitespace instead of let-binding
825         replace-search-function and replace-re-search-function.
826         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
827         and isearch-regexp-lax-whitespace to lazy-highlight variables.
828         (isearch-toggle-symbol): Set isearch-regexp to nil
829         in isearch-word mode (like in isearch-toggle-word).
831 2012-09-06  Juri Linkov  <juri@jurta.org>
833         * replace.el (replace-search-function)
834         (replace-re-search-function): Set default values to nil.
835         (perform-replace): Let-bind isearch-related variables based on
836         replace-related values, call `isearch-search-fun' and let-bind
837         the result to `search-function'.  Remove code that sets
838         `search-function' and `search-string' separately for
839         `delimited-flag'.
840         (replace-highlight): Add new argument `delimited-flag' and
841         rename other arguments to the names used in `perform-replace'.
842         Let-bind `isearch-word' to the argument `delimited-flag'.
843         (Bug#10885, bug#10887)
845 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
847         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
848         ruby-beginning-of-indent, simplify, allow all keywords to have
849         indentation before them.
850         (ruby-beginning-of-indent): Adjust for above.  Search until the
851         found point is not inside a string or comment.
852         (ruby-font-lock-keywords): Allow symbols to start with "@"
853         character, give them higher priority than variables.
854         (ruby-syntax-propertize-function)
855         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
856         matchers.  Expression expansions are not comments when inside a
857         string, and there comment syntax status is irrelevant.
858         (ruby-match-expression-expansion): New function.  Check that
859         expression expansion is inside a string, and it's not escaped.
860         (ruby-font-lock-keywords): Use it.
862 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
864         * help.el (temp-buffer-max-height): New default value.
865         (temp-buffer-resize-frames): New option.
866         (resize-temp-buffer-window): Optionally resize frame.
868         * window.el (fit-frame-to-buffer-bottom-margin): New option.
869         (fit-frame-to-buffer): New function.
871 2012-09-05  Glenn Morris  <rgm@gnu.org>
873         * emulation/cua-rect.el (cua--init-rectangles):
874         * textmodes/picture.el (picture-mode-map):
875         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
876         like forward-char and backward-char.  (Bug#12317)
878 2012-09-05  Leo Liu  <sdl.web@gmail.com>
880         * progmodes/flymake.el (flymake-warning-re): New variable.
881         (flymake-parse-line): Use it.
883 2012-09-05  Glenn Morris  <rgm@gnu.org>
885         * calendar/holidays.el (holiday-christian-holidays):
886         Rename an entry.  (Bug#12289)
888 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
891         (bug#12222).
893 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
895         * loadup.el: Load macroexp.  Remove hack.
896         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
897         (macroexp--expand-all): Use it to get better warnings.
898         (macroexp--backtrace, macroexp--trim-backtrace-frame)
899         (internal-macroexpand-for-load): New functions.
900         (macroexp--pending-eager-loads): New var.
901         (emacs-startup-hook): New hack to replace one in loadup.el.
902         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
903         (cl--compiler-macro-cXXr): Move to top, before they can be used.
904         (cl-psetf): Simplify.
905         (cl-defstruct): Add indent rule.
907 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
909         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
910         over `user-mail-address' for the SMTP MAIL FROM envelope.
911         (smtpmail-via-smtp): Ditto.
913 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
915         * progmodes/ruby-mode.el: Clean up keybindings.
916         (ruby-mode-map): Don't bind ruby-electric-brace,
917         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
918         backward-kill-word, reindent-then-newline-and-indent.
919         (ruby-mark-defun): Remove.
920         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
921         (ruby-mode): Set local beginning-of-defun-function and
922         end-of-defun-function values.
924 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
926         * window.el (temp-buffer-window-setup-hook)
927         (temp-buffer-window-show-hook): New hooks.
928         (temp-buffer-window-setup, temp-buffer-window-show)
929         (with-temp-buffer-window): New functions.
930         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
931         (special-display-popup-frame): Make sure the window used shows BUFFER.
933         * help.el (temp-buffer-resize-mode): Fix doc-string.
934         (resize-temp-buffer-window): New optional argument WINDOW.
936         * files.el (recover-file, save-buffers-kill-emacs):
937         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
939 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
941         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
942         remote definition of `default-directory', ensure we can connect.
944 2012-09-02  Juri Linkov  <juri@jurta.org>
946         Toggle whitespace matching mode with M-s SPC.
947         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
949         * isearch.el (search-whitespace-regexp): Doc fix.
950         Remove cons cell customization.
951         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
952         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
953         New variables.
954         (isearch-forward, isearch-forward-regexp): Doc fix.
955         (isearch-toggle-lax-whitespace): New command.
956         (search-forward-lax-whitespace, search-backward-lax-whitespace)
957         (re-search-forward-lax-whitespace)
958         (re-search-backward-lax-whitespace): New functions.
959         (isearch-whitespace-regexp): Remove function.
960         (isearch-query-replace): Let-bind replace-search-function and
961         replace-re-search-function.
962         (isearch-occur): Let-bind search-spaces-regexp according to the
963         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
964         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
965         condition for C-q SPC.
966         (isearch-search-fun-default): Use new functions mentioned above.
967         (isearch-search-forward, isearch-search-backward): Remove functions.
968         (isearch-search): Don't let-bind search-spaces-regexp.
969         (isearch-lazy-highlight-space-regexp): Remove variable.
970         (isearch-lazy-highlight-lax-whitespace)
971         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
972         (isearch-lazy-highlight-new-loop): Use them.
973         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
975 2012-09-02  Chong Yidong  <cyd@gnu.org>
977         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
979 2012-09-02  Glenn Morris  <rgm@gnu.org>
981         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
983 2012-09-01  Glenn Morris  <rgm@gnu.org>
985         * term.el: Tidy up menu definitions.
986         (term-mode-map): Use easymenu for In/Out, Complete menus.
987         (term-pager-break-map): Initialize in the defvar.
988         (term-terminal-menu, term-signals-menu): Define with easymenu.
989         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
990         (term-pager-menu): New, extracted from term-process-pager.
991         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
992         (term-update-mode-line): Propertize line/char and page items.
993         (term-process-pager): Move keymap initialization elsewhere.
995 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
997         * window.el (switch-to-prev-buffer): Handle additional values of
998         BURY-OR-KILL argument.  Don't switch in minibuffer window.
999         (switch-to-next-buffer): Don't switch in minibuffer window.
1000         (quit-restore-window): New function based on quit-window.
1001         Handle additional values of former KILL argument.
1002         (quit-window): Call quit-restore-window with appropriate
1003         interpretation of KILL argument.
1004         (display-buffer-below-selected): New buffer display action
1005         function.
1007 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1009         * minibuffer.el (completion-at-point-functions): Complete docstring
1010         (bug#12254).
1012 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
1014         Better seed support for (random).
1015         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
1016         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
1017         * play/mpuz.el, play/tetris.el, play/zone.el:
1018         * calc/calc-comb.el (math-init-random-base):
1019         * play/blackbox.el (bb-init-board):
1020         * play/life.el (life):
1021         * server.el (server-use-tcp):
1022         * type-break.el (type-break):
1023         Remove unnecessary call to (random t).
1024         * net/sasl.el (sasl-unique-id-function):
1025         Change (random t) to (random), now that the latter is more random.
1026         * play/life.el (life-initialized): Remove no-longer-needed var.
1028 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
1030         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1031         Consider frame's buffer predicate when choosing the buffer.
1032         (Bug#12081)
1034 2012-08-30  Richard Stallman  <rms@gnu.org>
1036         * simple.el (special-mode-map): Delete binding for `z'.
1038 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
1040         * progmodes/compile.el (compilation-always-kill): Doc fix.
1042 2012-08-30  Chong Yidong  <cyd@gnu.org>
1044         * window.el (display-buffer-reuse-frames): Make the obsolescence
1045         message more informative.
1047 2012-08-30  Glenn Morris  <rgm@gnu.org>
1049         * paren.el (show-paren-delay):
1050         Add a :set function.  Doc fix.  (Bug#12297)
1052 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
1054         * progmodes/compile.el (compilation-always-kill): New var.
1055         (compilation-start): Use it.
1057 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1059         * simple.el (read-only-mode): Move from files.el for bootstrapping.
1060         * files.el (read-only-mode): Move to simple.el.
1062         * files.el (read-only-mode): New minor mode.
1063         (toggle-read-only): Use it and mark obsolete.
1064         (find-file--read-only):
1065         * vc/vc.el (vc-next-action, vc-checkout):
1066         * vc/vc-cvs.el (vc-cvs-checkout):
1067         * obsolete/vc-mcvs.el (vc-mcvs-update):
1068         * ffap.el (ffap--toggle-read-only): Update callers.
1070 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
1072         * eshell/esh-ext.el (eshell-external-command): Do not examine
1073         remote shell scripts.
1074         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
1076         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
1077         "/usr/local/sbin".
1079 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1081         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
1083 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1085         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
1086         completion-at-point.  (Bug#12220)
1088         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
1090         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
1092 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1094         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
1095         be buffer-local; add delete-trailing-whitespace (bug#12259).
1097 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
1099         * progmodes/hideif.el (hif-compress-define-list):
1100         Fix typo.  (Bug#11951)
1102 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
1104         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
1105         buffer local setting.
1107         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
1108         rcirc-encode-coding-system.
1110 2012-08-28  Leo Liu  <sdl.web@gmail.com>
1112         * net/rcirc.el (rcirc-split-message): New function.
1113         (rcirc-send-message): Use it.  (Bug#12051)
1115 2012-08-28  Juri Linkov  <juri@jurta.org>
1117         * info.el (Info-fontify-node): Hide empty lines at the end of
1118         the node.  (Bug#12272)
1120 2012-08-27  Drew Adams  <drew.adams@oracle.com>
1122         * dired.el (dired-pop-to-buffer): Make window start at beginning
1123         of buffer (Bug#12281).
1125 2012-08-26  Chong Yidong  <cyd@gnu.org>
1127         * window.el (special-display-regexps, special-display-frame-alist)
1128         (special-display-buffer-names, special-display-function)
1129         (display-buffer-reuse-frames): Mark as obsolete.
1131         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
1133         * help.el (help-print-return-message): Don't treat
1134         display-buffer-reuse-frames specially.
1136 2012-08-26  Chong Yidong  <cyd@gnu.org>
1138         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1139         New variable, replacing gdb-frame-parameters.
1140         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
1141         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
1142         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
1143         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
1144         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
1145         the functions directly with gdb-display-buffer-other-frame-action.
1146         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
1147         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
1148         (gdb-display-stack-buffer, gdb-display-locals-buffer)
1149         (gdb-display-registers-buffer): Define directly.
1150         (def-gdb-display-buffer): Macro deleted.
1151         (gdb-display-buffer): Remove second and third args, callers don't
1152         use them.  Defer to the default display-buffer behavior, apart
1153         from making windows dedicated.
1154         (gdb-setup-windows): Don't call display-buffer unnecessarily.
1156         * progmodes/gud.el (gud-display-line): Just use display-buffer.
1158         * window.el (display-buffer-pop-up-frame): Handle a
1159         pop-up-frame-parameters alist entry.
1160         (display-buffer): Document it.
1162 2012-08-26  Chong Yidong  <cyd@gnu.org>
1164         * isearch.el (search-whitespace-regexp): Make string and nil
1165         values apply to both ordinary and regexp search.  Allow a cons
1166         cell value to distinguish between the two.
1167         (isearch-whitespace-regexp, isearch-search-forward)
1168         (isearch-search-backward): New functions.
1169         (isearch-occur, isearch-search-fun-default, isearch-search)
1170         (isearch-lazy-highlight-new-loop): Use them.
1171         (isearch-forward, isearch-forward-regexp): Doc fix.
1173 2012-08-26  Chong Yidong  <cyd@gnu.org>
1175         * faces.el (help-argument-name): Always inherit from italic
1176         (Bug#12213).
1178 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
1180         * window.el (window--even-window-heights): Even heights when
1181         WINDOW and the selected window form a vertical combination.
1182         (display-buffer-use-some-window): Provide that window used gets
1183         sized back by quit-window.  (Bug#11880) and (Bug#12091)
1185 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1187         Fix file time stamp problem with bzr and CVS (Bug#12001).
1188         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
1189         in the file's time stamp, since the version control system loses
1190         that information.
1192 2012-08-22  Juri Linkov  <juri@jurta.org>
1194         * info.el (Info-fontify-node): Hide the suffix of the
1195         Info file name in the header line.  (Bug#12187)
1197 2012-08-22  Glenn Morris  <rgm@gnu.org>
1199         * calendar/cal-tex.el (cal-tex-weekly-common):
1200         Restore leading blank page.
1202 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
1204         * misc.el (forward-to-word, backward-to-word): Activate or extend
1205         the region under `shift-select-mode'.  (Bug#12231)
1207 2012-08-22  Bastien Guerry  <bzg@gnu.org>
1209         * progmodes/executable.el (executable-prefix): Set to "#!" instead
1210         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
1211         gives details on why the space is never needed.
1213 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1215         * window.el (walk-window-tree, window-with-parameter):
1216         New optional argument MINIBUF to control whether these functions
1217         should run on the minibuffer window.
1218         (window-at-side-list): Don't operate on minibuffer window.
1219         (window-in-direction): Simplify and rewrite doc-string.
1220         (window--size-ignore): Rename to window--size-ignore-p.
1221         Update callers.
1222         (display-buffer-in-atom-window, window--major-non-side-window)
1223         (window--major-side-window, display-buffer-in-major-side-window)
1224         (delete-side-window, display-buffer-in-side-window):
1225         New functions.
1226         (window--side-check, window-deletable-p, delete-window)
1227         (delete-other-windows, split-window): Handle side windows and
1228         atomic windows appropriately.
1229         (window--display-buffer): Call display-buffer-record-window also
1230         when the window buffer did not change.
1232 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
1234         * help-fns.el (help-fns--key-bindings):
1235         Abbreviate non-symbol remap targets.  (Bug#12174)
1237 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
1239         * dired.el (dired-mark-remembered): Don't clobber point.
1240         (Bug#11795)
1242 2012-08-22  Glenn Morris  <rgm@gnu.org>
1244         * progmodes/bug-reference.el (bug-reference): New custom group.
1245         (bug-reference-bug-regexp): Make it a defcustom.
1247 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
1249         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
1250         (js-paren-indent-offset, js-square-indent-offset)
1251         (js-curly-indent-offset): Add :safe (Bug#12257).
1253 2012-08-22  Edward O'Connor  <hober0@gmail.com>
1255         * json.el (json-key-format): Add error properties.
1256         (json-encode-key): New function.
1257         (json-encode-hash-table, json-encode-alist, json-encode-plist):
1258         Use json-encode-key.
1260 2012-08-22  Glenn Morris  <rgm@gnu.org>
1262         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1263         (cal-tex-leftday, cal-tex-rightday): Remove functions.
1264         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1265         Update for above change.
1267 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
1269         * cus-face.el (custom-face-attributes): Fix customize type for the
1270         :underline attribute.  (Bug#11805)
1272 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
1274         * window.el (window-point-1, set-window-point-1): Remove.
1275         (window-in-direction, record-window-buffer)
1276         (set-window-buffer-start-and-point, split-window-below)
1277         (window--state-get-1, display-buffer-record-window):
1278         Replace calls to window-point-1 and set-window-point-1 by calls to
1279         window-point and set-window-point respectively.
1281 2012-08-21  Glenn Morris  <rgm@gnu.org>
1283         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1284         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1285         Use it.
1287         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1288         (cal-tex-shortday): New function.
1289         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1290         (cal-tex-cursor-filofax-daily): Use the above.
1292         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1293         New functions.
1294         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1295         (cal-tex-cursor-filofax-week): Use them.
1297         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1298         New constants.
1299         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1300         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1302         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1303         (cal-tex-end-document): Don't rely on buffer name.
1305         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1306         Use cal-tex-vspace.
1307         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1308         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1309         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1310         Use cal-tex-arg.
1312         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1313         (cal-tex-cursor-week, cal-tex-cursor-week2)
1314         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1315         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1316         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1317         (cal-tex-insert-preamble, cal-tex-b-document)
1318         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1319         Improve cal-tex-cmd usage.
1321         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1322         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1323         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1324         (cal-tex-weekly-paper): New function.
1325         (cal-tex-cursor-week, cal-tex-cursor-week2)
1326         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1327         (cal-tex-cursor-day): Use it.
1329         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1330         (cal-tex-cursor-filofax-week): Remove leading blank page.
1332         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1333         Add autoload cookie.  For now at least, don't use color, since
1334         no other cal-tex function does.
1336         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1337         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1338         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1340 2012-08-21  Juri Linkov  <juri@jurta.org>
1342         * info.el (Info-file-attributes): New variable.
1343         (info-insert-file-contents): Add file attributes to
1344         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
1345         `Info-toc-nodes' when previous modtime of the Info file is less
1346         than new modtime.
1347         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1348         of info.el.  (Bug#12230)
1350 2012-08-20  Glenn Morris  <rgm@gnu.org>
1352         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1353         * calendar/holidays.el (calendar-holiday-list):
1354         Report errors with display-warning rather than beep'n'sleep.
1356 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
1358         * net/tramp.el (tramp-accept-process-output): Accept only output
1359         from PROC.  Otherwise, process filters and sentinels might be
1360         confused.  (Bug#12145)
1362 2012-08-20  Chong Yidong  <cyd@gnu.org>
1364         * descr-text.el (describe-text-properties-1): Use overlays-in to
1365         report on empty overlays (Bug#3322).
1367 2012-08-20  Glenn Morris  <rgm@gnu.org>
1369         * mail/rmailout.el (rmail-output-read-file-name):
1370         Trap and report errors in rmail-output-file-alist elements.
1372         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1373         since most non-font-lock faces are not also variables).
1375 2012-08-20  Edward Reingold  <reingold@iit.edu>
1377         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1378         New function.  (Bug12160)
1380 2012-08-19  Glenn Morris  <rgm@gnu.org>
1382         * mail/rmailout.el (rmail-output-read-file-name):
1383         Fix previous change (when the alist is nil or does not match).
1385 2012-08-19  Chong Yidong  <cyd@gnu.org>
1387         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1388         (Bug#12228).
1390 2012-08-18  Chong Yidong  <cyd@gnu.org>
1392         * simple.el (yank-handled-properties): New defcustom.
1393         (yank-excluded-properties): Add font-lock-face and category.
1394         (yank): Doc fix.
1396         * subr.el (remove-yank-excluded-properties):
1397         Obey yank-handled-properties.  The special handling of font-lock-face
1398         and category is now done this way, instead of being hard-coded.
1399         (insert-for-yank-1): Remove font-lock-face handling.
1400         (yank-handle-font-lock-face-property)
1401         (yank-handle-category-property): New function.
1403 2012-08-17  Glenn Morris  <rgm@gnu.org>
1405         * mail/rmailout.el (rmail-output-read-file-name):
1406         Check rmail-output-file-alist against the full message body
1407         in the correct rmail buffer.  (Bug#12214)
1409 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
1411         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1412         Eliminate superfluous prompt.  (Bug#12203)
1414 2012-08-17  Chong Yidong  <cyd@gnu.org>
1416         * mouse.el (mouse-appearance-menu): If x-select-font returns a
1417         font spec, set the font directly (Bug#3228).
1419 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
1421         * window.el (delete-window): Fix last fix.
1423 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
1425         * window.el (window-valid-p): Move to window.c.
1426         (window-child, window-child-count, window-last-child)
1427         (window-normalize-window, window-combined-p)
1428         (window-combinations, window-atom-root, window-min-size)
1429         (window-sizable, window-sizable-p, window-size-fixed-p)
1430         (window-min-delta, window-max-delta, window--resizable)
1431         (window--resizable-p, window-resizable, window-total-size)
1432         (window-full-height-p, window-full-width-p, window-body-size)
1433         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1434         (minimize-window, window-deletable-p, delete-window)
1435         (delete-other-windows, set-window-buffer-start-and-point)
1436         (next-buffer, previous-buffer, split-window, balance-windows-2)
1437         (set-window-text-height, window-buffer-height)
1438         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1439         (truncated-partial-width-window-p): Minor code adjustments.
1440         In doc-strings state whether the argument window has to denote a
1441         live, valid or any window.
1443 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
1445         * progmodes/subword.el (subword-forward-function)
1446         (subword-backward-function, subword-forward-regexp)
1447         (subword-backward-regexp): New variables.
1448         (subword-forward, subword-forward-internal, subword-backward-internal):
1449         Use new variables, eg so that different "word" definitions
1450         can be easily used.  (Bug#11411)
1452 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1454         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1455         for composite selectors.
1456         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1457         operation just because we can't find a previous revision.
1459 2012-08-15  Chong Yidong  <cyd@gnu.org>
1461         * frame.el (set-frame-font): Accept font objects.
1463 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1465         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1467 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
1469         * man.el (Man-overstrike-face, Man-underline-face)
1470         (Man-reverse-face): Remove variables.
1471         (Man-overstrike, Man-underline, Man-reverse): New faces.
1472         (Man-fontify-manpage): Use them instead of the variables.
1473         (Man-cleanup-manpage): Comment change.
1474         (Man-ansi-color-map): New variable.
1475         (Man-fontify-manpage): Use it.
1476         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1478         Implement ANSI SGR parameters 22-27 (bug#12146).
1479         * ansi-color.el (ansi-colors): Doc fix.
1480         (ansi-color-context, ansi-color-context-region): Doc fix.
1481         (ansi-color--find-face): New function.
1482         (ansi-color-apply, ansi-color-apply-on-region): Use it.
1483         Rename the local variable `face' to `codes' since it is now a list of
1484         ansi codes.  Doc fix.
1485         (ansi-color-get-face): Remove.
1486         (ansi-color-parse-sequence): New function, derived from
1487         ansi-color-get-face.
1488         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
1489         codes 22-27.
1491 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1493         * subr.el (read-passwd): Allow use from a minibuffer.
1495 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
1497         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1498         inside comments and strings as identifiers.
1500         * progmodes/gud.el (gud-tooltip-print-command): Quote the
1501         expression to evaluate.  This allows to evaluate expressions with
1502         embedded whitespace.
1503         (gud-tooltip-tips): Add a blank before the newline in the
1504         message-box text, for the benefit of message-box emulation on
1505         MS-Windows.
1507         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1508         messages from GDB, pop them up in a tooltip to give feedback to
1509         user.
1510         (gdb-tooltip-print-1): Quote the expression to evaluate.
1511         This allows to evaluate expressions with embedded whitespace.
1512         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1513         if the TTY name is nil or empty (which happens when communicating
1514         with the inferior via pipes, e.g. on MS-Windows).
1515         (gdb-internals): If GDB sends a "&\n" empty debugging message,
1516         don't send that to the GUD buffer.
1518 2012-08-14  Glenn Morris  <rgm@gnu.org>
1520         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1521         Optimize away setq-default with no args, as for setq.  (Bug#12195)
1523 2012-08-14  Chong Yidong  <cyd@gnu.org>
1525         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1527         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1528         (Bug#12085).
1530 2012-08-14  Glenn Morris  <rgm@gnu.org>
1532         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1534 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
1536         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1537         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1538         Use cached shell name.
1540 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1542         * progmodes/python.el (python-shell-send-string):
1543         (python-shell-send-setup-code): Do not use `format' with `message'.
1545 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
1547         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1548         (ruby-percent-literal-beg-re): New constant.
1549         (ruby-syntax-general-delimiters-goto-beg): Rename to
1550         `ruby-syntax-enclosing-percent-literal', improve literal type check.
1551         (ruby-syntax-propertize-general-delimiters): Rename to
1552         `ruby-syntax-propertize-percent-literal', it's a shorter and more
1553         popular term.  Adjust comments everywhere.
1554         (ruby-syntax-propertize-percent-literal): Only propertize when not
1555         inside a simple string or comment.  When the literal is unclosed,
1556         leave the text after it unpropertized.
1557         (ruby-syntax-methods-before-regexp): New constant.
1558         (ruby-syntax-propertize-function): Use it to recognize regexps.
1559         Don't look at the text after regexp, just use the whitelist.
1561 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
1563         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1564         non-nil always load the compiled file if it exists.  (Bug#12197)
1566 2012-08-14  Chong Yidong  <cyd@gnu.org>
1568         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1569         (hi-lock-set-pattern): When deciding whether to use font lock or
1570         overlays, look at font-lock-mode instead of font-lock-fontified
1571         (Bug#12168).
1572         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1573         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1575 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
1577         * subr.el (internal--after-with-selected-window): Fix typo
1578         (Bug#12193).
1580 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
1582         Use `completion-table-dynamic' for completion functions.
1583         * progmodes/python.el
1584         (python-shell-completion--do-completion-at-point)
1585         (python-shell-completion--get-completions):
1586         Remove functions.
1587         (python-shell-completion-complete-at-point): New function.
1588         (python-completion-complete-at-point): Use it.
1590 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
1592         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1593         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1595 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1597         * subr.el (function-get): Refine `autoload' arg so it can also
1598         autoload functions for gv.el (bug#12191).
1599         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1600         autoloads macros.
1602         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1603         Prefer pcase-let over destructuring-bind.
1604         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1605         Also, remove whitespace as we go, rather than after accumulating the
1606         various places.
1608         * subr.el (internal--before-with-selected-window)
1609         (internal--after-with-selected-window): Fix typo seleted->selected.
1610         (with-selected-window): Adjust callers.
1611         Reported by Dmitry Gutov <dgutov@yandex.ru>.
1613 2012-08-13  Bastien Guerry  <bzg@gnu.org>
1615         * window.el (special-display-popup-frame): Minor docstring
1616         enhancement.  (Bug#12172)
1618 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
1620         * tar-mode.el (tar-header-data-end): Only ignore size for files of
1621         type 1-6.
1622         (tar-header-block-summarize, tar-get-descriptor): Handle pax
1623         extended headers.
1625         * files.el (hack-local-variables-filter): Remove useless eval.
1627 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
1629         * subr.el (with-selected-window): Fix last change.
1631 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1633         * subr.el (internal--before-with-seleted-window)
1634         (internal--after-with-seleted-window): New functions.
1635         (with-selected-window): Use them, to replace dependency on
1636         tty-top-frame.
1638 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
1640         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1641         binding for `newline'.
1642         (ruby-move-to-block): When moving backward, stop at block opening,
1643         not indentation.
1644         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1645         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1646         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1647         `ruby-toggle-block'.
1649 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1651         * ibuffer.el (ibuffer-do-toggle-read-only):
1652         * dired.el (dired-toggle-read-only):
1653         * buff-menu.el (Buffer-menu-toggle-read-only):
1654         * bindings.el (mode-line-toggle-read-only):
1655         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1657 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
1659         * descr-text.el (describe-char): Put the overlays over the
1660         "displayed as" character.
1662 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
1664         * calc/calc-units.el (math-default-units-table): Give an
1665         initial value.
1666         (math-put-default-units): Add options to put composite units and
1667         unit systems in the default units table.
1668         (calc-convert-units): Send composite units to
1669         `math-put-default-units' when appropriate.
1671 2012-08-11  Glenn Morris  <rgm@gnu.org>
1673         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1675         * tutorial.el (help-with-tutorial):
1676         * emacs-lisp/copyright.el (copyright-update-directory):
1677         * emacs-lisp/autoload.el (autoload-find-generated-file)
1678         (autoload-find-file): Disable local eval: (for insurance).
1680         * files.el (hack-local-variables-filter): If an eval: form is not
1681         known to be safe, and enable-local-variables is :safe, then ignore
1682         the form totally, as is done for non-eval forms.  (Bug#12155)
1683         This is CVE-2012-3479.
1685 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1687         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1688         (rx-form): Simplify.
1690 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
1692         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1693         ?, _, and : are symbol constituents, ! is not (but kinda should be).
1694         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1695         (ruby-syntax-propertize-function): Adjust for changes in
1696         `ruby-syntax-propertize-heredoc'.
1698 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
1700         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1701         binding (use `M-;' instead).
1702         (ruby-singleton-class-p): New function.
1703         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1705 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1707         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1709 2012-08-10  Chong Yidong  <cyd@gnu.org>
1711         * progmodes/python.el (python-shell-get-process-name): Don't mess
1712         with same-window-buffer-names.
1714         * eshell/eshell.el (eshell-add-to-window-buffer-names)
1715         (eshell-remove-from-window-buffer-names): Make obsolete.
1716         (eshell-buffer-name, eshell-unload-hook): Don't use them.
1717         (eshell): Just use pop-to-buffer-same-window instead.
1719 2012-08-10  Chong Yidong  <cyd@gnu.org>
1721         * bindings.el: Bind M-= back to count-words-region.
1723         * simple.el (count-words-region): Accept a prefix arg for acting
1724         on the entire buffer.
1725         (count-words--buffer-message): New helper function.
1727 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1729         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1730         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1731         (event-start, event-end): Use posn-at-point to return a more
1732         informative posn.
1733         (posnp): New function.
1734         * mouse.el (popup-menu-normalize-position): Use it.
1736 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
1738         * mouse.el (popup-menu-normalize-position): New function.
1739         (popup-menu): Use `popup-menu-normalize-position' to normalize
1740         the form for POSITION argument.
1742         * term/x-win.el (x-menu-bar-open):
1743         Use the value returend from (posn-at-point) as position
1744         passed to `popup-menu'.
1746 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1748         * calc/calccomp.el (math-compose-expr): Add extra argument
1749         indicating that parentheses should be put around products in
1750         denominators.  Give multiplication precedence over division during
1751         composition.
1753 2012-08-09  Chong Yidong  <cyd@gnu.org>
1755         * man.el (Man-switches, Man-sed-command, Man-awk-command)
1756         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1757         (Man-untabify-command, manual-program): Convert to defcustom
1758         (Bug#10429).
1760         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1762         * descr-text.el (describe-char): Don't insert extra newlines
1763         (Bug#10127).
1765         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1766         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1768         * align.el (align-region): Delete temporary markers (Bug#10047).
1769         Plus some code cleanups.
1771 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1773         * progmodes/python.el (python-pdbtrack-tracked-buffer)
1774         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1775         (python-shell-internal-last-output): Use make-local-variable
1776         instead of make-variable-buffer-local.
1778 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1780         * progmodes/python.el: Enhancements to forward-sexp.
1781         (python-nav-forward-sexp): Rename from
1782         python-nav-forward-sexp-function.
1783         (python-nav--forward-sexp, python-nav--backward-sexp):
1784         New functions.
1786 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1788         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1789         modes and simplification modes.
1791 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1793         * delsel.el (delete-selection-pre-hook): Don't propagate the
1794         file-supersession signals (bug#12161).
1796 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1798         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1799         (cl-map-extents): Add compatibility aliases (bug#12135).
1801 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
1803         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1804         tests by `ignore-error'.
1805         (tramp-find-shell): Open also a new shell, when cache is already
1806         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
1808 2012-08-08  Juri Linkov  <juri@jurta.org>
1810         * bookmark.el: Add `defaults' property to the bookmark record.
1811         (bookmark-current-buffer): Doc fix.
1812         (bookmark-make-record): Add `defaults' property with default values
1813         to the bookmark record.
1814         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1815         with `bookmark-insert-current-bookmark'.
1816         (bookmark-set): Get `defaults' property from the bookmark record
1817         and use it in `read-from-minibuffer'.
1818         (bookmark-insert-current-bookmark): Remove function.
1820         * info.el (Info-bookmark-make-record): Add `defaults' property
1821         with values of canonical Info node name, the current Info file
1822         name and the current Info node name.  (Bug#12107)
1824 2012-08-08  Juri Linkov  <juri@jurta.org>
1826         * files.el (basic-save-buffer): Use `buffer-name' as the default
1827         of `read-file-name' when buffer is not visiting a file (bug#12128).
1829 2012-08-08  Juri Linkov  <juri@jurta.org>
1831         * info.el (Info-isearch-search): Doc fix.
1832         (Info-search): Change search-failed message from "initial node" to
1833         "end of node" (bug#12078).
1834         (Info-isearch-search): Change `isearch-string-state' to
1835         `isearch--state-string'.
1837 2012-08-08  Glenn Morris  <rgm@gnu.org>
1839         * language/persian.el: Remove file.
1840         * language/misc-lang.el: Move unique part of persian.el here.
1841         * loadup.el: Remove language/persian.
1843 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
1845         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1847 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1849         * progmodes/python.el Fixed defsubst warning.
1850         (python-syntax-context) Rename from python-info-ppss-context.
1851         (python-syntax-context-type): Rename from
1852         python-info-ppss-context-type.
1853         (python-syntax-comment-or-string-p): Rename from
1854         python-info-ppss-comment-or-string-p.
1856 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
1858         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1860 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
1862         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1863         a defcustom that is quoted with backquote.
1865         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1866         Fix handling of interactive spec when the body uses return.
1867         (math-do-arg-check, math-define-function-body): Use backquote forms.
1868         * calc/calc-ext.el (math-defcache): Likewise.
1869         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1870         * allout.el (allout-new-exposure): Likewise.
1871         * calc/calcalg2.el (math-tracing-integral): Likewise.
1872         * info.el (Info-last-menu-item): Likewise.
1873         * emulation/vip.el (vip-loop): Likewise.
1874         * textmodes/artist.el (artist-funcall): Likewise.
1875         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1876         Construct menu-item directly.
1878         * progmodes/autoconf.el (font-lock-syntactic-keywords):
1879         Don't declare.
1881 2012-08-07  Chong Yidong  <cyd@gnu.org>
1883         * simple.el (deactivate-mark): Preserve text properties when
1884         saving the primary selection (Bug#8384).
1886 2012-08-07  Kevin Ryde  <user42@zip.com.au>
1888         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1889         (woman-parse-numeric-value): On a bad .IP line, issue a warning
1890         and continue processing (Bug#12110).
1892 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1894         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1895         syntax-propertize-function (bug#10095).
1897 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1899         * help-fns.el (help-fns--key-bindings, help-fns--signature)
1900         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1901         describe-function-1.
1902         (describe-function-1): Use them.  Move compiler macro after sig.
1903         (help-fns--compiler-macro): Use function-get.  Assume we're already in
1904         standard-output.  Adjust layout to new call order.
1906         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1907         re-binding a symbol that has a symbol-macro (bug#12119).
1909 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
1911         * language/persian.el: New file.  (Bug#11812)
1912         * loadup.el: Add language/persian.el.
1914 2012-08-06  Chong Yidong  <cyd@gnu.org>
1916         * window.el (window--maybe-raise-frame): New function.
1917         (window--display-buffer): Split off from here.
1918         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1919         (display-buffer-pop-up-window, display-buffer-use-some-window):
1920         Obey an inhibit-switch-frame action alist entry.
1921         (display-buffer): Update doc.
1923         * replace.el (occur-after-change-function): Avoid losing focus by
1924         using the inhibit-switch-frame display parameter (Bug#12139).
1926 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
1928         Make internal shell process buffer names start with space.
1929         * progmodes/python.el (python-shell-make-comint): Add optional
1930         argument INTERNAL.
1931         (run-python-internal): Use it.
1932         (python-shell-internal-get-or-create-process): Check for new
1933         internal buffer names.
1935 2012-08-06  Glenn Morris  <rgm@gnu.org>
1937         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1938         Do less getting and setting of environment variables.
1940 2012-08-05  Chong Yidong  <cyd@gnu.org>
1942         * proced.el (proced): Add substitution string to docstring to
1943         trigger autoloading of the proced library on C-h f (Bug#1768).
1945         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1946         Don't show defvars which have no second argument (Bug#8638).
1948         * imenu.el (imenu-generic-expression): Move documentation here
1949         from imenu--generic-function.
1950         (imenu--generic-function): Refer to imenu-generic-expression.
1952 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
1954         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1955         indentation declaration.
1956         (viper-loop): Add indentation declaration (Bug#7025).
1958 2012-08-05  Chong Yidong  <cyd@gnu.org>
1960         * help-fns.el (describe-variable): Add hyperlink for
1961         directory-local variables files.  Improve buffer-local and
1962         permanent-local reporting; suggested by MON KEY (Bug#6644).
1964         * help-mode.el (help-dir-local-var-def): New button type.
1966         * files.el (kill-buffer-hook): Provide a defvar.
1968 2012-08-05  Glenn Morris  <rgm@gnu.org>
1970         * eshell/esh-ext.el (eshell/addpath):
1971         Also update eshell-path-env.  (Bug#12013)
1973 2012-08-05  Chong Yidong  <cyd@gnu.org>
1975         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1977         * fringe.el (fringe-styles): Add docstring.
1978         (fringe--check-mode): New function.
1979         (set-fringe-mode, set-fringe-style): Use it.
1980         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1982         * files.el (set-auto-mode): Fix invalid setq call.
1984 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1986         * isearch.el: Misc simplification; use defstruct.
1987         (isearch-mode-map): Dense maps now work like sparse ones.
1988         (isearch--state): New defstruct.
1989         (isearch-string-state, isearch-message-state, isearch-point-state)
1990         (isearch-success-state, isearch-forward-state)
1991         (isearch-other-end-state, isearch-word-state, isearch-error-state)
1992         (isearch-wrapped-state, isearch-barrier-state)
1993         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1994         replaced by defstruct's accessors.
1995         (isearch--set-state): Rename from isearch-top-state and change
1996         calling convention.
1997         (isearch-push-state): Use new isearch--get-state.
1998         (isearch-toggle-word): Disable regexp when enabling word.
1999         (isearch-message-prefix): Remove unused arg _c-q-hack.
2000         (isearch-message-suffix): Remove unused arg _ellipsis.
2002 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
2004         * simple.el (list-processes--refresh): For a server use :host or
2005         :local as the address.
2006         (list-processes): Doc fix.
2008 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
2010         * lisp/mpc.el: Support password in host argument.
2011         (mpc--proc-connect): Parse and use new password element.
2012         Set mpc-proc variable instead of returning process.
2013         (mpc-proc): Adjust accordingly.
2015 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
2017         * whitespace.el (whitespace-display-mappings): Use Unicode
2018         codepoints, instead of emacs-mule codepoints.  See
2019         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
2020         for the details.
2022         * files.el (file-truename): Don't skip symlink-chasing part on
2023         windows-nt.  Incorporate the resolution of 8+3 short aliases on
2024         Windows into the loop that recursively chases symlinks.
2025         Compare directory and its parent case-insensitively on MS-Windows and
2026         MS-DOS.
2028 2012-08-03  Chong Yidong  <cyd@gnu.org>
2030         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
2032         * sort.el (sort-regexp-fields): Doc fix.
2034 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
2036         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
2037         labels regex position point at the expected place.
2039 2012-08-03  MON KEY  <monkey@sandpframing.com>
2041         * net/imap.el (imap-interactive-login, imap-authenticate)
2042         (imap-mailbox-lsub, imap-mailbox-list)
2043         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
2044         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
2045         (imap-parse-response): Doc fix.
2047 2012-08-03  João Távora  <joaotavora@gmail.com>
2049         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
2050         if sexp scanning does not move point (Bug#5734).
2052 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
2054         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
2055         Add listings, minted, and ctable packages.
2056         (reftex-label-alist-builtin): Move listings, minted, and ctable
2057         entries before LaTeX.
2058         (reftex-label-alist): Docfix.
2060 2012-08-02  Bastien Guerry  <bzg@gnu.org>
2062         * replace.el (occur): Fix docstring (bug#12122).
2064 2012-08-02  Glenn Morris  <rgm@gnu.org>
2066         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
2068 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
2070         Obsolete alias inactivate-current-input-method-function (Bug#10150).
2071         * international/mule-cmds.el: Create
2072         inactivate-current-input-method-function as an obsolete alias for
2073         deactivate-current-input-method-function.  See Katsumi Yamaoka in
2074         <http://bugs.gnu.org/10150#46>.
2076 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
2078         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
2079         of nested `if's.
2081 2012-08-01  Glenn Morris  <rgm@gnu.org>
2083         * progmodes/autoconf.el (autoconf-definition-regexp):
2084         Add AH_TEMPLATE, adjust submatch numbering.
2085         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
2086         (autoconf-current-defun-function): Update for above change.
2087         (autoconf-current-defun-function): First skip to end of current word.
2089 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
2091         * calendar/cal-html.el (cal-html-insert-agenda-days):
2092         Fix typo.  (Bug#12018)
2094 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2096         Shell processes: enhancements to startup and CEDET compatibility.
2097         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
2098         (python-shell-make-comint): accept-process-output at startup.
2099         (run-python-internal): Set inferior-python-mode-hook to nil.
2100         (python-shell-internal-get-or-create-process): call sit-for.
2101         (python-preoutput-result): Add obsolete alias.
2102         (python-shell-internal-send-string): Use it.
2103         (python-shell-send-setup-code): Remove call to
2104         accept-process-output.
2106 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
2108         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
2109         (Bug#12108)
2111 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
2113         * calc-mode.el (calc-basic-simplification-mode): Rename from
2114         `calc-limited-simplification-mode'.
2115         (calc-alg-simplification-mode): New function.
2116         (calc-set-simplify-mode):  Adjust message.
2118         * calc.el (calc-set-mode-line): Adjust mode line display for
2119         basic simplification mode.
2121         * calc-help.el (calc-m-prefix-help): Update help message.
2123         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
2124         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
2126 2012-07-31  Bastien Guerry  <bzg@gnu.org>
2128         * man.el (man): Fix comment.  (bug#12101)
2130 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
2132         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2133         Don't return a non-nil value when no suitable buffer was found.
2135 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
2137         * progmodes/python.el (run-python-internal): Disable font lock for
2138         internal shells.
2140 2012-07-30  Stefan Merten  <smerten@oekonux.de>
2142         * rst.el: Silence `checkdoc-ispell'.
2143         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2144         (rst-official-version, rst-official-cvs-rev)
2145         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
2146         (rst-mode-map): New key binding.
2148 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
2150         Update .PHONY listings in makefiles.
2151         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
2152         autoloads, update-subdirs, updates, bzr-update, update-authors,
2153         compile-onefile, compile-calc, backup-compiled-files,
2154         compile-after-backup, compile-one-process, mh-autoloads,
2155         bootstrap-clean, distclean, maintainer-clean.
2157 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2159         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
2160         (calc-set-mode-line): Don't display "AlgSimp ".
2162         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
2163         (calc-lim-simplify-mode): New function.
2164         (calc-set-simplify-mode): Default to 'alg.
2165         (calc-default-simplify-mode): Make algebraic simplifications
2166         the default.
2168         * calc/calc-ext.el (calc-init-extensions): Remove binding for
2169         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
2171         * calc/calc-help.el (calc-m-prefix-help): Change messages to
2172         indicate new simplification modes.
2174         * calc/README: Mention new default simplification mode.
2176         * calc/calc.el (math-normalize-error): New variable.
2177         (math-normalize): Set `math-normalize-error' to t
2178         when there's an error.
2180         * calc/calc-alg.el (math-simplify): Don't simplify when
2181         `math-normalize' returns an error.
2183 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
2185         * international/mule-cmds.el (set-locale-environment): Revert last
2186         change, since display-graphic-p returns nil when this function is
2187         called during startup.  Instead...
2189         * term/w32console.el (terminal-init-w32console): ...setup the
2190         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
2192 2012-07-29  Juri Linkov  <juri@jurta.org>
2194         * simple.el (goto-line): Don't display default line number in the
2195         prompt because it should be displayed by `read-number' (bug#9952).
2196         Add the current line number to the defaults of `goto-line' to
2197         allow its easier modification by users with `M-n' (bug#9201).
2199         * subr.el (read-number): Support multiple default values like in
2200         other minibuffer reading functions.  Replace `read' with
2201         `string-to-number' for consistency with `number-to-string'.
2203 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
2205         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
2206         * emulation/viper-init.el (viper-deactivate-input-method-action):
2207         Rename from viper-inactivate-input-method-action.
2208         (viper-deactivate-input-method):
2209         Rename from viper-inactivate-input-method.
2210         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
2211         * international/mule-cmds.el (deactivate-input-method):
2212         Rename from inactivate-input-method.
2213         Also run input-method-deactivate-hook.
2214         (deactivate-current-input-method-function):
2215         Rename from inactivate-current-input-method-function.
2216         (input-method-deactivate-hook): New hook.
2217         (input-method-inactivate-hook): Mark obsolete.
2218         (inactivate-input-method): Mark obsolete.
2220         * international/quail.el (quail-activate):
2221         Also run quail-deactivate-hook.
2222         (quail-deactivate): Rename from quail-inactivate.
2223         * international/robin.el (robin-activate):
2224         Also run robin-deactivate-hook.
2225         (robin-deactivate): Rename from robin-inactivate.
2227 2012-07-29  Chong Yidong  <cyd@gnu.org>
2229         * simple.el (indicate-copied-region): New function.
2230         (kill-ring-save): Split off from here.
2232         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
2233         (kill-rectangle): Set deactivate-mark to t on read-only error.
2235         * register.el (copy-to-register, copy-rectangle-to-register):
2236         Deactivate the mark, and use indicate-copied-region (Bug#10056).
2237         (append-to-register, prepend-to-register):
2238         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
2240         * simple.el (async-shell-command-buffer): New defcustom.
2241         (shell-command): Use it.  (Bug#4719)
2243 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2245         * international/mule-cmds.el (set-locale-environment): In a
2246         console session on MS-Windows, set up keyboard and terminal
2247         encoding from the OEM codepage, not the ANSI codepage.
2248         (Bug#12055)
2250 2012-07-28  Chong Yidong  <cyd@gnu.org>
2252         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
2253         gdb-get-location.
2255 2012-07-28  Leo Liu  <sdl.web@gmail.com>
2257         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2258         the alist (bug#12029).
2260 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
2262         * makefile.w32-in (custom-deps, finder-data, updates, compile)
2263         (compile-always, compile-first)
2264         ($(lisp)/calendar/cal-loaddefs.el)
2265         ($(lisp)/calendar/diary-loaddefs.el)
2266         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2267         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2268         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2269         instead of on update-subdirs.
2270         (bootstrap-clean): Delete $(lisp)/subdirs.el.
2272 2012-07-28  Chong Yidong  <cyd@gnu.org>
2274         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2275         directory if vc-deduce-backend returns nil (Bug#7350).
2277         * simple.el (delete-trailing-lines): New option.
2278         (delete-trailing-whitespace): Obey it (Bug#11879).
2280 2012-07-28  David Engster  <deng@randomsample.de>
2282         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2283         Explanation of new 'symbol-qnames feature in doc-strings.
2284         (xml-maybe-do-ns): Return expanded names as plain symbols if
2285         'symbol-qnames was provided in XML-NS argument (Bug#11916).
2286         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2288 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2290         Consistent completion in inferior python with emacs -nw.
2291         * progmodes/python.el (inferior-python-mode): replace "<tab>"
2292         binding in inferior-python-mode-map with "\t".
2293         (python-shell-completion-complete-at-point)
2294         (python-completion-complete-at-point): Remove interactive spec.
2296 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2298         * calc/calccomp.el (math-compose-expr): Undo previous change.
2300 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
2302         * progmodes/python.el (python-mode-map): Add keybinding for
2303         run-python.
2304         (python-shell-make-comint): Fix pop-to-buffer call.
2305         (run-python): Autoload.  New arg SHOW.
2306         (python-shell-get-or-create-process): Do not pop python process
2307         buffer.
2309 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
2311         * notifications.el (notifications-on-action-signal)
2312         (notifications-on-closed-signal): Use also the bus address for the map.
2313         (notifications-notify, notifications-close-notification)
2314         (notifications-get-capabilities):  Add optional argument BUS.
2316 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
2318         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2319         Add support for the lstlisting and minted environments, and for the
2320         ctable macro.
2321         * textmodes/reftex.el (reftex-compile-variables): Also recognize
2322         labels written in keyvals syntax.
2324 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
2326         * calc/calccomp.el (math-compose-expr): Use parentheses when
2327         there is a product in the denominator of a fraction.
2329 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
2331         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2332         ($(lisp)/calendar/diary-loaddefs.el)
2333         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2334         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2335         Fixes failures in parallel bootstrap because subdirs.el is being
2336         rewritten while the autoload files are built at the same time,
2337         which needs to load subdirs.el.
2339 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
2341         * mouse.el (popup-menu): Fix doc-string and re-indent code.
2342         (mouse-drag-line): Don't exit tracking when a switch-frame or
2343         switch-window event occurs (Bug#12006).
2345 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2347         * mouse.el (popup-menu): Fix last change.
2349 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2351         Autoload from Lisp with more care.  Follow aliases when looking for
2352         function properties.
2353         * subr.el (autoloadp): New function.
2354         (symbol-file): Use it.
2355         (function-get): New function.
2356         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2357         autoload-do-load.
2358         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2359         (lisp-indent-function):
2360         * emacs-lisp/gv.el (gv-get):
2361         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2362         * emacs-lisp/byte-opt.el (byte-optimize-form):
2363         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2364         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2365         Use function-get.
2366         * emacs-lisp/cl.el: Don't propagate function properties any more.
2368         * speedbar.el (speedbar-add-localized-speedbar-support):
2369         * emacs-lisp/disass.el (disassemble-internal):
2370         * desktop.el (desktop-load-file):
2371         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2372         (describe-function-1):
2373         * emacs-lisp/find-func.el (find-function-noselect):
2374         * emacs-lisp/elp.el (elp-instrument-function):
2375         * emacs-lisp/advice.el (ad-has-proper-definition):
2376         * apropos.el (apropos-safe-documentation, apropos-macrop):
2377         * emacs-lisp/debug.el (debug-on-entry):
2378         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2379         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2380         * calc/calc.el (name): Use autoloadp & autoload-do-load.
2382 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
2384         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2385         function, not an obsolete variable (Bug#12046).
2387 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
2389         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
2391 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
2393         * emacs-lisp/pp.el (pp-display-expression): Select old selected
2394         window only if it is still live (Bug#12034).
2396 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
2398         * subr.el (redirect-frame-focus): Add advertised calling
2399         convention (Bug#12030).
2401 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
2403         Prefer typical American spelling for "acknowledgment".
2404         * vc/add-log.el (change-log-acknowledgment): Rename from
2405         change-log-acknowledgement, with an alias for the old name.
2407 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
2409         * calc-alg.el (math-simplify-divide): Don't cross multiply
2410         in an equation when the lhs is a variable.
2412 2012-07-24  Julien Danjou  <julien@danjou.info>
2414         * net/netrc.el (netrc-find-service-number, netrc-store-data):
2415         Remove, unused.
2417 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
2419         * startup.el (command-line): Don't display an empty user name in
2420         the error message about non-existent home directory, when
2421         init-file-user was set to an empty string.  See
2422         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2423         for the details and context.
2425 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2427         * ses.el (ses-cell-formula-aset): New macro.
2428         (ses-cell-references-aset): New macro.
2429         (ses-cell-p): New function.
2430         (ses-rename-cell): Do no longer rely on complex operations like
2431         ses-cell-set-formula or ses-set-cell to change the cell and handle
2432         the undo at the same time, but rather use lower level new macros
2433         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2434         the undo directly. Refresh the mode line.
2436 2012-07-21  Leo Liu  <sdl.web@gmail.com>
2438         * progmodes/cc-cmds.el (c-defun-name):
2439         Use match-string-no-properties instead for consistency.
2441 2012-07-20  Leo Liu  <sdl.web@gmail.com>
2443         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2444         (Bug#7879)
2446         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2448 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2450         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2451         * progmodes/bug-reference.el, misearch.el: Provide themselves
2452         (bug#11915).
2454         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2455         of narrowed buffer (bug#11966).
2457 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
2459         * ses.el (ses-rename-cell): Set new name also in reference list of
2460         cells of which the renamed cell depends.
2462 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
2464         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2465         to check whether menu-bar is shown or not.  If not shown,
2466         show the menu-bar as a popup menu instead of using tmm.
2467         * mouse.el (popup-menu): Accept `point' as `position' argument.
2469 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
2471         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2472         up inside string symbol literal (bug#11923).
2474 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
2476         * startup.el (fancy-startup-text): Read the whole tutorial, not
2477         just its first 256 bytes.  Prevents gibberish in display of the
2478         tutorial title.
2480 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
2482         Drop idle buffer compaction due to an absence of the
2483         proved efficiency.
2484         * compact.el: Remove.
2486 2012-07-19  Sam Steingold  <sds@gnu.org>
2488         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2489         vc-bzr-pull & vc-bzr-merge-branch.
2490         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2491         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2492         for consistency with compilation-error-regexp-alist.
2493         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2494         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2495         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2496         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2498 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2500         * emacs-lisp/chart.el: Use lexical-binding.
2501         (chart-emacs-storage): Don't hardcode the list of entries.
2503 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2505         Next round of tweaks caused by Fgarbage_collect changes.
2506         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2508 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
2510         Compact buffers when idle.
2511         * compact.el: New file.
2513 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2515         * subr.el (eventp): Presume that if it looks vaguely like an event,
2516         it's an event (bug#10190).
2518 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
2520         Enhancements to ppss related code (thanks Stefan).
2521         * progmodes/python.el (python-indent-context)
2522         (python-indent-calculate-indentation, python-indent-dedent-line)
2523         (python-indent-electric-colon, python-nav-forward-block)
2524         (python-mode-abbrev-table)
2525         (python-info-assignment-continuation-line-p): Simplify checks
2526         for ppss context.
2527         (python-info-continuation-line-p): Cleanup.
2528         (python-info-ppss-context): Do not catch 'quote.
2529         (python-info-ppss-context-type)
2530         (python-info-ppss-comment-or-string-p): Simplify.
2532 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
2534         * progmodes/python.el: Enhancements to eldoc support.
2535         (python-info-current-symbol): New function.
2536         (python-eldoc-at-point): Use python-info-current-symbol.
2537         (python-info-current-defun): Fix cornercase on first defun scan.
2538         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2539         and signal error when no inferior python process is available.
2541 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
2543         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2544         assume it's always t.
2545         (vc-git-registered): Remove caching, the function is only called
2546         once.
2547         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2549 2012-07-18  Chong Yidong  <cyd@gnu.org>
2551         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2553         * simple.el (count-words): Report on narrowing (Bug#9959).
2555         * bindings.el: Bind M-= to count-words.
2557         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2559 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
2561         * progmodes/sh-script.el (sh-imenu-generic-expression):
2562         Capture a function with `function' keyword and without parentheses
2563         like "function FOO" (bug#11856).
2565 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
2567         * window.el (split-window-sensibly): Make WINDOW argument
2568         optional.
2570 2012-07-18  Chong Yidong  <cyd@gnu.org>
2572         * subr.el (keyboard-translate): Doc fix (Bug#7261).
2574         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2575         and make C-x 8 RET exit isearch (Bug#11439).
2577         * international/iso-transl.el: Move isearch-mode-map key
2578         definitions to isearch.el.
2580 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2582         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2583         (eieio-defclass): Use gv-define-setter when possible.
2585 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
2587         Reflect recent changes in Fgarbage_collect.
2588         * emacs-lisp/chart.el (chart-emacs-storage): Change to
2589         reflect new format of data returned by Fgarbage_collect.
2591 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2593         New utility functions + python-info-ppss-context fix (Bug#11910).
2594         * progmodes/python.el (python-info-beginning-of-block-statement-p)
2595         (python-info-ppss-comment-or-string-p): New functions.
2596         (python-info-ppss-context): Small fix for string check.
2598 2012-07-17  Juri Linkov  <juri@jurta.org>
2600         * dired-aux.el (dired-do-async-shell-command): Doc fix.
2601         (dired-do-async-shell-command): Don't add `*' at the end of the
2602         command (Bug#11815).
2603         (dired-do-shell-command): Doc fix.
2604         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2605         Join the individual commands using either "&" or ";" as the
2606         separator depending on the values of these trailing characters.
2607         At the end re-add the trailing "&".  (Bug#10598)
2609         * simple.el (async-shell-command): Sync the interactive spec with
2610         `shell-command'.  Doc fix.
2611         (shell-command): Doc fix.
2613 2012-07-17  Juri Linkov  <juri@jurta.org>
2615         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
2617 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2619         Final renames and doc fixes for movement commands (bug#11899).
2620         * progmodes/python.el (python-nav-beginning-of-statement):
2621         Rename from python-nav-statement-start.
2622         (python-nav-end-of-statement): Rename from
2623         python-nav-statement-end.
2624         (python-nav-beginning-of-block): Rename from
2625         python-nav-block-start.
2626         (python-nav-end-of-block): Rename from python-nav-block-end.
2628 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
2630         * progmodes/python.el (python-shell-send-string-no-output):
2631         Allow accept-process-output to quit, keeping shell process ready for
2632         future interactions (Bug#11868).
2634 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2636         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2638         * emacs-lisp/elint.el (elint-find-args-in-code):
2639         Use help-function-arglist, so as to handle lexical byte-code.
2641         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2642         change (bug#11826).
2644 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2646         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2647         Avoid spuriously marking the buffer as modified because of c-is-sws.
2649         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2650         as not-a-comment (bug#11946).
2652         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2653         for uninterned vars.
2655         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2656         Use read-event since we don't really want to read chars but bytes.
2658         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2659         $$..$$ but also $..$ using regexps (bug#11953).
2660         Use tex-verbatim for \url and \path.
2661         (tex-font-lock-keywords): Define as defconst like the others.
2662         (tex-common-initialization): Don't use font-lock-syntax-table any more.
2664 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
2666         * international/mule-cmds.el (ucs-insert): Make it an obsolete
2667         alias for insert-char.
2669 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2671         * progmodes/python.el: Simplified imenu implementation.
2672         (python-nav-jump-to-defun): Remove command.
2673         (python-mode-map): Use `imenu' instead.
2674         (python-nav-list-defun-positions-cache)
2675         (python-imenu-include-defun-type, python-imenu-make-tree)
2676         (python-imenu-subtree-root-label, python-imenu-index-alist):
2677         Remove vars.
2678         (python-nav-list-defun-positions, python-nav-read-defun)
2679         (python-imenu-tree-assoc, python-imenu-make-element-tree)
2680         (python-imenu-make-tree, python-imenu-create-index):
2681         Remove functions.
2682         (python-mode): Update to interact with imenu by setting
2683         `imenu-extract-index-name-function' only.
2685 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
2687         * progmodes/python.el: Enhancements to navigation commands.
2688         (python-nav-backward-sentence)
2689         (python-nav-forward-sentence): Remove.
2690         (python-nav-backward-statement, python-nav-forward-statement)
2691         (python-nav-statement-start, python-nav-statement-end)
2692         (python-nav-backward-block, python-nav-forward-block)
2693         (python-nav-block-start, python-nav-block-end)
2694         (python-nav-forward-sexp-function)
2695         (python-info-current-line-comment-p)
2696         (python-info-current-line-empty-p): New functions.
2697         (python-indent-context): Use `python-nav-statement-start'.
2699 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
2701         * eshell/em-ls.el (eshell/ls): Use `apply'.
2703         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2704         multi-hops, instead of Tramp internals.
2706         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2708         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2709         when F1 and F2 are located on different hosts.
2711 2012-07-14  Chong Yidong  <cyd@gnu.org>
2713         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2714         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2715         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2716         (xterm-mouse--read-event-sequence-1000)
2717         (xterm-mouse--read-event-sequence-1006): New functions.  For old
2718         mouse protocol, handle M-mouse-X events correctly.
2719         (xterm-mouse-event): New arg specifying mouse protocol.
2720         (turn-on-xterm-mouse-tracking-on-terminal)
2721         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2722         sequence to toggle extended coordinates on newer XTerms.
2723         This appears to be harmless on terminals which do not support this.
2725 2012-07-14  Leo Liu  <sdl.web@gmail.com>
2727         Add fringe bitmap indicators for flymake.  (Bug#11253)
2728         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2729         (flymake-make-overlay): New arg BITMAP.
2730         (flymake-error-bitmap, flymake-warning-bitmap)
2731         (flymake-fringe-indicator-position): New user variables.
2733         * fringe.el: New bitmap exclamation-mark.
2735 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2737         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2738         also (Bug#7879).
2740 2012-07-14  Chong Yidong  <cyd@gnu.org>
2742         * electric.el (electric-pair-post-self-insert-function): Fix pair
2743         insertion in empty-region case (Bug#11520).
2745 2012-07-14  Chong Yidong  <cyd@gnu.org>
2747         * bindings.el: Consolidate ctl-x-r-map bindings.
2748         Bind copy-rectangle-as-kill to C-x r w.
2750         * rect.el, register.el: Move bindings to bindings.el.
2752 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
2754         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2756 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2758         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
2760 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
2762         * bindings.el (top): Use `mapc' instead of `mapcar'.
2764         * loadup.el (top): Remove bogus `if' choice (brought by revno:88805).
2766 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
2768         * progmodes/sql.el (sql-comint): Suppress the check for program on
2769         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
2770         (Bug#11908)
2772 2012-07-13  Chong Yidong  <cyd@gnu.org>
2774         * bindings.el: Assign a non-nil permanent-local property to
2775         per-buffer variables which lack a default value (Bug#11930).
2777         * help-fns.el (describe-variable): In the "automatically becomes
2778         local" notice, take note of permanent-local variables.
2780 2012-07-13  Chong Yidong  <cyd@gnu.org>
2782         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
2783         to allow printing the message when called from Lisp.
2785         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2786         Remove toggle-read-only.
2788         * bs.el (bs-toggle-readonly):
2789         * buff-menu.el (Buffer-menu-toggle-read-only):
2790         Remove with-no-warnings around toggle-read-only.
2792         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2793         Remove with-no-warnings around toggle-read-only.
2794         (ffap-read-only, ffap-read-only-other-window)
2795         (ffap-read-only-other-frame): Callers changed.
2797         * help-mode.el: Don't require view package.
2798         (help-mode-finish): Set buffer-read-only instead of calling
2799         toggle-read-only.
2801         * bindings.el (mode-line-toggle-read-only):
2802         * dired.el (dired-toggle-read-only):
2803         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2804         with non-nil second arg.
2806         * emacs-lisp/eieio-custom.el (eieio-customize-object):
2807         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2808         directly.
2810 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
2812         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2813         not incf.
2815 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2817         More CL cleanups and reduction of use of cl.el.
2818         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2819         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2820         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2821         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2822         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2823         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2824         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2825         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2826         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2827         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2828         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2829         * eshell/em-cmpl.el, eshell/em-banner.el:
2830         * calendar/parse-time.el: Use cl-lib.
2831         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2832         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2833         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2834         * term/ns-win.el, term.el, shell.el, ps-samp.el:
2835         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2836         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2837         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2838         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2839         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2840         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2841         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2842         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2843         `lambda' rather than with `quote'.
2844         (eshell-do-opt): Adjust accordingly.
2845         (eshell-process-option): Simplify.
2846         * eshell/esh-var.el:
2847         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2848         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2849         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2850         to `pcase--dontcare'.
2851         * emacs-lisp/cl.el (labels): Mark obsolete.
2852         (cl--letf, letf): Move to cl-lib.
2853         (cl--letf*, letf*): Remove.
2854         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2855         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2856         (cl-progv): Rewrite.
2857         (cl--letf, cl-letf): Move from cl.el.
2858         (cl-letf*): New macro.
2859         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2861 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
2863         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2865 2012-07-11  Chong Yidong  <cyd@gnu.org>
2867         * vc/log-edit.el (log-edit-vc-backend): New variable.
2868         (log-edit): Doc fix.
2870         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
2871         argument of log-edit to set up all local variables.
2872         (vc-start-logentry): New optional arg specifying VC backend.
2874         * vc/vc.el (vc-checkin): Use it.
2875         (vc-deduce-fileset): Handle Log Edit buffers.
2876         (vc-diff): Make first argument optional too.
2878         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2880 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
2882         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2883         command, just in case.  The function is not needed anymore.
2884         (eshell-external-command): Do not call `eshell-remote-command'.
2886 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2888         Reduce use of (require 'cl).
2889         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2890         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2891         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2892         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2893         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2894         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2895         * battery.el, avoid.el, abbrev.el: Use cl-lib.
2896         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2897         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2898         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2899         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2900         * calculator.el, autorevert.el, apropos.el: Don't require CL.
2901         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2902         (byte-compile-unfold-bcf, byte-compile-check-variable):
2903         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2904         (byte-compile-nilconstp):
2905         * emacs-lisp/autoload.el (make-autoload): Use pcase.
2906         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2908         * emacs-lisp/gv.el (cond): Make it a valid place.
2909         (if): Simplify slightly.
2911         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2912         (pcase--self-quoting-p): New function.
2913         (pcase--u1): Use it.
2915 2012-07-10  Glenn Morris  <rgm@gnu.org>
2917         * emacs-lisp/authors.el (authors-fixed-entries):
2918         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2920 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
2922         Rename configure.in to configure.ac (Bug#11603).
2923         * emacs-lisp/authors.el (authors-canonical-file-name):
2924         * progmodes/autoconf.el (autoconf-mode):
2925         Prefer configure.ac to configure.in.
2927 2012-07-08  Chong Yidong  <cyd@gnu.org>
2929         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2930         Implement the mouse-1-click-follows-link handling properly.
2932         * info.el (Info-link-keymap): Use follow-link mechanism for
2933         header-line links (Bug#374).
2935         * simple.el (deactivate-mark): Do not set the primary selection
2936         if another program has acquired it (Bug#11772).
2938 2012-07-07  Kevin Ryde  <user42@zip.com.au>
2940         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2941         (woman-decode-region): Replace escaped-escapes without destroying
2942         bold or underline (Bug#11552).
2943         (woman2-process-escapes): Handle nofill regions (Bug#11591).
2945 2012-07-07  Chong Yidong  <cyd@gnu.org>
2947         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2948         (interprogram-cut-function, interprogram-paste-function):
2949         Mention that we typically mean the clipboard.
2951 2012-07-06  Glenn Morris  <rgm@gnu.org>
2953         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
2955         * files.el (toggle-read-only): Restrict message to interactive use.
2957 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
2959         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2961         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2963 2012-07-06  Glenn Morris  <rgm@gnu.org>
2965         * Makefile.in (compile-one-process): Rename from "recompile".
2967         * Makefile.in (bzr-update): "compile" is the same as "recompile
2968         autoloads", but parallelizable, so use that instead.
2970 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
2972         * window.el (quit-window): Always restore window height when
2973         it's saved in quit-restore parameter (Bug#11810).
2975 2012-07-06  Glenn Morris  <rgm@gnu.org>
2977         * simple.el (kill-whole-line): Doc tweak.
2979 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
2981         * files.el (file-relative-name): Compare file names
2982         case-insensitively if on MS-Windows or MS-DOS, or if
2983         read-file-name-completion-ignore-case is non-nil.  Don't use
2984         case-fold-search for this purpose.  (Bug#11827)
2986 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
2988         * calendar/cal-dst.el (calendar-current-time-zone):
2989         Return calendar-current-time-zone-cache if non-nil.
2991 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
2992 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2994         * calendar/cal-dst.el (calendar-current-time-zone):
2995         Return calendar-current-time-zone-cache if non-nil.
2997 2012-07-06  Glenn Morris  <rgm@gnu.org>
2999         * Makefile.in (cvs-update): Remove old alias.
3001 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
3003         Sync with Tramp 2.2.6-pre.
3005         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
3006         compatible declaration.
3008         * net/tramp-cmds.el (tramp-append-tramp-buffers):
3009         Protect `list-load-path-shadows' call.
3011         * net/tramp-compat.el (top): Require packages, which aren't
3012         autoloaded anymore for XEmacs.  Protect call of
3013         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
3014         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
3015         it hurts at least for SXEmacs.
3016         (tramp-compat-temporary-file-directory): In XEmacs, there is no
3017         standard-value for `temporary-file-directory'.
3019         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
3020         Redirect stderr to /dev/null.
3021         (tramp-sh-handle-write-region): uid and gid can be floats.
3022         Reported by Russell Sim <russell.sim@gmail.com>.
3023         (tramp-sh-handle-vc-registered): Hide errors.
3024         (tramp-vc-file-name-handler): Use dummy results for `process-file'
3025         and `start-file-process'.
3026         (tramp-maybe-open-connection): Check also whether `non-essential'
3027         is bound.
3029 2012-07-04  Chong Yidong  <cyd@gnu.org>
3031         * xml.el (xml--parse-buffer): Use xml-syntax-table.
3032         (xml-parse-tag): Likewise, and avoid changing entity tables.
3033         (xml-syntax-table): Define from scratch, making sure not to give
3034         x2000 and other Unicode spaces whitespace syntax, since those are
3035         not spaces in XML.
3036         (xml-parse-fragment): Delete unused function.
3037         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
3038         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
3039         (xml-entity-ref, xml-pe-reference-re)
3040         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
3041         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
3042         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
3043         (xml-entity-value-re): Use syntax references in regexps where
3044         possible; no need to define inside a let-binding.
3045         (xml-parse-dtd): Use xml-pe-reference-re.
3046         (xml-entity-or-char-ref-re): New defconst.
3047         (xml-parse-string, xml-substitute-special): Use it.
3049 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3051         * files.el (locate-dominating-file): Allow `name' to be a predicate.
3052         (find-file--read-only): New function.
3053         (find-file-read-only, find-file-read-only-other-window)
3054         (find-file-read-only-other-frame): Use it.
3055         (insert-file-contents-literally): Don't `fset'.
3056         (get-free-disk-space): Use locate-dominating-file.
3058         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
3059         function is already compiled.
3061         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
3063 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
3065         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
3066         files on the same host.
3068 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
3070         * help-fns.el (describe-function-1): Only call
3071         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
3073 2012-07-03  Chong Yidong  <cyd@gnu.org>
3075         * xml.el: Protect parser against XML bombs.
3076         (xml-entity-expansion-limit): New variable.
3077         (xml-parse-string, xml-substitute-special): Use it.
3078         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
3080 2012-07-03  Glenn Morris  <rgm@gnu.org>
3082         * progmodes/bug-reference.el (bug-reference-bug-regexp):
3083         Allow linking to specific messages in debbugs reports (eg 123#5).
3085 2012-07-02  Chong Yidong  <cyd@gnu.org>
3087         * xml.el: Fix entity and character reference expansion, allowing
3088         them to expand into markup as per XML spec.
3089         (xml-default-ns): New variable.
3090         (xml-entity-alist): Use XML spec definitions for lt and amp.
3091         (xml-parse-region): Make first two arguments optional.
3092         Discard text properties.
3093         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
3094         All callers changed.
3095         (xml-parse-tag): Call xml-parse-tag-1.  For backward
3096         compatibility, this function should not modify buffer contents.
3097         (xml-parse-tag-1): Fix opening-tag regexp.
3098         (xml-parse-string): Rewrite, handling entity and character
3099         references properly.
3100         (xml--entity-replacement-text): Signal an error if a parameter
3101         entity is undefined.
3103 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3105         * comint.el (comint-output-filter): Filter out repeated prompts.
3107         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
3108         and file-name-absolute-p.
3109         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
3110         internal calls.
3112 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3114         Spelling fixes.
3115         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
3116         Rename from byte-compile--refiy-function.  All uses changed.
3118 2012-07-01  Chong Yidong  <cyd@gnu.org>
3120         * xml.el (xml--parse-buffer): New function.  Move most of
3121         xml-parse-region here.
3122         (xml-parse-region): Copy region into a temporary buffer, since
3123         parameter entity substitution requires changing buffer contents.
3124         Use xml--parse-buffer.
3125         (xml-parse-file): Use xml--parse-buffer.
3126         (xml-parse-dtd): Make parameter entity substitution work right.
3127         Use proper regexps for ELEMENT declarations (Bug#7172).
3129 2012-06-30  Glenn Morris  <rgm@gnu.org>
3131         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
3133         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
3134         Remove outdated and unnecessary dbus declarations.
3136 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
3138         * emacs-lisp/timer.el (timer-until): Subtract results of
3139         float-time, instead of taking float-time of the result of
3140         time-subtract, since float-time signals an error for negative time
3141         arguments.
3143 2012-06-30  Chong Yidong  <cyd@gnu.org>
3145         * xml.el (xml-*-re): Convert defvars into defconsts, and
3146         eval-and-compile them so eval-and-compile works on derivatives.
3147         (xml--entity-replacement-text): Use eval-and-comple.
3149 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
3151         * vc/vc-git.el (vc-git-registered): Use cache property
3152         `git-registered'.
3153         (vc-git-mode-line-string): Call `vc-working-revision' instead of
3154         `vc-git-working-revision' in order to benefit from the cache.
3155         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
3157 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
3159         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
3160         removed (likely outside Emacs).  (Bug#11757)
3162 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3164         * emacs-lisp/cl-lib.el: Require macroexp.
3166 2012-06-30  Chong Yidong  <cyd@gnu.org>
3168         * xml.el: Implement XML parameter entities.
3169         (xml-parameter-entity-alist): New variable.
3170         (xml-parse-region, xml-parse-fragment): Preserve previous values
3171         of xml-entity-alist and xml-parameter-entity-alist, so that
3172         repeated calls on different documents do not change them.
3173         (xml-parse-tag): Fix doctype regexp.
3174         (xml--entity-replacement-text): New function.
3175         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
3176         properly requires url retrieval which is unimplemented.
3177         (xml-escape-string): Doc fix.
3179 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3181         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
3183 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
3185         * fringe.el (fringe-mode): Doc fix.
3187 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
3189         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
3190         is non-nil.
3191         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
3192         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
3194 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
3196         * calendar/cal-dst.el (calendar-current-time-zone):
3197         Return calendar-current-time-zone-cache if non-nil.
3199 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
3201         * progmodes/which-func.el (which-func-format):
3202         Add mouse-face.  (Bug#11698)
3204 2012-06-29  Leo Liu  <sdl.web@gmail.com>
3206         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
3208 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3210         * minibuffer.el (minibuffer-confirm-exit-commands):
3211         Add completion-at-point (bug#11725).
3213 2012-06-29  Glenn Morris  <rgm@gnu.org>
3215         * progmodes/f90.el (f90-font-lock-keywords-2):
3216         Add some preprocessor elements.  (Bug#10499)
3218 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3220         * progmodes/cperl-mode.el (cperl-update-syntaxification):
3221         Use syntax-propertize (bug#11739).
3223 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
3225         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
3227 2012-06-28  Julien Danjou  <julien@danjou.info>
3229         * term.el (term-handle-colors-array): Use a set of new faces to
3230         color the terminal.  Also uses :inverse-video property.
3231         (term-default-fg-color): Set to nil by default, deprecate in favor
3232         of `term-face'.
3233         (term-default-bg-color): Set to nil by default, deprecate in favor
3234         of `term-face'.
3235         (term-current-face): Use `term-face' by default.
3236         (term-bold-attribute): Variable deleted.
3238 2012-06-28  Glenn Morris  <rgm@gnu.org>
3240         * simple.el (completion-list-mode-finish):
3241         Don't use toggle-read-only.  (Since completion-list-mode has
3242         a special mode-class, it wasn't doing anything extra anyway.)
3244 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3246         Make inlining of other-mode interpreted functions work (bug#11799).
3247         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
3248         (byte-compile): Use it to fix compilation of lexical-binding closures.
3249         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
3250         function, if needed.
3252 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3254         * help-mode.el (help-make-xrefs): Don't just withstand
3255         cyclic-variable-indirection but any error in documentation-property.
3257         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3258         memory use.
3259         * bindings.el (bindings--define-key): New function.
3260         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3261         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3262         * bindings.el: Use it to purecopy define-key bindings.
3264         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3266         * emacs-lisp/cl.el (flet): Mark obsolete.
3267         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3268         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3269         * progmodes/js.el (js-c-fill-paragraph):
3270         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3271         (ebrowse-switch-member-buffer-to-derived-class):
3272         * play/5x5.el (5x5-solver): Use cl-flet.
3274         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
3275         (cl--symbol-function): New macro.
3276         (cl--letf, cl--letf*): Use it.
3278         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3279         Strip "toggle-" if any.
3281 2012-06-27  Glenn Morris  <rgm@gnu.org>
3283         * info.el (Info-default-directory-list): Move here from paths.el.
3284         * paths.el: Remove file, which is now empty.
3285         * loadup.el: No longer load "paths".
3287         * custom.el (custom-initialize-delay): Doc fix.
3289         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3290         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3291         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3292         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3293         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3294         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3295         * eshell/eshell.el (eshell-defgroup): Remove alias.
3297 2012-06-27  Chong Yidong  <cyd@gnu.org>
3299         * help.el (help-enable-auto-load): New variable.
3301         * help-fns.el (help-fns--autoloaded-p): New function.
3302         (describe-function-1): Refer to a function as "autoloaded" if it
3303         was autoloaded at any time in the past.  Perform autoloading if
3304         help-enable-auto-load is non-nil.
3306 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
3308         * makefile.w32-in (compile, compile-always): Depend on
3309         update-subdirs, not on subdirs.el.  Otherwise, several different
3310         sub-targets of 'bootstrap' running in parallel could
3311         simultaneously write to subdirs.el, producing a garbled file.
3313 2012-06-26  Sam Steingold  <sds@gnu.org>
3315         * files.el (file-name-base): New convenience function.
3316         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3317         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3318         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3319         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3320         * textmodes/ispell.el, textmodes/reftex-ref.el:
3321         * textmodes/tex-mode.el: Use it.
3322         Did not touch cedet and org because they are maintained elsewhere.
3324 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
3326         * calendar/calendar.el (calendar-exit): Don't try to delete or
3327         iconify last frame.  See:
3328         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3330 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
3332         * server.el (server-process-filter): Remember dir in the
3333         process's `server-client-directory' properties.
3335 2012-06-24  Chong Yidong  <cyd@gnu.org>
3337         * xml.el (xml-parse-tag): Correctly handle comment embedded in
3338         non-tag text.
3340 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
3342         * makefile.w32-in (COMPILE_FIRST): Synch with changes in revno:108688.
3344 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3346         * help-fns.el (describe-variable): Don't croak when doc is not found.
3347         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3348         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3349         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3350         * emacs-lisp/smie.el (smie-next-sexp): CSE.
3351         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3352         ((lambda ..) ..).
3353         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3355 2012-06-23  Chong Yidong  <cyd@gnu.org>
3357         * info.el (Info-mouse-follow-link): Accept symbol values of
3358         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
3359         (Info-fontify-node): Use Info-link-keymap for all navigation
3360         buttons, with link-args property to perform the desired action.
3361         (Info-link-keymap): Doc fix.
3362         (Info-next-link-keymap, Info-prev-link-keymap)
3363         (Info-up-link-keymap): Delete now-unused keymaps.
3365 2012-06-23  Chong Yidong  <cyd@gnu.org>
3367         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3369         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3370         system abbrevs.
3372         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3374 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3376         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3377         (bug#11719).
3379         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3380         the requote function doesn't work properly (bug#11714).
3382 2012-06-23  Glenn Morris  <rgm@gnu.org>
3384         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3386 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3388         Further GV/CL cleanups.
3389         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3390         gv-expander.
3391         (gv--defun-declaration): New function.
3392         (defun-declarations-alist): Use it.
3393         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3394         (gv-place): Autoload.
3395         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3396         original definition of dotimes and dolist.
3397         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3398         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3399         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3400         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3401         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3402         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3403         to the function's definition.
3404         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3405         * window.el:
3406         * files.el:
3407         * faces.el:
3408         * env.el: Don't use CL.
3410 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
3412         Support higher-resolution time stamps (Bug#9000).
3414         * calendar/time-date.el (with-decoded-time-value): New arg
3415         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
3416         (encode-time-value): New optional arg PICO.  New type 3.
3417         (time-to-seconds) [!float-time]: Support the new picoseconds
3418         component if it's used.
3419         (seconds-to-time, time-subtract, time-add):
3420         Support ps-resolution time stamps as well.
3422         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
3423         (timerp): Timer vectors now have length 9, not 8.
3424         (timer--time): Support new-style (4-part) time stamps.
3425         (timer-next-integral-multiple-of-time): Time stamps now have
3426         picosecond resolution, so take a bit more care about rounding.
3427         (timer-relative-time, timer-inc-time): New optional arg psecs.
3428         (timer-set-time-with-usecs): Set psecs to 0.
3429         (timer--activate): Check psecs component, too.
3431         * proced.el (proced-time-lessp): Support ps-resolution stamps.
3433 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3435         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3436         Move the non-essential binding to the post/pre-command-hook where it is
3437         more obviously correct.
3439         * subr.el (read-passwd): Don't use a history at all.
3440         * savehist.el (savehist-save): Remove password saved accidentally
3441         because of the above bug.
3443 2012-06-22  Bastien Guerry  <bzg@gnu.org>
3445         * files.el (toggle-read-only): Display a message telling whether
3446         the buffer is read-only or not (bug#11726).
3448 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3450         * emacs-lisp/gv.el: New file.
3451         * subr.el (push, pop): Extend to generalized variables.
3452         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3453         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3454         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
3455         gv-define-simple-setter, and gv-define-expander.
3456         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
3457         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3458         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3459         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3460         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3461         gv-letplace.
3462         (cl-defstruct): Don't define setf-method any more.
3463         * emacs-lisp/cl.el (flet): Don't autoload.
3464         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3465         (define-setf-expander, defsetf, define-modify-macro)
3466         (cl-struct-setf-expander): Move from cl-lib.el.
3467         * emacs-lisp/syntax.el:
3468         * emacs-lisp/ewoc.el:
3469         * emacs-lisp/smie.el:
3470         * emacs-lisp/cconv.el:
3471         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3472         (timer--time): Use gv-define-simple-setter.
3473         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3474         to avoid coding-system problems in subr.el.  Adjust all users.
3475         (macroexp--maxsize, macroexp-small-p): New functions.
3476         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3477         * scroll-bar.el (scroll-bar-mode):
3478         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3479         (normal-erase-is-backspace-mode): Don't use the `eq' place.
3480         * winner.el (winner-configuration, winner-make-point-alist)
3481         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3482         * files.el (locate-file-completion-table): Avoid list*.
3484 2012-06-22  Chong Yidong  <cyd@gnu.org>
3486         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3487         (dired-create-files): Doc fix (Bug#11329).
3488         (dired-do-copy): Doc fix (Bug#11334).
3489         (dired-mark-read-string): Doc fix (Bug#11553).
3491         * dired.el (dired-recursive-copies, dired-recursive-deletes):
3492         Doc fix (Bug#11326).
3493         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
3494         (dired-dwim-target): Doc fix.
3496         * wdired.el (wdired-mode): Doc fix.
3498 2012-06-22  Glenn Morris  <rgm@gnu.org>
3500         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3501         (pcmpl-rpm-cache-stamp-file): New constant.
3502         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3503         (pcmpl-rpm-packages): Optionally cache list of packages.
3505         * pcmpl-rpm.el (pcmpl-rpm): New group.
3506         (pcmpl-rpm-query-options): New option.
3507         (pcmpl-rpm-packages): No need to inline it.
3508         Use pcmpl-rpm-query-options.
3510         * calendar/calendar.el (calendar-in-read-only-buffer):
3511         Avoid some needless mode changes.
3513 2012-06-21  Chong Yidong  <cyd@gnu.org>
3515         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3516         (desktop-path): Remove . from the default value (Bug#10977).
3517         (desktop-read): Use user-emacs-directory if desktop-path is nil.
3519 2012-06-20  Chong Yidong  <cyd@gnu.org>
3521         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3523 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
3525         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3526         (bug#11201).
3528 2012-06-20  Chong Yidong  <cyd@gnu.org>
3530         * term.el (term-window-width): Handle the case of a missing right
3531         fringe (Bug#8837).
3532         (term-check-size): Use window-text-height (Bug#5445).
3533         (term-mode): Use define-derived-mode.  Minor cleanups.
3534         Set font-lock-defaults (Bug#7692).
3535         (term-move-columns, term-insert-char, term-emulate-terminal)
3536         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3538 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
3540         * net/ange-ftp.el (ange-ftp-get-passwd):
3541         Bind `enable-recursive-minibuffers'.
3542         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3544 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
3546         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3548 2012-06-19  Glenn Morris  <rgm@gnu.org>
3550         * progmodes/python.el (python-mode): Derive from prog-mode.
3552 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
3554         * emulation/edt.el (edt-default-menu-bar-update-buffers)
3555         (edt-user-menu-bar-update-buffers): New functions.
3556         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3558 2012-06-19  Chong Yidong  <cyd@gnu.org>
3560         * subr.el (with-selected-window): Preserve the selected window's
3561         terminal's top-frame (Bug#4702).
3563         * window.el (save-selected-window): Likewise.
3565 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * progmodes/python.el (python-rx-constituents): Move backquote.
3568         (python-skeleton-define, python-define-auxiliary-skeleton):
3569         Use `declare'.
3571 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
3573         * minibuffer.el (read-file-name-default): Revert the patch from
3574         2012-06-17.
3576 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3578         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3579         (pcase--u1, pcase--q1): Don't use apply-partially.
3581 2012-06-18  Glenn Morris  <rgm@gnu.org>
3583         * progmodes/python.el (python-proc, python-buffer)
3584         (python-send-receive, python-send-string): Fix obsolete versions.
3586 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
3588         * window.el (special-display-p): Completely remove stringp
3589         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3591 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
3593         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3595         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3597         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3598         * net/tramp-sh.el (tramp-maybe-open-connection):
3599         Throw if `non-essential' is non-nil.
3601 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
3603         * window.el (special-display-p): Signal an error if BUFFER-NAME
3604         is not a string (Bug#11713).
3606 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
3608         * progmodes/python.el (python-info-beginning-of-backslash):
3609         Rename from python-info-beginning-of-backlash, as a spelling fix.
3611 2012-06-17  Chong Yidong  <cyd@gnu.org>
3613         * term.el (term-emulate-terminal): If term-check-size is called,
3614         move point to the process mark without resetting point (Bug#4635).
3616 2012-06-17  Glenn Morris  <rgm@gnu.org>
3618         * international/mule-cmds.el (mule-menu-keymap)
3619         (set-language-environment, set-locale-environment): Doc tweaks.
3621 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
3623         * cus-face.el (custom-face-attributes): Add wave-style underline
3624         attribute.
3625         * faces.el (set-face-attribute): Update docstring to describe
3626         wave-style underline attribute.
3628 2012-06-16  Chong Yidong  <cyd@gnu.org>
3630         * term/xterm.el (terminal-init-xterm): Discard input before
3631         querying background mode (Bug#10959).
3633 2012-06-16  Stefan Merten  <smerten@oekonux.de>
3635         * textmodes/rst.el: Added and corrected some comments.
3636         (rst-re-alist-def): Improve symbol syntax.
3637         (rst-mode-syntax-table): Correct syntax entries.
3638         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3639         (rst-official-version, rst-official-cvs-rev): Update version
3640         information.
3642 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
3644         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3645         in revno:88864.
3647 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
3649         * progmodes/python.el: New python.el merge.
3650         (python-guess-indent): Obsolete var.
3651         (python-indent-guess-indent-offset): New defcustom.
3652         (python-indent): Obsolete var.
3653         (python-indent-offset): New defcustom.
3654         (python-python-command, python-jython-command): Delete var.
3655         (python-shell-interpreter): New defcustom.
3656         (python-pdbtrack-do-tracking-p): Delete var.
3657         (python-pdbtrack-activate): New defcustom.
3658         (python-use-skeletons): Obsolete var.
3659         (python-skeleton-autoinsert): New defcustom.
3660         (inferior-python-filter-regexp, python-continuation-offset)
3661         (python-honour-comment-indentation, python-indent-string-contents)
3662         (python-jython-packages, python-mode-hook)
3663         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3664         (python-shell-prompt-alist)
3665         (python-source-modes): Delete defcustoms.
3666         (python-check-buffer-name, python-eldoc-setup-code)
3667         (python-eldoc-string-code, python-ffap-setup-code)
3668         (python-ffap-string-code, python-fill-comment-function)
3669         (python-fill-decorator-function, python-fill-paren-function)
3670         (python-fill-string-function, python-imenu-include-defun-type)
3671         (python-imenu-make-tree, python-imenu-subtree-root-label)
3672         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3673         (python-shell-compilation-regexp-alist)
3674         (python-shell-completion-module-string-code)
3675         (python-shell-completion-pdb-string-code)
3676         (python-shell-completion-setup-code)
3677         (python-shell-completion-string-code)
3678         (python-shell-enable-font-lock, python-shell-exec-path)
3679         (python-shell-extra-pythonpaths)
3680         (python-shell-internal-buffer-name, python-shell-interpreter-args)
3681         (python-shell-process-environment)
3682         (python-shell-prompt-block-regexp)
3683         (python-shell-prompt-output-regexp)
3684         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3685         (python-shell-send-setup-max-wait, python-shell-setup-codes)
3686         (python-shell-virtualenv-path): New defcustoms.
3687         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3688         (inferior-python-mode-syntax-table, python--prompt-regexp)
3689         (python-buffer, python-command python-python-command)
3690         (python-default-template, python-imports, python-indent-index)
3691         (python-indent-list, python-indent-list-length)
3692         (python-mode-running, python-pdbtrack-is-tracking-p)
3693         (python-preoutput-continuation, python-preoutput-leftover)
3694         (python-preoutput-result, python-preoutput-skip-next-prompt)
3695         (python-prev-dir/file, python-recursing)
3696         (python-saved-check-command, python-version-checked)
3697         (python-which-func-length-limit)
3698         (view-return-to-alist): Delete vars.
3699         (python-check-custom-command, python-dotty-syntax-table)
3700         (python-imenu-index-alist, python-indent-current-level)
3701         (python-indent-dedenters, python-indent-levels)
3702         (python-nav-beginning-of-defun-regexp)
3703         (python-nav-list-defun-positions-cache)
3704         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3705         (python-shell-internal-buffer)
3706         (python-skeleton-available): New vars.
3707         (def-python-skeleton): Delete macro.
3708         (python-skeleton-define): New macro.
3709         (python-define-auxiliary-skeleton, python-rx): New macros.
3710         (python-insert-class): Delete command.
3711         (python-skeleton-class): New command.
3712         (python-insert-def): Delete command.
3713         (python-skeleton-def): New command.
3714         (python-insert-for): Delete command.
3715         (python-skeleton-for): New command.
3716         (python-insert-if): Delete command.
3717         (python-skeleton-if): New command.
3718         (python-insert-try/except, python-insert-try/finally): Delete commands.
3719         (python-skeleton-try): New command.
3720         (python-insert-while): Delete command.
3721         (python-skeleton-while): New command.
3722         (python-backspace): Delete command.
3723         (python-indent-dedent-line-backspace): New command.
3724         (python-electric-colon): Delete command.
3725         (python-indent-electric-colon): New command.
3726         (python-guess-indent): Delete command.
3727         (python-indent-guess-indent-offset): New command.
3728         (python-shift-left): Delete command.
3729         (python-indent-shift-left): New command.
3730         (python-shift-right): Delete command.
3731         (python-indent-shift-right): New command.
3732         (python-find-function): Delete command.
3733         (python-nav-jump-to-defun): New command.
3734         (python-next-statement): Delete command.
3735         (python-nav-forward-sentence): New command.
3736         (python-previous-statement): Delete command.
3737         (python-nav-backward-sentence): New command.
3738         (python-fill-paragraph): Delete command.
3739         (python-fill-paragraph-function): New command.
3740         (python-send-buffer): Delete command.
3741         (python-shell-send-buffer): New command.
3742         (python-send-defun): Delete command.
3743         (python-shell-send-defun): New command.
3744         (python-send-region, python-send-region-and-go): Delete commands.
3745         (python-shell-send-region)
3746         (python-shell-switch-to-shell): New commands.
3747         (python-send-string): Delete command.
3748         (python-shell-send-string): New command.
3749         (python-switch-to-python): Delete command.
3750         (python-shell-switch-to-shell): New command.
3751         (python-describe-symbol): Delete command.
3752         (python-eldoc-at-point): New command.
3753         (python--set-prompt-regexp, python-args-to-list)
3754         (python-after-info-look, python-check-version)
3755         (python-check-comint-prompt, python-find-imports)
3756         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3757         (python-unload-function, python-expand-template)
3758         (python-maybe-jython, python-preoutput-filter)
3759         (python-pdbtrack-get-source-buffer)
3760         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3761         (python-pdbtrack-toggle-stack-tracking)
3762         (python-pdbtrack-track-stack-file, python-initial-text)
3763         (python-first-word, python-comment-line-p, python-send-command)
3764         (python-setup-brm, python-sentinel, python-set-proc)
3765         (python-skip-out, python-input-filter, python-outdent-p)
3766         (python-outline-level, python-backslash-continuation-line-p)
3767         (python-end-of-block, python-end-of-statement, python-mark-block)
3768         (python-beginning-of-block, python-beginning-of-statement)
3769         (python-blank-line-p, python-beginning-of-string)
3770         (python-open-block-statement-p): Delete functions.
3771         (python-indent-line, python-indent-line-1): Delete functions.
3772         (python-indent-line): New function.
3773         (python-indentation-levels): Delete function.
3774         (python-indent-calculate-levels): New function.
3775         (python-proc): Delete function.
3776         (python-shell-get-process): New function.
3777         (python-send-receive): Delete function.
3778         (python-shell-send-string-no-output): New function.
3779         (python-module-path): Delete function.
3780         (python-ffap-module-path): New function.
3781         (python-completion-at-point)
3782         (python-symbol-completions): Delete functions.
3783         (python-completion-complete-at-point): New function.
3784         (python-load-file): Delete function.
3785         (python-shell-send-file): New function.
3786         (python-calculate-indentation): Delete function.
3787         (python-indent-calculate-indentation): New function.
3788         (python-skip-comments/blanks): Delete function.
3789         (python-util-forward-comment): New function.
3790         (python-continuation-line-p): Delete function.
3791         (python-info-continuation-line-p): New function.
3792         (python-which-func, python-current-defun): Delete function.
3793         (python-info-current-defun): New function.
3794         (python-beginning-of-defun): Delete function.
3795         (python-nav-beginning-of-defun): New function.
3796         (python-close-block-statement-p)
3797         (python-block-end-p): Delete function.
3798         (python-info-closing-block): New function.
3799         (python-comint-output-filter-function)
3800         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3801         (python-fill-comment, python-fill-decorator, python-fill-paren)
3802         (python-fill-string, python-imenu-make-element-tree)
3803         (python-imenu-make-tree, python-imenu-tree-assoc)
3804         (python-indent-context, python-indent-dedent-line)
3805         (python-indent-line-function)
3806         (python-indent-post-self-insert-function)
3807         (python-indent-toggle-levels)
3808         (python-info-assignment-continuation-line-p)
3809         (python-info-beginning-of-backlash)
3810         (python-info-block-continuation-line-p)
3811         (python-info-closing-block-message)
3812         (python-info-line-ends-backslash-p)
3813         (python-info-looking-at-beginning-of-defun)
3814         (python-info-ppss-context, python-info-ppss-context-type)
3815         (python-nav-list-defun-positions, python-nav-read-defun)
3816         (python-nav-sentence-end, python-nav-sentence-start)
3817         (python-pdbtrack-comint-output-filter-function)
3818         (python-pdbtrack-set-tracked-buffer)
3819         (python-shell-calculate-exec-path)
3820         (python-shell-calculate-process-environment)
3821         (python-shell-completion--do-completion-at-point)
3822         (python-shell-completion--get-completions)
3823         (python-shell-completion-complete-at-point)
3824         (python-shell-completion-complete-or-indent)
3825         (python-shell-get-or-create-process)
3826         (python-shell-get-process-name)
3827         (python-shell-internal-get-or-create-process)
3828         (python-shell-internal-get-process-name)
3829         (python-shell-internal-send-string, python-shell-make-comint)
3830         (python-shell-parse-command, python-shell-send-setup-code)
3831         (python-skeleton-add-menu-items)
3832         (python-util-clone-local-variables, python-util-position)
3833         (run-python-internal, python-indentation-levels)
3834         (python-nav-beginning-of-defun)
3835         (python-completion-complete-at-point): New functions.
3836         (run-python): Change arguments.  New API requirements.
3838 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3840         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3841         (bug#11649).
3843         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3844         (macroexp--expand-all): Use it.
3846         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3847         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3848         Use `cl-function' instead.
3850 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
3852         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3853         Suggested by Stefan Monnier while discussing bug#11657.
3855 2012-06-14  Sam Steingold  <sds@gnu.org>
3857         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3859 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3861         * play/doctor.el (doctor-doc): Remove parameter and use
3862         doctor-sent instead of sent.
3863         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
3865 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3867         * files.el: Require cl-lib.
3868         (file-name-non-special): Replace case -> cl-case.
3870         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3872         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3873         mapping from #' to function*.
3875 2012-06-13  Chong Yidong  <cyd@gnu.org>
3877         * mouse.el (mouse-drag-track): Do not set the mark if the user
3878         releases the mouse without selecting anything (Bug#11588).
3880 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3882         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3883         as well (bug#11646).
3885         * loadup.el: Count byte-code functions as well.
3887         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3888         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3890         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3891         (bug#11649).  Add cl-defun and cl-defmacro.
3893 2012-06-13  Drew Adams  <drew.adams@oracle.com>
3895         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3896         Fix last change.
3898 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
3900         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3901         Otherwise, it blocks in batch mode.
3903 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
3905         * help-mode.el (bookmark-make-record-default): Declare.
3907 2012-06-13  Chong Yidong  <cyd@gnu.org>
3909         * emacs-lisp/package.el (list-packages): Compute a list of
3910         packages that are newly-available since the last list-packages
3911         invocation.
3912         (package-menu--new-package-list): New var.
3913         (package-menu--generate, package-menu--print-info)
3914         (package-menu--status-predicate, package-menu-mark-install):
3915         Handle new status label "new".
3917 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3919         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3920         conversion to backquotes.
3922 2012-06-12  Chong Yidong  <cyd@gnu.org>
3924         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3925         Rename from gud-inhibit-global-bindings.
3927         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3929         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3930         hook from nxml-glyph-set-hook.
3932         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3933         declaration.
3935         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3937         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3938         Convert to defcustom.
3940 2012-06-12  Drew Adams  <drew.adams@oracle.com>
3942         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3943         New functions.
3944         (help-mode): Use them.
3946 2012-06-11  Glenn Morris  <rgm@gnu.org>
3948         * progmodes/fortran.el (fortran-font-lock-keywords-3):
3949         Use preprocessor face for directives.
3950         (fortran-directive-re): Doc fix.
3952 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3954         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3955         conversion to backquotes (bug#11652).
3957         Fix compiler-expansion of CL's cXXr functions (bug#11673).
3958         * emacs-lisp/cl-lib.el (cl--defalias): New function.
3959         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3960         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3961         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3962         (cl-ninth, cl-tenth): Mark them as inlinable.
3963         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3964         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3965         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3966         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3967         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3968         (cl-list*, cl-adjoin): Don't put an autoload manually.
3969         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3970         (cl--compiler-macro-list*): Add autoload cookie.
3971         (cl--compiler-macro-cXXr): New function.
3973         * help-fns.el (help-fns--compiler-macro): New function extracted from
3974         describe-function-1; follow aliases and use `compiler-macro' property.
3975         (describe-function-1): Use it.
3977 2012-06-11  Chong Yidong  <cyd@gnu.org>
3979         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3980         is uninstalled, if imagemagick is installed.
3982 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3984         * emacs-lisp/cl-lib.el: Use lexical-binding.
3985         (cl-map-extents, cl-maclisp-member): Remove.
3986         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3987         (cl--set-substring, cl--block-wrapper, cl--block-throw)
3988         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3989         * emacs-lisp/cl-extra.el: Use lexical-binding.
3990         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3991         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3992         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3993         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3994         * emacs-lisp/cl-seq.el: Use lexical-binding.
3995         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3996         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3997         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3998         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3999         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
4000         CL's internals.
4002 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
4004         Sync with Tramp 2.2.6-pre.
4006         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
4007         `print-length' and `print-level' to nil, in order to avoid
4008         truncation.  Reported by Christopher Schmidt
4009         <christopher@ristopher.com>.
4011         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
4013         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
4014         New defmacro.
4015         (tramp-compat-copy-directory): Add optional argument
4016         COPY-CONTENTS.  It is not handled yet.
4018         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
4019         (tramp-ftp-file-name-p): Simplify.
4021         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
4022         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
4023         connection vector.
4025         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
4026         (tramp-methods): Do not use `tramp-password-end-of-line'.
4027         (tramp-completion-function-alist-putty): Handle UNIX case.
4028         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
4029         (tramp-do-file-attributes-with-stat)
4030         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
4031         gid as real numbers.  They could run out of integer range on cygwin.
4032         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
4033         (tramp-sh-handle-expand-file-name): Handle hops.
4034         (tramp-open-connection-setup-interactive-shell):
4035         Use `tramp-cleanup'.  Move check for busyboxes ...
4036         (tramp-find-shell): ... here.  Simplify implementation.
4037         Set "remote-shell" property also for alternative shells.
4038         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
4039         If failing, a regular file would be written otherwise.
4040         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
4041         (tramp-find-inline-encoding): Cache the coding commands in the
4042         process cache.  Apply test command on the remote side, if defined.
4043         (tramp-find-inline-compress): Cache the compress commands in the
4044         process cache.
4045         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
4046         when requested.  Handle hops.
4047         (tramp-current-connection): New defvar.
4048         (tramp-maybe-open-connection): Use `tramp-cleanup'.
4049         Throw `suppress', if there was a failed connection shortly before.
4050         Handle user interrupt.  (Bug#10187)
4051         (tramp-get-inline-compress, tramp-get-inline-coding):
4052         Read connection properties from the process cache.
4054         * net/tramp-smb.el (tramp-smb-server-version)
4055         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
4056         New defconsts.
4057         (tramp-smb-prompt): Extend for powershell prompt.
4058         (tramp-smb-file-name-handler-alist): Add handlers for
4059         `process-file', `shell-command' and `start-file-process'.
4060         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
4061         (tramp-smb-winexe-shell-command-switch): New defcustoms.
4062         (tramp-smb-file-name-p): Simplify.
4063         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
4064         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
4065         (tramp-smb-shell-quote-argument): New defuns.
4066         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
4067         Implement using "tar".  By this, time-stamps are preserved.
4068         (tramp-smb-handle-copy-file): Handle also the case of directories.
4069         (tramp-smb-do-file-attributes-with-stat)
4070         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
4071         Use `tramp-get-connection-buffer').
4072         (tramp-smb-handle-rename-file): Use "rename", when source and
4073         target are on the same share.
4074         (tramp-smb-maybe-open-connection): Handle wrong passwords.
4075         Use `tramp-smb-server-version'.
4076         (tramp-smb-wait-for-output): Remove prompt.
4078         * net/tramp.el (top): Require 'cl.
4079         (tramp-methods, tramp-rsh-end-of-line):
4080         Remove `tramp-password-end-of-line' from docstring.
4081         (tramp-save-ad-hoc-proxies): New defcustom.
4082         (tramp-completion-function-alist): Adapt docstring.
4083         (tramp-default-password-end-of-line): Remove defcustom.
4084         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
4085         (tramp-user-regexp, tramp-file-name-regexp-unified)
4086         (tramp-file-name-regexp-url): Extend regexp by hop separator.
4087         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
4088         (tramp-remote-file-name-spec-regexp): New defconst.
4089         (tramp-file-name-structure): Extend structure for hops.
4090         (tramp-get-method-parameter): Move up.
4091         (tramp-file-name-p, tramp-dissect-file-name)
4092         (with-parsed-tramp-file-name): Handle hops.
4093         (tramp-file-name-hop): New defun.
4094         (tramp-make-tramp-file-name): New optional arg HOP.
4095         (tramp-message-show-progress-reporter-message): New defvar.
4096         (tramp-with-progress-reporter): Use it.  We cannot use
4097         `tramp-message-show-message' here, because this suppresses also
4098         error buffers.
4099         (tramp-error-with-buffer): Suppress buffer view, if
4100         `tramp-message-show-message' is nil.
4101         Use `tramp-get-connection-buffer'.
4102         (tramp-cleanup): New defun.
4103         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
4104         (tramp-file-name-handler): If `debug-on-error' is set, propagate
4105         an error unchanged.
4106         (tramp-completion-handle-file-name-all-completions): Handle hops.
4107         Fix an error when called from ido.
4108         (tramp-completion-dissect-file-name): Use better local variable
4109         name.  Add hop to the vector.
4110         (tramp-handle-insert-file-contents): Use progress-reporter for the
4111         whole scenario.
4112         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
4113         to `t'.
4114         (tramp-check-for-regexp): Simplify search.
4115         (tramp-enter-password): Remove it.  Move implementation ...
4116         (tramp-action-password): ... here.
4117         (tramp-mode-string-to-int, tramp-local-host-p)
4118         (tramp-make-tramp-temp-file, tramp-read-passwd)
4119         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
4120         Set tramp-autoload cookie.
4122         * net/trampver.el: Update release number.
4124 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4125             Michael Albinus  <michael.albinus@gmx.de>
4127         * net/tramp.el (tramp-set-completion-function): Fix docstring.
4128         (tramp-parse-group, tramp-parse-file)
4129         (tramp-parse-shostkeys-sknownhosts): New defuns.
4130         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
4131         (tramp-parse-shosts-group, tramp-parse-sconfig)
4132         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
4133         (tramp-parse-sknownhosts, tramp-parse-hosts)
4134         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
4135         Use them.
4136         (tramp-parse-passwd-group, tramp-parse-netrc-group)
4137         (tramp-parse-putty-group): Don't narrow.
4138         (tramp-parse-putty): Make a loop.
4139         (tramp-file-name-handler): Catch the `suppress' signal.
4141 2012-06-11  Chong Yidong  <cyd@gnu.org>
4143         * image.el (imagemagick-register-types): Put the ImageMagick entry
4144         at the end of image-type-file-name-regexps.
4146 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
4148         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
4149         (pcase, pcase-let*, pcase-dolist): Use them.
4151 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4153         * emacs-lisp/pcase.el (pcase--let*): New function.
4154         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
4155         (pcase--expand): Use macroexp-let².
4157 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4159         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
4160         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
4161         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
4162         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
4163         * emacs-lisp/derived.el: Use pcase instead of `cl'.
4164         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
4166 2012-06-10  Glenn Morris  <rgm@gnu.org>
4168         * mail/rmail.el (rmail-yank-current-message): Leave point at
4169         correct position.  (Bug#11660)
4171 2012-06-10  Chong Yidong  <cyd@gnu.org>
4173         * allout-widgets.el: Fix code header.
4175 2012-06-10  Chong Yidong  <cyd@gnu.org>
4177         * cus-edit.el (customize-changed-options-previous-release):
4178         Bump to 24.1.
4180 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
4182         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
4184 2012-06-09  Chong Yidong  <cyd@gnu.org>
4186         * ebuff-menu.el (electric-buffer-list): Preserve header line.
4188 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
4190         * window.el (special-display-popup-frame): Don't use
4191         window--display-buffer (Bug#11651).
4193 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
4195         Fix parallel builds: make sure loaddefs.el is not being written
4196         while Lisp files are compiled.
4197         (compile): Don't depend on 'mh-autoloads'.
4198         (compile-CMD, compile-SH): Depend on 'autoloads'.
4199         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
4201         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
4203 2012-06-09  Chong Yidong  <cyd@gnu.org>
4205         * face-remap.el (face-remap-add-relative, face-remap-set-base)
4206         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
4207         Doc fixes (Bug#11225).
4209 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4211         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
4212         a function if there's a clear indication that it has a compiler-macro.
4213         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
4214         (macro-declarations-alist): Add arglist to declaration functions.
4215         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
4216         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
4217         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
4218         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
4219         Also add autoload to find the compiler macro.
4220         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
4221         (cl--compiler-macro-member, cl--compiler-macro-assoc)
4222         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
4223         (cl--compiler-macro-get): New functions, replacing calls to
4224         cl-define-compiler-macro.
4225         (cl-typep) [compiler-macro]: Use macroexp-let².
4227 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
4229         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
4230         string properly, fixes Bug#11473.
4232 2012-06-08  Chong Yidong  <cyd@gnu.org>
4234         * faces.el (set-face-attribute): Doc fix.
4235         (modify-face): Don't use :bold and :italic.
4236         (error, warning, success): Tweak definitions.
4238         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
4239         (custom-modified, custom-set, custom-changed, custom-themed)
4240         (custom-saved, custom-button, custom-button-mouse)
4241         (custom-button-pressed, custom-state, custom-comment-tag)
4242         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
4243         (custom-group-subtitle): Use new-style face specs.
4244         (custom-invalid-face, custom-rogue-face, custom-modified-face)
4245         (custom-set-face, custom-changed-face, custom-saved-face)
4246         (custom-button-face, custom-button-pressed-face)
4247         (custom-documentation-face, custom-state-face)
4248         (custom-comment-face, custom-comment-tag-face)
4249         (custom-variable-tag-face, custom-variable-button-face)
4250         (custom-face-tag-face, custom-group-tag-face-1)
4251         (custom-group-tag-face): Remove obsolete face alias.
4253         * epa.el (epa-validity-high, epa-validity-medium)
4254         (epa-validity-low, epa-mark, epa-field-name, epa-string)
4255         (epa-field-name, epa-field-body):
4256         * font-lock.el (font-lock-comment-face, font-lock-string-face)
4257         (font-lock-keyword-face, font-lock-builtin-face)
4258         (font-lock-function-name-face, font-lock-variable-name-face)
4259         (font-lock-type-face, font-lock-constant-face):
4260         * ido.el (ido-first-match, ido-only-match, ido-subdir)
4261         (ido-virtual, ido-indicator, ido-incomplete-regexp):
4262         * speedbar.el (speedbar-button-face, speedbar-file-face)
4263         (speedbar-directory-face, speedbar-tag-face)
4264         (speedbar-selected-face, speedbar-highlight-face)
4265         (speedbar-separator-face):
4266         * whitespace.el (whitespace-newline, whitespace-space)
4267         (whitespace-hspace, whitespace-tab, whitespace-trailing)
4268         (whitespace-line, whitespace-space-before-tab)
4269         (whitespace-space-after-tab, whitespace-indentation)
4270         (whitespace-empty):
4271         * emulation/cua-base.el (cua-global-mark):
4272         * eshell/em-prompt.el (eshell-prompt):
4273         * net/newst-plainview.el (newsticker-new-item-face)
4274         (newsticker-old-item-face, newsticker-immortal-item-face)
4275         (newsticker-obsolete-item-face, newsticker-date-face)
4276         (newsticker-statistics-face, newsticker-default-face):
4277         * net/newst-reader.el (newsticker-feed-face)
4278         (newsticker-extra-face, newsticker-enclosure-face):
4279         * net/newst-treeview.el (newsticker-treeview-face)
4280         (newsticker-treeview-new-face, newsticker-treeview-old-face)
4281         (newsticker-treeview-immortal-face)
4282         (newsticker-treeview-obsolete-face)
4283         (newsticker-treeview-selection-face):
4284         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4285         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4286         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4287         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4288         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4289         (nxml-outline-active-indicator, nxml-outline-ellipsis):
4290         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4291         (mpuz-text):
4292         * progmodes/vera-mode.el (vera-font-lock-number)
4293         (vera-font-lock-function, vera-font-lock-interface):
4294         * textmodes/table.el (table-cell): Use new-style face specs, and
4295         don't use the old :bold and :italic attributes.
4297         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4298         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4299         (ebrowse-member-class, ebrowse-progress): Likewise.
4300         (ebrowse-tree-mark-face, ebrowse-root-class-face)
4301         (ebrowse-file-name-face, ebrowse-default-face)
4302         (ebrowse-member-attribute-face, ebrowse-member-class-face)
4303         (ebrowse-progress-face): Remove obsolete faces.
4305         * progmodes/flymake.el (flymake-errline, flymake-warnline):
4306         Inherit from error and warning faces respectively.
4308         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4309         Likewise.
4310         (flyspell-incorrect-face, flyspell-duplicate-face):
4311         Remove obsolete aliases.
4313 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
4315         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4316         Avoid infloop.
4318 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4320         * startup.el (argv, argi): Make lexically scoped.
4321         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4322         * emacs-lisp/cl-macs.el: Use lexical-binding.
4323         Rename cl-bind-* to cl--bind-*.
4324         * files.el: Don't require `cl' since it doesn't use it.
4325         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4327 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
4329         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of revno:89810).
4330         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4331         instead of calling external sort utility.
4332         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4334 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
4336         * descr-text.el (describe-char): Mention how to insert the
4337         character, if the current input method doesn't support it.
4338         See the discussion in this thread for the details:
4339         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4341 2012-06-08  Sam Steingold  <sds@gnu.org>
4343         * bindings.el (global-map): Bind XF86Forward to next-buffer and
4344         XF86Back to previous-buffer.
4345         (minibuffer-local-map): Bind them to next-history-element and
4346         previous-history-element respectively.
4347         * help-mode.el (help-mode-map): Bind them to help-go-forward and
4348         help-go-back respectively.
4349         * info.el (Info-mode-map): Bind them to Info-history-forward and
4350         Info-history-back respectively.
4351         These are the keys next to Up on the ThinkPad keyboard.
4353 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4355         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4356         * emacs-lisp/cl-macs.el: Provide itself.
4357         (cl--labels-convert-cache): New var.
4358         (cl--labels-convert): New function.
4359         (cl-flet, cl-labels): New implementation with new semantics, relying on
4360         lexical-binding.
4361         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4362         (cl-closure-vars, cl--function-convert-cache)
4363         (cl--function-convert): Move from cl-macs.el.
4364         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4365         rename by removing the "cl-" prefix.
4366         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4368 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4370         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4371         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4372         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4373         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4374         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4375         (cl-hash-table-count): Add old compatibility aliases.
4377         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4378         Use macroexpand-all-environment instead.
4379         (cl--old-macroexpand): New var.
4380         (cl--sm-macroexpand): New function.
4381         (cl-symbol-macrolet): Use it during macro expansion.
4382         (cl--function-convert-cache): New var.
4383         (cl--function-convert): New function, extracted from
4384         cl-macroexpand-all.
4385         (cl-lexical-let): Use it.
4387         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4388         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4389         (cl-member): Remove old alias.
4391         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4392         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4393         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4394         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4395         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4396         (cl-macroexpand-cmacs): Remove var.
4397         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4398         Use macroexpand-all instead.
4400 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4402         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4403         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4404         (macroexp-copyable-p): New functions and macros.
4405         * emacs-lisp/edebug.el (edebug-unwrap):
4406         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4407         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4408         (pcase--let*): Remove.
4409         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4410         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
4411         macroexp-const-p instead.
4412         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4414         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4415         instead of "cl-" for internal definitions.  Use macroexp-const-p.
4416         (cl-old-bc-file-form): Remove var.
4417         (cl-const-exprs-p): Remove fun.
4418         (cl-labels, cl-macrolet): Use backquote.
4419         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
4420         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4421         (cl-define-setf-expander): Rename from cl-define-setf-method.
4422         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4424         * international/mule-cmds.el: Don't require CL.
4425         (view-hello-file): Don't use `letf'.
4427 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4429         * tmm.el (tmm-prompt): Use string-prefix-p.
4430         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4431         (tmm-add-prompt): Use minibuffer-completion-help.
4432         (tmm-delete-map): Remove.
4434         * subr.el (kbd): Make it its own function.
4436 2012-06-07  Stefan Merten  <smerten@oekonux.de>
4438         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4439         Silence compiler warnings.  Fix versions.
4440         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4441         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4442         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4443         (rst-package-emacs-version-alist): Correct Emacs version to
4444         represent major merge with upstream.
4445         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4447 2012-06-06  Glenn Morris  <rgm@gnu.org>
4449         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4450         Only print environment variables if set.
4452 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4454         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4455         (macroexp--cons): Rename from maybe-cons.
4456         (macroexp--accumulate): Rename from macroexp-accumulate.
4457         (macroexp--all-forms): Rename from macroexpand-all-forms.
4458         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4459         (macroexp--expand-all): Rename from macroexpand-all-1.
4461 2012-06-06  Sam Steingold  <sds@gnu.org>
4463         * calendar/calendar.el (calendar-in-read-only-buffer):
4464         Call `special-mode' to enable the standard read-only keybindings.
4466 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4468         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4469         with "loading" messages (bug#11635).
4471 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
4473         * files.el (enable-remote-dir-locals): New option.
4474         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
4476         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4477         Ensure, that the temp directory is local.
4479         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4480         `temporary-file-directory'.
4482         * progmodes/python.el (python-send-region): Ensure, that the
4483         temporary file is created also in the remote case.
4485 2012-06-06  Glenn Morris  <rgm@gnu.org>
4487         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4488         (vc-rcs-update-changelog): Use it.
4490         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4492         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4493         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4494         (vc-sccs-diff): Replace use of the external vcdiff script.
4496 2012-06-05  Glenn Morris  <rgm@gnu.org>
4498         * ledit.el: Move to obsolete/.
4500 2012-06-05  Sam Steingold  <sds@gnu.org>
4502         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4503         patch (Bug#11140).
4505 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4507         * emacs-lisp/cust-print.el: Move to obsolete.
4509         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4510         compiler-macro expansion.
4512         Add native compiler-macro support.
4513         * emacs-lisp/macroexp.el (macroexpand-all-1):
4514         Support compiler-macros directly.  Properly follow aliases and apply
4515         the compiler macros more thoroughly.
4516         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4517         macroexpand now properly follows aliases.
4518         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4519         (cl-compiler-macroexpand): Use new prop.
4520         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4522         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4524 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
4526         * window.el (get-lru-window, get-mru-window, get-largest-window):
4527         New argument NOT-SELECTED to avoid picking the selected window.
4528         (window--display-buffer-1, window--display-buffer-2): Replace by
4529         new function window--display-buffer
4530         (display-buffer-same-window, display-buffer-reuse-window)
4531         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4532         Use window--display-buffer.
4533         (display-buffer-use-some-window): Remove temporary dedication
4534         hack by calling get-lru-window and get-largest-window with
4535         NOT-SELECTED argument non-nil.  Call window--display-buffer.
4537 2012-06-05  Glenn Morris  <rgm@gnu.org>
4539         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4540         Replace external vcdiff script.
4542 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4544         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4546 2012-06-04  Chong Yidong  <cyd@gnu.org>
4548         * image.el (imagemagick-types-inhibit): Revert last change.
4549         Add INFO and M.
4550         (imagemagick-enabled-types): Remove CIN and EPS*.
4552 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4554         * emacs-lisp/cl-lib.el: Rename from cl.el.
4555         * emacs-lisp/cl.el: New compatibility file.
4556         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4557         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4558         to obey the "cl-" prefix.
4559         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4561 2012-06-03  Glenn Morris  <rgm@gnu.org>
4563         * emacs-lisp/authors.el (authors-aliases): Addition.
4565         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4566         Fix :version.
4568 2012-06-03  Stefan Merten  <smerten@oekonux.de>
4570         * textmodes/rst.el: Add comments.
4571         (rst-transition, rst-adornment): New faces.
4572         (rst-adornment-faces-alist): Make default safe to reevaluate.
4573         Fixes
4574         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4575         Improve customization tags.
4576         (rst-define-level-faces): Clarify meaning.
4578 2012-06-03  Chong Yidong  <cyd@gnu.org>
4580         * progmodes/compile.el (compilation-mode-line-fail)
4581         (compilation-mode-line-run, compilation-mode-line-exit):
4582         New faces.
4583         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4585 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
4587         * progmodes/which-func.el (which-func-update-ediff-windows):
4588         New function.  Use it in ediff-select-hook (Bug#11478).
4590 2012-06-03  Chong Yidong  <cyd@gnu.org>
4592         * bindings.el: Remove explicit help text from format-mode-line.
4593         It is now supplied by mode-line-default-help-echo.
4594         (mode-line-front-space, mode-line-end-spaces)
4595         (mode-line-misc-info): New variables.
4596         (mode-line-modes, mode-line-position): Move the default value to
4597         the variable definition.
4598         (mode-line-default-help-echo): New defcustom.
4599         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4600         (mode-line-modified-help-echo): New functions.
4601         (mode-line-mule-info, mode-line-modified): Use them.
4602         (mode-line-eol-desc, propertized-buffer-identification):
4603         Consistency fixes for help text.
4604         (mode-line-coding-system-map): Allow using mouse-3 to invoke
4605         set-buffer-file-coding-system (Bug#289).
4606         (mode-line-mule-info-help-echo): Update help text.
4608 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4610         * simple.el (execute-extended-command): Set real-this-command
4611         (bug#11506).
4613 2012-06-02  Chong Yidong  <cyd@gnu.org>
4615         Remove incorrect uses of "modeline" in comments, docstrings, and
4616         function/variable names (Bug#10329).
4618         * cus-edit.el (mode-line):
4619         * dframe.el (dframe-mouse-hscroll):
4620         * emacs-lisp/re-builder.el:
4621         * emacs-lisp/easy-mmode.el (define-minor-mode):
4622         * frame.el (set-frame-name):
4623         * help.el (lookup-minor-mode-from-indicator):
4624         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4625         * progmodes/cc-cmds.el (c-toggle-auto-newline)
4626         (c-toggle-hungry-state):
4627         * progmodes/antlr-mode.el (antlr-language-alist):
4628         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4629         * progmodes/vhdl-mode.el (vhdl-mode):
4630         * progmodes/which-func.el (which-func, which-func-cleanup-function):
4631         * term/ns-win.el (ns-face-at-pos):
4632         * term/sup-mouse.el (sup-mouse-report):
4633         * textmodes/flyspell.el (flyspell-mode-line-string):
4634         * textmodes/ispell.el (ispell-highlight-face):
4635         * textmodes/reftex-global.el:
4636         * vc/vc-arch.el (vc-arch-mode-line-string):
4637         * vc/vc-cvs.el (vc-cvs-mode-line-string):
4638         * vc/vc-git.el (vc-git-mode-line-string):
4639         * vc/vc-hooks.el (vc-display-status)
4640         (vc-default-mode-line-string):
4641         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4643         * ansi-color.el (ansi-color-faces-vector): Change default faces.
4645         * dired.el (dired-sort-set-mode-line): Rename from
4646         dired-sort-set-modeline.  All callers changed.
4648         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4649         eshell-status-in-modeline.
4651         * foldout.el (foldout-mode-line-string): Rename from
4652         foldout-modeline-string.  All callers changed.
4653         (foldout-update-mode-line): Rename from foldout-update-modeline.
4655         * subr.el (redraw-modeline): Make into obsolete alias.
4657         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4658         timeclock-modeline-display.  Make old name an alias.
4659         (timeclock-update-mode-line): Likewise.  All callers changed.
4660         (timeclock-mode-line-display): No need to check before using
4661         add-hook.
4662         (timeclock-relative, timeclock-day-over-hook)
4663         (timeclock-use-elapsed, timeclock-mode-string)
4664         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4666         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4667         crisp-mode-modeline-string.
4669         * play/solitaire.el (solitaire-build-mode-line): Rename from
4670         solitaire-build-modeline.  All callers changed.
4672         * play/zone.el (zone-hiding-mode-line): Rename from
4673         zone-hiding-modeline.  All callers changed.
4674         (zone): Remove unusued `modeline-hidden-level' property.
4676         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4677         xscheme-modeline-initialize.  All callers changed.
4679         * strokes.el (strokes-lighter): Rename from
4680         strokes-modeline-string.
4682         * textmodes/sgml-mode.el (html-face-tag-alist)
4683         (html-tag-face-alist): Use mode-line face instead of obsolete
4684         alias modeline.
4686 2012-06-02  Stefan Merten  <smerten@oekonux.de>
4688         * textmodes/rst.el: Always require `cl'.
4689         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4691 2012-06-02  Chong Yidong  <cyd@gnu.org>
4693         * image.el (imagemagick-enabled-types): Rename from
4694         imagemagick-types-enable.  Add many more types.
4695         (imagemagick-types-inhibit): Change default to nil.
4696         (imagemagick-filter-types): Caller changed.
4698 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4700         * emacs-lisp/cl-macs.el: Use backquotes.
4701         (cl-transform-function-property): Use eval-and-compile rather than
4702         abusing `require'.
4703         (defstruct): Use declare-function instead of with-no-warnings.
4705         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4706         (byte-compile-output-docform): Re-add the print-circle bindings.
4707         (byte-compile-fix-header): Use #$ just because it's shorter.
4708         (byte-compile-output-file-form): Remove defun/defmacro.
4710 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
4712         * simple.el (choose-completion): Remove now obsolete binding for
4713         owindow.
4715 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
4717         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4718         in order to avoid "Stack overflow in regexp matcher".
4720 2012-05-31  Glenn Morris  <rgm@gnu.org>
4722         * image.el: For clarity, call imagemagick-register-types at
4723         top-level, rather than relying on a custom :initialize.
4724         (imagemagick-types-enable): New option.  (Bug#11557)
4725         (imagemagick-filter-types): New function.  (Bug#7406)
4726         (imagemagick-register-types): Use imagemagick-filter-types.
4727         If disabling support, remove elements altogether rather
4728         than using an impossible regexp.
4729         (imagemagick-types-inhibit): Give it the default init function.
4731 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4733         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4734         Handle arbitrary file name lengths (Bug#11585).
4736 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
4738         * desktop.el (desktop-read): Clear previous and next buffers for
4739         all windows and bury *Messages* buffer (bug#11556).
4741 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4743         Add `declare' for `defun'.  Align `defmacro's with it.
4744         * emacs-lisp/easy-mmode.el (define-minor-mode)
4745         (define-globalized-minor-mode): Don't autoload the var definitions.
4746         * emacs-lisp/byte-run.el: Use lexical-binding.
4747         (defun-declarations-alist, macro-declarations-alist): New vars.
4748         (defmacro, defun): Use them.
4749         (make-obsolete, define-obsolete-function-alias)
4750         (make-obsolete-variable, define-obsolete-variable-alias):
4751         Use `declare'.
4752         (macro-declaration-function): Mark obsolete.
4753         * emacs-lisp/autoload.el: Use lexical-binding.
4754         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
4756 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4758         * textmodes/ispell.el (ispell-with-no-warnings):
4759         Define as a macro.
4760         (ispell-kill-ispell, ispell-change-dictionary):
4761         Use `called-interactively-p' for Emacs instead of obsolete
4762         `interactive-p'.
4764 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4766         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4767         (macro-declaration-function): Move var from C code.
4768         (macro-declaration-function): Define function with defalias.
4769         * emacs-lisp/macroexp.el (macroexpand-all-1):
4770         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4771         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4772         defun/defmacro any more.
4773         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4774         Provide fallback for unknown arglist.
4775         (byte-compile-arglist-warn): Change calling convention.
4776         (byte-compile-output-file-form): Move print-vars binding.
4777         (byte-compile-output-docform): Simplify accordingly.
4778         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4779         (byte-compile-defmacro-declaration): Remove.
4780         (byte-compile-file-form-defmumble): Generalize to defalias.
4781         (byte-compile-output-as-comment): Return byte-positions.
4782         Simplify callers accordingly.
4783         (byte-compile-lambda): Use `assert'.
4784         (byte-compile-defun, byte-compile-defmacro): Remove.
4785         (byte-compile-file-form-defalias):
4786         Use byte-compile-file-form-defmumble.
4787         (byte-compile-defalias-warn): Remove.
4789 2012-05-29  Stefan Merten  <smerten@oekonux.de>
4791         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4792         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
4794         (rst-mode-abbrev-table): Merge definition.
4795         (rst-mode): Make sure `font-lock-defaults' is buffer local.
4796         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4798 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
4800         * calendar/icalendar.el
4801         (icalendar-export-region): Export UID properly.
4803 2012-05-29  Leo Liu  <sdl.web@gmail.com>
4804         * calendar/icalendar.el (icalendar-import-format):
4805         Add `icalendar-import-format-uid' (Bug#11525).
4806         (icalendar-import-format-uid): New.
4807         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4808         Export UID.
4810 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4812         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4813         different alternative patterns.
4814         (pcase-codegen): Be more careful to preserve identity.
4815         (pcase--u1): Don't forget to mark vars as used.
4817         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4818         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4819         (byte-compile-from-buffer): ...rather than here.
4821         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4822         functions from byte-compile-function-environment.
4824 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
4826         * window.el (window-deletable-p): Avoid deleting the root window
4827         of a frame with an active minibuffer.
4829 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
4831         * simple.el (choose-completion): Use quit-window (Bug#11567).
4833 2012-05-29  Chong Yidong  <cyd@gnu.org>
4835         * whitespace.el (whitespace-cleanup): Fix usage of
4836         whitespace-empty-at-bob-regexp (Bug#11492).
4838 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4840         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4841         revert (Bug#11488).
4843 2012-05-29  Juri Linkov  <juri@jurta.org>
4845         * isearch.el (isearch-mode-map): Bind `M-s _' to
4846         `isearch-toggle-symbol'.  Bind `M-s c' to
4847         `isearch-toggle-case-fold'.
4848         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4849         (isearch-forward): Add `M-s _' to the docstring.
4850         (isearch-forward-symbol, isearch-toggle-case-fold)
4851         (isearch-symbol-regexp): New functions.  (Bug#11381)
4853 2012-05-29  Juri Linkov  <juri@jurta.org>
4855         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
4856         (isearch-occur, isearch-search-and-update): If `isearch-word' is
4857         a function, call it to get the regexp.
4858         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4859         property `isearch-message-prefix' instead of the string "word ".
4860         (isearch-search-fun-default): For the case of `isearch-word',
4861         return a lambda that calls re-search-forward/re-search-backward
4862         with a regexp returned by `word-search-regexp' or by the function
4863         in `isearch-word'.
4865 2012-05-29  Juri Linkov  <juri@jurta.org>
4867         * isearch.el (isearch-search-fun-default): New function.
4868         (isearch-search-fun): Move default part to the new function
4869         `isearch-search-fun-default'.
4870         (isearch-search-fun-function): Set the default value to
4871         `isearch-search-fun-default'.  (Bug#11381)
4873         * comint.el (comint-history-isearch-end):
4874         Use `isearch-search-fun-default'.
4875         (comint-history-isearch-search): Use `isearch-search-fun-default'
4876         and remove spacial case for `isearch-word'.
4877         (comint-history-isearch-wrap): Remove spacial case for
4878         `isearch-word'.
4880         * hexl.el (hexl-isearch-search-function):
4881         Use `isearch-search-fun-default'.
4883         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4884         Use `word-search-regexp' for `isearch-word'.
4886         * misearch.el (multi-isearch-search-fun):
4887         Use `isearch-search-fun-default'.
4889         * simple.el (minibuffer-history-isearch-search):
4890         Use `isearch-search-fun-default' and remove spacial case for
4891         `isearch-word'.
4892         (minibuffer-history-isearch-wrap): Remove spacial case for
4893         `isearch-word'.
4895         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4896         Remove spacial case for `isearch-word'.
4897         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4899 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4901         Decrease XEmacs incompatibilities.
4902         * textmodes/flyspell.el (flyspell-check-pre-word-p):
4903         Use `string-match'.
4904         (flyspell-delete-region-overlays): Use alternative definition for
4905         XEmacs.
4906         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4907         (flyspell-word): Use `process-kill-without-query' if XEmacs.
4908         (flyspell-mode-on): Use `interactive-p' if XEmacs.
4909         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4910         `define-obsolete-face-alias' under XEmacs, but old method.
4912         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4913         `with-no-warnings' definition or Emacs alias.
4914         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4915         (ispell-word): Do not use `region-p' if XEmacs.
4917 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
4919         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4920         Check for `ispell-dictionary-base-alist' instead of full
4921         `ispell-dictionary-alist'.
4922         (ispell-init-process): Show spellchecker when starting new Ispell
4923         process.
4925 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4927         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4928         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4930 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
4932         * version.el (motif-version-string, gtk-version-string)
4933         (ns-version-string): Declare.
4935 2012-05-27  Juri Linkov  <juri@jurta.org>
4937         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4938         after the `eval-defun-1' specialcaseing
4939         like in `edebug-eval-defun' (bug#10181).
4941         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4942         like in `eval-defun-1'.
4944 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
4946         * mail/sendmail.el (mail-yank-region):
4947         Recognize rmail-yank-current-message in addition to insert-buffer.
4948         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4949         a *mail* buffer created through rmail-start-mail with sendmail as
4950         mail-user-agent.
4952 2012-05-27  Chong Yidong  <cyd@gnu.org>
4954         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4955         Default to 256 (Bug#11267).
4957         * help.el (describe-mode): Doc fix.
4959 2012-05-26  Glenn Morris  <rgm@gnu.org>
4961         * w32-fns.el (w32-init-info): Remove.
4962         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4964         * info.el (info-initialize): For self-contained NS builds, put the
4965         included info/ directory at the front.  (Bug#2791)
4967         * paths.el (Info-default-directory-list): Make it a defcustom,
4968         mainly so that we can use custom-initialize-delay.
4970 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4972         * subr.el (buffer-has-markers-at): Mark obsolete.
4974         * subr.el (lambda): Use declare.
4976         * emacs-lisp/lisp-mode.el (lambda):
4977         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4979 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4981         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
4983 2012-05-26  Glenn Morris  <rgm@gnu.org>
4985         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4987 2012-05-25  Glenn Morris  <rgm@gnu.org>
4989         * paths.el: Remove no-byte-compile.
4990         * loadup.el: No need to load paths.el uncompiled.
4992         * image.el (imagemagick-types-inhibit): Doc fix.
4994         * version.el: Remove no-byte-compile and associated formatting.
4995         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
4996         is ancient code from when there was an "inc-vers.el".
4998 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5000         * progmodes/gdb-mi.el: Minor style changes.
5001         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
5002         Turn into minor modes.
5003         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
5004         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
5005         (gdb-shell): Remove unneeded let-binding.
5006         (gdb-get-many-fields): Eliminate O(n²) behavior.
5008 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
5010         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
5011         platforms that don't link in fontset.c.
5013 2012-05-25  Juri Linkov  <juri@jurta.org>
5015         Use the same diff color scheme as in modern VCSes (bug#10181).
5017         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
5018         to avoid confusion with `diff-added' that now uses green colors.
5019         (diff-removed): Use shades of red.
5020         (diff-added): Use shades of green.
5021         (diff-changed): Leave just the yellow color.
5022         (diff-use-changed-face): New variable.
5023         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
5024         how to highlight context diff changes.
5025         (diff-refine-change): Use shades of yellow.
5026         (diff-refine-removed): New face that uses shades of red.
5027         (diff-refine-added): New face that uses shades of green.
5028         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
5029         `diff-refine-removed' in the call to `smerge-refine-subst'
5030         depending on the value of `diff-use-changed-face'.
5032         * vc/smerge-mode.el (smerge-mine): Use shades of red.
5033         (smerge-other): Use shades of green.
5034         (smerge-base): Use shades of yellow.
5035         (smerge-refined-change): Empty face.
5036         (smerge-refined-removed): New face that uses shades of red.
5037         (smerge-refined-added): New face that uses shades of green.
5038         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
5039         args `props-r' and `props-a', and use them.  Doc fix.
5040         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
5041         on its value use different faces `smerge-refined-change',
5042         `smerge-refined-removed', `smerge-refined-added' in the call to
5043         `smerge-refine-subst'.
5045         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
5046         Add face condition `min-colors 88' with shades of red.
5047         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
5048         `min-colors 88' with shades of green.
5049         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
5050         `min-colors 88' with shades of yellow.
5052 2012-05-24  Glenn Morris  <rgm@gnu.org>
5054         * paths.el (prune-directory-list, remote-shell-program): Move to...
5055         * files.el (prune-directory-list, remote-shell-program): ...here.
5056         For the latter, delay initialization, prefer ssh, just search PATH.
5058         * paths.el (term-file-prefix): Move to faces.el (the only user).
5059         * faces.el (term-file-prefix): Move here, make it a defcustom.
5061         * paths.el (news-directory, news-path, news-inews-program):
5062         Move to gnus/nnspool.el.
5064         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
5066         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
5067         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
5068         Make the latter a defcustom, with a delayed initialization.
5070         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
5071         These were deleted from Gnus itself late 2010.
5073 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
5075         * progmodes/which-func.el (which-func-ff-hook):
5076         Check against user-error, not error.
5078         * emacs-lisp/edebug.el (top): Do not load or set up loading of
5079         cl-specs.el, which no longer exists.
5081 2012-05-22  Glenn Morris  <rgm@gnu.org>
5083         * info.el (info-emacs-bug): New command.
5084         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
5085         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
5087 2012-05-21  Glenn Morris  <rgm@gnu.org>
5089         * makefile.w32-in (update-subdirs-SH):
5090         * Makefile.in (update-subdirs): Update for moved update-subdirs.
5092 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5094         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
5096         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5097         Simplify Maven regexp, and make sure the file can't start with a space
5098         (bug#11517).
5100 2012-05-21  Glenn Morris  <rgm@gnu.org>
5102         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5103         Scrap superfluous subshells.
5105 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5107         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
5108         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
5110 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
5112         * calc/calc.el (calc-ensure-consistent-units): New variable.
5114         * calc/calc-units.el (math-consistent-units-p)
5115         (math-check-unit-consistency): New functions.
5116         (calc-quick-units, calc-convert-units):
5117         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
5118         is non-nil.
5119         (calc-extract-units): Fix typo.
5121 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5123         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
5125         * textmodes/flyspell.el: Commenting style, plus code simplifications.
5126         (flyspell-default-deplacement-commands): Don't spell check after
5127         repeated window/frame switches (e.g. triggered by mouse-movement).
5128         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
5129         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
5130         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
5131         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
5132         Remove unused vars.
5133         (flyspell-get-casechars, flyspell-get-not-casechars):
5134         Simplify; Don't bother removing a ] just to add it back.
5135         * textmodes/ispell.el (ispell-program-name): Use executable-find.
5137 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5139         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
5140         New functions.
5141         (math-function-table): Add support for more C functions.
5143 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5145         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5146         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5147         Protect delay handling for otherchars against empty otherchars.
5149 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5151         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
5152         their respective macro declarations.
5153         * skeleton.el (define-skeleton):
5154         * progmodes/compile.el (define-compilation-mode):
5155         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
5156         (define-ibuffer-filter):
5157         * emacs-lisp/generic.el (define-generic-mode):
5158         * emacs-lisp/easy-mmode.el (define-minor-mode)
5159         (define-globalized-minor-mode):
5160         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
5161         * emacs-lisp/byte-run.el (defsubst):
5162         * custom.el (deftheme): Add doc-string metadata.
5164 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5166         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
5168 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5170         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
5172         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
5173         * emacs-lisp/cl-macs.el: Idem.
5174         * emacs-lisp/cl-specs.el: Remove.
5176 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5178         Minor renaming of internal CL functions and variables.
5179         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
5180         (cl--position): Rename from cl-position.
5181         (cl--delete-duplicates): Rename from cl-delete-duplicates.
5182         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
5183         (cl--random-state): Rename from *random-state*.
5185 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5187         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
5188         parens around the arg list (bug#11499).
5190 2012-05-17  Juri Linkov  <juri@jurta.org>
5192         * isearch.el (word-search-regexp, word-search-backward)
5193         (word-search-forward, word-search-backward-lax)
5194         (word-search-forward-lax): Move functions from search.c
5195         (bug#10145, bug#11381).
5197 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
5199         * textmodes/flyspell.el (flyspell-check-pre-word-p)
5200         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
5201         Delay for otherchars as for normal word components.
5203 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5205         * minibuffer.el (completion--sifn-requote): Fix last change.
5206         (minibuffer-local-must-match-filename-map):
5207         Move define-obsolete-variable-alias before its var.
5209 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5211         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
5213         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
5214         behavior.
5215         (completion--string-equal-p): New function.
5216         (completion--twq-all): Use it to get better assertion failure data.
5218         Only handle ".." and '..' quoting in shell-mode (bug#11466).
5219         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
5220         (shell--requote-argument): New functions.
5221         (shell-completion-vars): Use them.
5222         (shell--parse-pcomplete-arguments): Rename from
5223         shell-parse-pcomplete-arguments.
5224         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
5225         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
5226         Obey comint-file-name-quote-list.
5228         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
5229         (smie-indent-keyword): Use it.
5231 2012-05-14  Stefan Merten  <smerten@oekonux.de>
5233         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
5235 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5237         * net/rlogin.el (rlogin-mode-map): Fix last change.
5239 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
5241         * mail/smtpmail.el (smtpmail-send-command): Send the command and
5242         the following \r\n using a single `process-send-string', since the
5243         Lotus SMTP server refuses to accept any commands if they are sent
5244         with two `process-send-string's (Bug#11444).
5246 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5248         * shell.el (shell-parse-pcomplete-arguments):
5249         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
5251 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5253         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5254         (image-transform-scale, image-transform-right-angle-fudge): New vars.
5255         (image-transform-width, image-transform-fit-width): New functions.
5256         (image-transform-properties): Use them.
5257         (image-transform-check-size): New function.
5258         (image-toggle-display-image): Use it (for testing).
5259         (image-transform-set-rotation): Reduce angle mod 360.
5260         Delete obsolete comment.
5262 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
5264         * image-mode.el: Fix scaling (bug#11399).
5265         (image-transform-resize): Doc fix.
5266         (image-transform-properties): Default scale is 1 and height should
5267         be an integer.
5269 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
5271         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5272         than hard-coding `car', to fix misbehavior when moving forward.
5274 2012-05-13  Chong Yidong  <cyd@gnu.org>
5276         * emacs-lisp/tabulated-list.el (tabulated-list-format)
5277         (tabulated-list-entries, tabulated-list-padding)
5278         (tabulated-list-sort-key): Make permanent-local.
5280         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5281         (electric-buffer-list): Put electric buffer menu
5282         command descriptions in this docstring, instead of the docstring
5283         of electric-buffer-menu-mode.  Code cleanups.
5284         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
5285         Electric-buffer-menu-mode.
5286         (electric-buffer-update-highlight): Minor code cleanup.
5288 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
5290         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5291         (Bug#11447)
5293 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5295         Move define-obsolete-variable-alias before the var's definition.
5296         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5297         * tooltip.el (tooltip-hook):
5298         * textmodes/reftex-toc.el (reftex-toc-map):
5299         * textmodes/reftex-sel.el (reftex-select-label-map)
5300         (reftex-select-bib-map):
5301         * textmodes/reftex-index.el (reftex-index-map)
5302         (reftex-index-phrases-map):
5303         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5304         * progmodes/meta-mode.el (meta-mode-map):
5305         * novice.el (disabled-command-hook):
5306         * loadhist.el (unload-hook-features-list):
5307         * frame.el (blink-cursor):
5308         * files.el (find-file-not-found-hooks, write-file-hooks)
5309         (write-contents-hooks):
5310         * emulation/tpu-edt.el (GOLD-map):
5311         * emacs-lock.el (emacs-lock-from-exiting):
5312         * emacs-lisp/generic.el (generic-font-lock-defaults):
5313         * emacs-lisp/chart.el (chart-map):
5314         * dos-fns.el (register-name-alist):
5315         * dired-x.el (dired-omit-files-p):
5316         * desktop.el (desktop-enable):
5317         * cus-edit.el (custom-mode-hook):
5318         * buff-menu.el (buffer-menu-mode-hook):
5319         * bookmark.el (bookmark-read-annotation-text-func)
5320         (bookmark-exit-hooks):
5321         * allout.el (allout-mode-deactivate-hook)
5322         (allout-exposure-change-hook, allout-structure-added-hook)
5323         (allout-structure-deleted-hook, allout-structure-shifted-hook):
5324         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5325         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5326         comes before the corresponding variable's definition.
5328 2012-05-12  Chong Yidong  <cyd@gnu.org>
5330         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5331         (Buffer-menu-mouse-select): Restore function (Bug#11459).
5332         (Buffer-menu-mode-map): Bind it.
5333         (Buffer-menu--pretty-name): Add a mouse-face property.
5335 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5337         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
5338         (prolog-upper-case-string, prolog-lower-case-string)
5339         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5340         (prolog-use-smie, prolog-smie-grammar): New vars.
5341         (prolog-smie-forward-token, prolog-smie-backward-token)
5342         (prolog-smie-rules): New funs.
5343         (prolog-comment-indent): Remove.
5344         (prolog-mode-variables): Use default comment indentation instead.
5345         Setup SMIE.
5346         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5347         (prolog-mode): Don't call them any more.
5348         (prolog-electric-colon, prolog-electric-dash)
5349         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5351         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5353         * minibuffer.el (completion--twq-all): Again, allow case differences.
5355         * term.el: Move keymap initialization code to be more idiomatic.
5356         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5357         (term-terminal-menu): Move initialization into declaration.
5358         (term-escape-char): Let the user set it in her .emacs.
5360         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5361         Provide SMIE-based indentation (not enabled by default yet).
5362         (sh-mode-map): Don't bind electric keys.
5363         Use electric-pair-mode instead of skeleton-pair.
5364         (sh-assignment-regexp): Fit within 80 columns.
5365         (sh-indent-supported): Specify actual shell name instead of boolean.
5366         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5367         (sh-maybe-here-document): Use it.  Make obsolete.
5368         (sh-electric-here-document-mode) New minor mode.
5369         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
5370         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5371         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5372         (sh-smie-rc-grammar, sh-use-smie): New vars.
5373         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5374         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5375         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5376         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5377         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5378         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5379         (sh-set-shell): Use smie-setup if requested.
5381         * term.el (term-set-escape-char): Properly set term-escape-char.
5382         See http://stackoverflow.com/questions/10524656.
5384 2012-05-10  Chong Yidong  <cyd@gnu.org>
5386         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5387         Use url-generic-parse-url, and handle host names and Windows
5388         filenames properly.
5389         (ffap-url-unwrap-remote): Use url-generic-parse-url.
5390         (ffap-url-unwrap-remote): Accept list values, specifying a list of
5391         URL schemes to work on.
5392         (ffap--toggle-read-only): New function.
5393         (ffap-read-only, ffap-read-only-other-window)
5394         (ffap-read-only-other-frame): Use it.
5395         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5396         necessary for ffap-url-unwrap-remote.
5398 2012-05-10  Dave Abrahams  <dave@boostpro.com>
5400         * cus-start.el (create-lockfiles): Add it.
5402 2012-05-09  Chong Yidong  <cyd@gnu.org>
5404         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5405         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5407 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5409         * shell.el (shell-completion-vars): Fix last change (bug#11348).
5411 2012-05-09  Chong Yidong  <cyd@gnu.org>
5413         * ansi-color.el (ansi-color-process-output): Check for validity of
5414         comint-last-output-start before using it.  This avoids a bad
5415         interaction with gdb-mi's input/output buffer.
5417 2012-05-09  Glenn Morris  <rgm@gnu.org>
5419         * files.el (dir-locals-read-from-file):
5420         Mention dir-locals in any error message.
5422 2012-05-09  Chong Yidong  <cyd@gnu.org>
5424         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5425         package (Bug#11410).
5427         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5428         variables into description.
5430 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5432         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5433         shell-delimiter-argument-list (bug#11348).
5434         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5436 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
5438         * textmodes/rst.el: Silence byte-compiler warnings.
5439         (rst-re-alist, rst-reset-section-caches): Move around.
5440         (rst-re): Use `characterp', not `char-valid-p'.
5441         (font-lock-beg, font-lock-end): Declare.
5443         * progmodes/idlw-shell.el (specs): Remove reference to deleted
5444         variable `idlwave-shell-activate-alt-keybindings' and simplify.
5446         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5448 2012-05-08  Glenn Morris  <rgm@gnu.org>
5450         * files.el (auto-mode-alist): Treat ".make" like ".mk".
5452 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5454         * vc/log-edit.el: Add GNU coding standards highlighting.
5455         (log-edit-font-lock-gnu-style)
5456         (log-edit-font-lock-gnu-keywords): New vars.
5457         (log-edit-font-lock-keywords): New fun.
5458         (log-edit-mode): Don't fold case in font-lock.
5459         (log-edit-font-lock-keywords): Do not assume case-folding.
5461         * imenu.el: Misc cleanup.  Make docstrings out of comments.
5462         Use lexical-binding.
5463         (imenu--index-alist, imenu--last-menubar-index-alist)
5464         (imenu-menubar-modified-tick): Use defvar-local.
5465         (imenu--split-menu): Remove unused var.
5466         (imenu--cleanup-seen): Declare as global.
5467         (imenu--cleanup): Use dolist.
5469         * subr.el (defvar-local): Add debug spec and doc-string position.
5471 2012-05-08  Glenn Morris  <rgm@gnu.org>
5473         * language/burmese.el, language/cham.el, language/czech.el:
5474         * language/english.el, language/georgian.el, language/greek.el:
5475         * language/japanese.el, language/khmer.el, language/korean.el:
5476         * language/lao.el, language/misc-lang.el, language/romanian.el:
5477         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5478         * language/thai.el, language/utf-8-lang.el:
5479         Remove no-byte-compile setting.
5481         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
5483 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5485         * progmodes/make-mode.el (makefile-browse):
5486         Remove unnecessary interactive.  (Bug#11324)
5488 2012-05-07  Glenn Morris  <rgm@gnu.org>
5490         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5492         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5494 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5496         * loadup.el: Preload newcomment.el.
5497         * newcomment.el: Move autoload-only code to toplevel.
5499         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5500         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5501         Handle new :right-align column property.
5502         (tabulated-list-print-col): Idem, plus use `display' text-property to
5503         try and preserve alignment for variable pitch fonts.
5505 2012-05-07  Chong Yidong  <cyd@gnu.org>
5507         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5508         (tabulated-list-use-header-line): New var.
5509         (tabulated-list-init-header): Use it.
5510         (tabulated-list-print-fake-header): New function.
5511         (tabulated-list-print): Use it.
5512         (tabulated-list-sort-button-map): Add non-header-line commands.
5513         (tabulated-list-init-header): Add column name property to basic
5514         labels as well.
5515         (tabulated-list-col-sort): Handle non-header-line button case.
5516         (tabulated-list--sort-by-column-name): Fix a corner case.
5518         * buff-menu.el (list-buffers--refresh):
5519         Handle Buffer-menu-use-header-line.
5521 2012-05-06  Chong Yidong  <cyd@gnu.org>
5523         * buff-menu.el: Convert to Tabulated List mode.
5524         (Buffer-menu-buffer+size-width): Make obsolete.
5525         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5526         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5527         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
5528         documentation into docstring of buffer-menu.
5529         (Buffer-menu-toggle-files-only): Add an informative message.
5530         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5531         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5532         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5533         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5534         (Buffer-menu-execute, Buffer-menu-select)
5535         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5536         (Buffer-menu-bury): Use Tabulated List machinery.
5537         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5538         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5539         Delete.
5540         (list-buffers--refresh): New function.
5541         (list-buffers-noselect): Use it.
5542         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5543         (Buffer-menu--pretty-file-name): New helper functions.
5545         * loadup.el: Preload tabulated-list.
5547         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5548         tabulated-list-sort-column.
5549         (tabulated-list-init-header): Add the initial aligning space even
5550         if tabulated-list-padding is zero.
5552 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
5554         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5555         whose cdr is not a cons cell correctly (bug#11038).
5557 2012-05-06  Chong Yidong  <cyd@gnu.org>
5559         * emacs-lisp/tabulated-list.el (tabulated-list-format):
5560         Accept additional plist in column descriptors.
5561         (tabulated-list-init-header): Obey it.
5562         (tabulated-list-get-entry): New function.
5563         (tabulated-list-put-tag): Use it.  Use string-width instead of
5564         length.
5565         (tabulated-list--column-number): New function.
5566         (tabulated-list-print): Use it.
5567         (tabulated-list-print-col): New function.
5568         Set `tabulated-list-column-name' property on each column's text.
5569         (tabulated-list-print-entry): Use it.
5570         (tabulated-list-delete-entry, tabulated-list-set-col):
5571         New functions.
5572         (tabulated-list-sort-column): New command (Bug#11337).
5574         * buff-menu.el (list-buffers): Move C-x C-b binding from
5575         buff-menu.el to bindings.el.
5577         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5578         :advertised-binding feature.
5580 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
5582         * progmodes/compile.el (compilation-internal-error-properties):
5583         Calculate start position correctly when end-col is set but
5584         end-line is not (Bug#11382).
5586 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
5588         * man.el (Man-unindent): Use text-property-default-nonsticky to
5589         prevent untabify from inheriting face properties (Bug#11408).
5591 2012-05-05  Stefan Merten  <smerten@oekonux.de>
5593         * textmodes/rst.el: Major merge with upstream development up to
5594         Docutils SVN r7399 / rst.el V1.2.1.
5596         Clarify maintainership and authors.
5598         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5599         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5600         (rst-official-version, rst-official-cvs-rev, rst-version)
5601         (rst-package-emacs-version-alist): New functions and variables
5602         for version information.
5604         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5605         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5606         (rst-mode-syntax-table, rst-mode): New and corrected functions
5607         and variables representing reStructuredText features.
5609         (rst-re): New function for reStructuredText regexes.  Use in
5610         many places.
5612         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5613         (rst-mode-map): Rebind keys.
5615         (rst-mode-lazy, rst-font-lock-keywords)
5616         (rst-font-lock-extend-region)
5617         (rst-font-lock-extend-region-internal)
5618         (rst-font-lock-extend-region-extend)
5619         (rst-font-lock-find-unindented-line-limit)
5620         (rst-font-lock-find-unindented-line-match)
5621         (rst-adornment-level, rst-font-lock-adornment-level)
5622         (rst-font-lock-adornment-match)
5623         (rst-font-lock-handle-adornment-pre-match-form)
5624         (rst-font-lock-handle-adornment-matcher): Major revision of
5625         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
5627         (rst-preferred-adornments, rst-adjust-hook)
5628         (rst-new-adornment-down, rst-preferred-bullets)
5629         (rst-preferred-bullets, rst-indent, rst-indent-width)
5630         (rst-indent-field, rst-indent-literal-normal)
5631         (rst-indent-literal-minimized, rst-indent-comment): Change,
5632         extend and improve customization.
5634         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5635         (rst-normalize-cursor-position, rst-get-decoration)
5636         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5637         (rst-rstrip, rst-toc-insert-find-delete-contents)
5638         (rst-shift-fill-region, rst-compute-bullet-tabs)
5639         (rst-debug-print-tabs, rst-debug-mark-found)
5640         (rst-shift-region-guts, rst-shift-region-right)
5641         (rst-shift-region-left, rst-use-char-classes)
5642         (rst-font-lock-keywords-function)
5643         (rst-font-lock-indentation-point)
5644         (rst-font-lock-find-unindented-line-begin)
5645         (rst-font-lock-find-unindented-line-end)
5646         (rst-font-lock-find-unindented-line)
5647         (rst-font-lock-adornment-point, rst-font-lock-level)
5648         (rst-adornment-level-alist): Remove functions and variables.
5650         (rst-compare-adornments, rst-get-adornment-match)
5651         (rst-suggest-new-adornment, rst-get-adornments-around)
5652         (rst-adornment-complete-p, rst-get-next-adornment)
5653         (rst-adjust-adornment, rst-display-adornments-hierarchy)
5654         (rst-straighten-adornments): Standardize function names to
5655         use "adornment" instead of "decoration".  Correct callers.
5656         Similar standardizing in many places.
5658         (rst-update-section, rst-adjust, rst-promote-region)
5659         (rst-enumerate-region, rst-bullet-list-region)
5660         (rst-repeat-last-character): Correct use of `interactive'.
5662         (rst-classify-adornment, rst-find-all-adornments)
5663         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5664         (rst-find-leftmost-column, rst-repeat-last-character):
5665         Refactor functions.
5667         (rst-find-title-line, rst-reset-section-caches)
5668         (rst-get-adornments-around, rst-adjust-adornment-work)
5669         (rst-arabic-to-roman, rst-roman-to-arabic)
5670         (rst-insert-list-pos, rst-insert-list-new-item)
5671         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5672         New functions.
5674         (rst-all-sections, rst-section-hierarchy)
5675         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5676         New variables.
5678         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5679         configuration instead of only buffer.  Change where necessary.
5681         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5682         (rst-shift-region, rst-adaptive-fill): New functions for
5683         indentation and filling.
5685         (rst-comment-line-break, rst-comment-indent)
5686         (rst-comment-insert-comment, rst-comment-region)
5687         (rst-uncomment-region): New functions for handling comments.
5689         (rst-compile): Quote shell arguments.
5691         (rst-compile-pdf-preview, rst-compile-slides-preview):
5692         Delete temporary files after use.
5694 2012-05-05  Glenn Morris  <rgm@gnu.org>
5696         * calendar/cal-html.el: Optionally include holidays in the output.
5697         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5698         (cal-html-holidays): New option.
5699         (cal-html-css-default): Add holiday entry.
5700         (holiday-in-range): Autoload it.
5701         (cal-html-htmlify-entry): Add optional class argument.
5702         (cal-html-htmlify-list): Add optional holidays argument.
5703         (cal-html-insert-agenda-days): Include holidays in the output.
5704         (cal-html-one-month): Maybe include holidays.
5706         * calendar/holidays.el (holiday-in-range):
5707         Move here from cal-tex-list-holidays.
5708         * calendar/cal-tex.el (cal-tex-list-holidays):
5709         Make it an obsolete alias for holiday-in-range.  Update all callers.
5711 2012-05-05  Chong Yidong  <cyd@gnu.org>
5713         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5714         Nextstep.
5716 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
5718         * files.el (file-auto-mode-skip): New var.
5719         (set-auto-mode-1): Use it.
5721 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5723         * repeat.el: Use lexical-binding.
5724         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5725         (repeat-undo-count): Remove.
5726         (repeat):
5727         * progmodes/octave-mod.el (octave-abbrev-start):
5728         * progmodes/f90.el (f90-abbrev-start):
5729         * face-remap.el (text-scale-adjust):
5730         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5732         * emacs-lisp/pcase.el (pcase--let*): New function.
5733         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5734         a bit more.
5735         (pcase--split-pred): Be more clever about ruling out overlap between
5736         a predicate and some constant pattern.
5737         (pcase--q1): Use `null' instead of (eq foo nil).
5739         * subr.el (setq-local, defvar-local): New macros.
5740         (kbd): Redefine as an alias.
5741         (with-selected-window): Leave unrelated frames alone.
5742         (set-temporary-overlay-map): New function.
5744 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5746         * subr.el (user-error): New function.
5747         * window.el (switch-to-buffer):
5748         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5749         (smerge-match-conflict):
5750         * simple.el (previous-matching-history-element)
5751         (next-matching-history-element, goto-history-element, undo-more)
5752         (undo-start):
5753         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5754         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5755         (next-file, tags-loop-scan, list-tags, complete-tag):
5756         * progmodes/compile.el (compilation-loop):
5757         * mouse.el (mouse-minibuffer-check):
5758         * man.el (Man-bgproc-sentinel, Man-goto-page):
5759         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5760         (Info-history-forward, Info-follow-reference, Info-menu)
5761         (Info-extract-menu-item, Info-extract-menu-counting)
5762         (Info-forward-node, Info-backward-node, Info-next-menu-item)
5763         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5764         (Info-next-reference, Info-prev-reference, Info-index)
5765         (Info-index-next, Info-follow-nearest-node)
5766         (Info-copy-current-node-name):
5767         * imenu.el (imenu--make-index-alist)
5768         (imenu-default-create-index-function, imenu-add-to-menubar):
5769         * files.el (basic-save-buffer, recover-file):
5770         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5771         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5772         (checkdoc-message-text, checkdoc-defun):
5773         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5774         * cus-edit.el (customize-changed-options, customize-rogue)
5775         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5776         (custom-variable-mark-to-reset-standard)
5777         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5778         (custom-file):
5779         * completion.el (check-completion-length):
5780         * comint.el (comint-search-arg)
5781         (comint-previous-matching-input-string-position)
5782         (comint-previous-matching-input)
5783         (comint-replace-by-expanded-history-before-point, comint-send-input)
5784         (comint-copy-old-input, comint-backward-matching-input)
5785         (comint-goto-process-mark, comint-set-process-mark):
5786         * calendar/calendar.el (calendar-cursor-to-date): Use it.
5787         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5789 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5791         * dabbrev.el (dabbrev--ignore-case-p): New function.
5792         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5793         Use it.
5795         * files.el (automount-dir-prefix): Mark as obsolete.
5797 2012-05-04  Glenn Morris  <rgm@gnu.org>
5799         * patcomp.el, play/bruce.el: Move to obsolete/.
5801 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
5803         Fix minor Y10k bugs.
5804         * arc-mode.el (archive-unixdate):
5805         * autoinsert.el (auto-insert-alist):
5806         * calc/calc-forms.el (math-this-year):
5807         * emacs-lisp/copyright.el (copyright-current-year)
5808         (copyright-update-year, copyright):
5809         * tar-mode.el (tar-clip-time-string):
5810         * time.el (display-time-update):
5811         Don't assume years have 4 digits.
5813 2012-05-04  Chong Yidong  <cyd@gnu.org>
5815         * dos-w32.el (file-name-buffer-file-type-alist)
5816         (direct-print-region-use-command-dot-com):
5817         * ffap.el (ffap-menu-regexp):
5818         * find-file.el (ff-special-constructs):
5819         * follow.el (follow-debug):
5820         * forms.el (forms--debug):
5821         * iswitchb.el (iswitchb-all-frames):
5822         * ido.el (ido-all-frames):
5823         * emacs-lisp/timer.el (timer-max-repeats):
5824         * mail/feedmail.el (feedmail-mail-send-hook)
5825         (feedmail-mail-send-hook-queued):
5826         * mail/footnote.el (footnote-signature-separator):
5827         * mail/mailabbrev.el (mail-alias-separator-string)
5828         (mail-abbrev-mode-regexp):
5829         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5830         * progmodes/idlwave.el (idlwave-libinfo-file)
5831         (idlwave-default-completion-case-is-down)
5832         (idlwave-library-routines): Convert defvars to defcustoms.
5834         * mail/rmail.el (rmail-decode-mime-charset):
5835         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5836         (idlwave-shell-fix-inserted-breaks)
5837         (idlwave-shell-activate-alt-keybindings)
5838         (idlwave-shell-use-breakpoint-glyph):
5839         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5841 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5843         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5845 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
5847         * progmodes/verilog-mode.el (font-lock-keywords):
5848         Fix mis-highligting auto.  Reported by Craig Barner.
5849         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5850         defines from global name space. Reported by Dan Dever.
5851         (verilog-auto-reset, verilog-auto-reset-widths)
5852         (verilog-auto-tieoff): Support using unbased numbers for
5853         AUTORESET and AUTOTIEOFF.
5854         (verilog-submit-bug-report): Update variable list.
5855         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5856         parenthesis from not matching. Reported by Michael Rytting.
5857         (verilog-auto-template-lint): Fix hash error when linting modules
5858         with no used templates.
5859         (verilog-warn, verilog-warn-error)
5860         (verilog-warn-fatal): When non-interactive report multiple
5861         warnings before exiting.  Suggested by Brad Dobbie.
5862         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5863         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5864         to report unused template errors.  Reported by Brad Dobbie.
5865         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5866         nets, bug438. Reported by Vns Blore.
5867         (verilog-auto-inout-module, verilog-auto-reg)
5868         (verilog-read-decls, verilog-read-sub-decls-sig)
5869         (verilog-signals-edit-wire-reg, verilog-signals-with):
5870         Fix passing of Verilog data types in ANSI input/output ports
5871         such as "output logic" into the AUTOs. Special case "wire" and
5872         "reg" for backwards compatibility presuming Verilog 2001.
5873         (verilog-auto-ascii-enum): Add "auto enum" as alias.
5874         (verilog-preprocess): Fix replication of preprocess output.
5875         Reported by Brad Dobbie.
5876         (verilog-auto-inst-interfaced-ports):
5877         Create verilog-auto-inst-interfaced-ports, bug429.
5878         Reported by Julian Gorfajn.
5879         (verilog-after-save-font-hook)
5880         (verilog-before-save-font-hook): New variable.
5881         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5882         (verilog-save-font-mods): Wrap disabling fontification, reported
5883         by David Rogoff.
5884         (verilog-do-indent, verilog-pretty-declarations-auto)
5885         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5886         Reported by Pierre-David Pfister.
5887         (verilog-set-auto-endcomments): Fix endtask auto comments outside
5888         of class declarations, bug292.  Reported by Kevin Heilman.
5889         (verilog-read-decls): Fix 'parameter type' not appearing in
5890         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
5891         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5892         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5893         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5894         Reported by David Kravitz.
5896 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
5898         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5899         assignment with tests in ifs and for loops.
5900         (verilog-extended-complete-re, verilog-complete-reg): Change so
5901         that DPI inport functions don't look like fuction declarations.
5902         (verilog-pretty-expr): Don't line up assignment
5903         operations to the test and increment in if and for loops
5904         (verilog-extended-complete-re, verilog-complete-reg): Change so
5905         that DPI inport functions don't look like fuction declarations.
5907 2012-05-03  Kenichi Handa  <handa@m17n.org>
5909         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5910         decoding, and show a warning message without signaling an error
5911         (Bug#11282).
5913 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5915         * emacs-lisp/bytecomp.el
5916         (byte-compile-file-form-custom-declare-variable): Compile all elements,
5917         since cconv.el might have introduced :fun-body, internal-make-closure,
5918         and friends for bytecomp to handle (bug#11391).
5919         * custom.el (defcustom): Avoid ((λ ..) ..).
5921 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5923         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5925 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
5927         * notifications.el (dbus-debug):
5928         * term/linux.el (gpm-mouse-enable):
5929         * term/screen.el (xterm-register-default-colors): Declare.
5931 2012-05-02  Chong Yidong  <cyd@gnu.org>
5933         * cus-start.el (gc-cons-percentage, exec-suffixes)
5934         (dos-display-scancodes, dos-hyper-key, dos-super-key)
5935         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5936         (make-cursor-line-fully-visible, void-text-area-pointer)
5937         (font-list-limit): Add customization data.
5939         * allout.el (allout-exposure-change-functions)
5940         (allout-structure-added-functions)
5941         (allout-structure-deleted-functions)
5942         (allout-structure-shifted-functions): Rename abnormal hooks from
5943         *-hook, and convert to defcustoms.
5944         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5945         Convert to defcustoms.
5946         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5948         * allout-widgets.el: Hook callers changed.
5950 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
5952         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5953         the yanked message in preference to the default value of
5954         buffer-file-coding-system.
5956 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
5958         * window.el (display-buffer--action-function-custom-type):
5959         Fix entry.
5961 2012-05-02  Alan Mackenzie  <acm@muc.de>
5963         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5965 2012-05-01  Glenn Morris  <rgm@gnu.org>
5967         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5969         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
5971         * cus-edit.el (custom-variable-documentation): Simplify with format.
5973 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5974             Stefan Monnier  <monnier@iro.umontreal.ca>
5976         * simple.el (suggest-key-bindings, execute-extended-command):
5977         Move from keyboard.c.
5979 2012-05-01  Chong Yidong  <cyd@gnu.org>
5981         * follow.el: Eliminate advice.
5982         (set-process-filter, process-filter, sit-for): Advice deleted.
5983         (follow-mode-off-hook): Obsolete hook removed.
5984         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5985         Vars deleted.
5986         (follow-auto): Use a :set function.
5987         (follow-mode): Rewritten.  Don't advise process filters.
5988         (follow-switch-to-current-buffer-all, follow-scroll-up)
5989         (follow-scroll-down): Assume follow-mode is bound.
5990         (follow-comint-scroll-to-bottom)
5991         (follow-align-compilation-windows): New functions.
5992         (follow--window-sorter): New function.
5993         (follow-all-followers): Use it to explicitly sort windows by their
5994         positions; don't make assumptions about next-window order.
5995         (follow-windows-start-end, follow-delete-other-windows-and-split)
5996         (follow-calc-win-start): Doc fix.
5997         (follow-windows-aligned-p, follow-select-if-visible): Don't call
5998         vertical-motion unnecessarily.
5999         (follow-adjust-window): New function.
6000         (follow-post-command-hook): Use it.
6001         (follow-call-set-process-filter, follow-call-process-filter)
6002         (follow-intercept-process-output, follow-tidy-process-filter-alist)
6003         (follow-stop-intercept-process-output, follow-generic-filter):
6004         Functions deleted.
6005         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
6006         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
6007         New functions, replacing advice on scroll-bar-* commands.
6008         (follow-mwheel-scroll): New function (Bug#4112).
6010         * comint.el (comint-adjust-point): New function.
6011         (comint-postoutput-scroll-to-bottom): Use it.
6012         Call follow-comint-scroll-to-bottom for Follow mode buffers.
6014 2012-05-01  Glenn Morris  <rgm@gnu.org>
6016         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
6017         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
6018         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
6019         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
6020         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
6021         Remove no-byte-compile setting.
6023 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6025         * minibuffer.el (completion-table-with-quoting): Fix compatibility
6026         all-completions code to not return a number in the last cdr.
6028 2012-04-30  Leo Liu  <sdl.web@gmail.com>
6030         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
6031         read-only error.
6033 2012-04-29  Chong Yidong  <cyd@gnu.org>
6035         * follow.el (follow-calc-win-end): Rewrite to handle partial
6036         screen lines correctly (Bug#8390).
6037         (follow-avoid-tail-recenter): Minor cleanup.
6039 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6041         Avoid the obsolete `assoc' package.
6042         * speedbar.el (speedbar-refresh): Avoid adelete.
6043         (speedbar-file-lists): Simplify and avoid aput.
6044         * man.el (Man--sections, Man--refpages): New vars, replacing
6045         Man-sections-alist and Man-refpages-alist.
6046         (Man-build-section-alist, Man-build-references-alist):
6047         Use them; avoid aput.
6048         (Man--last-section, Man--last-refpage): New vars.
6049         (Man-follow-manual-reference): Use them.
6050         Use the `default' arg of completing-read.
6051         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
6053 2012-04-27  Chong Yidong  <cyd@gnu.org>
6055         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
6057         * startup.el (x-apply-session-resources): New function.
6059         * term/ns-win.el (ns-initialize-window-system):
6060         * term/w32-win.el (w32-initialize-window-system):
6061         * term/x-win.el (x-initialize-window-system): Use it to properly
6062         set menu-bar-mode and other vars from X resources, even if the
6063         initial frame is not a window-system frame (Bug#2299).
6065         * subr.el (read-key): Avoid running filter function when setting
6066         up temporary tool bar entries (Bug#9922).
6068 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6070         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
6071         (Bug#11344)
6073 2012-04-27  Chong Yidong  <cyd@gnu.org>
6075         * select.el (xselect--encode-string): New function, split from
6076         xselect-convert-to-string.
6077         (xselect-convert-to-string): Use it.
6078         (xselect-convert-to-filename, xselect-convert-to-os)
6079         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
6080         returned strings are properly encoded (Bug#11315).
6082 2012-04-27  Chong Yidong  <cyd@gnu.org>
6084         * simple.el (delete-active-region): Move to killing custom group.
6086 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
6088         * progmodes/which-func.el (which-func-current): Quote %
6089         characters for mode-line processing.
6091 2012-04-27  Chong Yidong  <cyd@gnu.org>
6093         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
6094         reaching eob (Bug#11286).
6096 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
6098         * progmodes/gdb-mi.el (gdb-control-level): New variable.
6099         (gdb): Make it buffer-local and init to zero.
6100         (gdb-control-commands-regexp): New variable.
6101         (gdb-send): Don't wrap in "-interpreter-exec console" if
6102         gdb-control-level is positive.  Increment gdb-control-level
6103         whenever the command matches gdb-control-commands-regexp, and
6104         decrement it each time the command is "end".  (Bug#11279)
6106 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
6108         * window.el (adjust-window-trailing-edge, enlarge-window)
6109         (shrink-window, window-resize):
6110         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
6111         windows (Bug#11276).
6113 2012-04-27  Chong Yidong  <cyd@gnu.org>
6115         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
6116         fix "missing prefix" warning.  All callers changed.
6118 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6120         * emacs-lisp/assoc.el: Move to obsolete/.
6122 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6124         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
6126         * term/ns-win.el (ns-define-service):
6127         * progmodes/pascal.el (pascal-goto-defun):
6128         * progmodes/js.el (js--read-tab):
6129         * progmodes/etags.el (tags-lazy-completion-table):
6130         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
6131         * emacs-lisp/ewoc.el (ewoc--wrap):
6132         * emacs-lisp/assoc.el (aput, adelete, amake):
6133         * doc-view.el (doc-view-convert-current-doc):
6134         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
6136 2012-04-26  Chong Yidong  <cyd@gnu.org>
6138         * image.el (image-type-from-buffer): Only return supported image
6139         type (Bug#9045).
6141         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
6142         value, for symmetry with diff-end-of-hunk.
6143         (diff-split-hunk, diff-find-source-location)
6144         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
6145         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
6146         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
6147         compute the relevant hunk or file properly (Bug#6005).
6148         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
6150 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6152         * vc/vc-mtn.el:
6153         * vc/vc-hg.el:
6154         * vc/vc-git.el:
6155         * vc/vc-dir.el:
6156         * vc/vc-cvs.el:
6157         * vc/vc-bzr.el:
6158         * vc/vc-arch.el:
6159         * vc/vc.el: Replace lexical-let by lexical-binding.
6160         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
6161         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
6162         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
6164 2012-04-26  Chong Yidong  <cyd@gnu.org>
6166         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
6167         (diff-mode-shared-map): Bind it to / and [remap undo].
6169         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
6170         (ediff-window-setup-function): Use it as the default, to set up
6171         windows based on whether the current frame is graphical (Bug#2138).
6172         (ediff-choose-window-setup-function-automatically): Make obsolete.
6174         * vc/ediff-init.el: Always define ediff-pixel-width/height.
6176 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * ffap.el: Remove old code for obsolete package.
6179         (ffap-complete-as-file-p): Remove.
6181         Use completion-table-with-quoting for comint and pcomplete.
6182         * comint.el (comint--unquote&requote-argument)
6183         (comint--unquote-argument, comint--requote-argument): New functions.
6184         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
6185         (comint-quote-filename): Use regexp-opt-charset.
6186         (comint--common-suffix, comint--common-quoted-suffix)
6187         (comint--table-subvert): Remove.
6188         (comint-unquote-function, comint-requote-function): New vars.
6189         (comint--complete-file-name-data): Use them with
6190         completion-table-with-quoting.
6191         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
6192         * pcomplete.el (pcomplete-arg-quote-list)
6193         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
6194         (pcomplete-unquote-argument-function): Default to non-nil.
6195         (pcomplete-unquote-argument): Simplify.
6196         (pcomplete--common-quoted-suffix): Remove.
6197         (pcomplete-requote-argument-function): New var.
6198         (pcomplete--common-suffix): New function.
6199         (pcomplete-completions-at-point): Use completion-table-with-quoting
6200         and completion-table-subvert.
6202         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
6203         (minibuffer--double-dollars): Preserve properties.
6204         (completion--sifn-requote): New function.
6205         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
6207         * minibuffer.el: Add support for completion of quoted/escaped data.
6208         (completion-table-with-quoting, completion-table-subvert): New funs.
6209         (completion--twq-try, completion--twq-all): New functions.
6210         (completion--nth-completion): New function.
6211         (completion-try-completion, completion-all-completions): Use it.
6213 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6215         * progmodes/python.el (python-pdbtrack-get-source-buffer):
6216         Use compilation-message if available to find real filename.
6218 2012-04-25  Chong Yidong  <cyd@gnu.org>
6220         * vc/diff-mode.el (diff-setup-whitespace): New function.
6221         (diff-mode): Use it.
6223         * vc/diff.el (diff-sentinel):
6224         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
6225         Whitespace mode variables based on diff style (Bug#8612).
6227 2012-04-25  Leo Liu  <sdl.web@gmail.com>
6229         * progmodes/python.el (python-send-region): Add suffix .py to the
6230         temp file.
6232         * files.el (auto-mode-alist): Use javascript-mode instead.
6234 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
6236         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
6238         * net/soap-client.el (soap-resolve-references-for-sequence-type)
6239         (soap-resolve-references-for-array-type): Hack to prevent self
6240         references, see Bug#9.
6241         (soap-parse-envelope): Report the contents of the 'detail' node
6242         when receiving a fault reply.
6243         (soap-parse-envelope): Report the contents of the entire 'detail' node.
6245         * net/soap-inspect.el (soap-sample-value-for-simple-type)
6246         (soap-inspect-simple-type): New function.
6248         * net/soap-client.el (soap-simple-type): New struct.
6249         (soap-default-xsd-types, soap-default-soapenc-types)
6250         (soap-decode-basic-type, soap-encode-basic-type):
6251         support unsignedInt and double basic types.
6252         (soap-resolve-references-for-simple-type)
6253         (soap-parse-simple-type, soap-encode-simple-type): New function.
6254         (soap-parse-schema): Parse xsd:simpleType declarations.
6256         * net/soap-client.el (soap-default-xsd-types)
6257         (soap-default-soapenc-types): Add integer, byte and anyURI types.
6258         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6259         the local name of "soapenc:Array".
6260         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6261         decoding integer, byte and anyURI xsd types.
6263 2012-04-25  Chong Yidong  <cyd@gnu.org>
6265         * cus-edit.el (custom-buffer-create-internal): Update header text.
6267 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
6269         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6270         settings on 'system-type', not on 'window-system'.  On MS-Windows,
6271         set interactive-mode on in GDB.
6273 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6275         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6276         (ruby-syntax-propertize-regexp): Remove.
6277         (ruby-syntax-propertize-function): Split regexp into chunks.
6278         Match following code directly.
6280 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
6282         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6283         (ruby-syntax-propertize-regexp): New function.
6284         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6285         by a special keyword.
6287         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6288         (ruby-syntax-general-delimiters-goto-beg)
6289         (ruby-syntax-propertize-general-delimiters): New functions.
6290         (ruby-syntax-propertize-function): Use them to handle GDL.
6291         (ruby-font-lock-keywords): Move old handling of GDL...
6292         (ruby-font-lock-syntactic-keywords): .. to here.
6293         (ruby-calculate-indent): Adjust indentation for GDL.
6295 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
6297         * notifications.el (top): Remove unneeded declarations.
6298         (notifications-specification-version): Change to "1.2".
6299         (notifications-interface, notifications-notify-method)
6300         (notifications-close-notification-method): Fix docstring.
6301         (notifications-get-capabilities-method): New defconst.
6302         (notifications-notify): Add :action-items, :resident and
6303         :transient hints.  Change "image_data" to "image-data" and
6304         "image_path" to "image-path".
6305         (notifications-get-capabilities): New defun.
6307 2012-04-24  Leo Liu  <sdl.web@gmail.com>
6309         * progmodes/python.el: Move hideshow setup to the end.
6311 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
6313         * window.el (handle-select-window): Clear echo area since this is
6314         no more done by read_char (Bug#11304).
6316 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6318         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6319         and `/ M' to filter-derived-mode.
6320         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6321         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6322         (ibuffer-mark-by-mode): Use default rather than initial-input.
6323         (ibuffer-filter-by-derived-mode): Autoload and require-match.
6325 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
6327         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6328         (ibuffer-filter-by-derived-mode): New filter.
6329         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6331 2012-04-23  Andreas Politz  <politza@fh-trier.de>
6333         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6335 2012-04-23  Chong Yidong  <cyd@gnu.org>
6337         * cus-edit.el (customize-apropos, customize-apropos-options):
6338         Disable matching of non-option variables (Bug#11176).
6339         (customize-option, customize-option-other-window)
6340         (customize-changed-options): Doc fix.
6341         (customize-apropos-options, customize-apropos-faces)
6342         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6344         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6345         Fix word list splitting (Bug#11132).
6346         (apropos-symbol, apropos-keybinding, apropos-label)
6347         (apropos-property, apropos-function-button)
6348         (apropos-variable-button, apropos-misc-button): New faces.
6349         (apropos-symbol-face, apropos-keybinding-face)
6350         (apropos-label-face, apropos-property-face, apropos-match-face):
6351         Variables removed (Bug#8396).
6352         (apropos-library-button, apropos-format-plist, apropos-print)
6353         (apropos-print-doc, apropos-describe-plist): Callers changed.
6355 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
6357         * net/xesam.el (xesam-mode-map): Use let-bound map in
6358         initialization.  (Bug#11292)
6360 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6362         Preserve ispell session localwords when switching back to
6363         original buffer.
6365         * textmodes/ispell.el (ispell-buffer-session-localwords):
6366         New buffer-local variable to hold buffer session localwords.
6367         (ispell-kill-ispell): Add option 'clear to delete session
6368         localwords.
6369         (ispell-command-loop, ispell-change-dictionary)
6370         (ispell-buffer-local-words): Preserve session localwords when
6371         needed.
6373         * textmodes/flyspell.el (flyspell-process-localwords)
6374         (flyspell-do-correct): Preserve session localwords when needed.
6376 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6378         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6379         using obsolete `translation-table-for-input'.
6380         (ispell-word, ispell-process-line, ispell-complete-word):
6381         Use plain `insert' instead of removed `ispell-insert-word'.
6383 2012-04-22  Chong Yidong  <cyd@gnu.org>
6385         * cus-edit.el (custom-variable-menu)
6386         (custom-variable-reset-saved, custom-face-menu)
6387         (custom-face-reset-saved): If there is no saved value, make the
6388         "reset-saved" operation bring back the default (Bug#9509).
6389         (custom-face-state): Properly detect themed faces.
6391         * faces.el (face-spec-set): Stop supporting deprecated form of
6392         third arg.
6394 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
6396         Move functions from C to Lisp.  Make non-blocking method calls
6397         the default.  Implement further D-Bus standard interfaces.
6399         * net/dbus.el (dbus-message-internal): Declare function.
6400         Remove unneeded function declarations.
6401         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6402         (dbus-message-type-method-return, dbus-message-type-error)
6403         (dbus-message-type-signal): Declare variables.  Remove local
6404         definitions.
6405         (dbus-interface-dbus, dbus-interface-peer)
6406         (dbus-interface-introspectable, dbus-interface-properties)
6407         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6408         Adapt docstring.
6409         (dbus-interface-objectmanager): New defconst.
6410         (dbus-call-method, dbus-call-method-asynchronously)
6411         (dbus-send-signal, dbus-method-return-internal)
6412         (dbus-method-error-internal, dbus-register-service)
6413         (dbus-register-signal, dbus-register-method): New defuns, moved
6414         from dbusbind.c
6415         (dbus-call-method-handler, dbus-setenv)
6416         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6417         New defuns.
6418         (dbus-call-method-non-blocking): Make it an obsolete function.
6419         (dbus-unregister-object, dbus-unregister-service)
6420         (dbus-handle-event, dbus-register-property)
6421         (dbus-property-handler): Obey the new structure of
6422         `bus-registered-objects'.
6423         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
6424         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6425         Use `dbus-call-method'.
6427 2012-04-22  Chong Yidong  <cyd@gnu.org>
6429         * cus-edit.el (custom-commands, custom-reset-menu)
6430         (Custom-reset-standard): Tweak labels.
6431         (custom-reset-button-menu): Change default to t.
6432         (custom-buffer-create-internal): For the custom-reset-button-menu
6433         case, put the revert button first.
6434         (custom-group-subtitle): New face.
6435         (custom-group-value-create): Align docstring to a specific column.
6437         * wid-edit.el (widget-documentation-link-add): Don't handle
6438         indentation in this function.
6439         (widget-documentation-string-indent-to): New function.
6440         (widget-documentation-string-value-create): Use it.
6442         * autorevert.el (auto-revert):
6443         * epg-config.el (epg):
6444         * ibuffer.el (ibuffer):
6445         * mpc.el (mpc):
6446         * ses.el (ses):
6447         * eshell/eshell.el (eshell):
6448         * net/ange-ftp.el (ange-ftp):
6449         * progmodes/ebnf2ps.el (postscript):
6450         * progmodes/flymake.el (flymake):
6451         * progmodes/prolog.el (prolog):
6452         * progmodes/verilog-mode.el (verilog-mode):
6453         * progmodes/which-func.el (which-func):
6454         * term/xterm.el (xterm):
6455         * textmodes/picture.el (picture):
6456         * textmodes/tildify.el (tildify):
6457         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6458         customization buffers.
6460 2012-04-22  Alan Mackenzie  <acm@muc.de>
6462         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6463         Adding a ) can hide the resulting (..) from searches.  Fix it.
6464         Bound the backward search to the position of the existing (.
6466 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
6468         * progmodes/verilog-mode.el (verilog-mode): Check whether
6469         which-func-modes is t before adding verilog-mode.
6470         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6472 2012-04-21  Leo Liu  <sdl.web@gmail.com>
6474         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6476 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
6478         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6479         filling of the last column of a table (Bug#5635).
6480         (woman-find-next-control-line): New arg, specifying an additional
6481         regexp component for the control line.
6482         (woman2-roff-buffer): Use it.
6483         (woman-break-table): New function.
6484         (woman2-TS): Use it.
6486 2012-04-21  Chong Yidong  <cyd@gnu.org>
6488         * woman.el (woman-set-buffer-display-table, woman-decode-region)
6489         (woman-horizontal-escapes, woman-negative-vertical-space)
6490         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6491         (WoMan-warn-ignored): Use ?\s instead of ?\ .
6493 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
6495         * minibuffer.el (completion-file-name-table): Complete user names.
6497 2012-04-20  Leo Liu  <sdl.web@gmail.com>
6499         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6500         and pcase-let*.
6502 2012-04-20  Chong Yidong  <cyd@gnu.org>
6504         * server.el (server-execute): Respect initial-buffer-choice if it
6505         is a string and there are no files to open (Bug#2825).
6506         (server-create-window-system-frame, server-create-tty-frame):
6507         Don't switch buffers here.
6508         (server-process-filter): Only try to open a window system frame if
6509         compiled with graphical support (Bug#8314).
6511 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
6513         * battery.el (battery-echo-area-format): Display remaining time
6514         for sysfs backend too (Bug#11269).
6515         (battery-linux-sysfs): Fix conditional for the charge.
6517 2012-04-20  Chong Yidong  <cyd@gnu.org>
6519         * progmodes/gdb-mi.el (gdb): Revert previous change.
6520         (gdb-inferior-io--init-proc): New function.
6521         (gdb-init-1): Use it.
6522         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6523         responsible for allocating a new pty and hooking it to gdb when
6524         the old pty gets an EIO due to process exit.
6525         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
6526         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6527         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6529 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6531         * window.el (window-min-size, window-sizable, window-min-delta)
6532         (window-max-delta, window--resizable, window-resizable)
6533         (window-total-size, window-full-height-p, window-full-width-p)
6534         (window-in-direction, window--resize-mini-window, window-resize)
6535         (window--resize-child-windows-normal)
6536         (window--resize-child-windows, window--resize-siblings)
6537         (window--resize-this-window, adjust-window-trailing-edge)
6538         (enlarge-window, shrink-window): Doc fixes.
6540 2012-04-20  Chong Yidong  <cyd@gnu.org>
6542         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6543         New function to call delete-process on the gdb-inferior buffer's pty.
6544         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6545         pty process (Bug#11273).
6546         (gdb-update): New arg to suppress talking to the gdb process.
6547         (gdb-done-or-error): Use it.
6548         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6549         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6550         sentinel not being called.
6552         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6554         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6556 2012-04-20  Glenn Morris  <rgm@gnu.org>
6558         * net/network-stream.el (open-network-stream): Doc fix.
6560 2012-04-20  Chong Yidong  <cyd@gnu.org>
6562         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6564 2012-04-20  Alan Mackenzie  <acm@muc.de>
6566         Ensure searching for keywords is case sensitive.
6568         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6569         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6570         (c-defun-name, c-mark-function, c-cpp-define-name)
6571         (c-comment-indent, c-scan-conditionals, c-indent-defun)
6572         (c-context-line-break): Bind case-fold-search to nil.
6574         * progmodes/cc-mode.el (c-font-lock-fontify-region):
6575         Bind case-fold-search to nil.
6577 2012-04-20  Chong Yidong  <cyd@gnu.org>
6579         * mail/sendmail.el (mail-bury): Call return action with the right
6580         Rmail buffer (Bug#11242).
6582         * server.el (server-process-filter): Handle corner case where both
6583         tty and nowait options are present (Bug#11102).
6585 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
6587         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6588         (top level): Put into the executable the ident-style '$Id:' tag on
6589         windows-nt as well.
6591 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6593         * electric.el (electric-indent-post-self-insert-function): Check that
6594         electric-indent-mode is enabled in current buffer.
6596 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6598         * imenu.el (imenu-progress-message): Restore; it is "used" in
6599         erc/erc-imenu.el and net/snmp-mode.el.
6601 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
6603         * avoid.el (mouse-avoidance-mode): Mark unused arg.
6604         (mouse-avoidance-nudge-mouse): Remove unused binding.
6606         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6608         * descr-text.el (describe-char):
6609         * progmodes/python.el (python-describe-symbol):
6610         Don't call `toggle-read-only', set `buffer-read-only'.
6612         * imenu.el (imenu-default-goto-function): Mark unused args.
6613         (imenu-progress-message): Remove obsolete macro; all callers changed.
6615         * subr.el (keymap-canonicalize): Remove unused binding.
6616         (read-passwd): Mark unused arg.
6618         * tutorial.el (tutorial--display-changes): Remove unused binding.
6619         (tutorial--save-tutorial-to): Remove unused variable.
6621         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6622         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6623         (package-generate-autoloads, package-menu--generate)
6624         (package-menu--find-upgrades): Remove unused bindings.
6626         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6627         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
6628         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6629         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6630         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6631         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6632         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6633         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6634         (cua-delete-char-rectangle): Mark unused args.
6635         (cua-align-rectangle): Remove unused binding.
6637         * mail/rmail.el (compilation--message->loc)
6638         (epa--find-coding-system-for-mime-charset): Declare.
6640         * net/dbus.el (dbus-register-service): Declare.
6641         (dbus-name-owner-changed-handler): Remove unused binding.
6643         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6644         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6645         (nxml-scan-backward-within): Mark unused arg.
6646         (nxml-dynamic-markup-word): Remove unused binding.
6648         * mouse.el (mouse-menu-major-mode-map):
6649         * emacs-lisp/authors.el (authors-scan-change-log)
6650         (authors-add-to-author-list):
6651         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6652         * emacs-lisp/smie.el (smie-auto-fill):
6653         * mail/sendmail.el (mail-bury):
6654         * mail/unrmail.el (unrmail):
6655         * net/tls.el (open-tls-stream):
6656         * textmodes/picture.el (picture-mouse-set-point):
6657         Remove unused bindings.
6659 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
6661         * net/tramp.el (tramp-action-password): Let-bind
6662         `enable-recursive-minibuffers' to t.
6664 2012-04-18  Sam Steingold  <sds@gnu.org>
6666         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6667         instead of 'string to accommodate values like [f11].
6668         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6669         * progmodes/gdb-mi.el: Likewise.
6671 2012-04-18  Leo Liu  <sdl.web@gmail.com>
6673         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6674         current buffer.
6675         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6676         LOCAL is nil.
6678 2012-04-18  Chong Yidong  <cyd@gnu.org>
6680         * simple.el (line-move): Use forward-line if in batch mode
6681         (Bug#11053).
6683 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
6685         * files.el (after-find-file): Do not try to add a final newline if
6686         the buffer is read-only (Bug#11156).
6688 2012-04-17  Richard Stallman  <rms@gnu.org>
6690         * mail/rmail.el (rmail-start-mail):
6691         Pass (rmail-mail-return...) for the return-action.
6692         Pass (rmail-yank-current-message...) for the yank-action.
6693         (rmail-yank-current-message): New function.
6694         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6695         (rmail-reply): Likewise.
6696         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6698         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6699         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
6700         buffer, not newbuf.
6702 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
6704         * server.el (server-ensure-safe-dir): Simplify.
6706 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6708         * emacs-lisp/smie.el: Provide smarter auto-filling.
6709         (smie-auto-fill): New function.
6710         (smie-setup): Use it.
6712         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6714 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
6716         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6717         (comment-indent): Use it.
6719 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
6721         * ses.el: The overall change is to add cell renaming, that is
6722         setting fancy names for cell symbols other than name matching
6723         "\\`[A-Z]+[0-9]+\\'" regexp .
6724         (ses-localvars): Add ses--renamed-cell-symb-list.
6725         (ses-create-cell-variable): New defun.
6726         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6727         (ses-relocate-formula): Relocate formulas only for cells the
6728         symbols of which are not renamed, i.e. symbols whose names do not
6729         match regexp "\\`[A-Z]+[0-9]+\\'".
6730         (ses-relocate-all): Relocate values only for cells the symbols of
6731         which are not renamed.
6732         (ses-load): Create cells variables as the (ses-cell ...) are read,
6733         in order to check row col consistency with cell symbol name only
6734         for cells that are not renamed.
6735         (ses-replace-name-in-formula): New defun.
6736         (ses-rename-cell): New defun.
6738 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
6740         * progmodes/perl-mode.el (perl-indent-parens-as-block):
6741         New option (bug#11118).
6742         (perl-calculate-indent): Respect it.
6744 2012-04-17  Glenn Morris  <rgm@gnu.org>
6746         * dired-aux.el (dired-mark-read-string): Doc fix.
6748 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
6750         * dired-aux.el (dired-mark-read-string): Offer optional completion.
6751         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
6753 2012-04-17  Glenn Morris  <rgm@gnu.org>
6755         * mouse.el (mouse-drag-track):
6756         * speedbar.el (speedbar-frame-mode):
6757         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6759 2012-04-16  Leo Liu  <sdl.web@gmail.com>
6761         * progmodes/python.el: Trivial cleanup.
6763 2012-04-16  Glenn Morris  <rgm@gnu.org>
6765         * vc/vc.el (vc-string-prefix-p):
6766         * vc/pcvs-util.el (cvs-string-prefix-p):
6767         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6768         * mpc.el (mpc-string-prefix-p):
6769         Make all of these into obsolete aliases for string-prefix-p.
6770         Update callers.
6771         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6773         * textmodes/two-column.el: Move custom options to the start.
6774         (frame-width): Remove compat definition.
6775         (2C-associate-buffer, 2C-dissociate):
6776         Use with-current-buffer rather than save-excursion.
6777         (2C-dissociate): Force a mode-line update.
6778         (2C-autoscroll): Use ignore-errors.
6780         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6781         Autoload trivia.
6783         * emacs-lisp/cl-extra.el (*random-state*):
6784         Remove unnecessary declaration.
6786         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6788         * play/cookie1.el (cookie-snarf):
6789         Give an explicit error if input file cannot be read.
6791         * play/yow.el (yow-file): Use expand-file-name rather than concat.
6793         * progmodes/perl-mode.el (c-macro-expand):
6794         Remove unnecessary autoload (it is in loaddefs.el).
6796         * textmodes/picture.el (picture-desired-column)
6797         (picture-update-desired-column): Convert comments to doc-strings.
6798         (picture-substitute): Remove function.
6799         (picture-mode-map): Initialize in the defvar.
6801         * woman.el: Remove eval-after-load for tar-mode.
6802         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6803         (woman-tar-extract-file): Autoload it.
6805         * frame.el (automatic-hscrolling): Make this alias obsolete.
6807 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6809         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6810         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6811         (ispell-dictionary-base-alist): Revert to original XEmacs
6812         friendly version for default.  [:alpha:] will be added in
6813         `ispell-set-spellchecker-params' if needed.
6815 2012-04-16  Chong Yidong  <cyd@gnu.org>
6817         * image.el (imagemagick--file-regexp): New variable.
6818         (imagemagick-register-types): Use it.
6819         (imagemagick-types-inhibit): Add :set function.  Allow new value
6820         of t to inhibit all types.
6822         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6823         so we can preload it.
6825         * loadup.el (fboundp): Preload regexp-opt, needed by
6826         imagemagick-register-types.
6828 2012-04-15  Chong Yidong  <cyd@gnu.org>
6830         * frame.el (scrolling): Remove nearly unused customization group.
6832         * scroll-all.el (scroll-all-mode): Move to windows group.
6834 2012-04-15  Chong Yidong  <cyd@gnu.org>
6836         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6838 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6840         Avoid the use of ((lambda ...) ...) in lexical-binding code.
6841         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6843 2012-04-15  Glenn Morris  <rgm@gnu.org>
6845         * simple.el (process-file-side-effects): Doc fix.
6847 2012-04-15  Glenn Morris  <rgm@gnu.org>
6849         * international/mule-cmds.el (set-language-environment): Doc fix.
6851 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
6853         * server.el (server-auth-key, server-generate-key): Doc fixes.
6854         (server-get-auth-key): Doc fix.  Use `string-match-p'.
6855         (server-start): Reflow docstring.
6857 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
6859         * server.el (server-generate-key): `called-interactively-p'
6860         requires a parameter.
6862 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
6864         * server.el (server-auth-key): New variable.
6865         (server-generate-key, server-get-auth-key): New function.
6866         (server-start): Use the new variable and functions to allow
6867         setting a permanent server key (bug#9423).
6869 2012-04-14  Leo Liu  <sdl.web@gmail.com>
6871         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6873 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
6875         Spelling fixes.
6876         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6877         Emacs uses American spelling.
6879 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
6881         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6882         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
6883         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6884         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
6886 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6888         * progmodes/which-func.el (which-func-modes): Change default.
6890 2012-04-14  Kim F. Storm  <storm@cua.dk>
6892         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6893         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6895 2012-04-14  Chong Yidong  <cyd@gnu.org>
6897         * custom.el (custom-theme-set-variables): Doc fix.
6899 2012-04-14  Glenn Morris  <rgm@gnu.org>
6901         * international/mule.el (set-auto-coding-for-load): Doc fix.
6903 2012-04-14  Alan Mackenzie  <acm@muc.de>
6905         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6906         imenu work again for Objective C Mode.  Correct the *-index values,
6907         these having been disturbed by a previous change in 2011-08.
6909         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6910         Correct two search limits.
6912 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6914         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6916 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
6918         * international/characters.el: Fix sorting.
6920 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6922         * international/characters.el: Add more missing Latin case pairs.
6924 2012-04-14  Glenn Morris  <rgm@gnu.org>
6926         * files.el (dir-locals-set-class-variables): Doc fix.
6928 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6930         * international/characters.el: Add set-case-syntax-pair call for
6931         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6932         counterpart.  (Bug#11209)
6934         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
6936 2012-04-14  Glenn Morris  <rgm@gnu.org>
6938         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6940 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6942         * textmodes/ispell.el (ispell-dictionary-base-alist):
6943         Add data for Hebrew.
6945 2012-04-14  Chong Yidong  <cyd@gnu.org>
6947         * net/rcirc.el (rcirc-cmd-quit):
6948         Revert 2012-03-18 change (Bug#11192).
6950 2012-04-14  Glenn Morris  <rgm@gnu.org>
6952         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6954 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6956         * minibuffer.el (completion-in-region-mode-map):
6957         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
6959 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
6961         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6963 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
6965         * minibuffer.el (minibuffer-local-filename-syntax): New variable
6966         to allow `C-M-f' and `C-M-b' to move to the nearest path
6967         separator (bug#9511).
6969 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
6971         * avoid.el: Require cl when compiling.  And also move the
6972         `provide' to the end.
6974 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6976         * avoid.el (mouse-avoidance-banish-position): New variable.
6977         (mouse-avoidance-banish-destination): Use it (bug#10165).
6979 2012-04-13  Leo Liu  <sdl.web@gmail.com>
6981         * progmodes/which-func.el (which-func-modes): Add objc-mode.
6983 2012-04-13  Ken Brown  <kbrown@cornell.edu>
6985         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6986         this is no longer needed now that cygstart understands file:// URLs.
6987         (browse-url-filename-alist): For the same reason, don't modify
6988         file:// URLs on Cygwin.
6990 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6993         the region on shift if the binding is already shifted (bug#11221).
6995 2012-04-12  Glenn Morris  <rgm@gnu.org>
6997         * mail/mailpost.el: Move to obsolete/.
6999 2012-04-12  Drew Adams  <drew.adams@oracle.com>
7001         * imenu.el (imenu--generic-function): Ignore invisible definitions
7002         (bug#10123).
7004 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
7006         * hexl.el (hexl-bits): New variable.
7007         (hexl-options): Mention the variable in the doc string.
7008         (hexl-rulerise, hexl-line-displen): New functions.
7009         (hexl-mode): Mention the new variable.
7010         (hexl-mode, hexl-current-address, hexl-current-address):
7011         Use the displen.
7012         (hexl-ascii-start-column): New function.
7013         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
7014         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
7016 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7018         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
7019         '("-i" ENCODING), in 2 separate command-line arguments, to specify
7020         the encoding, as expected by hunspell.
7022 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7024         * battery.el (battery--linux-sysfs-regexp): New const.
7025         (battery-status-function): Use it.  Remove yeeloong special case.
7026         (battery-yeeloong-sysfs): Remove.
7027         (battery-echo-area-format): Remove yeeloong special case.
7029 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7031         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
7032         Reported by Noah Friedman.
7034         * subr.el (read-passwd): Use read-string.
7036 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7038         * vcursor.el (vcursor-move): Increase the priority of the overlay
7039         (bug#9663).
7041 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
7043         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
7044         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
7046 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
7048         * textmodes/artist.el (artist-mode): Convert artist-mode to use
7049         define-minor-mode (bug#10760).
7051 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
7053         * progmodes/grep.el (rgrep): Tweak the find command line so
7054         that directories matching `grep-find-ignored-files' won't be
7055         pruned (bug#10351).
7057 2012-04-11  Chong Yidong  <cyd@gnu.org>
7059         * startup.el (command-line): Remove support for long-obsolete
7060         variable font-lock-face-attributes.
7062 2012-04-11  Glenn Morris  <rgm@gnu.org>
7064         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
7066 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7068         * window.el (window--state-get-1): Obey window-point-insertion-type.
7070 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
7072         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
7073         to previous function when point is on the first character of a
7074         function.  Take care of that in `narrow-to-defun' (bug#6157).
7076 2012-04-11  Glenn Morris  <rgm@gnu.org>
7078         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
7079         not just file-errors.
7081         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
7082         (vc-bzr-sha1): Use internal sha1.
7084 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7086         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
7088 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
7090         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
7091         that start in the middle of the line (bug#10496).
7093 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
7095         * battery.el (battery-linux-proc-acpi): Only one battery is
7096         discharged at a time, but that seems to confuse battery.el when
7097         computing `rate-type' for the battery not being discharged
7098         (bug#10332).
7100 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7102         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
7104         * international/quail.el: Use dolist and simplify.
7105         (quail-define-package, quail-update-keyboard-layout)
7106         (quail-define-rules): Use dolist.
7107         (quail-insert-kbd-layout, quail-get-translation): CSE.
7109         * tmm.el: Use dolist, remove left over hook.
7110         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
7111         Use dolist.
7112         (calendar-load-hook): Don't mess with it.
7114         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
7115         Use derived-mode-p.  Run the diff asynchronously.
7117 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7119         * obsolete/mouse-sel.el: Add an Obsolete-since header.
7121 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
7123         * misc.el: Display absolute path of loaded DLLs (bug#10424).
7124         (list-dynamic-libraries--loaded): New function.
7125         (list-dynamic-libraries--refresh): Use it.
7127 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
7129         * progmodes/python.el (python-fill-paragraph):
7130         Make python-fill-region in a multiline string work when font-lock is
7131         disabled (bug#7018).
7133 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
7135         * language/european.el (cp775): Add oem/legacy (en)coding on
7136         DOS/MS Windows for the Baltic languages.  There are still plenty
7137         of texts written in this encoding/codepage (bug#6519).
7139 2012-04-10  Glenn Morris  <rgm@gnu.org>
7141         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
7142         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
7144 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
7146         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
7147         next-line "n" and previous-line "p" in order to make recentf more
7148         consistent with ibuffer, dired or org-mode (bug#9387).
7150 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7152         * image.el (put-image): Return the overlay created instead of the
7153         optional input string (bug#7834).  Note that this may break code
7154         that is (for some reason or other) depending on `put-image'
7155         returning the string.
7157         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
7159         * simple.el (zap-to-char): Allow zapping using input methods
7160         (bug#1580).
7162         * textmodes/fill.el (fill-region): Leave point and mark where they
7163         were before filling (bug#5399).
7165 2012-04-09  Glenn Morris  <rgm@gnu.org>
7167         * version.el (emacs-bzr-get-version):
7168         Handle lightweight checkouts of local branches.
7170 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
7172         * international/characters.el: Recover lost case pairs.  (Bug#11209)
7174 2012-04-09  Chong Yidong  <cyd@gnu.org>
7176         * custom.el (custom-variable-p): Return nil for non-symbol
7177         arguments instead of signaling an error.
7178         (user-variable-p): Obsolete alias for custom-variable-p.
7180         * apropos.el (apropos-variable):
7181         * files-x.el (read-file-local-variable):
7182         * simple.el (set-variable):
7183         * woman.el (woman-mini-help):
7184         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
7186 2012-04-09  Glenn Morris  <rgm@gnu.org>
7188         * startup.el (normal-top-level): Don't look for leim-list.el
7189         in places where it will not be found.  (Bug#910)
7191         * international/mule-cmds.el (set-default-coding-systems):
7192         * files.el (normal-mode):
7193         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
7194         This function was removed with ucs-tables.el in 2008.
7196 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
7198         * textmodes/ispell.el (ispell-check-version): For hunspell, set
7199         ispell-encoding8-command to "-i", without a trailing space.
7200         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
7201         separate command-line arguments, to specify the encoding, since
7202         that's how hunspell expects it.
7204 2012-04-08  Glenn Morris  <rgm@gnu.org>
7206         * loadup.el: Load bindings before cus-start.
7207         This reduces somewhat the number of "rogue" settings in emacs -Q.
7209 2012-04-07  Glenn Morris  <rgm@gnu.org>
7211         * version.el (emacs-bzr-get-version): New function.
7212         (emacs-bzr-version): New variable.
7213         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
7214         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
7216 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7218         * international/uni-bidi.el, international/uni-category.el:
7219         * international/uni-combining.el, international/uni-decimal.el:
7220         * international/uni-decomposition.el, international/uni-digit.el:
7221         * international/uni-lowercase.el, international/uni-mirrored.el:
7222         * international/uni-name.el, international/uni-numeric.el:
7223         * international/uni-titlecase.el, international/uni-uppercase.el:
7224         Update for Unicode 6.1.
7226 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
7228         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
7230 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7232         * window.el (shrink-window): Mention the `window-min-height'
7233         variable in the doc string.
7235 2012-04-05  Bastien Guerry  <bzg@altern.org>
7237         * color.el (color-lighten-name): Fix typo.
7239 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7241         * server.el (server--on-display-p): New function.
7242         (server--on-display-p): Use it.
7244 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
7246         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
7247         (bug#11145).
7249 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7251         * comint.el (comint--common-quoted-suffix): Check string boundary
7252         before comparing (bug#11158).
7253         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7255 2012-04-04  Chong Yidong  <cyd@gnu.org>
7257         * minibuffer.el (completion-extra-properties): Doc fix.
7259         * subr.el (delayed-warnings-hook): Doc fix.
7261 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
7263         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7264         selection (Bug#11159).
7265         (epa-insert-keys): Inform that the default public key will be
7266         exported if no key is selected.
7268 2012-04-04  Richard Stallman  <rms@gnu.org>
7270         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7272 2012-04-03  Chong Yidong  <cyd@gnu.org>
7274         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7275         mail-insert-file, not its obsolete alias mail-attach-file.
7277 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
7279         * notifications.el (notifications-notify): Fix docstring.
7281 2012-04-02  Glenn Morris  <rgm@gnu.org>
7283         * emacs-lisp/authors.el (authors-aliases): Another addition.
7285 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
7287         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7288         `tramp-compat-call-process' instead of `tramp-local-call-process'.
7289         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7291 2012-04-01  Chong Yidong  <cyd@gnu.org>
7293         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7294         Handle root directory properly.
7295         (copy-directory): Caller changed.
7297         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7298         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7300 2012-03-31  Glenn Morris  <rgm@gnu.org>
7302         * term/xterm.el (xterm-extra-capabilities): Doc fix.
7304         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
7306         * calendar/calendar.el (calendar-window-list)
7307         (calendar-hide-window): Restore.  (Bug#11140)
7308         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7310         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7312 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7314         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7315         Check if file is a symlink (Bug#10489).
7317         * files.el (copy-directory): Likewise.
7319 2012-03-30  Chong Yidong  <cyd@gnu.org>
7321         * image.el (imagemagick-types-inhibit)
7322         (imagemagick-register-types): Doc fix.
7324 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7326         * textmodes/ispell.el (ispell-get-extended-character-mode):
7327         Disable extended-char-mode for hunspell.  hunspell does not support it
7328         and treats ~word as ordinary words in pipe mode.
7330 2012-03-30  Glenn Morris  <rgm@gnu.org>
7332         * tutorial.el (help-with-tutorial): Ensure local variables don't
7333         happen to make the buffer read-only.  (Bug#11127)
7335 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7337         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7338         (perl-calculate-indent): Return `noindent' in strings.
7340 2012-03-28  Sam Steingold  <sds@gnu.org>
7342         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7343         instead of the broken adhockery which does not prevent calendar
7344         buffers from being displayed at random after exit.
7345         (calendar-window-list, calendar-hide-window): Remove the broken
7346         adhockery.
7348 2012-03-28  Glenn Morris  <rgm@gnu.org>
7350         * replace.el (query-replace-map): Doc fix.
7352 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
7354         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7355         contents.  (Bug#11109)
7357 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7359         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7360         (bug#11077).
7361         (avl-tree--check, avl-tree--check-node): New funs.
7363 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
7365         * window.el (switch-to-visible-buffer): New option.
7366         (switch-to-prev-buffer, switch-to-next-buffer):
7367         Observe switch-to-visible-buffer.  Make sure that checking for a window
7368         showing a buffer already is done on the same frame.
7370 2012-03-27  Glenn Morris  <rgm@gnu.org>
7372         * startup.el (mail-host-address): Doc fix.
7374 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7376         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7377         than 197 variables.
7379 2012-03-26  Ami Fischman  <ami@fischman.org>
7381         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7383 2012-03-26  Glenn Morris  <rgm@gnu.org>
7385         * files.el (save-buffers-kill-emacs): Doc fix.
7387         * startup.el (normal-top-level, command-line, command-line-1):
7388         Give them doc strings.
7390 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
7392         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7393         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7395 2012-03-25  Chong Yidong  <cyd@gnu.org>
7397         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7398         theme if it was previously enabled before (Bug#11031).
7400         * cus-theme.el (custom-theme-write-faces): Retrieve current face
7401         spec with custom-face-get-current-spec if its :shown-value is not
7402         determined yet (Bug#9337).
7403         (customize-create-theme, custom-theme-revert): Doc fixes.
7405         * button.el (button-at): Minor addition to docstring.
7407 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
7409         * vc/vc.el (vc-merge): Fix a prompt.
7411 2012-03-24  Chong Yidong  <cyd@gnu.org>
7413         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7414         point (Bug#9623).
7416         * button.el (button-at): Minor addition to docstring.
7418 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7420         * newcomment.el (comment-choose-indent): No space after BOL.
7422 2012-03-22  Sam Steingold  <sds@gnu.org>
7424         * window.el (switch-to-prev-buffer): Revert last patch because the
7425         bug turned out to be an advertised feature (Elisp manual 28.14).
7427 2012-03-22  Glenn Morris  <rgm@gnu.org>
7429         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
7430         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7432 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7434         * net/network-stream.el (network-stream-open-starttls): Make error
7435         message under Windows be less misleading.
7437 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
7439         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7440         understands (bug#9942).
7442 2012-03-22  Chong Yidong  <cyd@gnu.org>
7444         * simple.el (end-of-visible-line): Handle return value of
7445         next-single-property-change properly (Bug#9371).
7447 2012-03-22  Kenichi Handa  <handa@m17n.org>
7449         * international/quail.el (quail-insert-kbd-layout): Fix previous
7450         change.  To avoid unwanted bidi reordering, use
7451         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7453 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
7455         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7456         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7457         (ruby-beginning-of-indent): Be more careful with the difference
7458         between word-boundary and symbol boundary.
7459         (ruby-mode-syntax-table): Make : a symbol constituent.
7461 2012-03-21  Andreas Politz  <politza@fh-trier.de>
7463         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7465 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7467         * progmodes/etags.el (tags-completion-at-point-function):
7468         Improve last fix.
7470         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7472 2012-03-21  Sam Steingold  <sds@gnu.org>
7474         * progmodes/etags.el (tags-completion-at-point-function):
7475         Avoid the error when point is inside the pattern.
7477 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
7479         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7480         line (Bug#10855).
7482 2012-03-21  Drew Adams  <drew.adams@oracle.com>
7484         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7486 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
7488         * ido.el (ido-set-current-directory, ido-read-internal)
7489         (ido-choose-completion-string, ido-completion-help): Handle nil
7490         value of ido-completion-buffer (Bug#11008).
7492 2012-03-21  Sam Steingold  <sds@gnu.org>
7494         * window.el (switch-to-prev-buffer): Do not switch to a visible
7495         window previous buffer, just like with the frame previous buffers.
7497 2012-03-21  Chong Yidong  <cyd@gnu.org>
7499         * faces.el (make-face, make-empty-face, copy-face):
7500         * face-remap.el (face-remap-add-relative, face-remap-set-base):
7501         Doc fixes.
7503 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7505         * wid-edit.el (widget-complete-field): Remove (bug#11051).
7506         (widget-complete): Remove broken use of it.
7508 2012-03-20  Chong Yidong  <cyd@gnu.org>
7510         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7511         Use string-width and truncate-string-width to handle arbitrary
7512         characters.
7514 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
7516         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7517         to draw rectangles, not squares.  (Regression introduced by revno
7518         103471)
7520 2012-03-18  Chong Yidong  <cyd@gnu.org>
7522         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7523         it is not yet defined (for temacs).
7525 2012-03-18  Leo Liu  <sdl.web@gmail.com>
7527         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7529 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7531         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7532         (ispell-choices-win-default-height, ispell-silently-savep)
7533         (ispell-dictionary-alist, ispell-encoding8-command)
7534         (ispell-check-version, ispell-aspell-find-dictionary)
7535         (ispell-valid-dictionary-list, ispell-words-keyword)
7536         (ispell-get-word, ispell-internal-change-dictionary)
7537         (ispell-region, ispell-skip-region-list)
7538         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7539         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7540         (ispell-message-text-end, ispell-message)
7541         (ispell-buffer-local-parsing): Doc fix.
7543 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
7545         * htmlfontify.el: Add support for code block fontification for ODT
7546         export (Bug #9914).
7547         (hfy-optimisations): Define new option
7548         `body-text-only'
7549         (hfy-fontify-buffer): Honor above setting.
7550         (hfy-begin-span, hfy-end-span): New routines factored out form
7551         `hfy-fontify-buffer'.
7552         (hfy-begin-span-handler, hfy-end-span-handler): New variables
7553         that permit insertion of custom tags.
7554         (hfy-fontify-buffer): Use above handlers.
7555         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7556         (hfy-face-to-css): Re-defined to be a variable.
7557         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
7558         over multiple runs.  This is made possible by having the caller let
7559         bind a special variable `hfy-user-sheet-assoc'.
7560         (htmlfontify-string): New defun.
7561         (hfy-compile-face-map): Make sure that the last char in the
7562         buffer is correctly fontified.
7563         (hfy-face-resolve-face): Whitespace only change.
7565 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
7567         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7568         message more clear.
7570 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7572         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7574 2012-03-16  Alan Mackenzie  <acm@muc.de>
7576         Further optimise the handling of large macros.
7578         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7579         limit to a call of `c-literal-limits'.
7580         (c-determine-+ve-limit): New function.
7581         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7582         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7583         In CASE 5B, restrict a search limit to 500.
7584         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7586         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7587         Restrict macro bounds to +-500 from after-change's BEG END.
7589 2012-03-16  Leo Liu  <sdl.web@gmail.com>
7591         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7593 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
7595         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7596         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
7598 2012-03-16  Glenn Morris  <rgm@gnu.org>
7600         * view.el (view-buffer, view-buffer-other-window)
7601         (view-buffer-other-frame): Doc fixes re special mode-class.
7603         * subr.el (eval-after-load): If named feature is provided not from
7604         a file, run after-load forms.  (Bug#10946)
7606         * calendar/calendar.el (calendar-insert-at-column):
7607         Handle non-unit-width characters a bit better.  (Bug#10978)
7609 2012-03-15  Chong Yidong  <cyd@gnu.org>
7611         * emacs-lisp/ring.el (ring-extend): New function.
7612         (ring-insert+extend): Extend the ring correctly (Bug#11019).
7614         * comint.el (comint-read-input-ring)
7615         (comint-add-to-input-history): Grow comint-input-ring lazily.
7617 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7619         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7620         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7622         * imenu.el: Fix multiple inheritance breakage (bug#9199).
7623         (imenu-add-to-menubar): Don't add a redundant index.
7624         (imenu-update-menubar): Handle a dynamically composed keymap.
7626 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
7628         * mail/sendmail.el (mail-encode-header):
7629         Bind rfc2047-encode-encoded-words to nil.
7631 2012-03-13  Glenn Morris  <rgm@gnu.org>
7633         * calendar/calendar.el (calendar-string-spread):
7634         Handle non-unit-width characters a bit better.  (Bug#10978)
7636 2012-03-13  Leo Liu  <sdl.web@gmail.com>
7638         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7639         directory and file as argument (Bug#10822).
7641 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7643         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7644         For dynamically generated code, follow $PC.
7645         (gdb-disassembly-handler-custom): Handle no function name case.
7647 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
7649         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7650         * emulation/ws-mode.el (ws-query-replace):
7651         * sort.el (sort-regexp-fields):
7652         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
7654 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7656         * dabbrev.el: Fix cycle completion order (bug#10963).
7657         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7658         (dabbrev-completion): Don't use an obarray; provide
7659         a cycle-sort-function.
7661 2012-03-12  Leo Liu  <sdl.web@gmail.com>
7663         * simple.el (kill-new): Use equal-including-properties for comparison.
7664         (kill-do-not-save-duplicates): Doc fix.
7666 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7668         * dabbrev.el: Fix cycle completion (bug#10963).
7669         Use lexical binding and wrap to 80 columns.
7670         (dabbrev-completion): Delay computing the list of completions.
7672 2012-03-12  Kenichi Handa  <handa@m17n.org>
7674         * international/quail.el (quail-insert-kbd-layout): Surround each
7675         row by LRO and PDF instead of inserting many LRMs.  Pad the left
7676         and right of each non-spacing marks.  Insert invisible space
7677         between lower and upper characters to prevent composition.
7679 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7681         * minibuffer.el (minibuffer-complete): Don't get confused when the
7682         function is run twice via different commands (bug#10958).
7683         (complete-with-action): Fix docstring.
7685 2012-03-12  Chong Yidong  <cyd@gnu.org>
7687         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7688         (nxml-completion-at-point-function): New function.
7689         (nxml-mode): Use it.
7690         (nxml-bind-meta-tab-to-complete-flag): Default to t.
7692         * emacs-lisp/package.el (package-unpack, package-unpack-single):
7693         Load generated autoloads file before byte compiling (Bug#10970).
7694         (package--make-autoloads-and-compile): New helper fun.
7696 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
7698         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7700 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
7702         * autorevert.el (auto-revert-handler): Ensure, that
7703         file-readable-p is applied only for local files or in
7704         auto-revert-tail-mode.
7706 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
7708         * server.el (server-eval-at): Handle non-tcp connections.
7709         Decode result string.
7711         * server.el (server-msg-size): New constant.
7712         (server-reply-print): New function.
7713         (server-eval-and-print): Use it.
7714         (server-eval-at): Use server-quote-arg and server-unquote-arg.
7715         Handle -print-nonl.
7717 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
7719         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7720         (Bug#10987).
7722 2012-03-11  Chong Yidong  <cyd@gnu.org>
7724         * simple.el (goto-line): Doc fix (Bug#9938).
7726         * subr.el (save-window-excursion): Doc fix (Bug#9979).
7728         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7729         when finished (Bug#10963).
7731 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
7733         * window.el (split-window-below): Fix bug in case where
7734         split-window-keep-point is nil (Bug#10971).
7736 2012-03-11  Juri Linkov  <juri@jurta.org>
7738         * replace.el (replace-highlight): Set isearch-word to nil
7739         unconditionally.  (Bug#10887)
7741 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
7743         * net/mairix.el (mairix-replace-invalid-chars): Rename from
7744         mairix-replace-illegal-chars; all callers changed.  Don't remove
7745         ^, ~, and = characters: they are meaningful in mairix search specs.
7746         (mairix-widget-create-query): Add usage information about mairix
7747         search forms: negating words, searching for substrings, etc.
7749 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
7751         * international/fontset.el (font-encoding-alist): Add an entry for
7752         ksx1001 (Bug#5667).
7754 2012-03-10  Richard Stallman  <rms@gnu.org>
7756         * mail/sendmail.el (mail-encode-header):
7757         Set rfc2047-encode-encoded-words.
7759         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7761         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7762         view buffer means not swapped.
7763         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7764         (rmail-write-region-annotate): Error if real text has disappeared.
7766         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7768 2012-03-10  Chong Yidong  <cyd@gnu.org>
7770         * emulation/cua-rect.el (cua--init-rectangles):
7771         * emulation/cua-base.el (cua--init-keymaps):
7772         Add delete-forward-char to remappings (Bug#9666).
7774 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
7776         * speedbar.el (speedbar-unhighlight-one-tag-line):
7777         Avoid unhighlighting due to frame switching (Bug#10275).
7779 2012-03-10  Chong Yidong  <cyd@gnu.org>
7781         * minibuffer.el (completion-in-region, completion-help-at-point):
7782         Give the completion field overlay a high priority (Bug#6830).
7784         * dired.el (dired-goto-file): Recognize absolute file name
7785         listings (Bug#7126).
7786         (dired-goto-file-1): New helper function.
7787         (dired-toggle-read-only): Inhibit warnings.
7789 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
7791         * net/dbus.el (dbus-property-handler): Return empty array if
7792         there are no properties.
7794 2012-03-09  Leo Liu  <sdl.web@gmail.com>
7796         * savehist.el (savehist-printable): Stricter check for string
7797         value (Bug#10937).
7799 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
7801         * mail/smtpmail.el (smtpmail-send-it):
7802         Bind coding-system-for-write to *-unix, so that FCC files are kept in
7803         valid mbox format.
7805 2012-03-09  Glenn Morris  <rgm@gnu.org>
7807         * files.el (dir-locals-find-file):
7808         Don't check result is regular, readable.
7809         (dir-locals-read-from-file): Demote errors.
7811 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
7813         * international/quail.el (quail-insert-kbd-layout):
7814         Insert invisible LRM characters before each character in a keyboard
7815         layout cell, to prevent their reordering by bidi display engine.
7816         For details, see the discussion in
7817         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7819 2012-03-08  Alan Mackenzie  <acm@muc.de>
7821         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7822         the starting position; make it extend the marked region when
7823         invoked repeatedly - all under appropriate circumstances.
7824         Fixes bugs #5525, #10906.
7826 2012-03-08  Glenn Morris  <rgm@gnu.org>
7828         * files.el (locate-dominating-file, dir-locals-find-file):
7829         Undo 2012-03-06 change.
7831 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
7833         * international/quail.el (quail-help):
7834         Force bidi-paragraph-direction be left-to-right.  See discussion in
7835         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7836         for the reason.
7838 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
7840         Avoid superfluous registering of signals.  (Bug#10807)
7842         * notifications.el (notifications-on-action-object)
7843         (notifications-on-close-object): New defvars.
7844         (notifications-on-action-signal, notifications-on-closed-signal):
7845         Unregister the signal if not needed any longer.
7846         (notifications-notify): Register `notifications-action-signal' or
7847         `notifications-closed-signal', if :on-action or :on-close has been
7848         passed as argument.
7850 2012-03-07  Chong Yidong  <cyd@gnu.org>
7852         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7853         non-X platforms.
7855 2012-03-06  Glenn Morris  <rgm@gnu.org>
7857         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7858         (x-disown-selection-internal, x-get-selection-internal):
7859         Doc fix (add arglist signatures).  (Bug#10783)
7861 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7863         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7864         Handle breakpoints with no "type".
7866 2012-03-06  Glenn Morris  <rgm@gnu.org>
7868         * files.el (locate-dominating-file): Add optional predicate argument.
7869         (dir-locals-find-file): Make use of above change.
7871 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
7873         * info.el (Info-insert-dir): Also try "dir.gz".
7875 2012-03-06  Glenn Morris  <rgm@gnu.org>
7877         * files.el (dir-locals-find-file):
7878         Ignore non-readable or non-regular files.  (Bug#10928)
7880         * files.el (locate-dominating-file): Doc fix.
7882 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
7884         * calendar/calendar.el (calendar-set-mode-line):
7885         `getenv' returns a string.  (Bug#10951)
7887 2012-03-05  Leo Liu  <sdl.web@gmail.com>
7889         * simple.el (backward-delete-char-untabify): Constrain point to
7890         field (Bug#10939).
7892         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7894 2012-03-05  Chong Yidong  <cyd@gnu.org>
7896         * simple.el (count-words): If called from Lisp, return the word
7897         count, for symmetry with `count-lines'.  Arglist changed.
7898         (count-words--message): Args changed.  Consolidate counting code
7899         from count-words and count-words-region.
7900         (count-words-region): Caller changed.
7901         (count-lines-region): Make it an obsolete alias.
7903 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
7905         * saveplace.el (save-place-to-alist)
7906         (save-place-ignore-files-regexp): Allow value nil to disable this
7907         feature.
7909 2012-03-04  Chong Yidong  <cyd@gnu.org>
7911         * faces.el (face-spec-reset-face): For the default face, reset the
7912         attributes to default values (Bug#10748).
7914 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7916         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7917         previous patch: Check `message-send-mail-function', and not the
7918         default function (bug#10897).
7920 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
7922         * notifications.el (notifications-on-action-signal)
7923         (notifications-on-closed-signal): Check for unique service name of
7924         incoming event.  Fix error in removing entry.
7925         (top): Register for signals with wildcard service name.
7926         (notifications-notify): Use daemon unique service name for map entries.
7928 2012-03-04  Chong Yidong  <cyd@gnu.org>
7930         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7932 2012-03-04  Glenn Morris  <rgm@gnu.org>
7934         * abbrev.el (copy-abbrev-table, abbrev-table-p)
7935         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7936         (expand-abbrev, define-abbrev-table): Doc fixes.
7938 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7940         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7941         `message-default-send-mail-function' and not `send-mail-function'
7942         when doing the prompting for `sendmail-query-once' before sending
7943         in Message buffers (bug#10897).
7945         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7946         This is inconsistent with all the other stream functions, which leave
7947         the setting up to the higher levels (if so wanted) (bug#10931).
7949 2012-03-02  Alan Mackenzie  <acm@muc.de>
7951         Depessimize the handling of very large macros.
7953         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7954         (c-macro-cache-syntactic): New variables to implement a one
7955         element macro cache.
7956         (c-invalidate-macro-cache): New function.
7957         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7958         Adapt to use the new cache.
7959         (c-state-safe-place): Use better the cache of safe positions.
7960         (c-state-semi-nonlit-pos-cache)
7961         (c-state-semi-nonlit-pos-cache-limit):
7962         New variables for...
7963         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
7964         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7965         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7966         Use c-state-semi-safe-place.
7968         * progmodes/cc-langs.el (c-get-state-before-change-functions):
7969         Add c-invalidate-macro-cache to the C, C++, Obj entries.
7971 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
7973         * jka-compr.el (jka-compr-call-process):
7974         Apply `file-accessible-directory-p' only when the default directory is
7975         not remote.
7977 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
7979         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
7980         access of FILE2, if FILE1 does not exist.
7982         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7983         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7985         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7986         Add "PAGER=" to `process-environment'.
7988 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
7990         * progmodes/sql.el: Bug fix
7991         (sql-get-login-ext): Save login values in globals.
7992         (sql-get-login): Use new version of `sql-get-login-ext'.
7993         (sql-interactive-mode): Set global `sql-connection' to nil.
7994         (sql-connect): Set global values for connection.
7995         (sql-product-interactive): Save global values as buffer local.
7997 2012-02-29  Leo Liu  <sdl.web@gmail.com>
7999         * abbrev.el (define-abbrevs): Reset sys to nil.
8001 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8003         * files.el (file-equal-p): Rename from `files-equal-p'.
8004         Return nil when one or both files don't exist.
8005         (file-subdir-of-p): Now only top directory must exists,
8006         return nil if it doesn't.
8007         (copy-directory): No need to test with `file-subdir-of-p' after
8008         creating dir.
8009         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
8010         to `file-equal-p'.
8012 2012-02-28  Glenn Morris  <rgm@gnu.org>
8014         * shell.el (shell-mode):
8015         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
8016         * play/landmark.el (landmark-font-lock-face-O):
8017         * play/handwrite.el (handwrite):
8018         * play/gomoku.el (gomoku-O):
8019         * net/browse-url.el (browse-url-browser-display):
8020         * international/mule.el (define-charset):
8021         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
8022         * filesets.el (filesets-find-file-delay):
8023         * eshell/em-xtra.el (eshell-xtra):
8024         * eshell/em-unix.el (eshell-grep):
8025         * emulation/viper.el (viper-mode):
8026         * emacs-lisp/regexp-opt.el (regexp-opt-group):
8027         * emacs-lisp/easymenu.el (easy-menu-define):
8028         * calendar/timeclock.el (timeclock-use-display-time):
8029         * bs.el (bs-mode):
8030         * bookmark.el (bookmark-save-flag):
8031         Doc fix (standardize possessive apostrophe usage).
8033 2012-02-27  Chong Yidong  <cyd@gnu.org>
8035         * emulation/viper-cmd.el (viper-intercept-ESC-key):
8036         Fix key-binding lookup for ESC key (Bug#9146).
8038         * font-lock.el (font-lock-specified-p): Rename from
8039         font-lock-spec-present.  Callers changed.
8041 2012-02-27  Daniel Hackney  <dan@haxney.org>
8043         * emacs-lisp/package.el (package-compute-transaction):
8044         Handle holding a package version to t in package-load-list.
8046 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
8048         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
8049         (tramp-get-inode, tramp-get-device): Use cached values.
8051 2012-02-26  Alan Mackenzie  <acm@muc.de>
8053         Check there is a font-lock specification before doing initial
8054         fontification.
8056         * font-core.el (font-lock-mode): Move the conditional from
8057         :after-hook to font-lock-initial-fontify.
8058         (font-lock-default-function): Move the check for a specification
8059         to font-lock-spec-present.
8061         * font-lock.el (font-lock-initial-fontify): Call ...
8062         (font-lock-spec-present): New function.
8064 2012-02-26  Jim Blandy  <jimb@red-bean.com>
8066         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
8067         (gdb-send): Apply it to the operand of the '-interpreter-exec
8068         console' command, so that we can pass arguments with (say) quotes
8069         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
8071 2012-02-26  Chong Yidong  <cyd@gnu.org>
8073         * help-fns.el (describe-function-1): Clarify description of
8074         remapping (Bug#10844).
8076         * files.el (files-equal-p): Doc fix.
8077         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
8078         and quit the loop once a mismatch is found.
8080 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
8082         * bs.el (bs--show-with-configuration): Don't throw an error
8083         if the window cannot be split; otherwise, subsequent calls to
8084         bs-show fail, restoring a stale window config.  (Bug#10882)
8086 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
8088         * term/ns-win.el (global-map): Bind ns-drag-file to
8089         ns-find-file (Bug#5855, Bug#10050).
8091 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
8093         * calendar/parse-time.el (parse-time-string): Allow extractor to
8094         return nil.
8096 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
8098         * net/tramp.el (tramp-file-name-for-operation):
8099         Add `files-equal-p' and `file-subdir-of-p'.
8101         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8102         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8103         Add COPY-CONTENTS argument.
8105 2012-02-25  Chong Yidong  <cyd@gnu.org>
8107         Add custom groups for VC backends, for consistency with vc-bzr.
8109         * vc/vc-arch.el (vc-arch):
8110         * vc/vc-cvs.el (vc-cvs):
8111         * vc/vc-git.el (vc-git):
8112         * vc/vc-hg.el (vc-hg):
8113         * vc/vc-mtn.el (vc-mtn):
8114         * vc/vc-rcs.el (vc-rcs):
8115         * vc/vc-sccs.el (vc-sccs):
8116         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
8117         All relevant defcustoms reassigned.
8119 2012-02-25  Chong Yidong  <cyd@gnu.org>
8121         * newcomment.el (comment-styles): Add autoload (Bug#10868).
8123         * term/x-win.el (x-initialize-window-system): Reduce default for
8124         x-selection-timeout to 5 seconds (Bug#8869).
8126 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8128         * files.el (files-equal-p, file-subdir-of-p): New functions.
8129         (copy-directory): Error when trying to copy a directory on itself.
8130         Add missing copy-contents arg to tramp handler.
8131         * dired-aux.el (dired-copy-file-recursive): Same.
8132         (dired-create-files): Modify destination when source is equal to
8133         dest when copying files.
8134         Return also when dest is a subdir of source.  (Bug#10489)
8136 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
8138         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
8139         (Bug#10874)
8141 2012-02-23  Alan Mackenzie  <acm@muc.de>
8143         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
8144         parameter "after-hook:" to allow the expansion to run code after
8145         the execution of the mode hooks.
8147         * font-lock.el (font-lock-initial-fontify): New function extracted
8148         from font-lock-mode-internal.
8150         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
8151         :after-hook.
8153 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8155         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
8156         (completion--cache-all-sorted-completions): New function.
8157         (completion-all-sorted-completions): Use it.
8158         (completion--do-completion, minibuffer-force-complete):
8159         Use it to re-instate the flush hook.
8161         * icomplete.el (icomplete-completions): Replace last fix with a better
8162         one (bug#10850).
8164 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
8166         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
8167         when it might call us back infinitely (bug#10797).
8169 2012-02-23  Glenn Morris  <rgm@gnu.org>
8171         * minibuffer.el (completion-category-overrides): Doc fix.
8173 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * minibuffer.el (completion-table-with-context): Fix inf-loop.
8176         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
8178 2012-02-23  Glenn Morris  <rgm@gnu.org>
8180         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
8181         (authors-obsolete-files-regexps, authors-ignored-files)
8182         (authors-ambiguous-files, authors-renamed-files-alist):
8183         Add more entries.
8185 2012-02-23  Juri Linkov  <juri@jurta.org>
8187         * isearch.el (isearch-occur): Sync interactive spec with occur's
8188         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
8190         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
8192 2012-02-22  Juri Linkov  <juri@jurta.org>
8194         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
8195         (ucs-insert): Doc fix.  Check for hex digits in the string.
8196         Don't display `nil' in the error message.  (Bug#10857)
8198 2012-02-22  Alan Mackenzie  <acm@muc.de>
8200         * progmodes/cc-mode.el: Revert change #107149 from 2012-02-06.
8202 2012-02-22  Glenn Morris  <rgm@gnu.org>
8204         * ffap.el (ffap-c-path):
8205         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
8207 2012-02-22  Chong Yidong  <cyd@gnu.org>
8209         * custom.el (load-theme): Doc fix.
8211 2012-02-22  Glenn Morris  <rgm@gnu.org>
8213         * dired-x.el (dired-guess-shell-alist-default):
8214         Remove escape sequences from nroff output.  (Bug#172)
8216 2012-02-21  Glenn Morris  <rgm@gnu.org>
8218         * vc/emerge.el (emerge-defvar-local):
8219         Set `permanent-local' property rather than unused `preserved'.
8221         * textmodes/picture.el (picture-delete-char): New alias.
8222         (picture-mode-map): Use it.  (Bug#10860)
8223         (picture-mode): Doc fix.
8225 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
8227         * newcomment.el (uncomment-region-default): Remove unused binding.
8229 2012-02-21  Glenn Morris  <rgm@gnu.org>
8231         * textmodes/picture.el (picture-motion, picture-motion-reverse)
8232         (picture-self-insert, picture-tab-chars): Doc fix.
8233         (picture-mode-map): Fix C-a, C-e.
8235 2012-02-20  Glenn Morris  <rgm@gnu.org>
8237         * emacs-lisp/authors.el (authors-aliases): Add another entry.
8239 2012-02-20  Leo Liu  <sdl.web@gmail.com>
8241         * icomplete.el (icomplete-completions): Check FROM arg before
8242         passing to substring (Bug#10850).
8244 2012-02-19  Chong Yidong  <cyd@gnu.org>
8246         * comint.el: Require ansi-color.
8247         (comint-output-filter-functions): Add ansi-color-process-output.
8249         * ansi-color.el: Don't set comint-output-filter-functions; it is
8250         now in the initial value defined in comint.el.
8251         (ansi-color-apply-face-function): New variable.
8252         (ansi-color-apply-on-region): Use it.
8253         (ansi-color-apply-overlay-face): New function.
8255         * shell.el (shell): No need to require ansi-color.
8256         (shell-mode): Use ansi-color-apply-face-function to highlight
8257         color escapes using font-lock-face property (Bug#10835).
8259 2012-02-19  Chong Yidong  <cyd@gnu.org>
8261         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8262         mode-line formats (Bug#10839).
8264 2012-02-18  Glenn Morris  <rgm@gnu.org>
8266         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8268         * mail/undigest.el (unforward-rmail-message): Doc fix.
8270         * saveplace.el (save-place-ignore-files-regexp): Add :version.
8272 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
8274         * international/characters.el (script-list): Sync with the latest
8275         Unicode Character Database.
8277 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
8279         * international/titdic-cnv.el: Remove duplicate coding tag.
8280         * language/cham.el: Likewise.
8281         * language/tai-viet.el: Likewise.
8283 2012-02-18  Glenn Morris  <rgm@gnu.org>
8285         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8286         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8287         (calendar-bahai-all-holidays-flag, calendar-other-dates):
8288         * calendar/diary-lib.el (diary-abbreviated-year-flag):
8289         * calendar/holidays.el (holiday-bahai-holidays)
8290         (calendar-holidays, list-holidays):
8291         Use utf-8 Bahá'í in doc-strings, menus, etc.
8293 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
8295         * saveplace.el (save-place-ignore-files-regexp): New variable
8296         allowing for excluding files from saving their location of point.
8297         The default value matches the temporary commit message editing
8298         files from Git, SVN, Bazaar, and Mercurial.
8299         (save-place-to-alist): Use it.
8301 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
8302             Stefan Monnier  <monnier@iro.umontreal.ca>
8304         * newcomment.el (uncomment-region-default): Don't leave extra space
8305         when an arg is provided (bug#8150).
8307 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
8309         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8311 2012-02-17  Glenn Morris  <rgm@gnu.org>
8313         * net/socks.el: Require network-stream.  (Bug#10599)
8315 2012-02-17  Kenichi Handa  <handa@m17n.org>
8317         * international/charprop.el:
8318         * international/uni-name.el:
8319         * international/uni-old-name.el:
8320         * international/uni-comment.el: Regenerate.
8322 2012-02-16  Glenn Morris  <rgm@gnu.org>
8324         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8325         Interactively in calendar buffer, give an error if not on a date.
8327 2012-02-15  Glenn Morris  <rgm@gnu.org>
8329         * shell.el (shell-delimiter-argument-list):
8330         Revert 2011-02-17 change.  (Bug#8027)
8332 2012-02-15  Chong Yidong  <cyd@gnu.org>
8334         * minibuffer.el (completion-at-point-functions): Doc fix.
8336         * custom.el (defcustom): Doc fix; note use of defvar.
8338 2012-02-15  Glenn Morris  <rgm@gnu.org>
8340         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8341         Doc fixes.
8343 2012-02-14  Glenn Morris  <rgm@gnu.org>
8345         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8347 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
8349         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8350         way the ports list is computed.
8351         (smtpmail-query-smtp-server): Prompt the user for a port number if
8352         we can't connect to any of the standard ports (bug#10810).
8354 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
8356         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8358 2012-02-13  Glenn Morris  <rgm@gnu.org>
8360         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
8362 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
8364         * net/gnutls.el (gnutls-trustfiles): New variable.
8365         (gnutls-negotiate): Use it.
8367 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
8369         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8370         does its stuff if Gnus is running.
8372 2012-02-13  Alan Mackenzie  <acm@muc.de>
8374         Fix a loop in c-set-fl-decl-start.
8376         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8377         c-backward-syntactic-ws actually moves backwards.
8379 2012-02-13  Leo Liu  <sdl.web@gmail.com>
8381         * net/rcirc.el (rcirc-markup-attributes): Move point to the
8382         beginning so that all \C-o chars are removed.
8384 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
8386         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8388 2012-02-12  Alan Mackenzie  <acm@muc.de>
8390         Fix infinite loop with long macros.
8391         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8393 2012-02-12  Chong Yidong  <cyd@gnu.org>
8395         * window.el (display-buffer): Doc fix (Bug#10785).
8397 2012-02-12  Glenn Morris  <rgm@gnu.org>
8399         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8400         (x-disown-selection-internal, x-get-selection-internal):
8401         Sync docs with the xselect.c versions.
8403         * allout-widgets.el: Add missing license notice.
8405 2012-02-11  Glenn Morris  <rgm@gnu.org>
8407         * select.el (x-get-selection-internal, x-own-selection-internal)
8408         (x-disown-selection-internal):
8409         * x-dnd.el (x-get-selection-internal): Update declarations.
8411         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8413         * window.el (window-sides-slots):
8414         * tool-bar.el (tool-bar-position):
8415         * term/xterm.el (xterm-extra-capabilities):
8416         * ses.el (ses-self-reference-early-detection):
8417         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8418         (verilog-auto-wire-type)
8419         (verilog-auto-delete-trailing-whitespace)
8420         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8421         (verilog-auto-tieoff-declaration):
8422         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8423         (sql-oracle-statement-starters, sql-oracle-scan-on):
8424         * progmodes/prolog.el (prolog-align-comments-flag)
8425         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8426         (prolog-left-indent-regexp, prolog-paren-indent-p)
8427         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8428         (prolog-types, prolog-mode-specificators)
8429         (prolog-determinism-specificators, prolog-directives)
8430         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8431         (prolog-electric-dot-flag)
8432         (prolog-electric-dot-full-predicate-template)
8433         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8434         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8435         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8436         (prolog-program-switches, prolog-prompt-regexp)
8437         (prolog-debug-on-string, prolog-debug-off-string)
8438         (prolog-trace-on-string, prolog-trace-off-string)
8439         (prolog-zip-on-string, prolog-zip-off-string)
8440         (prolog-use-standard-consult-compile-method-flag)
8441         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8442         (prolog-imenu-max-lines, prolog-info-predicate-index)
8443         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8444         (prolog-char-quote-workaround):
8445         * progmodes/cc-vars.el (c-defun-tactic):
8446         * net/tramp.el (tramp-encoding-command-interactive)
8447         (tramp-local-end-of-line):
8448         * net/soap-client.el (soap-client):
8449         * net/netrc.el (netrc-file):
8450         * net/gnutls.el (gnutls):
8451         * minibuffer.el (completion-category-overrides)
8452         (completion-cycle-threshold)
8453         (completion-pcm-complete-word-inserts-delimiters):
8454         * man.el (Man-name-local-regexp):
8455         * mail/feedmail.el (feedmail-display-full-frame):
8456         * international/characters.el (glyphless-char-display-control):
8457         * eshell/em-ls.el (eshell-ls-date-format):
8458         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8459         (lisp-lambda-list-keyword-parameter-indentation)
8460         (lisp-lambda-list-keyword-parameter-alignment):
8461         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8462         * dired-x.el (dired-omit-verbose):
8463         * cus-theme.el (custom-theme-allow-multiple-selections):
8464         * calc/calc.el (calc-highlight-selections-with-faces)
8465         (calc-lu-field-reference, calc-lu-power-reference)
8466         (calc-note-threshold):
8467         * battery.el (battery-mode-line-limit):
8468         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8469         (archive-7z-update):
8470         * allout.el (allout-prefixed-keybindings)
8471         (allout-unprefixed-keybindings)
8472         (allout-inhibit-auto-fill-on-headline)
8473         (allout-flattened-numbering-abbreviation):
8474         * allout-widgets.el (allout-widgets-auto-activation)
8475         (allout-widgets-icons-dark-subdir)
8476         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8477         (allout-widgets-theme-dark-background)
8478         (allout-widgets-theme-light-background)
8479         (allout-widgets-item-image-properties-emacs)
8480         (allout-widgets-item-image-properties-xemacs)
8481         (allout-widgets-run-unit-tests-on-load)
8482         (allout-widgets-time-decoration-activity)
8483         (allout-widgets-hook-error-post-time)
8484         (allout-widgets-track-decoration):
8485         Add missing :version tags to new defcustoms and defgroups.
8487         * progmodes/sql.el (sql-ansi-statement-starters)
8488         (sql-oracle-statement-starters): Add custom type.
8490         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8491         (prolog-system-version): Give it a type.
8493 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
8495         * term/pc-win.el (x-select-text, x-selection-owner-p)
8496         (x-own-selection-internal, x-disown-selection-internal)
8497         (x-get-selection-internal): Sync doc strings and argument lists
8498         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
8500 2012-02-11  Leo Liu  <sdl.web@gmail.com>
8502         * progmodes/python.el (python-end-of-statement): Fix infinite
8503         loop.  (Bug#10788)
8505 2012-02-10  Glenn Morris  <rgm@gnu.org>
8507         * international/mule-cmds.el (unify-8859-on-encoding-mode)
8508         (unify-8859-on-decoding-mode): Properly mark as obsolete.
8510 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
8512         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8513         about SMTP before checking the From header.
8515         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8516         into own function for reuse by emacsbug.el.
8518 2012-02-10  Leo Liu  <sdl.web@gmail.com>
8520         * subr.el (condition-case-unless-debug): Rename from
8521         condition-case-no-debug.  All callers changed.
8522         (with-demoted-errors): Fix caller.
8524         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8525         * nxml/rng-valid.el (rng-do-some-validation):
8526         * emacs-lisp/package.el (package-refresh-contents)
8527         (package-menu-execute):
8528         * desktop.el (desktop-create-buffer):
8529         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8531 2012-02-10  Glenn Morris  <rgm@gnu.org>
8533         * textmodes/bibtex.el:
8534         Add missing :version tags for new/changed defcustoms.
8536         * files.el (remote-file-name-inhibit-cache): Doc fixes.
8538 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
8540         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8541         (smtpmail-via-smtp): Use it, or fall back on the From address.
8542         (smtpmail-send-it): Ditto.
8544 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8546         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8547         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
8548         (byte-compile-tmp-var): New const.
8549         (byte-compile-defvar): Use it to minimize .elc size.
8550         Just use `defvar' rather than simulate it (bug#10761).
8552 2012-02-09  Glenn Morris  <rgm@gnu.org>
8554         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
8556         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8557         Add :version tags.
8559         * progmodes/compile.el (compilation-error-screen-columns)
8560         (compilation-first-column, compilation-filter-start): Doc fixes.
8562         * vc/log-view.el (log-view-toggle-entry-display):
8563         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8565         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8566         (report-emacs-bug-can-use-xdg-email):
8567         (report-emacs-bug-insert-to-mailer): Doc fixes.
8568         (report-emacs-bug): Message fix.
8570         * net/browse-url.el (browse-url-can-use-xdg-open)
8571         (browse-url-xdg-open): Doc fixes.
8573         * electric.el (electric-indent-mode, electric-pair-mode)
8574         (electric-layout-rules, electric-layout-mode): Doc fixes.
8575         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8577 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
8579         * server.el (server-unselect-display): Don't inadvertently kill
8580         the current buffer.  (Bug#10729)
8582 2012-02-08  Glenn Morris  <rgm@gnu.org>
8584         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8585         (sql-list-table): Doc fixes.
8587         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8588         Comment out (does nothing).
8590         * completion.el (dynamic-completion-mode):
8591         * dirtrack.el (dirtrack-debug-mode):
8592         * electric.el (electric-layout-mode):
8593         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8594         * face-remap.el (text-scale-mode, buffer-face-mode):
8595         * iimage.el (iimage-mode):
8596         * image-mode.el (image-transform-mode):
8597         * minibuffer.el (completion-in-region-mode):
8598         * scroll-lock.el (scroll-lock-mode):
8599         * simple.el (next-error-follow-minor-mode):
8600         * tar-mode.el (tar-subfile-mode):
8601         * tooltip.el (tooltip-mode):
8602         * vcursor.el (vcursor-use-vcursor-map):
8603         * wid-browse.el (widget-minor-mode):
8604         * emulation/tpu-edt.el (tpu-edt-mode):
8605         * emulation/tpu-extras.el (tpu-cursor-free-mode):
8606         * international/iso-ascii.el (iso-ascii-mode):
8607         * language/thai-util.el (thai-word-mode):
8608         * mail/supercite.el (sc-minor-mode):
8609         * net/goto-addr.el (goto-address-mode):
8610         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8611         * progmodes/cwarn.el (cwarn-mode):
8612         * progmodes/flymake.el (flymake-mode):
8613         * progmodes/glasses.el (glasses-mode):
8614         * progmodes/hideshow.el (hs-minor-mode):
8615         * progmodes/pascal.el (pascal-outline-mode):
8616         * textmodes/enriched.el (enriched-mode):
8617         * vc/smerge-mode.el (smerge-mode):
8618         Doc fixes (minor mode argument).
8620 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
8622         * ls-lisp.el (ls-lisp-sanitize): New function.
8623         (ls-lisp-insert-directory): Use it to fix or remove any elements
8624         in file-alist with missing attributes.  (Bug#4673)
8626 2012-02-07  Alan Mackenzie  <acm@muc.de>
8628         Fix spurious recognition of c-in-knr-argdecl.
8630         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8631         putative K&R region.
8633 2012-02-07  Alan Mackenzie  <acm@muc.de>
8635         * progmodes/cc-engine.el (c-forward-objc-directive):
8636         Prevent looping in "#pragma mark @implementation".
8638 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
8640         * notifications.el (notifications-on-closed-signal): Make `reason'
8641         optional.  (Bug#10744)
8643 2012-02-07  Glenn Morris  <rgm@gnu.org>
8645         * emacs-lisp/easy-mmode.el (define-minor-mode):
8646         Doc fixes for the macro and the mode it defines.
8648         * image.el (imagemagick-types-inhibit): Doc fix.
8650         * cus-start.el (imagemagick-render-type): Add it.
8652 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
8654         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8655         Set the default at load time, too, so that `font-lock-fontify-buffer'
8656         can be called without setting up the entire mode first.  This fixes
8657         a bug in `mm-inline-text' with C MIME parts.
8659 2012-02-06  Chong Yidong  <cyd@gnu.org>
8661         * simple.el (list-processes--refresh): Delete exited processes
8662         (Bug#8094).
8664         * comint.el (comint-next-prompt): next-single-char-property-change
8665         and prev-single-char-property-change never return nil (Bug#8657).
8667         * custom.el (defcustom): Doc fix (Bug#9711).
8669 2012-02-05  Chong Yidong  <cyd@gnu.org>
8671         * cus-edit.el (custom-variable-reset-backup): Quote the value
8672         before storing it in the customized-value property (Bug#6712).
8673         (custom-display): Add a customization type tag.
8674         (custom-buffer-create-internal): Improve tooltip message.
8676         * wid-edit.el (widget-field-value-get): New optional arg to
8677         suppress trailing whitespace truncation.
8678         (character): Use it (Bug#2689).
8680 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
8682         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8683         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8685 2012-02-05  Chong Yidong  <cyd@gnu.org>
8687         * cus-edit.el (custom-variable-value-create): For mismatched
8688         types, show the current value (Bug#7600).
8690         * custom.el (defcustom): Doc fix.
8692 2012-02-05  Glenn Morris  <rgm@gnu.org>
8694         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8696 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
8698         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8699         (pp-buffer): Use `ignore-errors', `looking-at-p'.
8700         (pp-last-sexp): Use `looking-at-p'.
8702 2012-02-04  Glenn Morris  <rgm@gnu.org>
8704         * files.el (revert-buffer):
8705         Doc fix (mention revert-buffer-in-progress-p).
8707         * emacs-lisp/ert-x.el (ert-simulate-command):
8708         Check deferred-action-list (which is obsolete) is bound.
8710         * subr.el (with-wrapper-hook): Doc fixes.
8712         * simple.el (filter-buffer-substring-functions)
8713         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8715 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
8717         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8718         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
8720 2012-02-04  Leo Liu  <sdl.web@gmail.com>
8722         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8724 2012-02-04  Glenn Morris  <rgm@gnu.org>
8726         * image.el (image-extension-data): Add obsolete alias.
8728         * isearch.el (isearch-update): Doc fix.
8730         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8732         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8734 2012-02-03  Glenn Morris  <rgm@gnu.org>
8736         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
8737         (image-animate-timeout): Doc fix.
8739         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8741 2012-02-02  Glenn Morris  <rgm@gnu.org>
8743         * server.el (server-auth-dir): Doc fix.
8744         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
8746         * subr.el (run-mode-hooks): Doc fix.
8748 2012-02-02  Juri Linkov  <juri@jurta.org>
8750         * image-mode.el (image-toggle-display-image): Remove tautological
8751         `major-mode' from the `derived-mode-p' test.
8753 2012-02-02  Kenichi Handa  <handa@m17n.org>
8755         * composite.el (compose-region): Cancel previous change.
8757 2012-02-02  Kenichi Handa  <handa@m17n.org>
8759         * composite.el (compose-region, compose-string): Signal error for
8760         a null string component (Bug#6988).
8762 2012-02-01  Chong Yidong  <cyd@gnu.org>
8764         * view.el (view-buffer-other-window, view-buffer-other-frame):
8765         Handle special modes like view-buffer (Bug#10650).
8766         (view-buffer): Simplify.
8768         * frame.el (set-frame-font): Tweak meaning of third argument.
8770         * dynamic-setting.el (font-setting-change-default-font):
8771         Use set-frame-font (Bug#9982).
8773 2012-02-01  Glenn Morris  <rgm@gnu.org>
8775         * progmodes/compile.el (compilation-internal-error-properties):
8776         Respect compilation-first-column in the "*compilation*" buffer.
8778         * emacs-lisp/easy-mmode.el (define-minor-mode):
8779         Relax :variable's test for a named function.
8781 2012-01-31  Alan Mackenzie  <acm@muc.de>
8783         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8784         off by one error.
8786 2012-01-31  Chong Yidong  <cyd@gnu.org>
8788         * frame.el (set-frame-font): New arg ALL-FRAMES.
8790         * menu-bar.el (menu-set-font): Use set-frame-font.
8792         * faces.el (face-spec-reset-face): Don't apply unspecified
8793         attribute values to the default face.
8795 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
8797         * progmodes/cwarn.el (cwarn): Remove dead link.
8798         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8799         Remove * from defcustom docstrings.
8800         (turn-on-cwarn-mode): Make obsolete.
8801         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8802         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8804 2012-01-31  Glenn Morris  <rgm@gnu.org>
8806         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8807         Fix :variable handling of mode a symbol not equal to modefun.
8808         Allow named functions to be used as the cdr of :variable.
8810 2012-01-30  Glenn Morris  <rgm@gnu.org>
8812         * emacs-lisp/authors.el (authors-fixed-entries):
8813         Remove reference to deleted file rnewspost.el.
8815 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
8817         * window.el (window-with-parameter): Remove unused variable `windows'.
8818         (window--side-check): Remove unused variable `code'.
8819         (window--resize-siblings): Remove unused variable `first'.
8820         (adjust-window-trailing-edge): Remove unused variable `failed'.
8821         (window-deletable-p, window--delete): Remove unused variable `buffer'.
8822         Use `let', not `let*'.
8823         (balance-windows-2): Remove unused variable `found'.
8824         (window--state-put-2): Remove unused variable `splits'.
8825         (window-state-put): Remove unused variable `selected'.
8826         (same-window-p): Use `string-match-p'.
8827         (display-buffer-assq-regexp): Remove unused variable `value'.
8828         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8829         Mark argument ALIST as ignored.
8830         (pop-to-buffer): Remove unused variable `old-window'.
8832 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
8834         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8835         and .lzma compressed files.
8837 2012-01-29  Chong Yidong  <cyd@gnu.org>
8839         * frame.el (window-system-default-frame-alist): Doc fix.
8841         * dynamic-setting.el (font-setting-change-default-font): Don't
8842         change the default face if SET-FONT argument is non-nil (Bug#9982).
8844 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
8846         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8848 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
8850         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8851         breakpoints in files outside current directory (Bug#6098).
8853 2012-01-29  Chong Yidong  <cyd@gnu.org>
8855         * progmodes/python.el: Require ansi-color at top-level.
8857         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8858         Define and use in Emacs Lisp mode (Bug#9360).
8859         (lisp-mode-abbrev-table): Add doc.
8860         (lisp-mode-variables): Don't set local-abbrev-table.
8861         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8863 2012-01-28  Roland Winkler  <winkler@gnu.org>
8865         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8867 2012-01-28  Roland Winkler  <winkler@gnu.org>
8869         * textmodes/bibtex.el (bibtex-entry-alist): New function.
8870         (bibtex-set-dialect): Use it.  Either set global values of
8871         dialect-dependent variables or bind these variables buffer-locally
8872         (Bug#10254).
8873         (bibtex-mode): Call bibtex-set-dialect via
8874         hack-local-variables-hook.
8875         (bibtex-dialect): Update docstring.
8876         Add safe-local-variable predicate.
8877         (bibtex-entry-alist, bibtex-field-alist): Initialize via
8878         bibtex-set-dialect.
8879         (bibtex-mode-map): Define menu for each dialect.
8880         (bibtex-entry): Fix docstring.
8882 2012-01-28  Chong Yidong  <cyd@gnu.org>
8884         * eshell/esh-arg.el (eshell-quote-argument): New function.
8886         * eshell/esh-ext.el (eshell-invoke-batch-file):
8887         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8888         first arg to eshell-parse-command (Bug#10523).
8890 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8892         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8893         `default-directory' is non-nil.
8895 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8897         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8898         line that displays system-configuration-options.  (Bug#9924)
8900 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8902         * descr-text.el (describe-char): Show information about POS, in
8903         addition to information about the character at POS.  Improve and
8904         update the doc string.  Change "code point" to "code point in
8905         charset", to avoid confusion with the character's Unicode code
8906         point shown above that.  (Bug#10129)
8908 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8910         * descr-text.el (describe-char): Show the raw character, not only
8911         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
8912         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8913         for the reasons.
8915 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
8917         * emacs-lisp/package.el (package-install):
8918         Run package-refresh-contents if there is no archive yet (Bug#9798).
8920 2012-01-28  Chong Yidong  <cyd@gnu.org>
8922         * emacs-lisp/package.el (package-maybe-load-descriptor):
8923         New function, split from package-maybe-load-descriptor.
8924         (package-maybe-load-descriptor): Use it.
8925         (package-download-transaction): Fully load required packages
8926         inside the loop, so that `require' calls work (Bug#10593).
8927         (package-install): No need to call package-initialize now.
8929 2012-01-28  Chong Yidong  <cyd@gnu.org>
8931         * simple.el (deactivate-mark): Doc fix (Bug#8614).
8933         * tooltip.el (tooltip-mode): Doc fix.
8934         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8936         * frame.el (set-cursor-color): Doc fix (Bug#352).
8938         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8939         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8941         * cus-edit.el (custom-buffer-create-internal): Fix search button
8942         action (Bug#10542).
8943         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8945 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
8947         * dired.el (dired-mark-files-regexp):
8948         Include any subdirectory components.  (Bug#10445)
8950 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
8952         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8953         Handle [host]:port syntax.  (Bug#10533)
8955 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
8957         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8959 2012-01-26  Glenn Morris  <rgm@gnu.org>
8961         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8962         * term.el (term-raw-escape-map): Use Control-X-prefix.
8963         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
8965 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
8967         * window.el (window-state-get, window--state-get-1): Don't deal
8968         with fixed-sizeness of windows.  Simplify code.
8970 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
8972         * window.el (window--state-get-1, window--state-put-2):
8973         Don't save and restore the mark.
8975 2012-01-25  Chong Yidong  <cyd@gnu.org>
8977         * custom.el (custom-variable-p): Doc fix.
8979 2012-01-25  Glenn Morris  <rgm@gnu.org>
8981         * dired.el (dired-goto-file): Handle some of the more common
8982         characters that `ls -b' escapes.  (Bug#10596)
8984         * progmodes/compile.el (compilation-next-error-function):
8985         Respect compilation-first-column in the "*compilation*" buffer.
8986         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
8988         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
8990 2012-01-24  Glenn Morris  <rgm@gnu.org>
8992         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
8994 2012-01-24  Julien Danjou  <julien@danjou.info>
8996         * color.el (color-rgb-to-hsl): Fix value computing.
8997         (color-hue-to-rgb): New function.
8998         (color-hsl-to-rgb): New function.
8999         (color-clamp, color-saturate-hsl, color-saturate-name)
9000         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
9001         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
9003 2012-01-24  Glenn Morris  <rgm@gnu.org>
9005         * vc/vc-rcs.el (vc-rcs-create-tag):
9006         * vc/vc-sccs.el (vc-sccs-create-tag):
9007         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
9009 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
9011         * eshell/esh-util.el (eshell-read-hosts-file):
9012         Skip comment lines.  (Bug#10549)
9014         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
9016 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
9018         * subr.el (display-delayed-warnings): Doc fix.
9019         (collapse-delayed-warnings): New function to collapse identical
9020         adjacent warnings.
9021         (delayed-warnings-hook): Add it.
9023 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
9025         * net/tramp.el (tramp-action-login): Set connection property "login-as".
9027         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
9028         (tramp-default-user-alist): Don't add "pscp".
9029         (tramp-do-copy-or-rename-file-out-of-band): Use connection
9030         property "login-as", if set.  (Bug#10530)
9032 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
9034         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
9035         "plink1" and "psftp".  (Bug#10530)
9037 2012-01-21  Kenichi Handa  <handa@m17n.org>
9039         * international/mule-cmds.el (prefer-coding-system): Show a
9040         warning message if the default value of file-name-coding-system
9041         was not changed.
9043 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9045         * windmove.el (windmove-reference-loc):
9046         Fix windmove-reference-loc miscalculation.
9048 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
9050         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
9051         default unit.
9053 2012-01-21  Glenn Morris  <rgm@gnu.org>
9055         * international/mule.el (auto-coding-alist): Add .tbz.
9057         * files.el (local-enable-local-variables): Doc fix.
9058         (inhibit-local-variables-regexps): Rename from
9059         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
9060         Doc fix.  Add some extensions from auto-coding-alist.
9061         (inhibit-local-variables-suffixes):
9062         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
9063         (inhibit-local-variables-p):
9064         New function, extracted from set-auto-mode-1.
9065         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
9066         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
9067         (hack-local-variables): Doc fix.  Make the mode-only case
9068         respect enable-local-variables and friends.
9069         Respect inhibit-local-variables-regexps for file-locals, but
9070         not for directory-locals.
9071         (set-visited-file-name):
9072         Take account of inhibit-local-variables-regexps.
9073         Whether it applies may change as the file name is changed.
9074         * jka-cmpr-hook.el (jka-compr-install):
9075         * jka-compr.el (jka-compr-uninstall):
9076         Update for inhibit-first-line-modes-suffixes name change.
9078 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
9080         * help-macro.el (make-help-screen): Temporarily restore original
9081         binding for minor-mode-map-alist (Bug#10454).
9083 2012-01-19  Julien Danjou  <julien@danjou.info>
9085         * color.el (color-name-to-rgb): Use the white color to find the max
9086         color component value and return correctly computed values.
9087         (color-name-to-rgb): Add missing float conversion for max value.
9089 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
9091         * window.el (window--state-get-1, window-state-get): Do not use
9092         special state value for window-persistent-parameters.
9093         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
9094         (window--state-put-2): Reset all window parameters to nil before
9095         assigning values of persistent parameters.
9097 2012-01-18  Alan Mackenzie  <acm@muc.de>
9099         Eliminate sluggishness and hangs in fontification of "semicolon
9100         deserts".
9102         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
9103         Change value 10000 -> 3000.
9104         (c-state-safe-place): Reformulate so it doesn't stack up an
9105         infinite number of wrong entries in c-state-nonlit-pos-cache.
9106         (c-determine-limit-get-base, c-determine-limit): New functions to
9107         determine backward search limits disregarding literals.
9108         (c-find-decl-spots): Amend commenting.
9109         (c-cheap-inside-bracelist-p): New function which detects "={".
9111         * progmodes/cc-fonts.el
9112         (c-make-font-lock-BO-decl-search-function): Give a limit to a
9113         backward search.
9114         (c-font-lock-declarations): Fix an occurrence of point being
9115         undefined.  Check additionally for point being in a bracelist or
9116         near a macro invocation without a semicolon so as to avoid a
9117         fruitless time consuming search for a declarator.  Give a more
9118         precise search limit for declarators using the new
9119         c-determine-limit.
9121 2012-01-18  Glenn Morris  <rgm@gnu.org>
9123         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
9124         (set-auto-mode): Doc fixes.
9126 2012-01-17  Glenn Morris  <rgm@gnu.org>
9128         * isearch.el (search-nonincremental-instead): Fix doc typo.
9130         * dired.el (dired-insert-directory): Handle newlines in directory name.
9131         (dired-build-subdir-alist): Unescape newlines in directory name.
9133 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
9135         * net/tramp.el (tramp-local-end-of-line): New defcustom.
9136         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
9137         (tramp-action-terminal): Use it.  (Bug#10530)
9139 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9141         * minibuffer.el (completion--replace): Strip properties (bug#10062).
9143 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
9145         * window.el (window-state-ignored-parameters): Remove variable.
9146         (window--state-get-1): Rename argument MARKERS to IGNORE.
9147         Handle persistent window parameters.  Make copy of clone-of
9148         parameter only if requested.  (Bug#10348)
9149         (window--state-put-2): Install a window parameter only if it has
9150         a non-nil value or an existing parameter shall be overwritten.
9152 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
9154         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
9156 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
9158         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
9159         don't pass the (nil) value of `upnode' to string-match.
9161 2012-01-14  Chong Yidong  <cyd@gnu.org>
9163         * startup.el (command-line): Fix X resource class for cursorColor.
9164         Fix values recognized by the cursorBlink resource.
9166 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
9168         * epg.el (epg--make-temp-file): Avoid permission race condition
9169         when running on old Emacs versions (bug#10403).
9171 2012-01-14  Glenn Morris  <rgm@gnu.org>
9173         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
9175 2012-01-13  Alan Mackenzie  <acm@muc.de>
9177         Fix filling for when filladapt mode is enabled.
9179         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
9180         c-mask-paragraph, pass in `fill-paragraph' rather than
9181         `fill-region-as-paragraph'.  (This is a reversion of a previous
9182         change.)
9183         * progmodes/cc-mode.el (c-basic-common-init):
9184         Make fill-paragraph-handle-comment buffer local and set it to nil.
9186 2012-01-13  Glenn Morris  <rgm@gnu.org>
9188         * dired.el (dired-switches-escape-p): New function.
9189         (dired-insert-directory): Use dired-switches-escape-p.
9190         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
9192         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
9194 2012-01-12  Glenn Morris  <rgm@gnu.org>
9196         * mail/sendmail.el (mail-mode): Update paragraph-separate for
9197         changes in adaptive-fill-regexp.  (Bug#10276)
9199 2012-01-11  Alan Mackenzie  <acm@muc.de>
9201         Fix Emacs bug #10463 - put `widen's around the critical spots.
9203         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
9204         widen around each invocation of c-state-pp-to-literal.  Remove an
9205         unused let variable.
9207 2012-01-11  Glenn Morris  <rgm@gnu.org>
9209         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
9210         Doc fix.
9212 2012-01-10  Chong Yidong  <cyd@gnu.org>
9214         * net/network-stream.el (network-stream-open-starttls):
9215         Avoid emitting a confusing error message when the server gives a bad
9216         response to the capability command.
9218 2012-01-10  Glenn Morris  <rgm@gnu.org>
9220         * mail/unrmail.el (unrmail): Tweak previous change.
9222 2012-01-09  Chong Yidong  <cyd@gnu.org>
9224         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
9226 2012-01-08  Alan Mackenzie  <acm@muc.de>
9228         Optimise font locking in long enum definitions.
9230         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
9231         arm to a cond form to handle enums.
9232         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
9233         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
9235 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9237         * files.el (move-file-to-trash): Preserve default file modes on error.
9238         (Bug#10401)
9240 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9242         * faces.el (set-face-attribute): Clarify the meaning of the nil
9243         frame (bug#10294).
9245         * subr.el (with-selected-frame): Mention that the selected frame
9246         is restored (bug#9980).
9248         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
9249         (bug#9759).
9251         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
9252         (password-read): Don't autoload unused function.
9254 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
9256         * progmodes/which-func.el (which-func-mode): Turn into a
9257         non-interactive function and mark as obsolete (bug#10428).
9259 2012-01-06  Chong Yidong  <cyd@gnu.org>
9261         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9262         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9263         functions, along with 1 and -1.
9265 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
9267         * time.el (display-time-load-average)
9268         (display-time-default-load-average): Doc fixes.  See the thread
9269         starting at
9270         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9271         for the details.
9273 2012-01-06  Glenn Morris  <rgm@gnu.org>
9275         * mail/unrmail.el (unrmail): Give an explicit error if the input file
9276         has no messages.  (Bug#10377)
9278         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9279         than Info-edit.  (Bug#10385)
9281         * time.el (display-time-load-average, display-time-next-load-average):
9282         Doc fixes.
9284         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9285         local setting of buffer-read-only to the input buffer.  (Bug#10419)
9287         * calendar/calendar.el (calendar-mode):
9288         Locally set scroll-margin to 0.  (Bug#10379)
9290 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
9292         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
9294 2012-01-05  Glenn Morris  <rgm@gnu.org>
9296         * eshell/em-unix.el (diff-no-select): Autoload it.
9297         (eshell/diff): Use diff-no-select.  (Bug#10420)
9299 2012-01-05  Chong Yidong  <cyd@gnu.org>
9301         * shell.el (shell-dynamic-complete-functions): Revert last change.
9302         (shell-command-completion-function): New function.
9303         (shell-completion-vars): Use it to implement
9304         shell-completion-execonly (Bug#10417).
9306         * custom.el (enable-theme): Don't set custom-safe-themes.
9308         * cus-theme.el (custom-theme-merge-theme):
9309         Ignore custom-enabled-themes and custom-safe-themes.
9311 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
9313         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9314         first prompt in `sql-interacive-mode'.
9315         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9316         keywords.
9317         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9318         (sql-product-interactive): Bug fix: Set `sql-buffer' in
9319         context of original buffer.  Invoke `sql-login-hook'.
9321 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
9323         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9324         letters in cite-prefix.
9326 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9328         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9330 2012-01-03  Chong Yidong  <cyd@gnu.org>
9332         * shell.el (shell-dynamic-complete-functions):
9333         Put pcomplete-completions-at-point, so as to try
9334         comint-filename-completion first (Bug#10417).
9336 2012-01-02  Richard Stallman  <rms@gnu.org>
9338         * battery.el (battery-status-function):
9339         Detect when to use battery-yeeloong-sysfs.
9340         (battery-echo-area-format): Add string for Yeeloong.
9341         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9342         (battery-yeeloong-sysfs): New function.
9344 2012-01-02  Chong Yidong  <cyd@gnu.org>
9346         * dirtrack.el (dirtrack-list): Eliminate unused third element.
9347         (dirtrack): Merge code for handling relative filenames in prompt
9348         from shell-dir-cookie-watcher.
9349         (dirtrack-debug-message): New arg to avoid excess format calls.
9351         * shell.el (shell-dir-cookie-re): Variable deleted.
9352         (shell-dir-cookie-watcher): Function deleted.
9353         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9354         with dirtrack-mode.
9356 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
9358         * term/w32-win.el (dynamic-library-alist) <gnutls>:
9359         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9360         libgnutls-26.dll.
9362 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
9364         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9366 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
9368         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9369         headers of non-MIME messages, when rmail-enable-mime is non-nil.
9371 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
9373         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9374         also for alternative shells.
9375         (tramp-open-connection-setup-interactive-shell): Check, whether
9376         the shell is a busybox.
9377         (tramp-send-command): Don't suppress multiple prompts for
9378         busyboxes, it hurts.
9380 2011-12-28  Chong Yidong  <cyd@gnu.org>
9382         * progmodes/gdb-mi.el (gdb-get-source-file-list)
9383         (gdb-get-source-file): Move mode line update to
9384         gdb-get-source-file (Bug#10087).
9386 2011-12-25  Chong Yidong  <cyd@gnu.org>
9388         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9389         gud-gdb-marker-filter without taking it as an argument.
9390         (gud-gdb-run-command-fetch-lines): Caller changed.
9391         (gud-gdb-completion-function): New variable.
9392         (gud-gdb-completion-at-point): Use it.
9393         (gud-gdb-completions-1): Split from gud-gdb-completions.
9395         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9396         function as separate arguments.
9397         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9398         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9399         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9400         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9401         (gdb-stopped, def-gdb-auto-update-trigger)
9402         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9403         (gdb-get-changed-registers, gdb-get-main-selected-frame):
9404         Callers changed.
9405         (gud-gdbmi-completions): New function.
9406         (gdb): Use it for generating the completion table.
9408 2011-12-24  Alan Mackenzie  <acm@muc.de>
9410         Introduce a mechanism to widen the region used in context font
9411         locking.  Use this to protect declarations from losing their contexts.
9413         * progmodes/cc-langs.el (c-before-font-lock-functions):
9414         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9415         (c-before-context-fontification-functions): New defvar, a list of
9416         functions to be run just before context (etc.) font locking.
9418         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9419         New, functionality extracted from
9420         c-neutralize-syntax-in-and-mark-CPP.
9421         (c-in-after-change-fontification): New variable.
9422         (c-after-change): Set c-in-after-change-fontification.
9423         (c-set-fl-decl-start): Rejig its interface, so it can be called
9424         from both after-change and context fontifying.
9425         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9426         New functions.
9427         (c-standard-font-lock-fontify-region-function): New variable.
9428         (c-font-lock-fontify-region): New function.
9430 2011-12-24  Juri Linkov  <juri@jurta.org>
9432         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9433         (Bug#10348)
9435 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
9437         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9438         existence of source file.  (Bug#10325)
9440 2011-12-23  Alan Mackenzie  <acm@muc.de>
9442         Fix unstable fontification inside templates.
9444         * progmodes/cc-langs.el (c-before-font-lock-functions):
9445         Newly created from the singular version.  The (c c++ objc) entry now
9446         additionally has c-set-fl-decl-start.  The other languages (apart
9447         from AWK) have that as a single entry.
9449         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9450         The functionality for "local" declarations has been extracted to
9451         c-set-fl-decl-start.
9453         * progmodes/cc-mode.el (c-common-init, c-after-change):
9454         Changes due to pluralisation of c-before-font-lock-functions.
9455         (c-set-fl-decl-start): New function, extracted from
9456         c-font-lock-enclosing-decls and enhanced.
9458 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
9460         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9462 2011-12-22  Juri Linkov  <juri@jurta.org>
9464         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
9466 2011-12-22  Chong Yidong  <cyd@gnu.org>
9468         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9470 2011-12-21  Drew Adams  <drew.adams@oracle.com>
9472         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
9474 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
9476         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9478 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
9480         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
9481         highlighting and support.  Fix up comments for capitalization.
9482         (cfengine-mode-debug): New var.
9483         (cfengine3-mode): Change the modeline indicator to "CFE3".
9484         (cfengine3-font-lock-keywords): Improve defun highlighting.
9485         (cfengine2-actions): Rename from `cfengine-actions'.
9486         (cfengine2-font-lock-keywords): Rename from
9487         `cfengine-font-lock-keywords'.
9488         (cfengine2-imenu-expression): Rename from
9489         `cfengine-imenu-expression'.
9490         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9491         (cfengine2-beginning-of-defun): Rename from
9492         `cfengine-beginning-of-defun'.
9493         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9494         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9495         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
9496         modeline indicator to "CFE2".
9497         (cfengine-mode): Defalias to `cfengine-auto-mode'.
9498         (cfengine-mode-abbrevs): Mark obsolete.
9500 2011-12-21  Chong Yidong  <cyd@gnu.org>
9502         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9503         filename argument.
9505 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
9507         * window.el (window-normalize-buffer-to-display): Remove.
9508         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9510 2011-12-19  Chong Yidong  <cyd@gnu.org>
9512         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9513         Don't signal an error in a predicate function; return non-nil.
9514         (vc-dir-mark-file): Move the error here.
9515         (vc-dir-mark-unmark): If acting on the region, keep going if one
9516         of the entries cannot be marked/unmarked.
9517         (vc-dir-mark-all-files): If current entry is a directory, mark
9518         only child files, as documented.
9520 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9522         * ses.el: Ooops... undo changes of revision 106664, as trunk
9523         branch is feature frozen, and revision 106664 was a feature
9524         addition.
9526 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
9528         * term/ns-win.el (ns-get-selection-internal)
9529         (ns-store-selection-internal): Declare.
9530         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9531         Declare as obsolete.
9532         (ns-get-pasteboard, ns-paste-secondary):
9533         Use ns-get-selection-internal.
9534         (ns-set-pasteboard,  ns-copy-including-secondary):
9535         Use ns-store-selection-internal.
9537 2011-12-17  Chong Yidong  <cyd@gnu.org>
9539         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9540         (vc-deduce-fileset): Doc fix.
9542 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
9544         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9546 2011-12-13  Sam Steingold  <sds@gnu.org>
9548         * man.el (Man-getpage-in-background): When running under a
9549         window-system, ignore $MANWIDTH and $COLUMNS.
9551 2011-12-15  Kenichi Handa  <handa@m17n.org>
9553         * language/ethio-util.el: Change coding tag to utf-8-emacs.
9554         (setup-ethiopic-environment-internal): Comment out key-binding for
9555         ethio-toggle-punctuation.
9557 2011-12-13  Alan Mackenzie  <acm@muc.de>
9559         Add the switch statement to AWK Mode.
9561         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9562         "default" to the keywords regexp.
9564         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9565         expression as the rest.
9566         (c-nonlabel-token-key): Allow string literals for AWK.
9567         Refactor for the other modes.
9569         Large brace-block initialisation makes CC Mode slow: Fix.
9570         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9571         routines.  Limit backward searching in c-font-lock-enclosing.decl.
9573         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9574         pp-state and literal type in addition to the limits.
9575         (c-state-safe-place): New defun, extracted from c-state-literal-at.
9576         (c-state-literal-at): Use the above new defun.
9577         (c-slow-in-literal, c-fast-in-literal): Remove.
9578         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9580         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9581         being in a literal.  Add a limit for backward searching.
9583         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9584         c-slow-in-literal.
9586 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9588         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9590 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
9592         * window.el (delete-other-windows): Use correct frame in call to
9593         window-with-parameter.
9595 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
9597         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9598         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9599         (makefile-gmake-statements, makefile-makepp-statements):
9600         Use it and add new makepp keywords.
9601         (makefile-makepp-font-lock-keywords): Add new patterns.
9602         (makefile-match-function-end): Match new [...] and [[...]].
9604 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
9606         * ses.el (ses-call-printer-return, ses-cell-property-get)
9607         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9608         (ses-create-cell-variable, ses-reset-header-string)
9609         (ses-cell-set-formula, ses-repair-cell-reference-all)
9610         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9611         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9612         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9613         (ses-aset-with-undo, ses-load, ses-truncate-cell)
9614         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9615         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9616         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9617         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9618         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9619         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9620         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9621         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9623 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9625         * ses.el: The overall change is to add cell renaming, that is
9626         setting fancy names for cell symbols other than name matching
9627         "\\`[A-Z]+[0-9]+\\'" regexp .
9628         (ses-create-cell-variable): New defun.
9629         (ses-relocate-formula): Relocate formulas only for cells the
9630         symbols of which are not renamed, i.e. symbols whose names do not
9631         match regexp "\\`[A-Z]+[0-9]+\\'".
9632         (ses-relocate-all): Relocate values only for cells the symbols of
9633         which are not renamed.
9634         (ses-load): Create cells variables as the (ses-cell ...) are read,
9635         in order to check row col consistency with cell symbol name only
9636         for cells that are not renamed.
9637         (ses-replace-name-in-formula): New defun.
9638         (ses-rename-cell): New defun.
9640 2011-12-11  Chong Yidong  <cyd@gnu.org>
9642         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9643         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9645 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
9647         * window.el (other-window): Fix docstring.
9649 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9651         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9652         `from' or `to' address before taking its substring.
9653         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9654         encoded name is chopped in the middle of the encoded string, and
9655         thus displayed encoded.
9657 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
9659         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9661 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
9663         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
9664         to use texinfo-update-node and commands that call it if the
9665         Texinfo file uses @node lines without next/prev/up pointers.
9666         Correct outdated description about texinfo-master-menu.
9667         (texinfo-all-menus-update, texinfo-master-menu)
9668         (texinfo-update-node, texinfo-every-node-update)
9669         (texinfo-multiple-files-update): Doc fix.  Warn against updating
9670         all the @node lines.
9671         (texinfo-master-menu): Only call texinfo-update-node if the prefix
9672         argument is numeric.  Explain better in the doc string what the
9673         function really does.
9674         (texinfo-insert-master-menu-list): Improve the error message
9675         displayed if there's no menu in the Top node.
9676         (Bug#2975)  See also this thread:
9677         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9679 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
9681         * speedbar.el (speedbar-supported-extension-expressions):
9682         Add .adb and .ads, commonly used for Ada source code (bug#10256).
9684 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
9686         * printing.el (pr-mode-alist):
9687         * simple.el (filter-buffer-substring-functions)
9688         (completion-list-insert-choice-function):
9689         * window.el (window-with-parameter, window-atom-root)
9690         (window-sides-slots, window-size-fixed, window-min-delta)
9691         (window-max-delta, window--resize-mini-window)
9692         (window--resize-child-windows-normal, window-tree)
9693         (delete-other-windows, quit-window, split-window)
9694         (display-buffer-record-window, special-display-buffer-names)
9695         (special-display-regexps, special-display-popup-frame)
9696         (same-window-p, split-window-sensibly)
9697         (display-buffer-overriding-action, display-buffer-alist)
9698         (display-buffer-base-action, display-buffer, switch-to-buffer)
9699         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9700         (fit-window-to-buffer, recenter-positions)
9701         (mouse-autoselect-window-state, mouse-autoselect-window-select):
9702         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9703         and remove unneeded backslashes in docstrings.
9705 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9707         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9709         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9710         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9711         end in ".mk".
9712         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9713         when reading the makefile (bug#10116).
9715 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9717         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9718         (bug#10116).
9720 2011-12-06  Glenn Morris  <rgm@gnu.org>
9722         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9724 2011-12-06  Chong Yidong  <cyd@gnu.org>
9726         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9728 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
9730         * textmodes/table.el (table-shorten-cell): Fix typo.
9732 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
9734         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9736 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
9738         * descr-text.el (describe-char): Fix display of strong
9739         right-to-left characters and directional embeddings and overrides.
9741         * simple.el (what-cursor-position): Fix display of codepoints of
9742         strong right-to-left characters.
9744 2011-12-05  Chong Yidong  <cyd@gnu.org>
9746         * faces.el (read-color): Doc fix.
9748 2011-12-05  Glenn Morris  <rgm@gnu.org>
9750         * align.el (align--set-marker): Add doc-string.
9751         Don't try to move something that is not a marker.  (Bug#10216)
9753 2011-12-04  Glenn Morris  <rgm@gnu.org>
9755         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9756         overly zealous deletion of trailing whitespace.
9758 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
9760         * server.el (server-delete-client): On Windows, do not try to delete
9761         the only terminal.
9762         (server-process-filter): On Windows, treat requests for a tty frame as
9763         if they were for a GUI frame if the running server is in GUI mode.
9765 2011-12-03  Glenn Morris  <rgm@gnu.org>
9767         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
9769 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9771         * electric.el: Streamline electric-indent's hook.
9772         (electric-indent-chars): Revert to simple list.
9773         (electric-indent-functions): New var.
9774         (electric-indent-post-self-insert-function): Use it.
9776         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9777         there's no inferior buffer (bug#10196).
9778         (prolog-consult-compile): Don't use toggle-read-only.
9780 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
9782         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9783         interrupt.  (Bug#10187)
9785 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9787         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9788         (bug#9160).
9790         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9791         (bug#10191).
9793 2011-12-02  Juri Linkov  <juri@jurta.org>
9795         * info.el (Info-search): Display "end of manual" when Isearch
9796         reaches the end of single-file Info manual.  (Bug#9918)
9798 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
9800         * isearch.el (isearch-message-prefix): Run the input method part
9801         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
9803 2011-12-02  Juri Linkov  <juri@jurta.org>
9805         * isearch.el (isearch-occur): Use `word-search-regexp' for
9806         `isearch-word'.
9807         (isearch-search-and-update): Add condition for `isearch-word' and
9808         call `word-search-regexp'.  (Bug#10145)
9810 2011-12-01  Glenn Morris  <rgm@gnu.org>
9812         * eshell/em-hist.el (eshell-hist-initialize):
9813         Handle eshell-history-size nil and HISTSIZE set or unset.
9814         (eshell-history-file-name, eshell-history-size): Fix custom type.
9816 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9818         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9820 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
9822         * progmodes/verilog-mode.el (verilog-pretty-expr):
9823         Rework verilog-pretty-expr to handle new assignment operators in system
9824         verilog, such as += *= and the like.
9825         (verilog-assignment-operator-re): Regular expression to find the
9826         assigment operator in a verilog assignment.
9827         (verilog-assignment-operation-re): Regular expression to find an
9828         assignment statement for pretty-expr.
9829         (verilog-in-attribute-p): Query returns true if point is in an
9830         attribute context; used to skip these for expression line up from
9831         pretty-expr.
9832         (verilog-in-parameter-p): Query returns true if point is in an
9833         parameter definition context; used to skip these for expression
9834         line up from pretty-expr.
9835         (verilog-in-parenthesis-p): Query returns true if point is in a
9836         parenthetical expression, specifically ( ) but not [ ] or { };
9837         used by pretty-expr.
9838         (verilog-just-one-space): If there is no space, don't add one.
9839         (verilog-get-lineup-indent-2): Specifically skip just attribute
9840         contexts for expression lineup, rather than skipping all
9841         parenthetical expressions.
9842         (verilog-calculate-indent): Fix comment, and fix indent.
9843         (verilog-do-indent): Indent declarations in lists (suggested by
9844         Joachim Lechner).
9845         (verilog-mode-abbrev-table): Populate abbrev mode with the various
9846         skeleton items.
9847         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9848         by Alain Mellan).
9850 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
9852         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9853         parameters with embedded comments.  Reported by Ray Stevens.
9854         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9855         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9856         Reported by Tim Holt.
9857         (verilog-auto): Fix AUTOing a upper module then AUTOing module
9858         instantiated by upper module causing wrong expansion until AUTOed a
9859         second time.  Reported by K C Buckenmaier.
9860         (verilog-diff-auto): Fix showing .* as a difference when
9861         `verilog-auto-star-save' off.  Reported by Dan Dever.
9862         (verilog-auto-reset, verilog-read-always-signals)
9863         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9864         temporary signals in reset list if
9865         verilog-auto-reset-blocking-in-non is nil, and match assignment
9866         style to each signal's assignment type, bug381.
9867         Reported by Thomas Esposito.
9868         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9869         (verilog-uvm-statement-re): Support UVM indentation and
9870         highlighting, with old OVM keywords only.
9871         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9872         Support AUTOTIEOFF creating non-wire data types.
9873         Suggested by Jonathan Greenlaw.
9874         (verilog-auto-insert-lisp, verilog-delete-to-paren)
9875         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9876         (verilog-inject-sense, verilog-read-inst-pins)
9877         (verilog-read-sub-decls, verilog-read-sub-decls-line):
9878         Fix mismatching parenthesis inside commented out code when deleting
9879         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
9880         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9881         non-numeric vector width.  Reported by Alex Reed.
9882         (verilog-auto-ascii-enum): Add "onehot" option to work around not
9883         detecting signals with parameter widths.  Reported by Alex Reed.
9884         (verilog-auto-delete-trailing-whitespace):
9885         With `verilog-auto-delete-trailing-whitespace' remove trailing
9886         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
9887         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9888         Fix verilog-scan-cache corruption when running user AUTO expansion
9889         hooks that call indentation routines.
9890         (verilog-simplify-range-expression): Fix typo ignoring lower case
9891         identifiers.
9892         (verilog-delete-auto): Fix delete-autos to also remove user created
9893         automatics, as long as they start with AUTO.
9894         (verilog-batch-diff-auto, verilog-diff-auto)
9895         (verilog-diff-function): Add `verilog-diff-auto' and bind to
9896         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
9897         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9898         (verilog-in-paren-quick, verilog-re-search-backward-quick)
9899         (verilog-re-search-forward-quick, verilog-syntax-ppss):
9900         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9901         is disabled and its cache will get corrupt, causing AUTOS not to
9902         expand.  Instead use only -quick functions.
9903         (verilog-scan-region): Fix scanning over escaped quotes.
9904         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9905         (verilog-re-search-backward-quick)
9906         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9907         related functions now ignore strings, to fix misparsing of strings
9908         with magic comments embedded in them.
9909         (verilog-read-auto-template):
9910         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9911         Reported by Brad Dobbie.
9912         (verilog-read-auto-template):
9913         Fix 'verilog-auto-inst-template-numbers' with comments.
9914         Reported by Brad Dobbie.
9915         (verilog-auto-inst, verilog-auto-inst-param)
9916         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9917         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
9918         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9919         debugging templates without merge conflicts, bug357.
9920         Reported by Brad Dobbie.
9921         (verilog-read-auto-template):
9922         Fix verilog-auto-inst-template-numbers with multiple templates.
9923         Reported by Brad Dobbie.
9924         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9925         abbrevs so user won't be asked to save.
9926         (verilog-read-auto-lisp-present): Fix to start at beginning of
9927         buffer in case called outside of verilog-auto.
9928         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9929         to "X-2".  Reported by Matthew Myers.
9930         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9931         all inputs from module templates.  Reported by Leith Johnson.
9932         (verilog-module-inside-filename-p): Fix locating programs as with
9933         modules.
9934         (verilog-auto-inst-port): Fix vl-width expressions when using
9935         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
9936         (verilog-decls-get-regs, verilog-decls-get-signals,
9937         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9938         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9939         verilog-read-decls): Combine reg and wire structures into one var
9940         structure to represent SystemVerilog concepts.
9941         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9942         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9943         (verilog-auto-wire-type, verilog-insert-definition):
9944         Add verilog-auto-wire-type and AUTOLOGIC to support using
9945         SystemVerilog "logic" keyword instead of "wire"/"reg".
9946         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9947         to declares outputs that also have assignments (presumably in an
9948         ifdef or generate if so there's not a driver conflict).
9949         Reported by Matthew Myers.
9950         (verilog-auto-declare-nettype, verilog-insert-definition):
9951         Add verilog-auto-declare-nettype to fix declarations using
9952         `default_nettype none.  Reported by Julian Gorfajn.
9953         (verilog-read-always-signals-recurse, verilog-read-decls)
9954         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9955         malformed end statement, bug325.  Reported by Joshua Wise and
9956         Andrew Drake.
9957         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9958         (verilog-inst-comment-re): Fix not deleting Interfaced comment
9959         when expanding .* in interfaces, bug320.
9960         Reported by Pierre-David Pfister.
9961         (verilog-read-module-name): Fix import statements between module
9962         name and open parenthesis, bug317.
9963         Reported by Pierre-David Pfister.
9964         (verilog-simplify-range-expression): Fix simplification of
9965         multiplications inside AUTOWIRE connections, bug303.
9966         (verilog-auto-inst-port): Support parameter expansion in
9967         multidimensional arrays.
9968         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9969         after "assert property".  Reported by Julian Gorfajn.
9970         (verilog-simplify-range-expression): Fix "couldn't merge" errors
9971         with multiplication, bug303.
9972         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9973         Reported by Jan Frode Lonnum.
9975 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
9977         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9978         (hfy-shell-file-name, hfy-shell):
9979         * international/fontset.el (x-decompose-font-name): Fix typos.
9981 2011-11-29  Ken Brown  <kbrown@cornell.edu>
9983         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9984         (gdb-version): Remove defvar.
9985         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9986         (gdb-gud-context-command, gdb-non-stop-handler)
9987         (gdb-current-context-command, gdb-stopped): Use it.
9988         (gdb-init-1): Enable pretty printing here.
9989         (gdb-non-stop-handler): Don't enable pretty-printing here.
9990         Check to see if the target supports non-stop mode; if not, turn off
9991         non-stop mode.  Use the following.
9992         (gdb-check-target-async): New defun.
9993         (gud-watch, gdb-stopped): Fix whitespace.
9994         (gdb-get-source-file): Don't try to display the source file if
9995         `gdb-main-file' is nil.
9997 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9999         * align.el: Try to generate fewer markers (bug#10047).
10000         (align--set-marker): New macro.
10001         (align-region): Use it.
10003 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10005         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
10007 2011-11-29  Chong Yidong  <cyd@gnu.org>
10009         * indent.el (indent-for-tab-command, indent-according-to-mode):
10010         Doc fix.
10011         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
10013 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
10015         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
10016         aware of remote file names.  (Bug#10124)
10018 2011-11-29  Chong Yidong  <cyd@gnu.org>
10020         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
10022 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10024         * files.el (find-file): Don't use force-same-window (bug#10144).
10025         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
10026         use pop-to-buffer if the selected window can't be used.
10027         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
10029 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
10031         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
10032         special-mode-map.
10034 2011-11-28  Chong Yidong  <cyd@gnu.org>
10036         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
10038 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
10040         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
10041           gdb-get-source-file-list on gdb-create-source-file-list.
10043 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
10045         * whitespace.el (whitespace-newline): Use a different foreground
10046         color for 16-color light-background displays.
10048 2011-11-24  Chong Yidong  <cyd@gnu.org>
10050         * window.el (display-buffer--special-action): Doc fix.
10052 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
10054         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
10055         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
10056         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
10057         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
10058         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
10059         (avl-tree-stack-first):
10060         * emacs-lisp/cconv.el (cconv--analyse-use):
10061         * net/gnutls.el (gnutls-negotiate): Fix typos.
10063 2011-11-24  Glenn Morris  <rgm@gnu.org>
10065         * lpr.el (lpr-windows-system, lpr-lp-system):
10066         * mail/binhex.el (binhex-begin-line):
10067         * progmodes/grep.el (grep-history, grep-find-history):
10068         * textmodes/flyspell.el:
10069         * vc/pcvs-defs.el (cvs-global-menu):
10070         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
10071         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
10072         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
10074         * net/tls.el: Fix case of "GnuTLS".
10076         * paths.el (rmail-file-name): Format doc-string for make-docfile.
10078         * version.el (emacs-build-system): Give it a doc-string.
10080 2011-11-24  Juri Linkov  <juri@jurta.org>
10082         * view.el (view-buffer): Revert revno:105285 from 2011-07-19 (bug#8615).
10084 2011-11-24  Glenn Morris  <rgm@gnu.org>
10086         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
10087         if called on a non-mime message just toggle the headers.  (Bug#8006)
10089 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
10091         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
10092         (allout-lead-with-comment-string, allout-structure-deleted-hook)
10093         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
10094         (allout-rebullet-heading, allout-open-sibtopic)
10095         (allout-toggle-current-subtree-encryption)
10096         (allout-toggle-subtree-encryption, allout-encrypt-string)
10097         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
10098         (allout-distinctive-bullets-string, allout-auto-activation):
10099         * window.el (window-normalize-buffer-to-display):
10100         * progmodes/verilog-mode.el (verilog-batch-indent):
10101         * textmodes/bibtex.el (bibtex-field-braces-opt)
10102         (bibtex-field-strings-opt):
10103         * vc/cvs-status.el (cvs-tree-merge):
10104         Fix typos.
10106 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
10108         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
10109         `non-essential' to t, in order to avoid remote connections.
10111 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
10113         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10114         On MS-DOS and MS-Windows, compare with loaddefs.el
10115         case-insensitively.
10117 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10119         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
10121 2011-11-23  Glenn Morris  <rgm@gnu.org>
10123         * paths.el (rmail-file-name): Reformat the doc-string so that it
10124         is picked up.
10126         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
10127         (rmail-auto-file): Ignore case in the "special" field names,
10128         as mail-fetch-field does for all others.
10130         * mail/rmail.el (rmail-forward):
10131         * mail/rmailkwd.el (rmail-set-label):
10132         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
10133         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
10135         * mail/rmail.el (rmail-current-message): Doc fix.
10137         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
10139 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10141         * server.el (server-eval-and-print): Allow C-g (bug#6585).
10143 2011-11-22  Glenn Morris  <rgm@gnu.org>
10145         * mail/rmailmm.el (test-rmail-mime-handler)
10146         (test-rmail-mime-bulk-handler)
10147         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
10149 2011-11-21  Juri Linkov  <juri@jurta.org>
10151         * calc/calc.el (calc-read-key-sequence):
10152         Let-bind `input-method-function' to nil.  (Bug#10018)
10154 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10156         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
10157         Tell the caller that the next line needs recomputation, even
10158         though it doesn't start a sexp (bug#10094).
10160 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10162         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
10164 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10166         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10167         Use force-same-window.
10169 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10171         * descr-text.el (describe-char-unicode-data):
10172         * json.el (json-string-escape):
10173         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
10174         (Footnote-unicode, Footnote-style-p):
10175         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
10177 2011-11-20  Chong Yidong  <cyd@gnu.org>
10179         * window.el (replace-buffer-in-windows): Restore interactive spec.
10181 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10183         * electric.el (electric-indent-mode): Fix last change (too optimistic).
10185         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
10186         (byte-compile-global-not-obsolete-vars): New var.
10187         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
10188         Use it.
10189         (byte-compile-warn-obsolete): Align text with the one in *Help*.
10191 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
10193         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
10194         * progmodes/pascal.el (electric-pascal-equal):
10195         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
10196         * xml.el (xml-substitute-special): Fix typos.
10198 2011-11-20  Glenn Morris  <rgm@gnu.org>
10200         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
10201         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
10202         Doc fixes.
10203         (rmail-decode-mime-charset): Mark as obsolete.
10205         * mail/rmailsum.el (rmail-message-regexp-p-1):
10206         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
10207         Before using mime functions, check they are set.  (Bug#10077)
10209 2011-11-19  Juri Linkov  <juri@jurta.org>
10211         * info.el (Info-finder-find-node): Use `package--builtins' instead
10212         of `package-alist'.  Use node names formed by the pattern "Keyword "
10213         and the keyword name.
10215 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10217         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
10219 2011-11-19  Juri Linkov  <juri@jurta.org>
10221         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
10222         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
10223         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
10224         `old-history', `old-history-forward'.  Add let-binding
10225         `window-selected'.  Remove calls to `kill-buffer',
10226         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
10227         before calling `Info-find-node', so `Info-find-node-2' will reread
10228         the Info file.  Restore window positions only when `window-selected'
10229         is non-nil.
10231 2011-11-19  Juri Linkov  <juri@jurta.org>
10233         * isearch.el (isearch-lazy-highlight-new-loop):
10234         Remove condition `(not isearch-error)'.  (Bug#9918)
10236         * misearch.el (multi-isearch-search-fun): Add condition
10237         `(not bound)' to ignore lazy-highlighting search.
10238         Add the search-failed message "end of multi" when the end of
10239         multi-sequence is reached.  Uncapitalize the search-failed
10240         message "Repeat for next buffer".
10242         * info.el (Info-search): Add the search-failed message
10243         "end of the manual" when the end of the manual is reached
10244         in Isearch mode.
10246 2011-11-19  Juri Linkov  <juri@jurta.org>
10248         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
10249         Use non-destructive `remove' instead of `delete' because
10250         `Info-history-list' stored to `Info-isearch-initial-history-list' in
10251         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
10253 2011-11-19  Juri Linkov  <juri@jurta.org>
10255         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10256         to nil instead of binding `search-ring' and `regexp-search-ring'.
10257         (Bug#9185)
10259 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10261         * simple.el (line-move): Force movement by logical lines for any
10262         hscrolled window, not only when auto-hscroll-mode is on.
10263         (line-move-visual): Update doc string to that effect.  (Bug#10076)
10265 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
10267         * language/european.el (macintosh): Define as alias for mac-roman.
10269 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
10271         * mail/rmailmm.el (rmail-mime-display-header)
10272         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10273         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10274         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10275         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10276         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10277         of a raw aref.
10278         (rmail-mime-entity-segment): To get past the tagline, move forward
10279         2 more lines, to account for the 2 empty lines that precede and
10280         follow the line with the buttons.
10281         (rmail-mime-update-tagline): Move one more line, to get past the
10282         empty line that follows the buttons in the tagline.  (Bug#9520)
10284 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
10286         * window.el (window-max-delta-1, window-min-delta-1)
10287         (window-min-size-1, window-state-get-1, window-state-put-1)
10288         (window-state-put-2): Use "window--" prefix.
10290 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10292         * emacs-lisp/smie.el: Improve warnings and conflict detection.
10293         (smie-warning-count): New var.
10294         (smie-set-prec2tab): Use it.
10295         (smie-bnf->prec2): Improve warnings.  Add docstring.
10296         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10297         (smie-bnf--set-class): New function.
10298         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
10299         corner case.
10301         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10302         (compilation-error-properties, compilation-move-to-column):
10303         Handle compilation-first-column while in the target buffer.
10305         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10306         Don't hardcode point-min==1.
10308         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10309         (eshell-rewrite-for-command): Remove workaround.
10310         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10311         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10312         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10314         * files-x.el (modify-file-local-variable): Obey commenting conventions.
10316 2011-11-17  Glenn Morris  <rgm@gnu.org>
10318         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10319         Ignore buffer-local generated-autoload-file if it is the same
10320         as the global value.  (Bug#10049)
10322 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
10324         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10325         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10326         (reftex-toc-previous-heading, reftex-toc-max-level)
10327         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10328         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10329         (reftex-toc-do-promote, reftex-toc-promote-prepare)
10330         (reftex-toc-promote-action, reftex-toc-extract-section-number)
10331         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10332         (reftex-toc-rename-label, reftex-toc-visit-location)
10333         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10334         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10335         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10336         leaving "*toc*" only for references to the buffer.
10338 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
10340         * window.el (window-resize, delete-window, split-window):
10341         Replace window-splits by window-combination-resize.
10342         * cus-start.el (window-splits): Replace by window-combination-resize.
10344 2011-11-17  Glenn Morris  <rgm@gnu.org>
10346         * progmodes/sh-script.el (sh-font-lock-keywords-var):
10347         Make bash entry derive from sh entry, not shell entry.
10349 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
10351         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10352         local file name.
10354 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10356         * menu-bar.el (menu-bar-file-menu):
10357         * printing.el (pr-ps-utility):
10358         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10359         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10360         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10361         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10362         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10363         (icalendar--convert-cyclic-to-ical)
10364         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10365         (icalendar--convert-ical-to-diary)
10366         (icalendar--convert-recurring-to-diary)
10367         (icalendar--convert-non-recurring-all-day-to-diary)
10368         (icalendar-import-format-sample):
10369         * progmodes/idlw-shell.el (idlwave-shell-mode):
10370         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10371         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10372         (vhdl-ps-print-init): Fix typos.
10374 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
10376         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10377         FSF and collapse date sequence, obscure author/maintainer email address
10378         better, remove extra version line, track relocation of author's webpage.
10380         * progmodes/python.el (python-pdbtrack-input-prompt)
10381         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10382         regular python pdb prompts.  Adjustments shamelessly taken exactly as
10383         suggested in EmacsWiki page (tiny change):
10384         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10386 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
10388         * expand.el (expand-pos, expand-index, expand-point):
10389         Remove redundant info from docstring.
10390         (expand-add-abbrevs): Doc fix.
10391         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10392         (expand-sample-perl-mode-expand-list): Fix typos.
10394         * net/dbus.el (dbus-event-member-name):
10395         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10396         * term/pc-win.el (msdos-create-frame-with-faces):
10397         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10399 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
10401         * window.el (split-window, window-state-get-1)
10402         (window-state-put-1, window-state-put-2): Rename occurrences of
10403         window-nest to window-combination-limit.
10404         * cus-start.el (window-nest): Rename to window-combination-limit.
10406 2011-11-16  Chong Yidong  <cyd@gnu.org>
10408         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10409         regexp (Bug#10033).
10411 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10413         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10414         `completing-read' will remove *Completions* and will preserve
10415         current-buffer for us.
10416         (tmm-add-prompt): Users of *Completions* will always (re)set its
10417         major mode.
10418         (tmm-old-comp-map): Remove.
10420 2011-11-16  Glenn Morris  <rgm@gnu.org>
10422         * mail/rmailedit.el: Require rmailmm when compiling.
10423         (rmail-old-mime-state): New declaration.
10424         (rmail-edit-current-message): If editing a mime message,
10425         edit the "raw" message from the mbox buffer.
10426         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
10428 2011-11-15  Glenn Morris  <rgm@gnu.org>
10430         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10431         which wasn't being used.  Add optional arg to force given state.
10432         (rmail-mime): Add optional arg to force given state.
10434 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10436         * allout.el (allout-encryption-plaintext-sanitization-regexps):
10437         * frame.el (display-mm-dimensions-alist):
10438         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10439         (outline-move-subtree-down):
10440         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10441         (newsticker--treeview-do-get-node):
10442         * net/quickurl.el (quickurl-list-buffer-name):
10443         * progmodes/dcl-mode.el (dcl-mode):
10444         * progmodes/gdb-mi.el (gdb-mapcar*):
10445         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10447 2011-11-15  Glenn Morris  <rgm@gnu.org>
10449         * mail/rmail.el (rmail-file-coding-system): It's only ever used
10450         in a boolean sense, so just make it a boolean, and fix the doc.
10451         (rmail-show-mime-function, rmail-mime-feature)
10452         (rmail-require-mime-maybe): Doc fixes.
10453         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10455         * mail/rmailmm.el (rmail-show-mime): Doc fix.
10457 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
10459         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10460         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10461         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10462         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10464 2011-11-15  Glenn Morris  <rgm@gnu.org>
10466         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10467         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10468         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10469         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10470         (rmail-mime, rmail-show-mime): Doc fixes.
10472         * term/ns-win.el (mode-line-frame-identification):
10473         Leave it alone.  (Bug#10051)
10475         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
10477         * mail/rmailout.el (rmail-output-to-rmail-buffer):
10478         Handle empty buffers.  (Bug#9978)
10480 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
10482         * international/mule.el (define-charset):
10483         * mail/rmailmm.el (rmail-mime-find-header-encoding):
10484         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10485         * progmodes/verilog-mode.el (verilog-backward-token):
10486         * textmodes/ispell.el (lookup-words):
10487         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10489 2011-11-14  Glenn Morris  <rgm@gnu.org>
10491         * progmodes/executable.el
10492         (executable-make-buffer-file-executable-if-script-p):
10493         Handle file-modes returning nil.
10495         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10496         message - not necessary, and causes problems.  (Bug#9831)
10498         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10500         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10502         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10503         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
10504         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10506 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
10508         * window.el (window-resize, delete-window): Use window-splits
10509         variable instead of function.
10510         (window-state-get-1, window-state-put-2, window-state-put):
10511         Don't deal with windows' splits status.
10513 2011-11-12  Glenn Morris  <rgm@gnu.org>
10515         * apropos.el (apropos-do-all, apropos-library, apropos-value)
10516         (apropos-documentation): Doc fixes.
10518 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
10520         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10521         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10523 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10525         * electric.el (electric-indent-post-self-insert-function): Make it
10526         possible for a char to only indent in some circumstances.
10527         (electric-indent-mode): Simplify.
10529 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
10531         * window.el (windows-with-parameter): Remove unused function.
10532         (windows-at-side): Rename to window-at-side-list.
10533         (window-check, window-atom-check, window-atom-check-1)
10534         (window-side-check, window-size-ignore, window-size-fixed-1)
10535         (window-in-direction-2): Prefix with "window--".
10536         (window-tree-1): Rename to window--subtree, fix doc-string.
10538 2011-11-11  Glenn Morris  <rgm@gnu.org>
10540         * subr.el (eval-after-load): If FILE is already loaded,
10541         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
10543 2011-11-10  Glenn Morris  <rgm@gnu.org>
10545         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10546         Call svn via vc-svn-command rather than vc-do-command.
10547         (vc-svn-command): Add --non-interactive.  (Bug#9993)
10548         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10550         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10551         Add toggle-read-only.  (Bug#7292)
10552         * files.el (toggle-read-only): Mention that it should only
10553         be used interactively.  (Bug#10006)
10555 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10557         * progmodes/compile.el (compilation-error-regexp-alist-alist):
10558         Adjust regexp for OCaml warnings.
10560         * electric.el (electric-pair-post-self-insert-function): Let user
10561         turn it off buffer-locally (bug#9932).
10563         * progmodes/python.el (python-beginning-of-statement):
10564         Rewrite (bug#2703).
10566         * progmodes/compile.el: Better handle TABs (bug#9749).
10567         (compilation-internal-error-properties)
10568         (compilation-next-error-function): Obey the target buffer's
10569         compilation-error-screen-columns.
10571 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
10573         * progmodes/meta-mode.el: Remove obsolete comments.
10574         (meta-right-comment-regexp, meta-ignore-comment-regexp):
10575         Fix typos in docstrings.
10577 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
10579         * window.el (window-size-fixed-p): Rewrite doc-string.
10580         (window-resizable-p): Rename to window--resizable-p.  Update callers.
10581         (window--resizable): New function.  Make all callers of
10582         window-resizable call window--resizable instead.
10583         (window-resizable): Rewrite in terms of window--resizable.
10585 2011-11-08  Glenn Morris  <rgm@gnu.org>
10587         * progmodes/delphi.el (delphi-mode-syntax-table):
10588         Let define-derived-mode define a proper syntax table.  (Bug#9994)
10590 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10592         * window.el: Stay away from defsubst.
10593         (window-list-no-nils): Remove.
10594         (window-state-get-1, window-state-get): Use backquote instead.
10596 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10598         * emacs-lisp/find-func.el (find-function-read):
10599         Fix incorrect use of default argument in `completing-read'.
10601 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
10603         * window.el (display-buffer-function, special-display-function):
10604         Mention display-buffer-record-window but do not mention
10605         help-setup parameter in doc-strings.
10606         (window-min-delta): Fix doc-string typo.
10608 2011-11-08  Chong Yidong  <cyd@gnu.org>
10610         * window.el (window-total-height, window-total-width): Doc fix.
10611         (window-body-size): Move from C.
10612         (window-body-height, window-body-width): Move to C.
10614 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10616         * window.el: Make special-display like display-buffer-alist (bug#9532).
10617         (display-buffer--special-action): New function, morphed
10618         from display-buffer--special.
10619         (display-buffer): Use it to handle special-display-buffers at higher
10620         priority (just after display-buffer-alist).
10621         (display-buffer-fallback-action, display-buffer--other-frame-action)
10622         (pop-to-buffer-same-window): Remove display-buffer--special.
10624 2011-11-07  Glenn Morris  <rgm@gnu.org>
10626         * calendar/cal-menu.el (cal-menu-set-date-title):
10627         Do nothing if not in a calendar.  (Bug#9976)
10629 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10631         * files.el (find-file): Always use selected-window.
10633 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
10635         * window.el (window-combinations): Make WINDOW argument
10636         mandatory.  Rewrite doc-string.
10637         (walk-window-subtree, window-atom-check, window-min-delta)
10638         (window-max-delta, window--resize-this-window)
10639         (window--resize-root-window-vertically, window-tree)
10640         (balance-windows, window-state-put): Rewrite doc-strings as to
10641         not mention the term "subwindow".
10642         (window--resize-subwindows-skip-p): Rename to
10643         window--resize-child-windows-skip-p.
10644         (window--resize-subwindows-normal): Rename to
10645         window--resize-child-windows-normal.
10646         (window--resize-subwindows): Rename to
10647         window--resize-child-windows.
10648         (window-or-subwindow-p): Rename to window--in-subtree-p.
10650 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10652         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10653         Ensure that mbox format messages end in two newlines (Bug#9974).
10655 2011-11-06  Chong Yidong  <cyd@gnu.org>
10657         * window.el (window-combination-p): Function deleted; its
10658         side-effect is not used in any existing code.
10659         (window-combinations, window-combined-p): Call window-*-child
10660         directly.
10662 2011-11-05  Chong Yidong  <cyd@gnu.org>
10664         * window.el (window-valid-p): Rename from window-any-p.
10665         (window-size-ignore, window-state-get): Callers changed.
10666         (window-normalize-window): Rename from window-normalize-any-window.
10667         New arg LIVE-ONLY, replacing window-normalize-live-window.
10668         (window-normalize-live-window): Delete.
10669         (window-combination-p, window-combined-p, window-combinations)
10670         (walk-window-subtree, window-atom-root, window-min-size)
10671         (window-sizable, window-sizable-p, window-size-fixed-p)
10672         (window-min-delta, window-max-delta, window-resizable)
10673         (window-resizable-p, window-full-height-p, window-full-width-p)
10674         (window-current-scroll-bars, window-point-1, set-window-point-1)
10675         (window-at-side-p, window-in-direction, window-resize)
10676         (adjust-window-trailing-edge, maximize-window, minimize-window)
10677         (window-deletable-p, delete-window, delete-other-windows)
10678         (record-window-buffer, unrecord-window-buffer)
10679         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10680         (quit-window, split-window, window-state-put)
10681         (set-window-text-height, fit-window-to-buffer)
10682         (shrink-window-if-larger-than-buffer): Callers changed.
10684 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
10686         * mail/rmail.el (rmail-simplified-subject): Decode subject with
10687         rfc2047-decode-string.
10688         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10689         warnings.
10691         * window.el (window-body-height, window-body-width): Mention in
10692         the doc string that the return values are in frame's canonical
10693         units.  (Bug#9949)
10695 2011-11-03  Alan Mackenzie  <acm@muc.de>
10697         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10698         change in cc-engine.el.
10700 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10702         * window.el (switch-to-buffer): Use `force-same-window' interactively.
10704 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
10706         * window.el (quit-window): Call unrecord-window-buffer after
10707         showing another buffer in the window.  (Bug#9937)
10708         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10710 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
10712         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10713         Accept status with more than 9 shelves.  (Bug#9935)
10714         Reported by Colin D Bennett <colin@gibibit.com>.
10716 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
10718         * help.el (with-help-window): Don't reference
10719         temp-buffer-show-specifiers in doc-string.
10721 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10723         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10724         menu-item.
10726 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10728         * whitespace.el: New version 13.2.2.
10729         (whitespace-newline-mode): Disable properly.  Reported by Sarah
10730         <EmacsWiki>.
10732 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
10734         * net/newst-treeview.el: Remove "Time-stamp".
10735         (newsticker--group-manage-orphan-feeds): Do not call
10736         newsticker--treeview-tree-update.
10737         (newsticker-treeview-update, newsticker-treeview):
10738         Call newsticker--treeview-tree-update if necessary.
10740 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
10742         * window.el (window-iso-combination-p, window-iso-combined-p)
10743         (window-iso-combinations): Remove "iso-" infix.
10744         Suggested by Chong Yidong.
10745         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10746         (window-max-delta-1, window-resize, window--resize-siblings)
10747         (window--resize-this-window, adjust-window-trailing-edge)
10748         (split-window, balance-windows-1)
10749         (shrink-window-if-larger-than-buffer):
10750         * calendar/calendar.el (calendar-generate-window):
10751         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10753 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10755         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10756         in place (bug#9907).
10757         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10758         (eshell-rewrite-if-command, eshell-rewrite-for-command)
10759         (eshell-structure-basic-command, eshell-rewrite-while-command)
10760         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10761         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10762         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10763         (eshell-do-pipelines-synchronously, eshell-eval-command):
10764         Use backquotes and prefer setq to set.
10765         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10766         (eshell-macrop): Use functionp.
10767         (eshell-do-eval): Handle multiple expressions in `while' body.
10769 2011-10-30  Chong Yidong  <cyd@gnu.org>
10771         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10772         instead of set-mark (Bug#9810).
10774 2011-10-30  Chong Yidong  <cyd@gnu.org>
10776         * window.el (split-window-below, split-window-right): Rename from
10777         split-window-above-each-other and split-window-side-by-side
10778         respectively.  All callers changed.
10779         (split-window-sensibly, split-window-sensibly): Use them.
10780         (split-window-keep-point): Doc fix.
10782         * isearch.el: Add isearch-scroll property to split-window-below
10783         and split-window-right.
10785         * follow.el (follow-mode):
10786         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10787         * progmodes/ada-xref.el (ada-gdb-application):
10788         * emulation/vip.el (vip-buffer-in-two-windows):
10789         * image-dired.el (image-dired-dired-with-window-configuration):
10790         * dired-x.el (dired-do-find-marked-files):
10791         * dired.el (dired-pop-to-buffer):
10792         * bs.el (bs--show-with-configuration):
10793         * vc/emerge.el (emerge-setup-windows):
10794         * textmodes/two-column.el (2C-two-columns):
10795         * textmodes/reftex-toc.el (reftex-toc):
10796         * progmodes/gdb-mi.el (gdb-setup-windows):
10797         * progmodes/fortran.el (fortran-window-create):
10798         * net/newst-treeview.el (newsticker--treeview-window-init):
10799         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10800         * emulation/tpu-edt.el (tpu-gold-map):
10801         * emulation/crisp.el (crisp-mode-map):
10802         * calendar/calendar.el (calendar-basic-setup): Callers changed.
10804 2011-10-29  Chong Yidong  <cyd@gnu.org>
10806         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10808         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10810         * textmodes/flyspell.el (flyspell-word): Fix char offset for
10811         forged Ispell output (Bug#7904).
10813         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10815 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10817         * doc-view.el: Avoid ugly errors about not finding nil.
10818         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10819         (doc-view-dvipdf-program, doc-view-unoconv-program)
10820         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10821         Avoid nil or absolute file name as default value.
10822         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10824 2011-10-28  Alan Mackenzie  <acm@muc.de>
10826         * progmodes/cc-defs.el (c-version): -> 5.32.2.
10828 2011-10-28  Alan Mackenzie  <acm@muc.de>
10830         Amend the handling of c-beginning/end-of-defun in nested declaration
10831         scopes.
10833         * progmodes/cc-vars.el (c-defun-tactic): Move here from
10834         cc-langs.el.  Change it to a defcustom.
10836         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10837         cc-vars.el.
10839         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10840         Prevent "class foo : bar" being spuriously recognized as a label.
10842         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10843         Add parameter `inclusive' (to include enclosing braces in the region).
10844         (c-widen-to-enclosing-decl-scope): New function.
10845         (c-while-widening-to-decl-block): New macro.
10846         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10847         outward for defun boundaries, and correspondingly change symbol
10848         `respect-enclosure' to `go-outward'.
10849         (c-declaration-limits): Change algorithm to report only the "innermost"
10850         defun's boundaries.
10852 2011-10-28  Deniz Dogan  <deniz@dogan.se>
10854         * net/rcirc.el (rcirc-mode): Use hard newlines.
10856 2011-10-28  Alan Mackenzie  <acm@muc.de>
10858         Amend to indent and fontify macros "which include their own semicolon"
10859         correctly, using the "virtual semicolon" mechanism.
10861         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10863         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10864         Recode to scan one line at a time rather than having \n and \r
10865         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10866         (c-forward-label): Amend for virtual semicolons.
10867         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10869         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10870         of the new C macros.
10872         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10873         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10874         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10875         (c-opt-cpp-macro-define): Make into a full language variable.
10876         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10877         AWK Mode (including \n, \r) removed, no longer needed.
10879         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10880         Invoke c-make-macro-with-semi-re.
10882         * progmodes/cc-vars.el (c-macro-with-semi-re):
10883         (c-macro-names-with-semicolon): New variables.
10884         (c-make-macro-with-semi-re): New function.
10886 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10888         * vc/log-edit.el: Fill empty field rather than adding new one.
10889         (log-edit-add-field): New function.
10890         (log-edit-insert-changelog): Use it.
10892 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10894         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10896 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10898         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10899         (gdb--check-interpreter): New function.
10900         (gdb): Use it.
10902 2011-10-27  Glenn Morris  <rgm@gnu.org>
10904         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10905         (least-positive-float, least-negative-float)
10906         (least-positive-normalized-float, least-negative-normalized-float)
10907         (float-epsilon, float-negative-epsilon):
10908         Remove unnecessary declarations.
10910         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10911         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10912         (least-positive-float, least-negative-float)
10913         (least-positive-normalized-float, least-negative-normalized-float)
10914         (float-epsilon, float-negative-epsilon): Add doc-strings,
10915         based on those in cl.texi.
10917         * files.el (set-visited-file-name): If the major-mode changed,
10918         reload the local variables.  (Bug#9796)
10920 2011-10-27  Chong Yidong  <cyd@gnu.org>
10922         * subr.el (change-major-mode-after-body-hook): New hook.
10923         (run-mode-hooks): Run it.
10925         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10926         Use change-major-mode-before-body-hook.
10928         * simple.el (fundamental-mode):
10929         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10930         change introducing fundamental-mode-hook.
10932 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
10934         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10936 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
10938         * ido.el (ido-file-name-all-completions-1): Do not require
10939         tramp.el explicitly.  (Bug#7583)
10941 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10943         * progmodes/octave-mod.el:
10944         * progmodes/octave-inf.el: Update maintainer.
10946 2011-10-26  Chong Yidong  <cyd@gnu.org>
10948         * subr.el (with-wrapper-hook): Rewrite doc.
10950 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
10952         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10953         filenames "/method:foo:".  (Bug#9793)
10955 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10957         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10958         (bug#9865).
10960 2011-10-24  Glenn Morris  <rgm@gnu.org>
10962         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
10964 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
10966         * notifications.el: Add the requirement of a running D-Bus session
10967         bus to the Commentary.
10969 2011-10-24  Juri Linkov  <juri@jurta.org>
10971         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10972         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10973         (Bug#9364)
10975 2011-10-24  Juri Linkov  <juri@jurta.org>
10977         * info.el (Info-following-node-name-re): Add newline to the list
10978         of allowed characters for leading space.  (Bug#9824)
10980 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10982         * progmodes/octave-inf.el (inferior-octave-mode-map):
10983         Fix C-c C-h binding.
10984         * progmodes/octave-mod.el (octave-help): Remove.
10986 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
10988         Sync with Tramp 2.2.3.
10990         * net/tramp-cache.el (top): Pacify byte-compiler using
10991         `init-file-user' and `site-run-file'.
10993         * net/trampver.el: Update release number.
10995 2011-10-23  Chong Yidong  <cyd@gnu.org>
10997         * files.el (toggle-read-only): Remove obsolete comment about
10998         version control.
11000         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
11001         for toggle-read-only.  Note that this hasn't called vc-next-action
11002         since 2008-05-02, though it wasn't documented at the time.
11004         * vc/ediff-init.el (ediff-toggle-read-only-function):
11005         Use toggle-read-only.
11007 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
11009         Fix bug #9560, sporadic wrong indentation; improve instrumentation
11010         of c-parse-state.
11012         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
11013         correct faulty logical expression.
11014         (c-parse-state-state, c-record-parse-state-state):
11015         (c-replay-parse-state-state): New defvar/defuns.
11016         (c-debug-parse-state): Use new functions.
11018 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
11020         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
11021         last fix.  Use window-in-direction correctly.
11023 2011-10-21  Chong Yidong  <cyd@gnu.org>
11025         * progmodes/idlwave.el (idlwave-mode):
11026         * progmodes/vera-mode.el (vera-mode): No need to set
11027         require-final-newline; that's done in prog-mode.
11028         Suggested by Stefan Monnier.
11030 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
11032         * mouse.el (mouse-drag-window-above)
11033         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
11034         (mouse-drag-mode-line-1, mouse-drag-header-line)
11035         (mouse-drag-vertical-line-rightward-window): Remove.
11036         (mouse-drag-line): New function.
11037         (mouse-drag-mode-line, mouse-drag-header-line)
11038         (mouse-drag-vertical-line): Call mouse-drag-line.
11039         * window.el (window-at-side-p, windows-at-side): New functions.
11041 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
11043         * tar-mode.el (tar-grind-file-mode):
11044         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
11046 2011-10-21  Chong Yidong  <cyd@gnu.org>
11048         * progmodes/idlwave.el (idlwave-mode):
11049         * progmodes/vera-mode.el (vera-mode):
11050         Use mode-require-final-newline.
11052 2011-10-20  Glenn Morris  <rgm@gnu.org>
11054         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
11056 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
11058         * emulation/cua-base.el (cua-set-mark): Fix case of string.
11060 2011-10-20  Chong Yidong  <cyd@gnu.org>
11062         * emulation/cua-base.el (cua-mode):
11063         * mail/footnote.el (footnote-mode):
11064         * mail/mailabbrev.el (mail-abbrevs-mode):
11065         * net/xesam.el (xesam-minor-mode):
11066         * progmodes/bug-reference.el (bug-reference-mode):
11067         * progmodes/cap-words.el (capitalized-words-mode):
11068         * progmodes/compile.el (compilation-minor-mode)
11069         (compilation-shell-minor-mode):
11070         * progmodes/gud.el (gud-tooltip-mode):
11071         * progmodes/hideif.el (hide-ifdef-mode):
11072         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
11073         * progmodes/subword.el (subword-mode):
11074         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11075         * progmodes/which-func.el (which-function-mode):
11076         * term/tvi970.el (tvi970-set-keypad-mode):
11077         * term/vt100.el (vt100-wide-mode):
11078         * textmodes/flyspell.el (flyspell-mode):
11079         * textmodes/ispell.el (ispell-minor-mode):
11080         * textmodes/nroff-mode.el (nroff-electric-mode):
11081         * textmodes/paragraphs.el (use-hard-newlines):
11082         * textmodes/refill.el (refill-mode):
11083         * textmodes/reftex.el (reftex-mode):
11084         * textmodes/rst.el (rst-minor-mode):
11085         * textmodes/sgml-mode.el (html-autoview-mode)
11086         (sgml-electric-tag-pair-mode):
11087         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
11088         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
11089         * emulation/crisp.el (crisp-mode):
11090         * emacs-lisp/eldoc.el (eldoc-mode):
11091         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
11092         minor mode behavior.
11094 2011-10-19  Juri Linkov  <juri@jurta.org>
11096         * descr-text.el (describe-char): Add #x2010 and #x2011 to
11097         the list of hard-coded chars with escape-glyph face.
11099 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11101         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
11103 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
11105         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
11106         running process.
11108 2011-10-19  Glenn Morris  <rgm@gnu.org>
11110         * vc/vc-bzr.el (vc-bzr-after-dir-status):
11111         Ignore ignored files.  (Bug#9726)
11113 2011-10-19  Chong Yidong  <cyd@gnu.org>
11115         Doc fix for minor modes, stating that an omitted argument enables
11116         the mode unconditionally when called from Lisp.
11118         * abbrev.el (abbrev-mode):
11119         * allout.el (allout-mode):
11120         * autoinsert.el (auto-insert-mode):
11121         * autoarg.el (autoarg-mode, autoarg-kp-mode):
11122         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11123         (global-auto-revert-mode):
11124         * battery.el (display-battery-mode):
11125         * composite.el (global-auto-composition-mode)
11126         (auto-composition-mode):
11127         * delsel.el (delete-selection-mode):
11128         * desktop.el (desktop-save-mode):
11129         * dired-x.el (dired-omit-mode):
11130         * dirtrack.el (dirtrack-mode):
11131         * doc-view.el (doc-view-minor-mode):
11132         * double.el (double-mode):
11133         * electric.el (electric-indent-mode, electric-pair-mode):
11134         * emacs-lock.el (emacs-lock-mode):
11135         * epa-hook.el (auto-encryption-mode):
11136         * follow.el (follow-mode):
11137         * font-core.el (font-lock-mode):
11138         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
11139         * help.el (temp-buffer-resize-mode):
11140         * hilit-chg.el (highlight-changes-mode)
11141         (highlight-changes-visible-mode):
11142         * hi-lock.el (hi-lock-mode):
11143         * hl-line.el (hl-line-mode, global-hl-line-mode):
11144         * icomplete.el (icomplete-mode):
11145         * ido.el (ido-everywhere):
11146         * image-file.el (auto-image-file-mode):
11147         * image-mode.el (image-minor-mode):
11148         * iswitchb.el (iswitchb-mode):
11149         * jka-cmpr-hook.el (auto-compression-mode):
11150         * linum.el (linum-mode):
11151         * longlines.el (longlines-mode):
11152         * master.el (master-mode):
11153         * mb-depth.el (minibuffer-depth-indicate-mode):
11154         * menu-bar.el (menu-bar-mode):
11155         * minibuf-eldef.el (minibuffer-electric-default-mode):
11156         * mouse-sel.el (mouse-sel-mode):
11157         * msb.el (msb-mode):
11158         * mwheel.el (mouse-wheel-mode):
11159         * outline.el (outline-minor-mode):
11160         * paren.el (show-paren-mode):
11161         * recentf.el (recentf-mode):
11162         * reveal.el (reveal-mode, global-reveal-mode):
11163         * rfn-eshadow.el (file-name-shadow-mode):
11164         * ruler-mode.el (ruler-mode):
11165         * savehist.el (savehist-mode):
11166         * scroll-all.el (scroll-all-mode):
11167         * scroll-bar.el (scroll-bar-mode):
11168         * server.el (server-mode):
11169         * shell.el (shell-dirtrack-mode):
11170         * simple.el (auto-fill-mode, transient-mark-mode)
11171         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
11172         (line-number-mode, column-number-mode, size-indication-mode)
11173         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
11174         * strokes.el (strokes-mode):
11175         * time.el (display-time-mode):
11176         * t-mouse.el (gpm-mouse-mode):
11177         * tool-bar.el (tool-bar-mode):
11178         * tooltip.el (tooltip-mode):
11179         * type-break.el (type-break-mode-line-message-mode)
11180         (type-break-query-mode):
11181         * view.el (view-mode):
11182         * whitespace.el (whitespace-mode, whitespace-newline-mode)
11183         (global-whitespace-mode, global-whitespace-newline-mode):
11184         * xt-mouse.el (xterm-mouse-mode): Doc fix.
11186         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11187         Fix autogenerated docstring.
11189 2011-10-19  Juri Linkov  <juri@jurta.org>
11191         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
11192         by checking environment variables "DESKTOP_SESSION" and
11193         "XDG_CURRENT_DESKTOP".  (Bug#9779)
11195 2011-10-19  Juri Linkov  <juri@jurta.org>
11197         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
11198         (browse-url-chromium-program, browse-url-chromium-arguments):
11199         New defcustoms.
11200         (browse-url-default-browser): Check for `browse-url-chromium' and
11201         call `browse-url-chromium-program'.
11202         (browse-url-chromium): New command.  (Bug#9779)
11204 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
11206         * facemenu.el (list-colors-duplicates): On Windows, detect more
11207         duplicates by assuming that only colors matching "^System" are
11208         special "system colors".  (Bug#9722)
11210 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11212         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
11213         to distinguish the author from the committer.
11215 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
11217         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
11219 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
11221         * international/mule.el (sgml-html-meta-auto-coding-function):
11222         Add support for detecting encoding in HTML5 specified only as
11223         <meta charset="UTF-8">.  Implementation just makes http-equiv and
11224         content-type parts from HTML4 encoding string optional.  (Bug#9716)
11226 2011-10-18  Glenn Morris  <rgm@gnu.org>
11228         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
11230 2011-10-18  Chong Yidong  <cyd@gnu.org>
11232         * faces.el (cursor): Doc fix.
11234 2011-10-17  Chong Yidong  <cyd@gnu.org>
11236         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
11238 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
11240         * dirtrack.el (dirtrack): Support shell buffers with path
11241         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
11243 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
11245         * json.el: Bump version to 1.3 and note change in History.
11246         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
11248 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11250         * comint.el (comint-insert-input, comint-send-input)
11251         (comint-get-old-input-default, comint-backward-matching-input)
11252         (comint-next-prompt): Use nil instead of `input' for field property of
11253         past user input (bug#114).
11255         * minibuffer.el (completion--replace): Inherit surrounding properties
11256         (bug#114).
11257         (minibuffer-complete-and-exit): Use it.
11259         * comint.el (comint--table-subvert): Quote the all-completions output
11260         (bug#9160).
11262 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
11264         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11266         * menu-bar.el (menu-bar-file-menu): Add entry for making new
11267         window on right of selected.  (Bug#9350) Reword other window
11268         entries and separate them from frame entries.
11270 2011-10-15  Glenn Morris  <rgm@gnu.org>
11272         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11273         Doc fixes.
11275 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
11277         * net/network-stream.el (network-stream-open-starttls):
11278         Improve detection of failure due to lack of TLS support.
11280         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11281         putting the input text in front and in bold.
11283 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11285         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11287         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11288         empty buffer.
11290         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11291         unread-command-events rather than pushing yet-another event.
11293 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
11295         * mail/sendmail.el (sendmail-query-once): Improve the wording of
11296         the explanation of the possible choices.  Make the options passed
11297         to completing-read shorter.
11299 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11301         * textmodes/flyspell.el (flyspell-large-region): Make sure
11302         extended character mode is used if defined (Bug#1339).
11304 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
11306         * simple.el (what-cursor-position): Fix the display of the
11307         character info for LRE, LRO, RLE, and RLO characters by appending
11308         an invisible PDF.
11310 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11312         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11313         even in case of error; add debug spec; simplify data flow.
11314         (with-timeout-handler): Remove.
11316 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
11318         Fix Bug#6019, Bug#9315.
11320         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11321         complete `buffer-file-name', the local file name part could look
11322         remotely (for example on VMS).
11324         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11325         `tramp-run-real-handler'.
11326         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11327         already quoted by '"'.
11329         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11330         Let `file-name-handler-alist' be nil, the local file name part
11331         could look remotely (for example on VMS).
11333 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11335         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11336         from here...
11337         (flyspell-post-command-hook): ...to here.
11339 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11341         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11342         if not needed.
11343         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
11344         using completion.  Protect against "slow" callers.
11345         Remove the "message hack".
11347 2011-10-11  Juri Linkov  <juri@jurta.org>
11349         * isearch.el (isearch-lazy-highlight-word): New variable.
11350         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11351         Use it.  (Bug#9727)
11353 2011-10-11  Glenn Morris  <rgm@gnu.org>
11355         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11356         like f90-previous-statement does.
11358 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11360         * eshell/eshell.el (eshell-command): History should be saved
11361         only in interactive use, to avoid error.
11363 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11365         * minibuffer.el (completion-file-name-table): Fix last change,
11366         i.e. ignore normal errors but not the other ones.
11368 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
11370         * window.el (special-display-buffer-names)
11371         (special-display-regexps): Remove some remnants of earlier
11372         changes from doc-strings.
11373         (quit-windows-on): New function.
11375         * vc/vc.el (vc-revert, vc-rollback):
11376         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11377         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
11378         (Bug#6183) (Bug#7074) (Bug#7447)
11380 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
11382         * window.el (frame-auto-hide-function): Add version tag.
11383         (Bug#9699)
11385 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
11387         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11388         condition.
11390 2011-10-09  Leo Liu  <sdl.web@gmail.com>
11392         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11393         (Bug#9701)
11395 2011-10-08  Glenn Morris  <rgm@gnu.org>
11397         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11398         before the first code statement zero indent.  (Bug#9690)
11400 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
11402         * simple.el (count-words-region): Always count in the region.
11403         Report the number of lines and characters too.
11404         (count-words): New command, which counts in the buffer if the
11405         region is inactive, as count-words-region used to.
11406         (count-words--message): New function.  Handle plurals.
11407         (count-lines-region): Make it an alias for count-words-region.
11409         * bindings.el (esc-map): Replace count-lines-region with
11410         count-words-region.
11412 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
11414         * window.el (window--delete): Delete dedicated frame
11415         unconditionally when argument KILL is non-nil.  (Bug#9699)
11416         (switch-to-buffer): Fix doc-string typo.
11418 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11420         * eshell/eshell.el (eshell-command): Avoid using hooks.
11422 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
11424         * bindings.el ([M-left],[M-right]): Bind to left-word and
11425         right-word respectively.
11427 2011-10-07  Glenn Morris  <rgm@gnu.org>
11429         * cus-start.el (debug-on-quit): Fix custom type.
11431 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11433         * subr.el (define-key-after): Clarify that the function is not
11434         useful for non-menu keymaps.
11436         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11438 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11440         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11441         in current minibuffer (Fix bug with recursive minibuffers).
11443 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
11445         * progmodes/gdb-mi.el (gdb): Doc fix.
11447 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
11449         * window.el (frame-auto-hide-function): New option replacing
11450         frame-auto-delete.  Suggested by Stefan Monnier.
11451         (window--delete): Call frame-auto-hide-function instead of
11452         investigating frame-auto-delete.
11453         (window-point-1, set-window-point-1): New functions.
11454         (window-in-direction, record-window-buffer, window-state-get-1)
11455         (display-buffer-record-window): Use window-point-1 instead of
11456         window-point.
11457         (set-window-buffer-start-and-point): Use set-window-point-1.
11459 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11461         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11463 2011-10-05  Glenn Morris  <rgm@gnu.org>
11465         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11466         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
11468 2011-10-05  Leo Liu  <sdl.web@gmail.com>
11470         * subr.el (read-char-choice): Fix argument to buffer-live-p which
11471         works with buffer object.
11473 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         * mpc.el (mpc-tool-bar-map): Add labels.
11477 2011-10-04  Glenn Morris  <rgm@gnu.org>
11479         * calendar/holidays.el (calendar-check-holidays): Doc fix.
11481 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
11483         * window.el (window--delete): New function.
11484         (frame-auto-delete): Resuscitate option.
11485         (bury-buffer, replace-buffer-in-windows)
11486         (quit-window): Rewrite using window--delete.
11487         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11488         Pass display-buffer-mark-dedicated to window--display-buffer-2
11489         (Bug#9639).
11491 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11493         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11494         returns a list (bug#9554).  Add remote file name completion.
11495         * comint.el (comint--table-subvert): Curry and get quote&unquote
11496         functions as arguments.
11497         (comint--complete-file-name-data): Adjust call accordingly.
11498         * pcomplete.el (pcomplete--table-subvert): Remove.
11499         (pcomplete-completions-at-point): Use comint--table-subvert instead.
11501         * minibuffer.el (completion-table-case-fold): Use currying.
11502         (completion--styles-type, completion--cycling-threshold-type):
11503         New constants.
11504         (completion-styles, completion-category-overrides)
11505         (completion-cycle-threshold): Use them.
11506         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11507         completion-table-case-fold.
11509 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
11511         * minibuffer.el (completion-category-overrides): Fix type of styles
11512         and add more user friendly tags (bug#9660).
11514 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11516         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11517         (mule-input-method-string): New widget.
11518         (default-input-method, language-info-custom-alist): Use it.
11520 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11522         * pcomplete.el: Require comint.
11523         (pcomplete--common-suffix): Remove.
11524         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11525         (pcomplete--table-subvert): Sync with comint--table-subvert.
11526         (pcomplete--entries): Use comint-completion-file-name-table.
11527         * comint.el (comint-unquote-filename): Simplify.
11528         (comint-completion-file-name-table): New function (bug#9616).
11529         (comint--complete-file-name-data): Use it.
11531         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11532         (pcmpl-gnu-tar-buffer): Remove.
11533         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11534         around.  Make sure pcomplete-suffix-list is only changed temporarily.
11535         Don't look inside the tar's file if it's too large.
11537 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
11539         * cus-edit.el (custom-mode-map):
11540         * epa.el (epa-key-list-mode-map):
11541         * man.el (Man-mode-map):
11542         * startup.el (splash-screen-keymap):
11543         * simple.el (special-mode-map): Use scroll-up-command and
11544         scroll-down-command.
11546         * progmodes/idlw-help.el (idlwave-help-mode-map):
11547         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11548         * net/newst-plainview.el (newsticker-mode-map):
11549         * emulation/ws-mode.el (wordstar-mode-map):
11550         * emulation/vi.el (vi-com-map):
11551         * calc/calc-graph.el (calc-graph-show-dumb):
11552         * term/sun.el (terminal-init-sun):
11553         * term/ns-win.el (global-map):
11554         * progmodes/grep.el (grep-mode-map):
11555         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11556         * mail/rmail.el (rmail-mode-map):
11557         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11559         * custom.el (custom-safe-themes, load-theme): Treat value of t for
11560         custom-safe-themes as special.
11562 2011-10-01  Julien Danjou  <julien@danjou.info>
11564         * notifications.el (notifications-notify): Fix docstring.
11566 2011-10-01  Per Starbäck  <per@starback.se>
11568         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
11570 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
11572         * startup.el (command-line-1): Fix last fix by inserting
11573         initial-scratch-message into *scratch* before displaying it.
11574         (Bug#9605) and (Bug#9636)
11576 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
11578         * simple.el (line-move): If auto-hscroll-mode is disabled and the
11579         window is hscrolled, move by logical lines.  (Bug#9607)
11580         (line-move-visual): Update the doc string to the above effect.
11582 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
11584         * window.el (display-buffer-record-window): When WINDOW is the
11585         selected window use `point' instead of `window-point'.  (Bug#9626)
11587         * startup.el (command-line-1): Use insert-before-markers when
11588         inserting initial-scratch-message.  (Bug#9605)
11590         * help.el (help-window): Remove variable.
11592 2011-09-29  Glenn Morris  <rgm@gnu.org>
11594         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11596 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
11598         * descr-text.el (describe-char-categories): Accept category
11599         descriptions more than one line long.
11601 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11603         * simple.el (delete-trailing-whitespace): Fix last change.
11605         * progmodes/perl-mode.el (perl-syntax-propertize-function):
11606         Don't confuse "y => 3" as the beginning of a `y' operation.
11608         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11609         object has more than 4 slots (bug#9613).
11611 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
11613         * subr.el (with-output-to-temp-buffer):
11614         * net/quickurl.el (quickurl, quickurl-browse-url):
11615         Fix typos in docstrings.
11617 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
11619         * minibuffer.el (completion-styles)
11620         (completion-category-overrides): Cross reference each other in doc
11621         strings.
11623 2011-09-27  Glenn Morris  <rgm@gnu.org>
11625         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11626         to split-string.  (Bug#9606)
11628 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11630         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11631         (bug#9615).
11633 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
11635         * emacs-lisp/package.el (list-packages): Fix echo area message.
11637 2011-09-27  Leo Liu  <sdl.web@gmail.com>
11639         * ido.el (ido-read-internal): Accept cons cell HIST arg.
11641 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
11643         * net/dbus.el (dbus-unregister-object): Don't release services for
11644         registered signals.  (Bug#9581)
11646 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
11648         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11649         function that picks between cfengine 2 and 3 support
11650         automatically.  Update docs accordingly.
11652 2011-09-22  Kenichi Handa  <handa@m17n.org>
11654         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11655         ZERO.
11656         (indian-itrans-v5-table-for-tamil): New variable.
11657         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11659 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
11661         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11662         that's true if the current command involved collapsing of text.
11663         It's reset to false at the beginning of the next command.
11664         (allout-post-command-business): Move the cursor to the beginning
11665         of entry if the cursor is hidden and collapsing activity just
11666         happened.
11668 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
11670         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11671         tracking (Bug#9541).
11673 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
11675         * net/newst-reader.el (newsticker-html-renderer)
11676         (newsticker-show-news): Automatically load html rendering package
11677         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
11678         because w3m-fill-column is let-bound" and the error "Symbol's value
11679         as variable is void: w3m-fill-column".
11681 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
11683         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11684         Release services only if they are defined.  (Bug#9581)
11686 2011-09-23  Richard Stallman  <rms@gnu.org>
11688         * textmodes/paragraphs.el (forward-sentence): For backwards case,
11689         distinguish start of paragraph from start of its text.
11691         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11693         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11694         (rmail-generate-viewer-buffer): Put that hook on view buffer.
11695         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11697 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
11699         * international/mule-diag.el (mule-diag): Insert a newline after
11700         each fontset description.
11702 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11704         * simple.el (delete-trailing-whitespace):
11705         Document last change; simplify.
11707 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
11709         * simple.el (delete-trailing-whitespace): Also delete
11710         extra newlines at the end of the buffer.
11712         * textmodes/picture.el: Make motion commands obey shift-select-mode.
11713         (picture-newline): Use forward-line so as to ignore fields.
11715 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11717         * subr.el (with-wrapper-hook): Fix edebug spec.
11719 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11721         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11722         (bug#4538).
11724 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
11726         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11727         Fix nasty bug using wrong cached values.
11729 2011-09-23  Alan Mackenzie  <acm@muc.de>
11731         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11733 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
11735         * window.el (pop-to-buffer): Ensure right window is selected if we
11736         chose another frame.
11738 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
11740         * simple.el (what-cursor-position): Use get-char-property-change
11741         and next-single-char-property-change, to be able to show display
11742         properties that come from overlays as well as text properties.
11744 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
11746         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11748         * cmuscheme.el (run-scheme, switch-to-scheme):
11749         * cus-edit.el (customize-group, custom-buffer-create)
11750         (customize-browse):
11751         * info.el (info):
11752         * shell.el (shell):
11753         * mail/sendmail.el (mail):
11754         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11756 2011-09-22  Richard Stallman  <rms@gnu.org>
11758         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11759         move back only to line beg, don't move back over blank lines.
11761 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
11763         * files.el (copy-directory): Set directory attributes only in case
11764         they could be retrieved from the source directory.  (Bug#9565)
11766 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
11768         * progmodes/hideshow.el (hs-looking-at-block-start-p)
11769         (hs-find-block-beginning, hs-hide-level-recursive):
11770         Ignore strings as well as comments.  (Bug#9502)
11772 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
11774         * progmodes/sql.el (sql-comint-postgres):
11775         Convert port number to a string.  (Bug#9566)
11777 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
11779         * window.el (quit-window): Undedicate window when switching to
11780         previous buffer.  Reported by Thierry Volpiatto
11781         <thierry.volpiatto@gmail.com>.
11782         (special-display-popup-frame): When popping up a new frame reset
11783         its previous buffers to nil.  Simplify code.
11785 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
11787         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11788         and process filter, as done also in `shell-command'.
11790 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
11792         * window.el (set-window-buffer-start-and-point):
11793         Call set-window-start with NOFORCE argument t.
11794         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11795         (quit-window): Reword doc-string.  Handle new format of
11796         quit-restore parameter.  Don't delete window if it has a
11797         previous buffer we can show instead of the present one.
11798         (display-buffer-record-window): Rewrite using a new format for
11799         the quit-restore window parameter
11800         (special-display-popup-frame, display-buffer-same-window)
11801         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11802         (display-buffer-pop-up-window, display-buffer-use-some-window):
11803         Adapt symbol passed to display-buffer-record-window.
11804         * help.el (help-window-setup): Handle new format of quit-restore
11805         parameter.
11807 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11809         * faces.el (face-list): Fix docstring (bug#9564).
11811         * window.el (display-buffer--action-function-custom-type):
11812         Don't include internal functions in the Custom interface.
11814 2011-09-20  Juri Linkov  <juri@jurta.org>
11816         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11817         (Info-forward-node, Info-backward-node, Info-next-preorder)
11818         (Info-last-preorder): Use it.  (Bug#9528)
11820 2011-09-20  Juri Linkov  <juri@jurta.org>
11822         * info.el (Info-last-preorder): Visit last menu item only when
11823         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11825 2011-09-20  Julien Danjou  <julien@danjou.info>
11827         * password-cache.el (password-cache-remove): Remove entries even if the
11828         value is nil, so that password with a nil value (negative caching) is
11829         possible to invalidate.
11831 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
11833         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11834         all whitespace around breakpoint.  (Bug#9553)
11835         (f90-find-breakpoint): Only break at whitespace inside a comment.
11837 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11839         * minibuffer.el (completion-file-name-table): Keep track of errors.
11840         (completion-table-with-predicate): Handle the case where pred1 is nil.
11841         * pcomplete.el (pcomplete-completions-at-point): Simplify.
11843 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11845         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11846         (debugger-return-value): Signal an error if the debugging context does
11847         not await any return value.
11849         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11850         * image-mode.el (image-toggle-display-text)
11851         (image-toggle-display-image): Stay away from evil `intangible'.
11853 2011-09-19  Leo Liu  <sdl.web@gmail.com>
11855         * replace.el (occur-revert-arguments): Make it permanent-local.
11856         (occur-mode): Don't call font-lock-defontify.
11858 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
11860         * net/ldap.el (ldap-search-internal): Don't push empty search
11861         result (Bug#9508).
11863 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11865         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11867 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
11869         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11870         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11872 2011-09-18  Juri Linkov  <juri@jurta.org>
11874         * buff-menu.el (Buffer-menu-mode-map):
11875         * dired.el (dired-mode-map):
11876         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11877         (lisp-interaction-mode-map):
11878         * emacs-lisp/package.el (package-menu-mode-map):
11879         * epa.el (epa-key-list-mode-map):
11880         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11881         (menu-bar-options-menu):
11882         * outline.el (outline-mode-menu-bar-map):
11883         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11884         * vc/vc-dir.el (vc-dir-menu-map):
11885         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11886         Capitalize non-function content words in menu item strings.
11888         * dired.el (dired-mode-map): Add menu item for
11889         `image-dired-dired-toggle-marked-thumbs'.
11891 2011-09-18  Juri Linkov  <juri@jurta.org>
11893         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11894         to `isearch-case-fold-search' and restore its original value
11895         after the `isearch-mode' call.
11897 2011-09-18  Juri Linkov  <juri@jurta.org>
11899         * progmodes/grep.el (grep-process-setup): Don't check code for 1
11900         because `zgrep' returns 1 for successful matches (bug#9226).
11902 2011-09-18  Juri Linkov  <juri@jurta.org>
11904         * info.el (Info-extract-menu-node-name): Check the second match
11905         for empty string (second test-case of bug#9528).
11906         (Info-last-preorder): Let-bind `Info-history' to nil to not add
11907         intermediate nodes to the history (first test-case of bug#9528).
11909 2011-09-18  Juri Linkov  <juri@jurta.org>
11911         * info.el (Info-mode-syntax-table): New variable.
11912         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11914 2011-09-18  Juri Linkov  <juri@jurta.org>
11916         * info.el (Info-file-supports-index-cookies):
11917         Increment line-beginning-position's arg from 3 to 4 because makeinfo
11918         outputs one more line for long file names (bug#4142).
11920 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11922         * newcomment.el (comment-normalize-vars): If prompting for
11923         comment-start, set comment-start-skip too (Bug#8424).
11925 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
11927         * icomplete.el: Fix previous fix of Bug#5849.
11928         (icomplete-mode): Don't set completion-show-inline-help.
11929         (icomplete-minibuffer-setup): Set completion-show-inline-help
11930         locally during icompletion.
11932 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11934         * woman.el (woman2-process-escapes): Don't delete unrecognized
11935         escapes (Bug#7843).
11937         * files.el (inhibit-first-line-modes-regexps): Add image files.
11938         (hack-local-variables-prop-line): Return nil for malformed
11939         prop-lines (Bug#9044).
11941 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
11943         * net/tramp.el (top): Don't require 'shell.
11944         (tramp-methods): Fix docstring.
11945         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11946         Return complete remote file name.  Handle "smb" case.
11947         Use `tramp-tmpdir', if defined for the respective method.
11948         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11950         * net/tramp-compat.el (top): Require 'shell.
11952         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11953         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11954         `tramp-current-host'.
11955         (tramp-get-remote-tmpdir): Remove.
11957         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11958         `tramp-tmpdir' entries.
11959         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11960         (tramp-smb-handle-file-attributes): Ignore errors.
11961         (tramp-smb-wait-for-output): Check also for process end.
11963 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11965         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11966         when sending QUIT (bug#9312).
11968 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
11970         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11971         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11972         occur-mode-display-occurrence.
11973         (occur-edit-mode): Add usage message.
11974         (occur-cease-edit): New command.
11975         (occur-after-change-function): Use text properties to find the
11976         position of the prefix text.
11977         (occur-engine): Set stickiness of prefix text properties.
11979 2011-09-17  Glenn Morris  <rgm@gnu.org>
11981         * progmodes/etags.el (complete-tag):
11982         Fix call to completion-in-region.  (Bug#9526)
11984 2011-09-17  Juri Linkov  <juri@jurta.org>
11986         * textmodes/ispell.el (ispell-word): Add to the error message
11987         the word, ispell program name and current dictionary (bug#9121).
11988         (ispell-tex-arg-end): Capitalize "error" in the error message.
11990 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
11992         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11993         check.  (Bug#4251)
11995 2011-09-17  Juri Linkov  <juri@jurta.org>
11997         * window.el (window-safe-min-height, window-safe-min-width):
11998         Fix typos (followup to bug#9522).
12000 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
12002         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
12004 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
12006         * simple.el (line-move): If goal-column is set, move by logical
12007         lines, not by display lines.  (Bug#971)
12008         (next-line, previous-line, goal-column, line-move-visual): Doc fix
12009         to reflect the above change.
12011 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12013         * image.el (imagemagick-register-types): Use regexp-opt.
12015 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12017         * window.el (display-buffer-base-action): Rename from
12018         display-buffer-default-action.  Make default value empty.
12019         (display-buffer-overriding-action): Convert to defvar.
12020         (display-buffer-fallback-action): New var.
12022 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
12024         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
12025         declaration.
12026         (package--add-to-archive-contents): If there is a duplicate entry
12027         with an older version, remove it.
12028         (package-menu-mark-delete, package-menu-mark-install)
12029         (package-menu-mark-unmark): Make unused args optional.
12030         (package-menu-mark-obsolete-for-deletion):
12031         Use package-menu-get-status instead of a regexp search.
12032         (package-menu-get-status): Use tabulated-list-entry.
12033         (package-menu-mark-upgrades): New command.
12034         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
12035         (package-menu-execute): Do installation before deletion.
12036         (package-menu-refresh, package-menu-execute): Use derived-mode-p
12037         instead of checking major-mode.
12038         (package-menu--find-upgrades): New function.
12040 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12042         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
12043         passwords in the log buffer.
12044         (smtpmail-process-filter): Update the process marker so that the
12045         "broken by peer" status message is inserted in the right place.
12047 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12049         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
12050         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
12051         bibtex-completion-at-point-function.
12052         (bibtex-completion-at-point-function): Use them.
12054         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
12056         * mpc.el (mpc-constraints-tag-lookup): New function.
12057         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
12058         also to browser "album|playlist".
12060 2011-09-14  Juri Linkov  <juri@jurta.org>
12062         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
12063         (isearch-edit-string): Use length of `isearch-string' when
12064         `isearch-fail-pos' returns nil.
12065         (isearch-message): Remove duplicate code and call
12066         `isearch-fail-pos' with arg `t'.
12068 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
12070         * replace.el (occur-mode-goto-occurrence): Don't force using other
12071         window (Bug#9499).
12073         * dired-aux.el (dired-do-chmod): Don't provide initial input.
12075 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
12077         * window.el (display-buffer-window): Remove.
12078         (display-buffer-record-window): Use help-setup window parameter
12079         instead of variable display-buffer-window.
12080         (display-buffer-function, special-display-buffer-names)
12081         (special-display-function): Mention help-setup parameter instead
12082         of display-buffer-window in doc-string.
12083         * help.el (help-window-setup): New argument help-window.
12084         Use help-window-setup parameter instead of display-buffer-window.
12085         Reword some messages.
12086         (with-help-window): Pass window used for displaying the buffer
12087         to help-window-setup.  Don't set display-buffer-window.
12089 2011-09-13  Glenn Morris  <rgm@gnu.org>
12091         * emacs-lisp/debug.el (debugger-make-xrefs):
12092         Preserve point.  (Bug#9462)
12094 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12096         * window.el (window-deletable-p): Use next-frame.
12098 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
12100         * window.el (window-auto-delete): Remove.
12101         (window-deletable-p): Remove argument FORCE.  Don't deal with
12102         dedication and previous buffers.
12103         (switch-to-prev-buffer): Don't delete window.
12104         (delete-windows-on): Delete a window's frame if and only if the
12105         window is dedicated.
12106         (replace-buffer-in-windows): Delete buffer's window or frame if
12107         and only if window is dedicated.
12108         (quit-window): Handle quit-restore as before last change.
12109         (bury-buffer): Delete window only if window-deletable-p returns t.
12111 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
12113         * window.el (window-deletable-p): Never delete the last frame on a
12114         given terminal.
12116 2011-09-13  Glenn Morris  <rgm@gnu.org>
12118         * help.el (describe-key-briefly): Copy previous standard-output change.
12120 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
12122         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
12124 2011-09-13  Glenn Morris  <rgm@gnu.org>
12126         * emacs-lisp/lisp-mode.el (lisp-indent-function):
12127         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
12129 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
12131         * dired-aux.el (dired-mark-read-string): Don't return default
12132         value on empty input (Bug#9361).
12133         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
12134         Omit initial minibuffer contents.
12135         (dired-do-chmod): Signal an error on empty input.
12136         (dired-mark-read-string): Don't return default on empty input.
12138         * files.el (file-modes-symbolic-to-number): Doc fix.
12140 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12142         * international/mule-cmds.el (ucs-completions): Remove.
12143         (read-char-by-name): Use complete-with-action instead; add metadata.
12145 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12147         * window.el (display-buffer--action-function-custom-type)
12148         (display-buffer--action-custom-type): New vars.
12149         (display-buffer-alist, display-buffer-default-action)
12150         (display-buffer-overriding-action): Add defcustom types.
12152         * frame.el (delete-other-frames): Doc fix (Bug#276).
12154 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12156         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
12158 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
12160         Change modes that used same-window-* vars to use switch-to-buffer.
12162         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
12163         Use switch-to-buffer.
12165         * cus-edit.el (customize-group, custom-buffer-create)
12166         (customize-browse, custom-buffer-create-other-window):
12167         Use switch-to-buffer or switch-to-buffer-other-window.
12169         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
12170         (Info-prev, Info-up, Info-speedbar-goto-node)
12171         (info-display-manual): Use switch-to-buffer.
12172         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
12174         * mail/sendmail.el (mail): Use switch-to-buffer.
12175         (mail-recover): Use switch-to-buffer-other-window.
12177         * cmuscheme.el (run-scheme, switch-to-scheme):
12178         * ielm.el (ielm):
12179         * shell.el (shell):
12180         * net/rlogin.el (rlogin):
12181         * net/telnet.el (telnet, rsh):
12182         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
12184 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
12186         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
12188 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12190         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
12191         so don't mention it (bug#9301).
12192         (dired-sort-toggle-or-edit): Clarify string further.
12194         * faces.el (face-spec-set-match-display): Make `(type graphic)'
12195         match `x', `w32' and `ns', like the manual says (bug#9029).
12197         * subr.el (eval-after-load): Doc string clarification (bug#9125).
12198         (process-kill-buffer-query-function): Mention the buffer name in
12199         the query.
12201         * image-mode.el (image-next-line): The line parameter is mandatory
12202         (bug#9258).
12204         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
12205         which can be useful (bug#9301).
12207         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
12209         * subr.el (match-string): Mention that the current buffer should
12210         be the same as the search was done in (bug#9282).
12212         * facemenu.el: Disable the remove-* commands if the mark isn't
12213         active (bug#9162).
12215 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12217         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
12218         of display-buffer.
12219         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
12221         * replace.el (occur-mode-goto-occurrence)
12222         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
12223         and display-buffer.
12225         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
12226         display-buffer.
12228         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
12229         special-display and same-window variables.
12230         (mail-other-window): Use switch-to-buffer-other-window.
12231         (mail-other-frame): USe switch-to-buffer-other-frame.
12233         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
12234         Use display-buffer-other-frame.
12235         (gdb-display-gdb-buffer): Use pop-to-buffer.
12237         * progmodes/gud.el (gud-goto-info): Use info-other-window.
12239         * progmodes/python.el: Don't set same-window-buffer-names.
12241         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
12243         * window.el (display-buffer-alist): Add *Python*.
12245 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
12247         * window.el (display-buffer-alist): Add entry for buffers
12248         previously handled same-window-*.
12249         (display-buffer-alist, display-buffer-default-action)
12250         (display-buffer-overriding-action): Mark as risky.
12251         (display-buffer-alist): Document action function changes.
12252         (display-buffer--same-window-action)
12253         (display-buffer--other-frame-action): New variables.
12254         (switch-to-buffer, display-buffer-other-frame): Use them.
12255         (display-buffer): Rename reuse-frame entry to reusable-frames.
12256         (display-buffer-reuse-selected-window): Function deleted.
12257         (display-buffer-reuse-window): Handle reusable-frames alist entry.
12258         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12259         (display-buffer-special): New function.
12260         (display-buffer--maybe-pop-up-frame-or-window): Rename from
12261         display-buffer-reuse-or-pop-window.  Split off special-display
12262         part into display-buffer-special.
12263         (display-buffer-use-some-window): Don't perform any special
12264         pop-up-frames handling.
12265         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12266         (display-buffer--maybe-same-window): Rename from
12267         display-buffer-maybe-same-window.
12269         * info.el: Don't set same-window-regexps.
12270         (info-setup): New function.
12271         (info-other-window, info): Call it.
12273         * cus-edit.el: Don't set same-window-regexps.
12274         (customize-group): New argument.
12275         (customize-group-other-window): Use it.
12276         (customize-face, customize-face-other-window): Likewise.
12277         (custom-buffer-create-other-window): Use pop-to-buffer directly.
12279         * net/rlogin.el:
12280         * net/telnet.el:
12281         * progmodes/gud.el: Don't set same-window-regexps.
12283         * cmuscheme.el:
12284         * ielm.el:
12285         * shell.el:
12286         * mail/sendmail.el:
12287         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12289 2011-09-10  Juri Linkov  <juri@jurta.org>
12291         * isearch.el (isearch-edit-string): Remove obsolete mention of
12292         `C-w' (`isearch-yank-word-or-char') from docstring.
12293         (isearch-query-replace): Fix typo in docstring (bug#9466).
12295 2011-09-10  Juri Linkov  <juri@jurta.org>
12297         * paren.el (show-paren-function): Don't show escaped parens.
12298         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
12300 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
12302         * mail/sendmail.el (mml-to-mime, mml-attach-file)
12303         (mm-default-file-encoding): Remove autoload forms, they are
12304         replaced with autoload cookies in mml.el and mm-encode.el.
12305         (mail-add-attachment): New command.
12306         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12307         (mail-mode): Mention mail-insert-file and mail-add-attachment in
12308         the doc string.
12309         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12311 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
12313         * simple.el (count-words-region): Use buffer if there's no region
12314         (bug#9429).
12316 2011-09-09  Juri Linkov  <juri@jurta.org>
12318         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12319         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12320         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
12322 2011-09-09  Alan Mackenzie  <acm@muc.de>
12324         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12325         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
12327 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
12329         Fix for Savannah bug#9392.
12330         * simple.el (mail-encode-mml): New defvar.
12332         * mail/rmail.el (mail-encode-mml): Add a defvar.
12333         (rmail-enable-mime-composing): Default to t.
12334         (rmail-forward): Use MIME method of forwarding only if both
12335         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12336         Set mail-encode-mml non-nil if the MIME method was used.
12338         * mail/sendmail.el (mml-to-mime): Add autoload form.
12339         (mail-encode-mml): Add a defvar.
12340         (mail-mode): Make mail-encode-mml buffer-local and initialize it
12341         to nil.
12342         (mail-send): If mail-encode-mml is non-nil, run the outgoing
12343         message through mml-to-mime, and reset mail-encode-mml to nil.
12345 2011-09-09  Glenn Morris  <rgm@gnu.org>
12347         * woman.el (woman-if-body): When processing an .el block,
12348         do not delete the next .el block as well.  (Bug#9447)
12349         (woman-special-characters): Add oq, cq, and hy characters.
12351 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12353         * window.el (window-deletable-p): Make sure window is live before
12354         invoking window-prev-buffers.
12356 2011-09-08  Leo Liu  <sdl.web@gmail.com>
12358         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
12360 2011-09-08  Juri Linkov  <juri@jurta.org>
12362         * progmodes/compile.el (compilation-environment): Make it
12363         a defcustom (bug#8340).
12365 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
12367         * window.el (frame-auto-delete): Rename to window-auto-delete.
12368         Make it control auto-deletion of windows and/or frames.
12369         (window-deletable-p): New argument FORCE.  Rewrite conditions
12370         for deleting window/frame.  (Bug#9419)
12371         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12372         Rewrite handling of case when window/frame can be deleted.
12373         (delete-windows-on): Call window-deletable-p with new FORCE
12374         argument t.  (Bug#9456)
12376 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
12378         * help-mode.el (help-mode): Restore autoload.
12380 2011-09-07  Juri Linkov  <juri@jurta.org>
12382         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12383         `compilation-environment'.  Set buffer-local
12384         `compilation-environment' to `thisenv' later after (funcall mode).
12385         (Bug#8340)
12387         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
12388         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12389         instead of replacing its value.  (Bug#8340)
12391 2011-09-07  Juri Linkov  <juri@jurta.org>
12393         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12394         based on text properties put by `grep-filter' instead of matching
12395         escape sequences.
12396         (grep-mode): Set buffer-local `compilation-error-screen-columns'
12397         to the value of `grep-error-screen-columns' (bug#9438).
12399 2011-09-07  Juri Linkov  <juri@jurta.org>
12401         * simple.el (next-error-highlight, next-error-highlight-no-select):
12402         Doc fix (bug#9432).
12404 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
12406         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12407         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
12409 2011-09-07  Leo Liu  <sdl.web@gmail.com>
12411         * net/rcirc.el (rcirc-mode): Conditionally initialize
12412         rcirc-input-ring.
12414 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12416         * emacs-lisp/find-func.el (find-function-C-source): Only set
12417         find-function-C-source-directory after checking that we found a source
12418         file there (bug#9440).
12420 2011-09-06  Alan Mackenzie  <acm@muc.de>
12422         * isearch.el (isearch-other-meta-char): Wherever a key list is
12423         unread, "unread" the prefix arg, too.  This fixes bug #8901.
12425 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
12427         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12429 2011-09-05  Juri Linkov  <juri@jurta.org>
12431         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12433 2011-09-05  Juri Linkov  <juri@jurta.org>
12435         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12436         keeping point where processing of grep matches begins, and
12437         continue to delete remaining escape sequences from the same point.
12438         (grep-filter): Make leading zero optional in "0?1;31m" because
12439         git-grep emits "\033[1;31m" escape sequences unlike expected
12440         "\033[01;31m" as GNU Grep does (bug#9408).
12441         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12443 2011-09-05  Juri Linkov  <juri@jurta.org>
12445         * subr.el (y-or-n-p): Capitalize "yes".
12447 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
12449         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
12450         `tramp-cache-unload-hook' where appropriate.
12451         (tramp-methods): Rename `tramp-remote-sh' to
12452         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
12453         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12455         * net/tramp-sh.el (top): Don't require 'shell.
12456         (tramp-methods): Add `tramp-remote-shell' and
12457         `tramp-remote-shell-args' entries.
12458         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12459         (tramp-sh-handle-shell-command): Remove.
12460         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12461         Use `tramp-remote-shell'.
12463 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
12465         * mail/sendmail.el (sendmail-query-once-function): Delete.
12466         (sendmail-query-once): Save directly to send-mail-function.
12467         Update message-send-mail-function too.
12469         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12471 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12473         * progmodes/python.el (python-mode-map): Use correct function to
12474         start python interpreter from menu-bar (as reported by Geert
12475         Kloosterman).
12476         (inferior-python-mode-map): Fix typo.
12477         (python-shell-map): Remove.
12479 2011-09-03  Deniz Dogan  <deniz@dogan.se>
12481         * net/rcirc.el (rcirc-print): Simplify code for
12482         rcirc-scroll-show-maximum-output.  There is no need to walk
12483         through all windows to find the right one.
12485 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
12487         * help.el (help-return-method): Doc fix.
12489 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
12491         * window.el (window-deletable-p): Don't return a non-nil value
12492         when there's a buffer that was shown in the window before.
12493         (Bug#9419)
12494         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12495         Set window's previous buffers to nil.
12497 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
12499         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12500         newline before and after the tag line, so it doesn't interfere
12501         with determining the paragraph direction of bidirectional text.
12503 2011-09-03  Leo Liu  <sdl.web@gmail.com>
12505         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
12507 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12509         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12510         (pop-to-buffer): Change interactive spec.  Pass second argument
12511         directly to display-buffer.
12512         (display-buffer): Fix interactive spec.  Use functionp to
12513         distinguish between a function and a list of functions.
12515         * abbrev.el (edit-abbrevs):
12516         * arc-mode.el (archive-extract):
12517         * autoinsert.el (auto-insert):
12518         * bookmark.el (bookmark-bmenu-list):
12519         * files.el (find-file):
12520         * view.el (view-buffer):
12521         * progmodes/compile.el (compilation-goto-locus):
12522         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12524 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
12526         * window.el (display-buffer-alist): Doc fix.
12527         (display-buffer): Add docstring.  Don't treat
12528         display-buffer-default specially.
12529         (display-buffer-reuse-selected-window)
12530         (display-buffer-same-window, display-buffer-maybe-same-window)
12531         (display-buffer-reuse-window, display-buffer-pop-up-frame)
12532         (display-buffer-pop-up-window)
12533         (display-buffer-reuse-or-pop-window)
12534         (display-buffer-use-some-window): New functions.
12535         (display-buffer-default-action): Use them.
12536         (display-buffer-default): Delete.
12537         (pop-to-buffer-1): Fix choice of actions.
12539 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12541         * minibuffer.el (completion--insert-strings): Don't get confused by
12542         completion entries that end with an LF char.
12544 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
12546         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12548 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
12550         * window.el (display-buffer): Restore interactive spec.
12551         (display-buffer-same-window, display-buffer-other-window):
12552         New functions.
12553         (pop-to-buffer-1): New function.  Use the above.
12554         (pop-to-buffer, pop-to-buffer-same-window): Use it.
12555         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12557         * view.el (view-buffer-other-window, view-buffer-other-frame):
12558         Just use pop-to-buffer.
12560 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12562         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
12564 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
12566         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
12568 2011-08-31  Richard Stallman  <rms@gnu.org>
12570         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12571         of the separation of rmail-view-buffer from rmail-buffer.
12572         If you say no to "replace original", the decrypt is in the
12573         view buffer.  If you say yes, the decrypt goes into the
12574         rmail buffer also.
12576 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
12578         * window.el (display-buffer-window): Rewrite doc-string.
12579         (display-buffer-record-window): New function.
12580         (display-buffer-macro-specifiers)
12581         (display-buffer-even-window-sizes, display-buffer-set-height)
12582         (display-buffer-set-width, display-buffer-in-window)
12583         (display-buffer-reuse-window, display-buffer-split-specifiers)
12584         (display-buffer-side-specifiers, display-buffer-split-window-1)
12585         (display-buffer-split-window, display-buffer-split-atom-window)
12586         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12587         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12588         (display-buffer-other-window-means-other-frame)
12589         (display-buffer-normalize-special)
12590         (display-buffer-normalize-default)
12591         (display-buffer-normalize-argument)
12592         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12593         (display-buffer-normalize-specifiers, display-buffer-frame)
12594         (display-buffer-same-window, display-buffer-same-frame)
12595         (display-buffer-other-window)
12596         (display-buffer-same-frame-other-window)
12597         (display-buffer-other-frame, pop-to-buffer-same-window)
12598         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12599         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12600         (switch-to-buffer-same-frame)
12601         (switch-to-buffer-other-window-same-frame)
12602         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12603         (display-buffer-alist-set-1, display-buffer-alist-set-2)
12604         (display-buffer-alist-set): Remove.
12605         (display-buffer-function, special-display-buffer-names)
12606         (special-display-regexps, special-display-function):
12607         In doc-string refer to display-buffer-window and quit-restore
12608         parameter.
12609         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12610         (special-display-frame-alist, special-display-popup-frame)
12611         (same-window-buffer-names, same-window-regexps, same-window-p)
12612         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12613         (split-window-preferred-function, split-height-threshold)
12614         (split-width-threshold, window-splittable-p)
12615         (split-window-sensibly, window--try-to-split-window)
12616         (window--frame-usable-p, even-window-heights)
12617         (window--even-window-heights, window--display-buffer-1)
12618         (window--display-buffer-2, display-buffer-other-frame):
12619         Restore old Emacs 23 code, order and doc-strings where applicable.
12620         (display-buffer-default, display-buffer-assq-regexp): New functions.
12621         (display-buffer-alist): Rewrite doc-string.
12622         (display-buffer-default-action)
12623         (display-buffer-overriding-action): New variables.
12624         (display-buffer, switch-to-buffer): Rewrite.
12625         (pop-to-buffer): Restore Emacs 23 behavior but use
12626         window-normalize-buffer-to-display.
12627         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12628         Restore Emacs 23 behavior but use
12629         window-normalize-buffer-to-switch-to.
12630         (pop-to-buffer-same-window): Rewrite.
12631         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12632         Rewrite using Emacs 23 options.
12634 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
12636         * net/tramp.el (tramp-root-regexp): Remove.
12637         (tramp-completion-file-name-regexp-unified)
12638         (tramp-completion-file-name-regexp-separate)
12639         (tramp-completion-file-name-regexp-url): Don't use leading volume
12640         letter on w32 systems.  (Bug#5303, Bug#9311)
12641         (tramp-drop-volume-letter): Simplify definition.
12642         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12644 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12646         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12647         (bug#9356).
12649 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
12651         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12653 2011-08-29  Juri Linkov  <juri@jurta.org>
12655         * isearch.el (isearch-done): Don't display message "Mark saved"
12656         when arg `edit' is non-nil to prevent its flicker in the echo area.
12658 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12660         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12661         obsolete packages for deletion.
12663 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
12665         * help-mode.el (help-mode-map): Add special-mode-map to parent.
12666         (help-mode): Derive help-mode from special-mode.  Don't invoke
12667         view-mode from help-mode.
12668         (help-xref-override-view-map): Remove.
12669         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12670         view-mode is not used anymore.
12672 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
12674         * server.el (server-port): Doc fix.
12676         * cus-theme.el (custom-theme-choose-mode): Inherit from
12677         special-mode (Bug#9124).
12678         (custom-theme-choose-mode-map): Add special-mode to parent.
12680 2011-08-28  Alan Mackenzie  <acm@muc.de>
12682         * progmodes/cc-fonts.el
12683         (c-make-font-lock-BO-decl-search-function): New function.
12684         (c-basic-matchers-after - "Fontify the clauses after various
12685         keywords"): Extract the three keyword lists for the 3 erroneous
12686         constructs from the list of four, and use the new function above
12687         in place of an old one.
12689 2011-08-28  Deniz Dogan  <deniz@dogan.se>
12691         * net/rcirc.el (rcirc-insert-prev-input)
12692         (rcirc-insert-next-input): Remove unused argument.
12694 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12698 2011-08-27  Alan Mackenzie  <acm@muc.de>
12700         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12701         handle function pointer parameters properly.
12703 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
12705         * window.el (display-buffer-reuse-window): Fix case where
12706         selected window was reused with non-nil OTHER-WINDOW argument.
12707         (Bug#9381)
12709 2011-08-27  Deniz Dogan  <deniz@dogan.se>
12711         * net/rcirc.el (rcirc-check-auth-status): Adding support for
12712         oftc's NickServ messages.
12714 2011-08-27  Glenn Morris  <rgm@gnu.org>
12716         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
12718 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
12720         * emacs-lisp/package.el (package-install): Call package-initialize
12721         if called interactively.
12723 2011-08-26  Leo Liu  <sdl.web@gmail.com>
12725         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
12727 2011-08-25  Juri Linkov  <juri@jurta.org>
12729         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12730         `search-whitespace-regexp' (bug#9364).
12732 2011-08-25  Juri Linkov  <juri@jurta.org>
12734         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12735         `regexp-search-ring' to their global values to protect from
12736         updating by `read-from-minibuffer' (bug#9185).
12738 2011-08-25  Juri Linkov  <juri@jurta.org>
12740         * textmodes/ispell.el (ispell-command-loop): Add newline
12741         at the end of the "Use option `i'..." line.
12743 2011-08-25  Juri Linkov  <juri@jurta.org>
12745         * battery.el (display-battery-mode): If `battery-status-function'
12746         or `battery-mode-line-format' is nil, display the message and set
12747         `display-battery-mode' to nil (bug#9363).
12749 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
12751         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12752         bidi-string-mark-left-to-right; they are unnecessary now.
12754 2011-08-25  Deniz Dogan  <deniz@dogan.se>
12756         * net/quickurl.el: Documentation typo fixes.
12758 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
12760         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12762 2011-08-25  Glenn Morris  <rgm@gnu.org>
12764         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12766         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12767         (smtpmail-via-smtp): Handle nil response from smtp.
12769 2011-08-24  Juri Linkov  <juri@jurta.org>
12771         * proced.el (proced-marked): Inherit from `error' instead of
12772         `font-lock-warning-face'.
12774         * ibuffer.el (ibuffer-marked-face): Change default face from
12775         `font-lock-warning-face' to `warning'.
12776         (ibuffer-deletion-face): Change default face from
12777         `font-lock-type-face' to `error'.
12779         * battery.el (battery-update): Use the face `error' instead of
12780         `font-lock-warning-face' (bug#6117).
12782 2011-08-24  Juri Linkov  <juri@jurta.org>
12784         * faces.el (success): Change face color from "Green3" to
12785         "ForestGreen" on light background (bug#9353).
12787 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
12789         * window.el (quit-window): Rename from quit-restore-window.
12790         Use same arglist as old quit-window.
12791         (frame-auto-delete): Doc fix.
12793         * view.el (view-mode-exit): Use quit-window.
12795 2011-08-24  Juri Linkov  <juri@jurta.org>
12797         * isearch.el (isearch-ring-adjust1): Start visiting previous
12798         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12799         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12800         for empty search string (when the last search string is reused
12801         automatically) to adjust the isearch ring to the last element and
12802         prepare the correct index for further M-p commands (bug#9185).
12804 2011-08-24  Kenichi Handa  <handa@m17n.org>
12806         * international/ucs-normalize.el: If decomposition property of
12807         CHAR is the default one (i.e. a list of CHAR itself), treat it as
12808         nil.
12809         (nfd, nfkd): Likewise.
12811 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12813         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12814         from process filters aren't reliably transmitted to the surrounding
12815         accept-process-output.
12816         (mpc-proc-check): New function.
12817         (mpc-proc-sync): Use it (bug#8293)
12819 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12821         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12822         Add compatibility functions (bug#9313).
12824 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
12826         * cus-start.el (all): Add entry for bidi-paragraph-direction.
12828         * international/uni-bidi.el: Regenerate.
12830 2011-08-23  Kenichi Handa  <handa@m17n.org>
12832         * international/charprop.el:
12833         * international/uni-bidi.el:
12834         * international/uni-category.el:
12835         * international/uni-combining.el:
12836         * international/uni-comment.el:
12837         * international/uni-decimal.el:
12838         * international/uni-decomposition.el:
12839         * international/uni-digit.el:
12840         * international/uni-lowercase.el:
12841         * international/uni-mirrored.el:
12842         * international/uni-name.el:
12843         * international/uni-numeric.el:
12844         * international/uni-old-name.el:
12845         * international/uni-titlecase.el:
12846         * international/uni-uppercase.el: Regenerate.
12848 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
12850         * help.el (help-window-setup): Fix message displayed when other
12851         window is reused.  (Bug#9341)
12853 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12855         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12856         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12858         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12859         Mark obsolete.
12860         * shell.el (shell-parse-pcomplete-arguments): New function.
12861         (shell-completion-vars): Use it instead (bug#9160).
12863 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12865         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12866         strings and comments (bug#9333).
12868         * emacs-lisp/debug.el (debug-arglist): New function.
12869         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
12870         (debug-on-entry-1): Handle interpreted closures (bug#9120).
12872 2011-08-22  Juri Linkov  <juri@jurta.org>
12874         * progmodes/compile.el (compilation-mode-font-lock-keywords):
12875         Revert regexp that highlights output switches to its old
12876         pre-2010-10-28 value and remove one `?' from it (bug#9319).
12878         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12879         to check for empty output (bug#9226).
12881 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
12883         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12884         symbol-constituent as the default, as that stops font-lock from
12885         working properly (Bug#8843).
12887 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12889         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12890         `coding-system-for-*' around the process open call to avoid
12891         auth-source side effects.
12892         (smtpmail-try-auth-methods): Expand the secret password.
12893         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12894         probe hangs.
12896 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12898         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12900         * emacs-lisp/find-func.el (find-function-noselect): New arg
12901         lisp-only.
12903         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12904         signal an error for built-in functions (Bug#6664).
12906 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12908         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12909         (smtpmail-try-auth-methods): Use it.
12911 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12913         * font-lock.el (font-lock-fontify-region)
12914         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12915         (font-lock-default-unfontify-buffer)
12916         (font-lock-default-fontify-region)
12917         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12919         * progmodes/compile.el (compilation-error-properties):
12920         Fix confusion between file struct and message struct (Bug#9319).
12921         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12922         `ant' regexp.
12924         * net/browse-url.el (browse-url-firefox): Don't call
12925         browse-url-firefox-sentinel unless using -remote (Bug#9328).
12927 2011-08-20  Glenn Morris  <rgm@gnu.org>
12929         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12931         * tutorial.el (tutorial--default-keys): Update some default bindings.
12933         * files.el (hack-local-variables): Fully ignore case for "mode:".
12935 2011-08-20  Alan Mackenzie  <acm@muc.de>
12937         Resolve invalid use of a regexp in regexp-opt.
12939         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12940         detection for a java annotation.
12942         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12943         detection for a java annotation.
12945         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12946         handling for java.
12947         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12949 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
12951         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12952         (Bug#9274).
12954 2011-08-20  Alan Mackenzie  <acm@muc.de>
12956         Fontify CPP expressions correctly when starting in the middle of
12957         such a construct.  Mainly for when jit-lock etc. starts a chunk
12958         here.
12960         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12961         variable.
12962         (c-make-font-lock-search-form): New function, extracted from
12963         c-make-font-lock-search-function.
12964         (c-make-font-lock-search-function): Use the above function.
12965         (c-make-font-lock-context-search-function): New function.
12966         (c-cpp-matchers): Enhance the preprocessor expression case with
12967         the above function
12968         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12969         which takes an expression.
12971         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12973 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
12975         * window.el (display-buffer-reuse-window)
12976         (display-buffer-pop-up-window): Don't reuse or split a side
12977         window.
12979 2011-08-19  Glenn Morris  <rgm@gnu.org>
12981         * files.el (hack-local-variables-prop-line, hack-local-variables):
12982         Downcase "Mode:".  (Bug#9331)
12984 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
12986         * international/characters.el: Add L and R categories.
12988         * subr.el (bidi-string-mark-left-to-right): Rename from
12989         string-mark-left-to-right.  Use category search.
12991         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12993 2011-08-18  Juri Linkov  <juri@jurta.org>
12995         * faces.el (error, warning, success): New faces with definitions
12996         copied from old default values of `font-lock-warning-face',
12997         `compilation-warning', `compilation-info' (bug#6117).
12999         * font-lock.el (font-lock-warning-face): Inherit from `error'.
13001         * progmodes/compile.el (compilation-error): Inherit from `error'.
13002         (compilation-warning): Inherit from `warning'.
13003         (compilation-info): Inherit from `success'.
13005         * dired.el (dired-marked): Inherit from `warning'.
13006         (dired-flagged): Inherit from `error'.
13008 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13010         * mail/smtpmail.el (auth-source): Require to avoid problems with
13011         binding variables (bug#9298).  Also clean up some unused
13012         autoloads.
13014         * net/network-stream.el (network-stream-open-starttls):
13015         Support using starttls.el without using gnutls-cli.
13017 2011-08-17  Juri Linkov  <juri@jurta.org>
13019         * progmodes/grep.el (rgrep): Handle the case when
13020         `grep-find-command' is a cons cell (bug#9278).
13022 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
13024         * window.el (display-buffer-pop-up-frame): Run frame creation
13025         function with BUFFER current (as special-display-popup-frame
13026         does).  Reported by Drew Adams.
13028 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
13030         * epa-mail.el: Simplify GnuPG group expansion using
13031         epg-expand-group.
13032         (epa-mail-group-alist, epa-mail-group-modtime)
13033         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
13034         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
13035         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
13036         Remove.
13038 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
13040         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
13042 2011-08-16  Alan Mackenzie  <acm@muc.de>
13044         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
13045         Correct, to avoid the inside of macros.
13047 2011-08-16  Richard Stallman  <rms@gnu.org>
13049         * epa-mail.el: Handle GnuPG group definitions.
13050         (epa-mail-group-alist, epa-mail-group-modtime)
13051         (epa-mail-gnupg-conf-file): New variables.
13052         (epa-mail-parse-groups, epa-mail-sync-groups)
13053         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
13054         (epa-mail-expand-recipients): New functions.
13055         (epa-mail-encrypt): Call epa-mail-expand-recipients.
13057         * mail/rmail.el (rmail-epa-decrypt): New command.
13059         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
13060         Don't bind buffer-read-only, just inhibit-read-only.
13061         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
13062         (epa-decrypt-armor-in-region): Make error message clearer.
13064 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13066         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
13067         and "a2b" to "ab" for `prefix'.
13069 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
13071         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
13072         filter groups.
13073         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
13074         Fourquet (Bug#8804).
13076 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
13078         * startup.el (argi): Declare as global variable (bug#9275).
13080 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
13082         * subr.el (string-mark-left-to-right): Search the entire string
13083         for RTL script, not just the terminating character.  Doc fix.
13085 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13087         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
13088         New function.
13089         (js--regexp-literal, js-syntax-propertize-function): Remove.
13090         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
13091         (js-mode-map): Don't rebind electric keys.
13092         (js-insert-and-indent): Remove.
13093         (js-mode): Setup electric-layout and electric-indent instead.
13095         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
13097 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
13099         * epa.el (epa-progress-callback-function): Fix the logic of
13100         displaying progress.
13101         * epa-file.el (epa-file-insert-file-contents): Make progress
13102         display more user-friendly.
13103         (epa-file-write-region): Ditto.
13105 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
13107         * subr.el (string-mark-left-to-right): New function.
13109         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
13110         Use string-mark-left-to-right.
13111         (list-buffers-noselect): Caller changed.
13113         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13114         Use string-mark-left-to-right.
13115         (tabulated-list-print): Recenter after moving point.
13117 2011-08-10  Juri Linkov  <juri@jurta.org>
13119         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
13120         This finishes incomplete reversion of revno:104787 (2011-06-30)
13121         intended by revno:104988 (2011-07-06).
13123 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
13125         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
13126         (Bug#7554).
13128 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
13130         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
13131         character.  (Bug#6594)
13133 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
13135         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
13136         (image-dired--with-db-file): New macro.
13137         (image-dired-write-tags, image-dired-remove-tag)
13138         (image-dired-create-gallery-lists, image-dired-write-comments)
13139         (image-dired-get-comment, image-dired-mark-tagged-files)
13140         (image-dired-list-tags, image-dired-gallery-generate): Use it.
13141         (image-dired-gallery-generate): Use insert-file-contents.
13143         * time.el (display-time-world-list, display-time-world-display):
13144         * time-stamp.el (time-stamp-string):
13145         * vc/add-log.el (add-change-log-entry): Use setenv instead of
13146         set-time-zone-rule (Bug#7337).
13148 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
13150         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
13151         (epg-error-to-string, epg-errors-to-string): New function.
13152         (epg-wait-for-completion): Reverse errors list.
13153         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
13154         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
13155         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
13156         (epg-sign-keys, epg-generate-key-from-file)
13157         (epg-generate-key-from-string): Format errors by using
13158         epg-errors-to-string (bug#9255).
13159         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
13161 2011-08-07  Juri Linkov  <juri@jurta.org>
13163         * faces.el (list-faces-display): Remove extra angle bracket
13164         from `help-mode-map'.
13166         * info.el (Info-history-toc-nodes): Doc fix.
13168         * longlines.el (longlines-mode): Doc fix.
13170 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13172         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
13173         of statements and in a few more cases (bug#9183).
13175         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
13176         New functions.
13177         (cl-transform-lambda): Use them (bug#9239).
13179 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
13181         * window.el (display-buffer-same-window)
13182         (display-buffer-same-frame, display-buffer-other-window)
13183         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13184         (pop-to-buffer-other-window)
13185         (pop-to-buffer-same-frame-other-window)
13186         (pop-to-buffer-other-frame): Make them defuns.
13187         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
13189 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13191         * subr.el (make-composed-keymap): Move from C.  Change calling
13192         convention, and improve docstring to bring attention to a subtle point.
13193         * minibuffer.el (completing-read-default): Adjust accordingly.
13195 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
13197         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
13198         (tramp-open-shell): Use `tramp-shell-quote-argument'.
13200         * net/trampver.el: Update release number.
13202 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13204         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
13205         "in" (bug#9190).
13207 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13209         * mail/sendmail.el (sendmail-query-once): Restore the current
13210         buffer after querying (bug#9074).
13212         * dired.el (dired-flagged): Use different faces for marked and
13213         flagged files (bug#6117).
13215         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
13216         (bug#4433).
13218         * ido.el (ido-mode): Switch off the message if called
13219         non-interactively.
13221         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
13222         before 587, since it appears that that's more likely to work for
13223         more people.
13225         * cus-edit.el (custom-file): When running under emacs -q, always
13226         refuse to save the customizations, even if the .emacs file doesn't
13227         exist.
13229         * info.el: Remove the `Info-beginning-of-buffer' function
13230         (bug#8325).
13232         * net/network-stream.el (network-stream-open-starttls):
13233         Use `starttls-available-p' to see whether starttls.el can be used.
13235 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
13237         * window.el (display-buffer-in-window): Don't set dedicated status
13238         of window here (Bug#9215).
13239         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13240         (display-buffer-pop-up-side-window)
13241         (display-buffer-in-side-window): Set dedicated status of window here.
13243 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13245         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
13246         before binding generated-autoload-file.
13248 2011-08-01  Deniz Dogan  <deniz@dogan.se>
13250         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
13252 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
13254         Sync with Tramp 2.2.2.
13256         * net/trampver.el: Update release number.
13258 2011-07-30  Juri Linkov  <juri@jurta.org>
13260         * dired-aux.el (dired-touch-initial): Remove function.
13261         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13262         current time, and `default' to the last modification time of the
13263         current marked file (bug#6887).
13265 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
13267         * simple.el (goto-line): Use string-to-number to provide a
13268         numeric argument to read-number (bug#9163).
13270 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
13272         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13273         connection process, it could be nil.
13275 2011-07-27  Leo Liu  <sdl.web@gmail.com>
13277         Simplify url handling in rcirc-mode.
13279         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13280         (rcirc-browse-url-at-mouse): Remove.
13281         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13283 2011-07-26  Alan Mackenzie  <acm@muc.de>
13285         Fontify bitfield declarations properly.
13287         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13288         (c-symbol-chars): Now exported as a lang variable.
13289         (c-not-primitive-type-keywords): New lang variable.
13291         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13292         QT keyword "more" to prevent "more slots: ...." being spuriously
13293         parsed as a bitfield declaration.
13295         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13296         Refactor and enhance to handle bitfield declarations.
13297         (c-punctuation-in): New function.
13298         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13299         declarations properly.
13301 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
13303         * calendar/icalendar.el (icalendar--all-events): Take care of
13304         multiple vcalendars in a single file.
13305         (icalendar--convert-float-to-ical): Checkdoc fixes.
13307 2011-07-25  Deniz Dogan  <deniz@dogan.se>
13309         * image.el (insert-image): Clarifying docstring.
13311 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
13313         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13314         `tramp-send-command-and-check' if there is no error.
13315         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13317 2011-07-22  Alan Mackenzie  <acm@muc.de>
13319         Prevent cc-langs.elc being loaded at run time.
13321         * progmodes/cc-mode.el: Remove two autoload forms which loaded
13322         cc-langs.
13324         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13325         "(require 'cc-langs)".  Quote a form so it will evaluate at
13326         (cc-mode's) compilation time.
13328 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
13330         * net/tramp.el (tramp-file-name-handler): Avoid recursive
13331         loading.  (Bug#9114)
13333 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
13335         * window.el (display-buffer-pop-up-window)
13336         (display-buffer-pop-up-side-window)
13337         (display-buffer-in-side-window): Call display-buffer-set-height
13338         and display-buffer-set-width after setting the new window's
13339         buffer so `fit-window-to-buffer' and friends work on the right buffer.
13341 2011-07-20  Sam Steingold  <sds@gnu.org>
13343         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13344         (etags-tags-included-tables): Call `convert-standard-filename' on
13345         the file names contained in TAGS so that windows Emacs can handle
13346         TAGS files created by cygwin ctags.
13348 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13350         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13351         which apparently didn't work.
13353 2011-07-19  Roland Winkler  <winkler@gnu.org>
13355         * proced.el (proced-send-signal): For *Marked Processes* buffer
13356         put point at beginning of buffer.
13358 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
13360         * proced.el (proced-format): Make header lines align with the text
13361         (bug#1779).
13363 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13365         * view.el (view-buffer): Allow running in `special' modes if we're
13366         visiting a file (bug#8615).
13368 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
13370         * window.el (display-buffer-alist-of-strings-p)
13371         (display-buffer-alist-set-1, display-buffer-alist-set-2):
13372         New functions.
13373         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13374         more accurately.
13376 2011-07-18  Alan Mackenzie  <acm@muc.de>
13378         Fontify declarators properly when, e.g., a jit-lock chunk begins
13379         inside a declaration.
13381         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13383         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13384         New function.
13385         (c-complex-decl-matchers): Insert reference to
13386         c-font-lock-enclosing-decls.
13388         * progmodes/cc-engine.el (c-backward-single-comment):
13389         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13390         to nil around calls to (forward-comment -1).
13392 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13394         * image.el (put-image): Doc typo fix.
13396         * progmodes/etags.el (tags-search): Doc typo fix.
13398         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13399         password if we get errors 550 to 554.
13401 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13403         * net/gnutls.el (gnutls-log-level): Remove.
13405         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13406         indentation character (bug#6380).
13408         * files.el (buffer-offer-save): Made permanently local (bug#6241).
13410         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13411         to clarify what the problem is (bug#4291).
13413         * simple.el (current-kill): Clarify what
13414         `interprogram-paste-function' does (bug#7500).
13415         (auto-fill-mode): Document `auto-fill-function' in relation to
13416         `auto-fill-mode' (bug#2470).
13418 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
13420         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13421         method if slot is read-only (bug#9035).
13423 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
13425         * frame.el (select-frame-set-input-focus): New argument NORECORD.
13426         * window.el (pop-to-buffer): Select window used even if it was
13427         selected before, see discussion of (Bug#8615), (Bug#6954).
13428         Pass argument NORECORD on to select-frame-set-input-focus.
13430 2011-07-15  Glenn Morris  <rgm@gnu.org>
13432         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
13433         Respect help-form.
13435 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
13437         * net/gnutls.el (gnutls-min-prime-bits): New variable.
13438         (gnutls-negotiate): Use it.
13440 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13442         * net/gnutls.el (gnutls-negotiate):
13443         Upcase `gnutls-algorithm-priority'.
13445 2011-07-15  Glenn Morris  <rgm@gnu.org>
13447         * jka-compr.el (jka-compr-verbose): Move from here...
13448         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
13449         Add missing :version tag.
13450         * info.el: No need to require jka-compr when compiling.
13452 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13454         * net/gnutls.el (gnutls-algorithm-priority): New variable.
13455         (gnutls-negotiate): Use it.
13457         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13459         * info.el (Info-beginning-of-buffer): New command.
13460         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13461         announcing `b' as the key (bug#8325).
13462         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13464         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13466         * international/mule-cmds.el
13467         (describe-specified-language-support): Make the error message
13468         clearer (bug#8905).
13470         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13472         * isearch.el (isearch-barrier): Add a doc string, since it's
13473         mentioned in a function doc string (bug#8678).
13475 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
13477         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13478         buffer argument (Bug#9083) and self-identifying label argument.
13480 2011-07-15  Glenn Morris  <rgm@gnu.org>
13482         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
13484 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13486         * man.el (Man-fontify-manpage): Fix message when formatting the
13487         man page (bug#7929).
13489 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13491         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13492         argument LRM; if non-nil, append an invisible LRM character to the
13493         buffer name.
13494         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13495         last argument non-nil, when formatting buffer names.
13496         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13497         paragraph direction.
13499 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13501         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13502         the man page name (bug#7929).
13504         * image.el (put-image): Mention the `put-image' overlay property
13505         (bug#7834).
13507         * scroll-bar.el (set-scroll-bar-mode): Mention that
13508         `scroll-bar-mode' lists the values (bug#7772).
13510         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13511         command (bug#7729).
13513         * rect.el (apply-on-rectangle): Return the point after the last
13514         operation.
13515         (string-rectangle): Go to the point after the last operation
13516         (bug#7522).
13518         * printing.el (pr-toggle-region): Clarify the documentation
13519         slightly (bug#7493).
13521         * time.el (display-time-update):
13522         Allow `display-time-mail-function' to return nil (bug#7158).
13523         Fix suggested by Detlev Zundel.
13525         * vc/diff.el (diff): Clarify the order the file names are read
13526         (bug#7111).
13528         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13529         the doc string (bug#7015).
13531         * font-lock.el (font-lock-maximum-decoration): Mention what
13532         numeric levels mean (bug#6935).
13534         * startup.el (initial-buffer-choice): Don't mention the `none'
13535         selection, which is against policy.
13537 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
13539         * window.el (display-buffer-normalize-special):
13540         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13542 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
13544         * subr.el (version<, version<=, version=): Mention "-CVS" and
13545         "-12345" alpha version numbers.
13547 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13549         * bindings.el: Add advertised binding for set-mark-command
13550         (Bug#5772).
13552 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
13554         * bindings.el (mode-line-other-buffer):
13555         * bookmark.el (bookmark-bmenu-2-window):
13556         * bs.el (bs-cycle-next, bs-cycle-previous):
13557         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13558         switch-to-buffer.
13560         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13561         Delete.
13563 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
13565         * follow.el (follow-debug-message, follow-redisplay):
13566         * jka-cmpr-hook.el (with-auto-compression-mode):
13567         Fix typos in docstrings.
13569 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13571         * subr.el (with-silent-modifications): Clarify somewhat what the
13572         macro inhibits (bug#6525).
13574         * simple.el (eval-expression): Note what it does if called
13575         interactively (bug#6495).
13577 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13579         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13580         Use pop-to-buffer buffer-or-name if it is nil.
13582         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13583         Remove switch-to-buffer.
13585 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13587         * files.el (make-directory): Clarify that an error will be raised
13588         if there's an error (bug#6397).
13590         * startup.el (initial-buffer-choice): Add `none' as a choice
13591         (bug#6234).
13593         * subr.el (add-hook): Clarify section about buffer-local hooks
13594         (bug#6218).
13596         * dired.el (dired-flagged): Clarify doc string (bug#6117).
13598 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13600         * tabify.el (untabify): Preserve the current column so that point
13601         doesn't move (bug#6032).
13603 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13605         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13606         Rewrite to avoid awkward possessive "s" (bug#5986).
13608 2011-07-13  Glenn Morris  <rgm@gnu.org>
13610         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
13611         (dired-insert-directory): Give a message the first time
13612         if ls is found not to support --dired.
13614 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13616         * simple.el (toggle-truncate-lines): Clarify what is toggled
13617         (bug#5580).  Text by Drew Adams.
13619 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
13621         * simple.el (blink-matching-open): Make the error message from the
13622         last change less verbose.
13624 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
13626         * font-lock.el (font-lock-comment-face): Use the high contrast
13627         "yellow" color for font-lock-comment-face on low color terminals
13628         using a dark background color (bug#4221).
13630 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13632         * dired.el (dired-insert-set-properties): Make the doc string
13633         reflect what it does now (bug#5325).
13635         * simple.el (blink-matching-open): Say that we were unable to find
13636         the match within the limit, if we're limited (bug#5122).
13638         * international/mule-cmds.el (prefer-coding-system): Add an
13639         example (bug#4869).
13641         * progmodes/etags.el (tags-search): Document `file-list-form'
13642         (bug#4731).
13644 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
13646         * net/browse-url.el (browse-url-default-browser)
13647         (browse-url-browser-function): Make the default browser choice a
13648         bit more logical (bug#4300).  Also clean up the doc string.
13650 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
13652         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13653         binary endings (bug#4440).
13655 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13657         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13658         which can be pretty annoying (bug#8971).
13660         * jka-compr.el (jka-compr-verbose): New variable, and use
13661         throughout (bug#8971).
13663         * info.el (Info-find-file): Fall back on the installation
13664         directory if we can't find the info node anywhere else.
13666 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
13668         * vc/vc.el (vc-revert-file):
13669         Don't set file time-stamp in the past.  (Bug#5181)
13671 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13673         * files.el (after-find-file): Give a better error message when
13674         trying to find a symlink that points to a file that doesn't exist
13675         (bug#4398).
13677         * progmodes/cc-vars.el: Remove (probably) misleading comment
13678         (bug#4396).
13680 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
13682         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13684 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13686         * mouse-sel.el: Hack restoring functionality, while keeping
13687         compatibility with 2010-07-03 changes to mouse selection.
13688         (mouse-sel-primary-overlay): New var.
13689         (mouse-sel-selection-alist): Use it.
13690         (mouse-sel-mode): Doc fix; remove points that are default features
13691         of mouse.el.
13693 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
13695         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13696         Fix previous fix (bug#2490).
13698 2011-07-12  Roland Winkler  <winkler@gnu.org>
13700         * textmodes/bibtex.el (bibtex-initialize):
13701         Use pop-to-buffer-same-window.
13702         (bibtex-search-entries): Fix interactive call.
13704 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13706         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13707         Fontise bytecomp Error lines more correctly (bug#2490).
13708         Fix suggested by Johan BockgÃ¥rd.
13710         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13712         * dired-x.el (dired-guess-default): Use `delete-dups'.
13714 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13716         * dired.el (dired-mark-prompt):
13717         * dired-aux.el (dired-read-shell-command): Doc fix.
13719 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13721         * mail/sendmail.el (sendmail-query-once):
13722         Use `customize-save-variable' unconditionally, now that it works under
13723         emacs -Q.
13725         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13727         * cus-edit.el (custom-file): Take an optional no-error variable.
13728         (customize-save-variable): Set the variable, and give a warning if
13729         running under "emacs -q".
13731 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
13733         * loadhist.el (unload-feature-special-hooks):
13734         Add `auto-coding-functions', `fill-nobreak-predicate' and
13735         `find-directory-functions' (bug#5327).
13737 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13739         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13741         * cus-edit.el (custom-guess-name-alist): -alist variables should
13742         use the `alist' type (bug#3120).  Suggested by Drew Adams.
13744         * printing.el: Add documentation to all the `pr-toggle-' commands.
13746 2011-07-11  Leo Liu  <sdl.web@gmail.com>
13748         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13749         backends where it makes sense (bug#2623).
13751 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13753         * dired-x.el (dired-guess-default): Remove duplicate shell command
13754         entries (bug#2028).
13755         (dired-guess-default): Fix grammar in doc string (bug#2028).
13756         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13758         * subr.el (remove-duplicates): New conveniency function.
13760 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13762         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13763         (bug#1526).
13765 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
13767         * window.el (display-buffer-normalize-default): Don't invert
13768         meaning of even-window-heights.  Reported by Eli Zaretskii
13769         <eliz@gnu.org>.
13771 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
13773         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13775 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
13777         * window.el (display-buffer): Fix arguments to
13778         display-buffer-reuse-window in last change.
13780         * faces.el (link): Use a less saturated blue on light backgrounds.
13782         * startup.el (fancy-startup-text, fancy-about-text)
13783         (fancy-startup-tail): Use font-lock faces, for background safety.
13785 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
13787         * emulation/viper-cmd.el (viper-change-state-to-vi):
13788         Limit triggering of abbrev expansion (Bug#9038).
13790 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
13792         * window.el (display-buffer-default-specifiers): Remove.
13793         (display-buffer-macro-specifiers): Remove default specifiers.
13794         (display-buffer-alist): Default to nil.
13795         (display-buffer-reuse-window): New optional argument other-window.
13796         (display-buffer-pop-up-window): Allow splitting internal
13797         windows.  Check whether a live window was created.
13798         (display-buffer-other-window-means-other-frame)
13799         (display-buffer-normalize-arguments): Rename to
13800         display-buffer-normalize-argument and rewrite.  Set the
13801         other-window specifier.
13802         (display-buffer-normalize-special): New function.
13803         (display-buffer-normalize-options): Rename to
13804         display-buffer-normalize-default and rewrite.
13805         (display-buffer-normalize-options-inhibit): Remove.
13806         (display-buffer-normalize-specifiers): Rewrite.
13807         (display-buffer): Process other-window specifier and call
13808         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
13809         more faithfully.
13810         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13811         (display-buffer-alist-set): Don't handle 'unset default values.
13812         (display-buffer-in-window, display-buffer-alist-set):
13813         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
13814         <tassilo@member.fsf.org>.
13816 2011-07-09  Leo Liu  <sdl.web@gmail.com>
13818         * register.el (insert-register): Restore accidental change on
13819         2011-06-26.  (Bug#9028)
13821 2011-07-09  Glenn Morris  <rgm@gnu.org>
13823         * subr.el (remq): Handle the empty list.  (Bug#9024)
13825 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
13827         * mail/sendmail.el (send-mail-function): No longer delay custom
13828         initialization.
13829         * custom.el (custom-initialize-delay): Doc fix.
13831 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13833         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13835 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
13837         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13838         human-friendly prompt.
13840 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13842         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13843         provided by a particular plugin.
13845 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13847         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13848         save customizations (with "emacs -Q"), just set the variable
13849         instead of erroring out.
13851         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13853 2011-07-08  Juri Linkov  <juri@jurta.org>
13855         * arc-mode.el (archive-zip-expunge, archive-zip-update)
13856         (archive-zip-update-case): Use 7z if found by `executable-find'.
13857         The order of searching the available programs is the same as in
13858         `archive-zip-extract' (bug#8968).
13860 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13862         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13863         (menu-bar-options-menu): Tweak descriptions.
13865 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13867         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13868         menu items into verb phrases (bug#1421).  Also refill to fit under
13869         80 columns.
13871 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13873         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13874         (Info-read-node-name): Doc fix (Bug#1084).
13876         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13877         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13878         (end-of-sexp, beginning-of-sexp)
13879         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13880         (forward-symbol, forward-same-syntax, word-at-point)
13881         (sentence-at-point): Doc fix (Bug#1144).
13883 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13885         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13886         should cover it (bug#1281).
13888         * cus-edit.el (custom-show): Mark as obsolete.
13890         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13891         negotiation fails, then possibly try again with a non-encrypted
13892         connection (bug#9017).
13894         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13895         be used.
13897 2011-07-07  Richard Stallman  <rms@gnu.org>
13899         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13900         property, and handle its changed format.
13901         Look for the correct line number.
13902         Use file's line contents (but not past first =) to find
13903         correct line in message.
13905 2011-07-07  Kenichi Handa  <handa@m17n.org>
13907         * international/characters.el (build-unicode-category-table):
13908         Delete it.
13909         (unicode-category-table): Set it by unicode-property-table-internal.
13911         * international/mule-cmds.el (char-code-property-alist): Move to
13912         to src/chartab.c.
13913         (get-char-code-property): Call unicode-property-table-internal to
13914         load a file.  Call get-unicode-property-internal where necessary.
13915         (put-char-code-property): Call unicode-property-table-internal to
13916         load a file.  Call put-unicode-property-internal where necessary.
13917         put-unicode-property-internal where necessary.
13918         (char-code-property-description):
13919         Call unicode-property-table-internal to load a file.
13921         * international/charprop.el:
13922         * international/uni-bidi.el:
13923         * international/uni-category.el:
13924         * international/uni-combining.el:
13925         * international/uni-comment.el:
13926         * international/uni-decimal.el:
13927         * international/uni-decomposition.el:
13928         * international/uni-digit.el:
13929         * international/uni-lowercase.el:
13930         * international/uni-mirrored.el:
13931         * international/uni-name.el:
13932         * international/uni-numeric.el:
13933         * international/uni-old-name.el:
13934         * international/uni-titlecase.el:
13935         * international/uni-uppercase.el: Regenerate.
13937         * loadup.el: Load international/charprop.el before
13938         international/characters.
13940 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13942         * window.el (next-buffer, previous-buffer): Signal an error if
13943         called from a minibuffer window.
13945         * bindings.el: Revert 2011-07-04 change.
13947 2011-07-06  Richard Stallman  <rms@gnu.org>
13949         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13950         (rmail-mime-insert-bulk, rmail-mime-insert-text):
13951         Treat markers like ints.
13952         (rmail-mime-entity): Doc fix.
13954 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13956         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13957         defcustom again for backwards compatibility.
13959         * simple.el (shell-command-on-region): Fill.
13961         * dired-aux.el (dired-kill-line): Add a doc string.
13963         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13964         to "\\sw\\|\\s_" (bug#358).
13966         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13967         (dired-unmark-backward): Ditto.
13968         (dired-flag-backup-files): Ditto.
13970         * dired-x.el (dired-mark-sexp): Ditto.
13972 2011-07-06  Richard Stallman  <rms@gnu.org>
13974         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13975         (rmail-mime-entity): New arg TRUNCATED.
13976         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13977         New functions.
13978         (rmail-mime-save): Warn if entity is truncated.
13979         (rmail-mime-toggle-hidden): Likewise, for showing.
13980         (rmail-mime-process-multipart): Record when an entity is truncated.
13982         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13983         if ENTITY is a string.
13985 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13987         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13988         of faces when `M-C-x'-ing their definitions (bug#8378).
13989         Also clean up the code slightly.
13991         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13992         because that makes the colors go away.
13994         * mail/sendmail.el (send-mail-function): Change the default to
13995         `sendmail-query-once'.
13996         (sendmail-query-once): Add an autoload cookie.
13998         * net/network-stream.el (network-stream-open-starttls): Try using
13999         a plain connection even if the server offered STARTTLS, and we
14000         kinda wanted to use it, if Emacs doesn't have any STARTTLS
14001         capability.  This should make smtpmail.el work in slightly more
14002         configurations.
14004 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
14006         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14007         New defun.
14008         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
14010 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
14012         * progmodes/sql.el: Version 3.0
14013         (sql-product-alist): Add product :completion-object,
14014         :completion-column, and :statement attributes.
14015         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
14016         (sql-mode-syntax-table): Mark all punctuation.
14017         (sql-font-lock-keywords-builder): Temporarily remove fallback on
14018         ansi keywords.
14019         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
14020         (sql-mode-oracle-font-lock-keywords): Improve.
14021         (sql-oracle-show-reserved-words): New function for development.
14022         (sql-product-font-lock): Simplify for source code buffers.
14023         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
14024         New functions.
14025         (sql-highlight-product): Set product specific syntax table.
14026         (sql-mode-map): Add statement movement functions.
14027         (sql-ansi-statement-starters, sql-oracle-statement-starters):
14028         New variable.
14029         (sql-statement-regexp, sql-beginning-of-statement)
14030         (sql-end-of-statement, sql-signum): New functions.
14031         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
14032         (sql-show-sqli-buffer): Bug fix.
14033         (sql-interactive-mode): Store connection data as buffer local.
14034         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
14035         with sql-interactive-mode.
14036         (sql-save-connection): Save buffer local settings.
14037         (sql-connection-menu-filter): Change menu entry name.
14038         (sql-product-interactive): Bug fix.
14039         (sql-preoutput-hold): New variable.
14040         (sql-interactive-remove-continuation-prompt): Bug fixes.
14041         (sql-debug-redirect): New variable.
14042         (sql-str-literal): New function.
14043         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
14044         Redesign.
14045         (sql-oracle-save-settings, sql-oracle-restore-settings)
14046         (sql-oracle-list-all, sql-oracle-list-table): New functions.
14047         (sql-completion-object, sql-completion-column)
14048         (sql-completion-sqlbuf): New variables.
14049         (sql-build-completions-1, sql-build-completions)
14050         (sql-try-completion): New functions.
14051         (sql-read-table-name): Use them.
14052         (sql-contains-names): New buffer local variable.
14053         (sql-list-all, sql-list-table): Use it.
14054         (sql-oracle-completion-types): New variable.
14055         (sql-oracle-completion-object, sql-sqlite-completion-object)
14056         (sql-postgres-completion-object): New functions.
14058 2011-07-06  Glenn Morris  <rgm@gnu.org>
14060         * window.el (pop-to-buffer): Doc fix.
14062 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
14064         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
14066 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
14068         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
14070         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
14072 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
14074         * button.el (button): Inherit from link face.  Suggested by Dan
14075         Nicolaescu.
14077 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14079         * progmodes/gdb-mi.el: Fit in 80 columns.
14080         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
14081         switch-to-buffer.
14083         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
14084         if imenu is simply not configured (bug#8941).
14086 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
14088         * allout.el (allout-post-undo-hook): New allout outline-change
14089         event hook to signal undo activity.
14090         (allout-post-command-business): Run allout-post-undo-hook if an
14091         undo just occurred.
14092         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
14093         * allout-widgets.el (allout-widgets-after-undo-function):
14094         Ensure the integrity of the current item's decoration after it has been
14095         in the vicinity of an undo.
14096         (allout-widgets-mode): Include allout-widgets-after-undo-function
14097         on the new allout-post-undo-hook.
14099 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14101         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
14102         Let define-derived-mode define it.
14103         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
14104         cycles of abbrev-table inheritance (bug#8998).
14106 2011-07-05  Roland Winkler  <winkler@gnu.org>
14108         * textmodes/bibtex.el: Add support for biblatex.
14109         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
14110         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
14111         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
14112         (bibtex-entry-alist, bibtex-field-alist): New variables.
14113         (bibtex-entry-field-alist): Obsolete alias for
14114         bibtex-BibTeX-entry-alist.
14115         (bibtex-entry-alist, bibtex-field-alist): New widgets.
14116         (bibtex-set-dialect): New command.
14117         (bibtex-entry-type, bibtex-entry-head)
14118         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
14119         Bind via bibtex-set-dialect.
14120         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
14121         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
14122         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
14123         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
14124         Define via bibtex-set-dialect.
14125         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
14126         Obey bibtex-no-opt-remove-re.
14127         (bibtex-vec-push, bibtex-vec-incr): New functions.
14128         (bibtex-format-entry, bibtex-field-list)
14129         (bibtex-print-help-message, bibtex-validate)
14130         (bibtex-search-entries): Use new format of bibtex-entry-alist.
14132 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14134         * progmodes/compile.el (compilation-goto-locus):
14135         * net/tramp-cmds.el (tramp-append-tramp-buffers):
14136         * bs.el (bs-cycle-next, bs-cycle-previous):
14137         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
14138         * bindings.el (mode-line-other-buffer):
14139         * autoinsert.el (auto-insert):
14140         * arc-mode.el (archive-extract):
14141         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
14143 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14145         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
14146         Fix check of `emacs-lock-unlockable-modes'.
14147         Coerce true values of `emacs-lock--try-unlocking' to t.
14149 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14151         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
14152         * emacs-lock.el: New file.
14154 2011-07-05  Julien Danjou  <julien@danjou.info>
14156         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
14157         than `boundp' to check if face is set.
14159 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
14161         * register.el (registerv-make):
14162         * window.el (window-min-height): Fix typos in docstrings.
14164 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
14166         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
14167         Update doc string.
14169 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14171         * server.el (server-execute): Catch quit and call
14172         `server-return-error' to pass the error back to emacsclient and
14173         close the connection (bug#8942).
14175 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
14177         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
14178         insecure exception for current topic.  Also note that auto-saves
14179         are handled differently.
14181         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
14182         State variables for tracking auto-save inhibition situation.
14184         (allout-write-contents-hook-handler): Rename from
14185         'allout-write-file-hook-handler', and describe how it depends on
14186         write-contents-functions sensitivity to non-nil value to prevent
14187         file write.
14189         (allout-auto-save-hook-handler): Remove.  auto-save does not check
14190         this in individual buffers, only in the starting buffer, so this
14191         is not the right way for us to inhibit auto-save in a buffer
14192         according to its condition.
14194         (allout-mode): Use new allout-write-contents-hook-handler, and
14195         only with write-contents-functions.  Remove auto-save provisions -
14196         they're implemented elsewhere.
14198         (allout-before-change-handler): If undo is in progress, note that
14199         for attention of allout-post-command-business.
14201         (allout-post-command-business): If the command we're following was
14202         an undo, check for change in the status of encrypted items and
14203         adjust auto-save inhibitions accordingly.
14205         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
14206         according to whether there are or aren't any plain-text topics
14207         pending encryption.
14209         (allout-inhibit-auto-save-info-for-decryption):
14210         Adjust buffer-saved-size and some allout state to inhibit auto-saves
14211         if there are plain-text topics pending encryption.
14213         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
14214         buffer-saved-size and some allout state to not inhibit auto-saves
14215         if there are no longer any plain-text topics pending encryption.
14217         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
14218         No longer provide for exemption of the current topic.
14220 2011-07-04  Juri Linkov  <juri@jurta.org>
14222         Add 7z operations to delete and save changed members (bug#8968).
14223         * arc-mode.el (archive-7z-expunge, archive-7z-update):
14224         New defcustoms.
14225         (archive-7z-write-file-member): New function.
14226         (archive-7z-summarize): Fix the number of dashes in the
14227         listing output.
14229 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14231         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
14232         (bug#8958).
14234 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
14236         * bindings.el: Ignore next-buffer and previous-buffer in
14237         minibuffer-local-map.
14239         * font-lock.el (font-lock-builtin-face): Change light background
14240         color to dark slate blue (Bug#6693).
14242 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
14244         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
14246 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14248         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
14249         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14250         Add switch-to-buffer.
14252 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14254         * isearch.el (isearch-search-fun-function): Clarify further the
14255         meaning of the function returned.
14257 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
14259         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14261         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14262         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14263         Use it.
14264         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
14265         `tramp-default-remote-path' does not exist.
14266         (tramp-send-command-and-read): New optional argument NOERROR.
14267         (tramp-open-connection-setup-interactive-shell)
14268         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14269         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14270         (tramp-process-sentinel): Flush also process' connection property.
14271         (tramp-sh-handle-start-file-process): Do not set process
14272         sentinel.  It is done now ...
14273         (tramp-maybe-open-connection): ... here.  (Bug#8929)
14275 2011-07-04  MON KEY  <monkey@sandpframing.com>
14277         * play/animate.el (animate-string): Doc fixes and allow changing
14278         the buffer name (bug#5417).
14280 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14282         * play/animate.el (animation-buffer-name): Rename from *animate*.
14284 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
14286         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14287         This is simpler and helps future-proof the code.
14288         (timer-until): Use time-subtract and float-time.
14289         (timer--time-less-p): Use time-less-p.
14291 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
14293         * type-break.el (timep): Use the value of `float-time' to avoid a
14294         byte-compiler warning.
14296         * server.el (server-eval-and-print): Return any result, even nil.
14298 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
14300         * type-break.el: Accept time formats that the builtins accept.
14301         (timep, type-break-time-difference): Accept any format that
14302         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14303         This is simpler and helps future-proof the code.
14304         (type-break-time-difference): Round rather than ignoring
14305         subseconds components.
14307 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14309         * info.el (Info-apropos-matches): Make non-interactive, since it
14310         doesn't seem to do anything useful as a command (bug#8829).
14312 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
14314         * frame.el (frame-background-mode, frame-set-background-mode):
14315         Move from faces.el.
14316         (frame-default-terminal-background): New function.
14318         * custom.el (custom-push-theme): Don't record faces in `changed'
14319         theme; this doesn't work correctly for per-frame face settings.
14320         (disable-theme): Use face-set-after-frame-default to reset faces.
14321         (custom--frame-color-default): New function.
14323 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14325         * dired.el (dired-flagging-regexp): Remove unused variable
14326         (bug#8769).
14328 2011-03-29  Kevin Ryde  <user42@zip.com.au>
14330         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14331         `perl-Test2' extend to match possible "fail #N" rep count
14332         (bug#8377).
14334 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14336         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14337         `smtpmail-via-smtp' now returns the error instead of nil.
14339         * isearch.el (isearch-search-fun-function): Clarify the doc string
14340         (bug#8101).
14342 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
14344         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14345         unnecessary spaces (bug#8987).
14347 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14349         * net/network-stream.el (open-network-stream): Use the
14350         :end-of-capability command thoughout.
14352 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
14354         * net/network-stream.el (open-network-stream): Add the
14355         :end-of-capability command parameter, used by pop3.el.
14357 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14359         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14361         * fringe.el (fringe-query-style): Remove redundant text " (type ?
14362         for list)" (bug#6475).
14364         * files.el (file-expand-wildcards): Ignore non-readable
14365         sub-directories while trying to find matches instead of signaling
14366         an error (bug#6297).
14368         * man.el (Man-reference-regexp): Allow matching possible
14369         word-wrapped references (bug#6289).
14371         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14372         for consistency with the other vc buffers (bug#6197).
14373         (vc-checkin): Ditto.
14375         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14377         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14379 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14381         * custom.el (defcustom): Clarify that :set is only used in the
14382         Customize user interface (bug#6089).
14384         * progmodes/flymake.el (flymake-mode): If the buffer isn't
14385         associated with a file, refuse to run instead of erroring out
14386         (bug#6084).
14388         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14389         the doc string, since it appears that using `fill-column' always
14390         controls the width (bug#7845).
14392         * simple.el (shell-command-on-region): Say where the error output
14393         went if `shell-command-default-error-buffer' is set (bug#6857).
14395 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
14397         * allout.el (allout-yank-processing): Adjust cursor position for
14398         backwards-deleted space.
14400         (allout-rebullet-heading): Register changes with
14401         allout-exposure-changed-hook, so the modified topic is properly
14402         decorated.
14404 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14406         * minibuffer.el (completion-in-region): Document PREDICATE
14407         (bug#7136).
14409         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14410         of keyword/argument pairs (bug#6904).
14412         * replace.el (multi-occur):
14413         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14415 2011-07-02  Drew Adams  <drew.adams@oracle.com>
14417         * dired.el (dired-mark-if): Make the message about whether it's
14418         marking or unmarking clearer (bug#8523).
14420 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14422         * disp-table.el (display-table-print-array): New function.
14423         (describe-display-table): Use it to print the vectors more pretty
14424         (Bug#8859).
14426 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
14428         * window.el (window-state-get-1): Don't assign clone numbers.
14429         Add clone-of item to list of window parameters.
14430         (window-state-put-2): Don't process clone numbers.
14431         (display-buffer-alist): Fix doc-string.
14433 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14435         * subr.el (remq): Don't allocate if it's not needed.
14436         (keymap--menu-item-binding, keymap--menu-item-with-binding)
14437         (keymap--merge-bindings): New functions.
14438         (keymap-canonicalize): Use them to refine the canonicalization.
14439         * minibuffer.el (minibuffer-local-completion-map)
14440         (minibuffer-local-must-match-map): Move initialization from C.
14441         (minibuffer-local-filename-completion-map): Move initialization from C;
14442         don't inherit from anything here.
14443         (minibuffer-local-filename-must-match-map): Make obsolete.
14444         (completing-read-default): Use make-composed-keymap to combine
14445         minibuffer-local-filename-completion-map with either
14446         minibuffer-local-must-match-map or
14447         minibuffer-local-filename-completion-map.
14449 2011-07-01  Glenn Morris  <rgm@gnu.org>
14451         * type-break.el (type-break-time-sum): Use dolist.
14453         * textmodes/flyspell.el (flyspell-word-search-backward):
14454         Replace CL function.
14456 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14458         * mouse.el (mouse--strip-first-event): New function.
14459         (function-key-map): Use it to map fringe clicks to normal clicks
14460         by default.
14462         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14463         (vc-bzr-revision-completion-table): Add support for annotate and date.
14465         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14466         inherit from parent.
14468 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14470         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14471         (dired-show-file-type): Doc fixup (bug#8818).
14473         * dired.el (dired-mode): Fix up the doc string as suggested by
14474         Drew Adams (bug#8817).
14476         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14477         cookie, since the manual says that it should be possible to add
14478         this function to `find-file-hook' (bug#8709).
14480 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14482         * progmodes/cfengine.el: Moved all cfengine3.el functionality
14483         here.  Noted Ted Zlatanov as the maintainer.
14484         (cfengine-common-settings, cfengine-common-syntax): New functions
14485         to set up common things between `cfengine-mode' and
14486         `cfengine3-mode'.
14487         (cfengine3-mode): New mode.
14488         (cfengine3-defuns cfengine3-defuns-regex
14489         (cfengine3-class-selector-regex cfengine3-category-regex)
14490         (cfengine3-vartypes cfengine3-font-lock-keywords)
14491         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14492         (cfengine3-indent-line): Add from cfengine3.el.
14494 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
14496         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14498         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14500 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
14502         * window.el (same-window-buffer-names, same-window-regexps)
14503         (same-window-p, special-display-frame-alist)
14504         (special-display-popup-frame, special-display-function)
14505         (special-display-buffer-names, special-display-regexps)
14506         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14507         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14508         (split-window-preferred-function, split-height-threshold)
14509         (split-width-threshold, even-window-heights)
14510         (display-buffer-mark-dedicated, window-splittable-p)
14511         (split-window-sensibly, window-safely-shrinkable-p):
14512         Un-obsolete.
14513         (display-buffer): Don't spread args with function specifier
14514         because special-display-popup-frame won't like it.
14516 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
14518         Time-stamp simplifications and fixes.
14519         These improve accuracy slightly, and future-proof the code
14520         against some potential changes to current-time format.
14522         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14523         by using time-since and float-time.
14525         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14526         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
14527         + NNN microseconds".
14529         * type-break.el (type-break-time-sum): Rewrite using time-add.
14531         * play/hanoi.el (hanoi-current-time-float): Remove.
14532         All uses replaced by float-time.
14534         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14535         This yields a more-accurate answer.
14536         (rng-time-to-float): Remove; no longer needed.
14538         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14540         * calendar/timeclock.el (timeclock-seconds-to-time):
14541         Defalias to seconds-to-time, since they're the same thing.
14543         * emacs-lisp/elp.el (elp-elapsed-time):
14544         * emacs-lisp/benchmark.el (benchmark-elapse):
14545         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14547 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14549         * window.el (bury-buffer): Don't iconify the only frame.
14550         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14551         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
14553 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
14555         * eshell/em-smart.el (eshell-smart-display-navigate-list):
14556         Add mouse-yank-primary.
14558 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
14560         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14562 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14564         * emacs-lisp/find-func.el (find-library--load-name): New fun.
14565         (find-library-name): Use it to find relative load names when provided
14566         absolute file name (bug#8803).
14568 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14570         * textmodes/flyspell.el (flyspell-word): Consider words that
14571         differ only in case as potential doublons (bug#5687).
14573         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14574         Remove two rather uninteresting debugging-like messages to make
14575         debbugs.el more silent.
14577         * comint.el (comint-password-prompt-regexp): Accept "Response" as
14578         a password-like phrase.
14580 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
14582         * progmodes/cc-guess.el: New file.
14584         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14586         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14587         derived from `c-basic-common-init'.
14589         * progmodes/cc-mode.el (top-level): Require cc-guess.
14590         (c-basic-common-init): Use `cc-choose-style-for-mode'.
14592 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
14594         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14596 2011-06-30  Alan Mackenzie  <acm@muc.de>
14598         * progmodes/cc-engine.el (c-guess-continued-construct):
14599         Correct the handling of template-args-cont, particularly for when font
14600         lock is disabled.  Name this case as "CASE G".
14602 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
14604         * allout.el (allout-yank-processing): Fix injection of extra space
14605         between bullet and non-whitespace character in first topic when
14606         pasting, ensuring that the actual spacing in the pasted topic
14607         following the bullet char is preserved.  This extra space was
14608         causing pasted encrypted topics to get a decrypted status even
14609         when the content was actually still encrypted.  Now the decryption
14610         status from before the paste is preserved.
14612         (allout-flag-region): Set all allout overlays so they evaporate
14613         when reduced to zero length (evanescent), to prevent overlay
14614         leakage.
14616 2011-06-30  Glenn Morris  <rgm@gnu.org>
14618         * w32-fns.el (w32-charset-info-alist): Declare.
14620         * find-dired.el (find-grep-options): Simplify.
14622         * term/ns-win.el (ns-set-resource): Declare.
14624         * ses.el (row, col): Declare dynamic variables honestly.
14626         * textmodes/reftex-parse.el (index-tags): Declare.
14628 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
14630         * cus-edit.el (customize-push-and-save): New function.
14632         * files.el (hack-local-variables-confirm): Use it.
14634         * custom.el (load-theme): New arg NO-CONFIRM.
14635         Use customize-push-and-save (Bug#8720).
14636         (custom-enabled-themes): Doc fix.
14638         * cus-theme.el (customize-create-theme)
14639         (custom-theme-merge-theme): Callers to load-theme changed.
14641 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14643         * thingatpt.el (thing-at-point-short-url-regexp): Require that
14644         short URLs have at least one dot in them (bug #7614).
14646         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14647         nil, because using a pty is apparently too slow (bug #895).
14649 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14651         * mail/sendmail.el (sendmail-query-once): New function.
14652         (sendmail-query-once-function): New variable.
14654 2011-06-29  Glenn Morris  <rgm@gnu.org>
14656         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14658         * ses.el (top-level): Require cl when compiling.
14659         (ses-set-localvars): Fix error statement.
14660         Call it at compile time to silence a storm of warnings.
14662 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
14664         * window.el (normalize-live-buffer): Rename to
14665         window-normalize-buffer.
14666         (normalize-live-frame): Rename to window-normalize-frame.
14667         (normalize-any-window): Rename to window-normalize-any-window.
14668         (normalize-live-window): Rename to window-normalize-live-window.
14669         (make-window-atom): Rename to window-make-atom.
14670         (window-resize-reset): Rename to window--resize-reset.
14671         (window-resize-reset-1): Rename to window--resize-reset-1.
14672         (resize-mini-window): Rename to window--resize-mini-window.
14673         (resize-subwindows-skip-p): Rename to
14674         window--resize-subwindows-skip-p.
14675         (resize-subwindows-normal): Rename to
14676         window--resize-subwindows-normal.
14677         (resize-subwindows): Rename to window--resize-subwindows.
14678         (resize-other-windows): Rename to window--resize-siblings.
14679         (resize-this-window): Rename to window--resize-this-window.
14680         (resize-root-window): Rename to window--resize-root-window.
14681         (resize-root-window-vertically): Rename to
14682         window--resize-root-window-vertically.
14683         (normalize-buffer-to-display): Rename to
14684         window-normalize-buffer-to-display.
14685         (normalize-buffer-to-switch-to): Rename to
14686         window-normalize-buffer-to-switch-to.
14687         Correspondingly update all callers of the functions listed
14688         above.
14689         (display-buffer-alist, display-buffer-normalize-arguments)
14690         (display-buffer-normalize-options, display-buffer)
14691         (display-buffer-alist-set): Use "function" instead of
14692         "fun-with-args".
14694 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
14696         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14697         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
14698         debbugs.gnu.org.  Mention acknowledgment email.
14700 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14702         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14703         buffer multibyteness, since it shouldn't matter.
14705 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
14707         * window.el (display-buffer-in-side-window): Handle dedicated
14708         windows as in display-buffer-reuse-window.
14709         (display-buffer-normalize-alist): Use value of override
14710         specifier.
14711         (display-buffer-normalize-specifiers): Use value of
14712         other-window-means-other-frame specifier.
14713         (display-buffer-alist): Rewrite some texts in widgets.
14714         (display-buffer): Spread arguments when calling function
14715         specified by fun-with-args.
14717 2011-06-28  Deniz Dogan  <deniz@dogan.se>
14719         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14720         Unnest `let'.
14722         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14723         selectors (Bug#5732).
14724         (css-proprietary-nmstart-re): Use `regexp-opt'.
14726 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
14728         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14729         (eshell-ls-date-format): New defcustom.
14730         (eshell-ls-file): Use it.
14732 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14734         * help-fns.el (describe-variable): Fix message for terminal-local vars.
14736 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
14738         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14739         (ange-ftp-make-tmp-name): New arg.
14740         (ange-ftp-file-local-copy): Use it.
14742 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
14744         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14745         no-conversion (Bug#8870).
14747 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
14749         * window.el (window-right, window-left, window-child)
14750         (window-child-count, window-last-child)
14751         (window-iso-combination-p, walk-window-tree-1)
14752         (window-atom-check-1, window-tree-1, delete-window)
14753         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14754         new naming conventions - window-vchild, window-hchild,
14755         window-next and window-prev are now called window-top-child,
14756         window-left-child, window-next-sibling and window-prev-sibling
14757         respectively.
14758         (resize-window-reset): Rename to window-resize-reset.
14759         (resize-window-reset-1): Rename to window-resize-reset-1.
14760         (resize-window): Rename to window-resize.
14761         (window-min-height, window-min-width)
14762         (resize-mini-window, resize-this-window, resize-root-window)
14763         (resize-root-window-vertically, adjust-window-trailing-edge)
14764         (enlarge-window, shrink-window, maximize-window)
14765         (minimize-window, delete-window, quit-restore-window)
14766         (split-window, balance-windows, balance-windows-area-adjust)
14767         (balance-windows-area, window-state-put-2)
14768         (display-buffer-even-window-sizes, display-buffer-set-height)
14769         (display-buffer-set-width, set-window-text-height)
14770         (fit-window-to-buffer): Rename all "resize-window" prefixed
14771         calls to use the "window-resize" prefix convention.
14772         (display-buffer-alist): Fix symbol for label specifier.
14773         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14774         corresponding specifier.
14775         Reported by Juanma Barranquero <lekktu@gmail.com>.
14777 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14779         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14780         convention.
14781         (ses-call-printer): Does not pass an empty string to formatter when the
14782         cell is empty to keep from barking printer Calc math-format-value.
14784 2011-06-27  Richard Stallman  <rms@gnu.org>
14786         * battery.el (battery-mode-line-limit): New variable.
14787         (battery-update): Handle it.
14789         * mail/rmailmm.el (rmail-mime-process-multipart):
14790         Handle truncated messages.
14792 2011-06-27  Glenn Morris  <rgm@gnu.org>
14794         * progmodes/flymake.el (flymake-err-line-patterns):
14795         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
14797 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14799         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14800         (ses--clean-!, ses--clean-_): New functions.
14801         (ses-range): Add configurability of readout order, and conversion
14802         to Calc vector.
14804         * ses.el (ses-repair-cell-reference-all): New function.
14805         (ses-cell-symbol): Set macro as safe, so that it can be used in
14806         formulas.
14808         * ses.el: Update cycle detection algorithm.
14809         (ses-localvars): Add ses--Dijkstra-attempt-nb and
14810         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14811         (ses-set-localvars): New function.
14812         (ses-make-cell): Add property-list as a cell element.
14813         (ses-cell-property-get-fun, ses-cell-property-get)
14814         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14815         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14816         New functions.
14817         (ses-cell-property-set, ses-cell-property-pop)
14818         (ses-cell-property-get-handle): New macro.
14819         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14820         New aliases, used for code readability.
14821         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14822         cycle detection.
14823         (ses-self-reference-early-detection): New defcustom.
14824         (ses-formula-references): Robustify against self-referring cells.
14825         (ses-mode): Use ses-set-localvars.
14826         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14827         before lauching the update processing.
14828         (ses-initialize-Dijkstra-attempt): New function.
14829         (ses-recalculate-cell): Update for cycle detection based on
14830         Dijkstra algorithm.
14832         * ses.el: Fix commenting and indenting convention.
14834 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14836         * bs.el (bs-cycle-next): Complete last change.
14838 2011-06-27  Drew Adams  <drew.adams@oracle.com>
14840         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14842 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14844         * net/network-stream.el (network-stream-open-starttls):
14845         Don't re-get capabilities unless we've reestablished connection.
14846         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14848         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14849         to binary to possibly avoid line encoding issues on Windows (among
14850         other things).
14852 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14854         * net/network-stream.el (open-network-stream): Return an :error
14855         saying what the problem was, if possible.
14857         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14858         server.
14860         * net/network-stream.el (network-stream-open-starttls): If we
14861         wanted to use STARTTLS, and the server offered it, but we weren't
14862         able to because we had no STARTTLS support, then close the connection.
14863         (open-network-stream): Return an :error element, if present.
14865 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
14867         * hl-line.el (hl-line-sticky-flag): Doc fix.
14868         (global-hl-line-sticky-flag): New option (Bug#8323).
14869         (global-hl-line-highlight): Obey it.
14871         * vc/vc.el (vc-revert-show-diff): Default to t.
14873 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
14875         * allout-widgets.el (allout-widgets-post-command-business):
14876         Stop decorating intermediate isearch matches.  They're not being
14877         undecorated when an isearch is continued past, and isearch
14878         automatically collapses them.  This leads to "widget leaks", where
14879         decorated items accumulate in collapsed areas.  Lines with lots of
14880         hidden widgets can slow down cursor travel, substantially.
14881         Too much complicated machinery would be needed to ensure undecoration,
14882         so we're doing without this nicety.
14884         (allout-widgets-tally-string): Don't try to do a hash-table-count
14885         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
14886         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14887         *Messages* when allout-widgets-maintain-tally is t.
14889 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
14891         * window.el (display-buffer-normalize-argument): Rename to
14892         display-buffer-normalize-arguments.  Handle special meaning of
14893         LABEL argument.  Respect special-display-function when popping up
14894         a new frame.  Fix code searching for a window showing the buffer
14895         on another frame.
14896         (display-buffer-normalize-specifiers):
14897         Call display-buffer-normalize-arguments.
14898         (display-buffer-in-window): Don't undedicate the window if its
14899         buffer remains the same.
14900         Reported by Drew Adams <drew.adams@oracle.com>.
14901         (display-buffer-alist): Add choice for same-window macro
14902         specfier.
14903         (display-buffer): Mention special meaning of LABEL argument in
14904         doc-string.  Fix quoting.  Don't pop up a new frame even as
14905         fallback.
14907 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
14909         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14910         avoid deleting the current window in some cases (bug#8911).
14912 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
14914         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14915         (Bug#8934)
14917 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14919         * net/network-stream.el (network-stream-open-starttls):
14920         Use built-in TLS support if `gnutls-available-p' is true.
14921         (network-stream-open-tls): Ditto.
14923 2011-06-26  Leo Liu  <sdl.web@gmail.com>
14925         * register.el (registerv): New struct.
14926         (registerv-make): New function.
14927         (jump-to-register, describe-register-1, insert-register):
14928         Support the jump-func, print-func and insert-func slot of a registerv
14929         struct.  (Bug#8415)
14931 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
14933         * vc/vc.el (vc-revert-show-diff): New defcustom.
14934         (vc-diff-internal): New arg specifying diff buffer.
14935         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
14936         reuse an existing *vc-diff* buffer (Bug#8927).
14938         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14940 2011-06-26  Glenn Morris  <rgm@gnu.org>
14942         * progmodes/f90.el (f90-critical-indent): New option.
14943         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14944         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14945         (f90-mode): Doc fix.
14946         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14947         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14948         (f90-beginning-of-block, f90-next-block, f90-indent-region)
14949         (f90-match-end): Handle block, critical.
14951 2011-06-25  Glenn Morris  <rgm@gnu.org>
14953         * calendar/diary-lib.el (diary-included-files): Doc fix.
14954         (diary-include-files): New function, extracted from
14955         diary-include-other-diary-files and diary-mark-included-diary-files.
14956         (diary-include-other-diary-files, diary-mark-included-diary-files):
14957         Just call diary-include-files.
14958         (diary-mark-entries): Reset diary-included-files on first call.
14960         * calendar/diary-lib.el (diary-mark-entries)
14961         (diary-mark-included-diary-files):
14962         Visit included diary-files in temp buffers.
14964         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14965         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14966         (f90-start-block-re, f90-imenu-generic-expression)
14967         (f90-looking-at-program-block-start, f90-no-block-limit):
14968         Add support for submodules.
14970         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14971         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14973 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
14975         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14976         buffer-file-type before setting its value, to avoid disastrous
14977         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
14979 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14981         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14983         * ses.el (ses-unload-function):
14984         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14986         * proced.el (proced-unload-function):
14987         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14989 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
14991         * server.el (server-create-window-system-frame): Add parameters arg.
14992         (server-process-filter): Doc fix.  Handle frame-parameters.
14994 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14996         Fix bug#8730, bug#8781.
14998         * loadhist.el (unload--set-major-mode): New function.
14999         (unload-feature): Use it.
15001         * progmodes/python.el (python-after-info-look): Add autoload cookie.
15002         (python-unload-function): New function.
15004 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15006         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
15008 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
15010         * net/browse-url.el (browse-url-firefox-program): Add icecat to
15011         the candidates list.
15013 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
15015         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
15017 2011-06-23  Richard Stallman  <rms@gnu.org>
15019         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
15020         (rmail-variables): Set next-error-move-function.
15021         (rmail-what-message): Take argument POS.
15022         (rmail-next-error-move): New function.
15024 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15026         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
15027         messages for adjacent non-terminals.
15029 2011-06-23  Richard Stallman  <rms@gnu.org>
15031         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
15032         (rmail-show-message-1): Preserve buffer modified flag.
15033         (rmail-start-mail): Don't specify use of rmail-mail-return;
15034         that's done by mail-bury now.
15035         (rmail-mail-return): Handle arg NEWBUF.
15037 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
15039         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
15040         SIZE is a number.
15042 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
15044         * window.el (get-lru-window, get-mru-window)
15045         (get-largest-window): Never return a minibuffer window.
15046         (display-buffer-pop-up-window): Fix a bug that could lead to
15047         reusing the minibuffer window.
15048         (display-buffer): Pass original specifier argument to
15049         display-buffer-function instead of the normalized one.
15050         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15052 2011-06-22  Leo Liu  <sdl.web@gmail.com>
15054         * minibuffer.el (completing-read-function)
15055         (completing-read-default): Move from minibuf.c
15057 2011-06-22  Richard Stallman  <rms@gnu.org>
15059         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
15060         to Rmail even if not started by a special Rmail command.
15062         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
15063         Copy the buffer currently showing just one message.
15065 2011-06-22  Roland Winkler  <winkler@gnu.org>
15067         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
15068         (bibtex-clean-entry): First delete the old key so that a
15069         customized algorithm for generating the new key does not get
15070         confused by the old key.
15071         (bibtex-url): Obey regexp of first step.
15072         (bibtex-search-entries): Do not use add-to-list with local
15073         list-var.
15075 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15077         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
15078         stored a user name, then query for the password first, instead of
15079         waiting for SMTP to give an error message and the trying again.
15081 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
15083         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
15084         BUFFER in call-process.
15086 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15088         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
15089         QUIT twice.
15090         (smtpmail-try-auth-methods): Require user name and password from
15091         auth-source.
15093 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
15095         * window.el (display-buffer-default-specifiers)
15096         (display-buffer-alist): Remove entries for pop-up-frame-alist.
15097         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
15098         (split-window): Normalize SIDE argument (Bug#8916).
15100         * frame.el (pop-up-frame-alist, pop-up-frame-function)
15101         (special-display-frame-alist, special-display-popup-frame):
15102         Remove duplicate declarations.  These are now in window.el.
15104 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15106         * mail/smtpmail.el (smtpmail-via-smtp):
15107         Set :use-starttls-if-possible so that we always use STARTTLS if the
15108         server supports it.  SMTP servers that support STARTTLS commonly
15109         require it.
15111         * net/network-stream.el (network-stream-open-starttls): Support
15112         upgrading to STARTTLS always, even if we don't have built-in support.
15113         (open-network-stream): Add the :always-query-capabilities keyword.
15115         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
15116         upgrades with `open-network-stream', and rely solely on
15117         auth-source for all credentials.  Big changes throughout the file,
15118         but in particular:
15119         (smtpmail-auth-credentials): Remove.
15120         (smtpmail-starttls-credentials): Remove.
15121         (smtpmail-via-smtp): Check for servers saying they want AUTH after
15122         MAIL FROM, too.
15124         * net/network-stream.el (network-stream-open-starttls):
15125         Provide support for client certificates both for external and built-in
15126         STARTTLS.
15127         (auth-source): Require.
15128         (open-network-stream): Document the :client-certificate keyword.
15129         (network-stream-certificate): Change cert-cert to cert and
15130         cert-key to key.
15132 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
15134         * net/tramp-cache.el (top): Don't load the persistency file when
15135         "emacs -Q" has been called.
15137 2011-06-21  Tim Harper  <timcharper@gmail.com>
15139         * term/ns-win.el (ns-initialize-window-system):
15140         Set application-specific `ApplePressAndHoldEnabled' system
15141         resource to NO as it is not yet supported by the NS port.
15143 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
15145         * misc.el (list-dynamic-libraries--refresh): Compute header here...
15146         (list-dynamic-libraries): ...not here.
15148 2011-06-21  Leo Liu  <sdl.web@gmail.com>
15150         * subr.el (sha1): Implement sha1 using secure-hash.
15152 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
15154         * window.el (display-buffer-alist): In default value do not
15155         enforce searching a window on any but the selected frame.
15156         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
15157         (display-buffer-select-window): Remove function.
15158         (display-buffer-in-window): When a window on another frame gets
15159         reused, do not select it any more but just raise its frame if
15160         necessary (Bug#8851) and (Bug#8856).
15161         (display-buffer-normalize-options): Handle pop-up-frames related
15162         options more faithfully.
15163         (pop-to-buffer): Don't rely on `display-buffer' selecting the
15164         window if it is on another frame.
15165         (display-buffer-alist, display-buffer-default-specifiers):
15166         Don't make new frame unsplittable by default.
15167         (display-buffer-normalize-argument): Fix doc-string typo and use
15168         'same-frame-other-window instead of 'other-window when associating
15169         with display-buffer-macro-specifiers.
15171 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
15173         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
15174         New functions.
15175         (5x5-mode-map, 5x5-mode-menu): Bind them.
15176         (5x5-draw-grid): Tweak the solver's rendering.
15178 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15180         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
15181         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
15183 2011-06-21  Drew Adams  <drew.adams@oracle.com>
15185         * menu-bar.el: Use function variable instead of switch-to-buffer.
15186         (menu-bar-select-buffer-function): New variable.
15187         (menu-bar-update-buffers): Use it (bug#8876).
15189 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15191         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
15192         variable's status.
15194 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
15196         * x-dnd.el (x-dnd-version-from-flags)
15197         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
15198         and long as number (Bug#8899).
15199         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
15201 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15203         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
15204         (completion-try-completion, completion-all-completions): Compute the
15205         metadata argument if it's missing; make it optional (bug#8795).
15207         * wid-edit.el: Use lex-bind and move towards completion-at-point.
15208         (widget-complete): Use new :completion-function property.
15209         (widget-completions-at-point): New function.
15210         (default): Use :completion-function instead of :complete.
15211         (widget-default-completions): Rename from widget-default-complete;
15212         Rewrite.
15213         (widget-string-complete, widget-file-complete, widget-color-complete):
15214         Remove functions.
15215         (file, symbol, function, variable, coding-system, color):
15216         * international/mule-cmds.el (default-input-method, charset)
15217         (language-info-custom-alist):
15218         * cus-edit.el (face): Use new property :completions.
15220         * progmodes/pascal.el (pascal-completions-at-point): New function.
15221         (pascal-mode): Use it.
15222         (pascal-mode-map): Use completion-at-point.
15223         (pascal-toggle-completions): Make obsolete.
15224         (pascal-complete-word, pascal-show-completions):
15225         * progmodes/octave-mod.el (octave-complete-symbol):
15226         Redefine as obsolete alias.
15227         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
15228         Signal absence of completion info for old Octave,
15229         (inferior-octave-complete): Redefine as obsolete alias.
15230         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
15231         (meta-completions-at-point): Rename from meta-complete-symbol and
15232         adapt it for use on completion-at-point-functions.
15233         (meta-common-mode): Use it.
15234         (meta-looking-at-backward, meta-match-buffer): Remove.
15235         (meta-complete-symbol): Redefine as obsolete alias.
15236         (meta-common-mode-map): Use completion-at-point.
15237         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
15238         (makefile-mode-map): Use completion-at-point.
15239         (makefile-completions-at-point): Rename from makefile-complete and
15240         adapt it for use on completion-at-point-functions.
15241         (makefile-mode): Use it.
15242         (makefile-complete): Redefine as obsolete alias.
15244 2011-06-20  Deniz Dogan  <deniz@dogan.se>
15246         * net/rcirc.el: Delete trailing whitespaces once and for all.
15248 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
15250         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
15252 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
15254         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15256         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15258 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
15260         * window.el (display-buffer-other-window-means-other-frame):
15261         Call display-buffer-normalize-alist.
15262         (display-buffer-normalize-specifiers-1): Rename to
15263         display-buffer-normalize-argument.  New argument other-frame.
15264         Rewrite.
15265         (display-buffer-normalize-specifiers-2): Rename to
15266         display-buffer-normalize-options.
15267         (display-buffer-normalize-alist-1): New function.
15268         (display-buffer-normalize-specifiers-3): Rename to
15269         display-buffer-normalize-alist.
15270         Call display-buffer-normalize-alist-1.
15271         (display-buffer-normalize-options-inhibit): New variable.
15272         (display-buffer-normalize-specifiers): Rewrite calling
15273         display-buffer-normalize-alist,
15274         display-buffer-normalize-argument, and
15275         display-buffer-normalize-options.  Don't call the latter if
15276         display-buffer-normalize-options-inhibit is non-nil.
15277         (frame-auto-delete): New option.
15278         (window-deletable-p): Use frame-auto-delete.
15279         (window-list-no-nils, window-state-ignored-parameters)
15280         (window-state-get-1, window-state-get, window-state-put-list)
15281         (window-state-put-1, window-state-put-2, window-state-put):
15282         New functions.
15283         (display-buffer-normalize-options): Move special-display-p group
15284         after pop-up-frame group (Bug#8851) and (Bug#8856).
15286 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
15288         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15289         groups (Bug#8776).
15290         (rx-submatch-n): New function.
15291         (rx): Document it.
15293         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15294         (Bug#8768).
15296         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15298         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15300         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15301         anytime existing face settings are present (Bug#8889).
15303         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15304         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15305         Remove unused argument.
15307 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
15309         * window.el (display-buffer-default-specifiers):
15310         Remove pop-up-frame.  Add pop-up-window-min-height,
15311         pop-up-window-min-width, and another reuse-window specifier
15312         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
15313         (display-buffer-normalize-specifiers-2):
15314         Handle split-height-threshold and split-width-threshold also when
15315         pop-up-windows is unset.  Add a reuse-window specifier for the
15316         case popping up a new window fails.
15317         (special-display-popup-frame): Remove double quoting.
15318         (display-buffer-normalize-specifiers-1): Fix thinko.
15320 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15322         * shell.el (shell-completion-vars): Set pcomplete-termination-string
15323         according to comint-completion-addsuffix.
15325         * pcomplete.el: Convert to lexical binding and fix bug#8819.
15326         (pcomplete-suffix-list): Mark as obsolete.
15327         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15328         pcomplete-seen in the closure.
15329         (pcomplete-comint-setup): Setup completion-at-point as well.
15330         (pcomplete--entries): New function.
15331         (pcomplete--env-regexp): New var.
15332         (pcomplete-entries): Rewrite to work with partial-completion and
15333         without relying on pcomplete-suffix-list.
15334         (pcomplete-pare-list): Remove, unused.
15336 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15338         * window.el (display-buffer-alist): Set pop-up-window-min-height
15339         and pop-up-window-min-width in default value.  Reported by
15340         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
15341         other-window-means-other-frame.
15342         (display-buffer-macro-specifiers): Comment out entry for
15343         other-window specifier.
15344         (display-buffer-other-window-means-other-frame): New function.
15345         (display-buffer-normalize-specifiers-1): New arguments
15346         buffer-name and label.  Treat other-window case specially.
15347         (display-buffer-normalize-specifiers-2): Treat other-window case
15348         specially.
15349         (display-buffer-normalize-specifiers-3): New function.
15350         (display-buffer-normalize-specifiers):
15351         Call display-buffer-normalize-specifiers-3.
15353 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
15355         * window.el (same-window-p): Fix two typos introduced when
15356         adding with-no-warnings.
15357         (display-buffer-normalize-specifiers-1): Don't check
15358         pop-up-frames for 'unset initialization.
15359         (display-buffer-normalize-specifiers-2): Major rewrite using
15360         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15361         (pop-up-frames, display-buffer-reuse-frames)
15362         (display-buffer-mark-dedicated): Don't initialize to 'unset.
15363         Suggested by David Engster <deng@randomsample.de>.
15364         (even-window-heights): Initialize to 'unset.
15365         (display-buffer-alist-set): Handle new 'unset initializations.
15366         (display-buffer-macro-specifiers): Don't pop up a new frame in the
15367         other window case.
15369 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
15371         * window.el (display-buffer-normalize-specifiers-1):
15372         Respect current value of pop-up-frames for most reasonable values of
15373         second argument of display-buffer (Bug#8865).
15374         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15375         (switch-to-buffer-other-window-same-frame)
15376         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
15377         Adams (Bug#8875).
15378         (display-buffer): Don't check noninteractive when calling
15379         display-buffer-pop-up-frame.
15380         (display-buffer-pop-up-frame): Never pop up a frame in
15381         noninteractive mode (Bug#8857).
15382         (enlarge-window, shrink-window): Don't report an error when the
15383         window can't be resized as requested (Bug#8862).
15385 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15387         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15389         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15391         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15393 2011-06-15  Alan Mackenzie  <acm@muc.de>
15395         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15396         for declarators, disable knr checking to speed up for normal files.
15397         2: Refactor, replacing a sequence of nested if forms by a cond form.
15399 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15401         * net/network-stream.el (open-network-stream): Add the keyword
15402         :always-query-capabilities for the case where you want to force a
15403         `plain' network connection, but the protocol still requires the
15404         capabilitiy command (i.e., SMTP and EHLO).
15406         * subr.el (process-live-p): Rename from `process-alive-p' for
15407         consistency with other `-live-p' functions.
15409 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15411         * window.el (same-window-buffer-names, same-window-regexps)
15412         (special-display-frame-alist, special-display-popup-frame)
15413         (special-display-function, special-display-buffer-names)
15414         (special-display-regexps, pop-up-frame-alist)
15415         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15416         (pop-up-windows, split-window-preferred-function)
15417         (split-height-threshold, split-width-threshold, even-window-heights)
15418         (display-buffer-mark-dedicated): Don't encourage the use of
15419         display-buffer-alist from Elisp code.
15421 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
15423         * progmodes/python.el (python-mode): Derive from prog-mode.
15424         * progmodes/ps-mode.el (ps-mode):
15425         * progmodes/mixal-mode.el (mixal-mode):
15426         * progmodes/cfengine.el (cfengine-mode):
15427         * progmodes/ld-script.el (ld-script-mode): Likewise.
15429 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
15431         * window.el (display-buffer-alist): Trim default value to avoid
15432         popping up a new frame (Bug#8857) or reusing an arbitrary window
15433         on another frame.
15434         (display-buffer): Do not fall back on popping up a new frame in
15435         batch mode (Bug#8857).
15437 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
15439         * cus-theme.el (describe-theme-1): Use custom-theme-p.
15440         (custom-theme-summary): New function.
15441         (customize-themes): Use it.
15443 2011-06-13  Glenn Morris  <rgm@gnu.org>
15445         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15447 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
15449         * help.el (help-window): Remove variable.
15450         (help-window-point-marker, temp-buffer-max-height)
15451         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15452         (help-print-return-message): Don't set help-window.
15453         (resize-temp-buffer-window): Rewrite cod eand doc-string.
15454         (help-window-setup-finish): Remove.
15455         (help-window-display-message, help-window-setup)
15456         (with-help-window): Major rewrite based on new
15457         display-buffer-window variable.
15459         * help-mode.el (help-mode-finish): Remove help-window related
15460         code.
15462         * view.el (view-exits-all-viewing-windows): Remove reference to
15463         view-return-to-alist in doc-string.
15464         (view-return-to-alist): Make obsolete.
15465         (view-buffer): Call pop-to-buffer-same-window and remove
15466         undo-window code.
15467         (view-buffer-other-window): Call pop-to-buffer-other-window and
15468         simplify code.  Ignore second argument.
15469         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15470         simplify code.  Ignore second argument.
15471         (view-return-to-alist-update): Make obsolete.
15472         (view-mode-enter): Rename second argument to QUIT-RESTORE.
15473         Rewrite using quit-restore window parameters.
15474         (view-mode-exit): Rename second argument to EXIT-ONLY.
15475         Rewrite using quit-restore-window.
15476         (View-exit, View-exit-and-edit, View-leave, View-quit)
15477         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15478         appropriate arguments.
15479         (view-end-message): Use quit-restore window parameter.
15481         * window.el (display-buffer-function): Rewrite doc-string.
15482         (display-buffer-window, display-buffer-alist): New variables.
15483         (display-buffer-split-specifiers)
15484         (display-buffer-side-specifiers)
15485         (display-buffer-macro-specifiers): New constants.
15486         (display-buffer-even-window-sizes, display-buffer-set-height)
15487         (display-buffer-set-width, display-buffer-select-window)
15488         (display-buffer-in-window, display-buffer-reuse-window)
15489         (display-buffer-split-window-1, display-buffer-split-window)
15490         (display-buffer-split-atom-window, display-buffer-pop-up-window)
15491         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15492         (display-buffer-in-side-window, normalize-buffer-to-display)
15493         (display-buffer-normalize-specifiers-1)
15494         (display-buffer-normalize-specifiers-2)
15495         (display-buffer-normalize-specifiers, display-buffer-frame):
15496         New functions.
15497         (display-buffer): Major rewrite.
15498         (display-buffer-other-window, display-buffer-other-frame)
15499         (pop-to-buffer, switch-to-buffer-other-window)
15500         (switch-to-buffer-other-frame): Rewrite.
15501         (display-buffer-same-window, display-buffer-same-frame)
15502         (display-buffer-same-frame-other-window)
15503         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15504         (pop-to-buffer-other-window)
15505         (pop-to-buffer-same-frame-other-window)
15506         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15507         (switch-to-buffer-other-window-same-frame): New functions.
15508         (same-window-p, special-display-p): Rewrite disabling warnings.
15509         Make obsolete.
15510         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15511         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15512         Make obsolete
15513         (same-window-buffer-names, same-window-regexps)
15514         (special-display-frame-alist, special-display-popup-frame)
15515         (special-display-function, special-display-buffer-names)
15516         (special-display-regexps, pop-up-frame-alist)
15517         (pop-up-frame-function, split-window-preferred-function)
15518         (split-height-threshold, split-width-threshold)
15519         (even-window-heights): Make obsolete.
15521 2011-06-12  Glenn Morris  <rgm@gnu.org>
15523         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
15524         Misc simplifications.
15526 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
15528         * window.el (window-safely-shrinkable-p): Restore function which
15529         was inadvertently removed in change from 2011-06-11.  Declare as
15530         obsolete.
15532         * calendar/calendar.el (calendar-generate-window):
15533         Use window-iso-combined-p instead of combination of one-window-p and
15534         window-safely-shrinkable-p.
15536 2011-06-12  Glenn Morris  <rgm@gnu.org>
15538         * progmodes/fortran.el (fortran-mode-syntax-table):
15539         * progmodes/f90.el (f90-mode-syntax-table):
15540         Set % to punctuation.  (Bug#8820)
15541         (f90-find-tag-default): Remove, no longer needed.
15543 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
15545         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15547 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
15549         * image.el (image-animated-p): Return animation delay in seconds.
15550         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15551         (image-animate-timeout): Remove DELAY argument.  Don't assume
15552         every subimage has the same delay; get it from image-animated-p.
15553         (image-animate): Caller changed.
15555 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
15557         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15558         to ignored backtrace functions.
15560 2011-06-11  Glenn Morris  <rgm@gnu.org>
15562         * calendar/appt.el (appt-disp-window-function): Doc fix.
15563         (appt-check): Handle overlapping appointments.  (Bug#8337)
15565 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
15567         * window.el (window-tree-1, window-tree): New functions, moving
15568         the latter to window.el.
15569         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15570         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15571         (bw-refresh-edges): Remove.
15572         (balance-windows-1, balance-windows-2): New functions.
15573         (balance-windows): Rewrite in terms of window tree functions,
15574         balance-windows-1 and balance-windows-2.
15575         (bw-adjust-window): Remove.
15576         (balance-windows-area-adjust): New function with functionality of
15577         bw-adjust-window but using resize-window.
15578         (set-window-text-height): Rewrite doc-string.
15579         Use normalize-live-window and resize-window.
15580         (enlarge-window-horizontally, shrink-window-horizontally):
15581         Rename argument to DELTA.
15582         (window-buffer-height): New function.
15583         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15584         Rewrite using new window resize routines.
15585         (kill-buffer-and-window, mouse-autoselect-window-select):
15586         Use ignore-errors instead of condition-case.
15587         (quit-window): Call delete-frame instead of delete-windows-on
15588         for the only buffer on frame.
15590 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15592         * loadup.el (top-level): Load window before files for the sake
15593         of replace-buffer-in-windows.
15595         * files.el (read-buffer-to-switch)
15596         (switch-to-buffer-other-window)
15597         (switch-to-buffer-other-frame, display-buffer-other-frame):
15598         Move to window.el.
15600         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15601         (previous-buffer): Move to window.el.
15603         * bindings.el (unbury-buffer): Move to window.el.
15605         * window.el (delete-other-windows-vertically): Move after
15606         definition of delete-other-windows.
15607         (other-window, delete-windows-on, replace-buffer-in-windows):
15608         Move here from window.c.
15609         (record-window-buffer, unrecord-window-buffer)
15610         (set-window-buffer-start-and-point, switch-to-prev-buffer)
15611         (switch-to-next-buffer): New functions.
15612         (get-next-valid-buffer, last-buffer, next-buffer): Move here
15613         from simple.el.  Call switch-to-next-buffer.
15614         (previous-buffer): Move here from simple.el.
15615         Call switch-to-prev-buffer.
15616         (bury-buffer): Move here from buffer.c.  Switch to previous
15617         buffer when window cannot be deleted.
15618         (unbury-buffer): Move here from bindings.el.
15619         (ctl-x-map): Move binding for other-window from window.c to
15620         here.
15621         (read-buffer-to-switch, switch-to-buffer-other-window)
15622         (switch-to-buffer-other-frame): Move here from files.el.
15623         (normalize-buffer-to-switch-to): New functions.
15624         (switch-to-buffer): Move here from buffer.c.
15625         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15627 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
15629         * window.el (window-min-height, window-min-width): Move here
15630         from window.c.  Add defcustoms and rewrite doc-strings.
15631         (resize-mini-window, resize-window): New functions.
15632         (adjust-window-trailing-edge, enlarge-window, shrink-window):
15633         Move here from window.c.
15634         (maximize-window, minimize-window): New functions.
15635         (delete-window, delete-other-windows, split-window): Move here
15636         from window.c.
15637         (window-split-min-size): New function.
15638         (split-window-keep-point): Mention split-window-above-each-other
15639         instead of split-window-vertically.
15640         (split-window-above-each-other, split-window-vertically):
15641         Rename split-window-vertically to split-window-above-each-other
15642         and provide defalias for old definition.
15643         (split-window-side-by-side, split-window-horizontally):
15644         Rename split-window-horizontally to split-window-side-by-side
15645         and provide defalias for the old definition.
15646         (ctl-x-map): Move bindings for delete-window,
15647         delete-other-windows and enlarge-window here from window.c.
15648         Replace bindings for split-window-vertically and
15649         split-window-horizontally by bindings for
15650         split-window-above-each-other and split-window-side-by-side.
15652         * cus-start.el (all): Remove entries for window-min-height and
15653         window-min-width.  Add entries for window-splits and
15654         window-nest.
15656 2011-06-09  Glenn Morris  <rgm@gnu.org>
15658         * calendar/appt.el (appt-mode-line): New function.
15659         (appt-check, appt-disp-window): Use it.
15661         * files.el (hack-one-local-variable-eval-safep):
15662         Allow minor-modes with explicit +/-1 arguments.
15664 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
15666         * term/xterm.el (xterm): Add defgroup.
15667         (xterm-extra-capabilities): Add defcustom to supply known xterm
15668         capabilities, skip querying them, or query them (default).
15669         (terminal-init-xterm): Use it.
15670         (terminal-init-xterm-modify-other-keys): New function to set up
15671         modifyOtherKeys support to simplify `terminal-init-xterm'.
15673 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
15675         * window.el (resize-window-reset, resize-window-reset-1)
15676         (resize-subwindows-skip-p, resize-subwindows-normal)
15677         (resize-subwindows, resize-other-windows, resize-this-window)
15678         (resize-root-window, resize-root-window-vertically)
15679         (window-deletable-p, window-or-subwindow-p)
15680         (frame-root-window-p): New functions.
15682 2011-06-09  Glenn Morris  <rgm@gnu.org>
15684         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15685         (ange-ftp-get-files): Use it.
15687 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
15689         * mail/sendmail.el (mail-recover-1, mail-recover):
15690         * files.el (recover-file, recover-session):
15691         Handle dired-listing-switches not being just a single short option.
15693 2011-06-09  Glenn Morris  <rgm@gnu.org>
15695         * calendar/appt.el (appt-display-message, appt-disp-window):
15696         Handle lists of appointments.
15698 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15700         * window.el (one-window-p): Move down in code.
15701         Rewrite doc-string.
15702         (window-current-scroll-bars): Rewrite doc-string.
15703         Normalize live window argument.
15704         (walk-windows, get-window-with-predicate, count-windows):
15705         Rewrite doc-string.  Use window-list-1.
15706         (window-in-direction-2, window-in-direction, get-mru-window):
15707         New functions.
15709 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
15711         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15712         Doc fix (Bug#8713).
15714 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
15716         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15718 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
15720         * loadhist.el (unload-feature-special-hooks):
15721         Add `comint-output-filter-functions'.
15723 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
15725         * calendar/appt.el (appt-check): Move some initializations into the let.
15727 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15729         * window.el (window-height): Defalias to window-total-height.
15730         (window-width): Defalias to window-body-width.
15732 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
15734         * image-mode.el (image-toggle-animation): New command.
15735         (image-mode-map): Bind it to RET.
15736         (image-mode): Update message.
15737         (image-toggle-display-image): Avoid a spurious cache flush.
15738         (image-transform-rotation): Doc fix.
15739         (image-transform-properties): Return quickly in the normal case.
15740         (image-animate-loop): Rename from image-animate-max-time.
15742         * image.el (image-animate-max-time): Move to image-mode.el.
15743         (create-animated-image): Remove unnecessary function.
15744         (image-animate): Rename from image-animate-start.  New arg.
15745         (image-animate-stop): Remove; just use image-animate-timer.
15746         (image-animate-timer): Use car-safe.
15747         (image-animate-timeout): Rename argument.
15749 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
15751         * window.el (get-lru-window, get-largest-window): Move here from
15752         window.c.  Rename first argument to ALL-FRAMES.
15753         Rephrase doc-strings.
15754         (get-buffer-window-list): Rewrite using window-list-1.
15755         Rephrase doc-string.
15756         (window-safe-min-height, window-safe-min-width): New constants.
15757         (window-size-ignore, window-min-size, window-min-size-1)
15758         (window-sizable, window-sizable-p, window-size-fixed-1)
15759         (window-size-fixed-p, window-min-delta-1, window-min-delta)
15760         (window-max-delta-1, window-max-delta, window-resizable)
15761         (window-resizable-p, window-total-height, window-total-width)
15762         (window-body-width): New functions.
15763         (window-full-height-p, window-full-width-p): Rewrite using
15764         window-total-size.
15765         (window-body-height): Rewrite using window-body-size.
15767 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
15769         * window.el (window-right, window-left, window-child)
15770         (window-child-count, window-last-child, window-any-p)
15771         (normalize-live-buffer, normalize-live-frame)
15772         (normalize-any-window, normalize-live-window)
15773         (window-iso-combination-p, window-iso-combined-p)
15774         (window-iso-combinations)
15775         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15776         (windows-with-parameter, window-with-parameter)
15777         (window-atom-root, make-window-atom, window-atom-check-1)
15778         (window-atom-check, window-side-check, window-check):
15779         New functions.
15780         (ignore-window-parameters, window-sides, window-sides-vertical)
15781         (window-sides-slots): New variables.
15782         (window-size-fixed): Move down in code.  Minor doc-string fix.
15784 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
15786         * comint.el (comint-dynamic-complete-as-filename)
15787         (comint-dynamic-complete-filename): Correctly call
15788         completion-in-region.
15790 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15792         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15793         in last change.
15795 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15797         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15798         (rcirc): Use it to prompt for encryption.
15800 2011-06-05  Roland Winkler  <winkler@gnu.org>
15802         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15803         (bibtex-search-entries): New command bound to C-c C-a.
15804         (bibtex-display-entries): New function.
15806 2011-06-05  Roland Winkler  <winkler@gnu.org>
15808         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15809         (bibtex-insert-kill): After yanking insert newline if necessary.
15810         (bibtex-initialize): Call bibtex-string-files-init only once.
15811         (bibtex-mode): Do not call easy-menu-add.
15812         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15813         (bibtex-yank): Set arg properly if nil.
15815 2011-06-05  Roland Winkler  <winkler@gnu.org>
15817         * textmodes/bibtex.el (bibtex-search-entry-globally):
15818         New variable.
15819         (bibtex-search-entry): Use it.
15821 2011-06-05  Roland Winkler  <winkler@gnu.org>
15823         * textmodes/bibtex.el (bibtex-entry-format): New option
15824         sort-fields.
15825         (bibtex-format-entry, bibtex-reformat): Honor this option.
15826         (bibtex-parse-entry): Return fields in proper order.
15828 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
15830         * doc-view.el (doc-view-remove-if): Move computation of result out
15831         of `dolist' to silence misleading lexical-binding warning.
15833 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
15835         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15836         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15838 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
15840         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15841         "SunOS 5.10".
15843 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
15845         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15846         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15847         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15848         (tramp-parse-putty):
15849         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15850         (tramp-completion-function-alist-ssh)
15851         (tramp-completion-function-alist-telnet)
15852         (tramp-completion-function-alist-su)
15853         (tramp-completion-function-alist-putty): Set `tramp-autoload'
15854         cookie.
15856         * net/tramp-ftp.el:
15857         * net/tramp-sh.el:
15858         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15859         load "tramp.el" `tramp-set-completion-function'.
15861 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15863         * shell.el: Require and use pcomplete.
15864         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15865         (shell-completion-vars): Set pcomplete-default-completion-function.
15867 2011-06-04  Deniz Dogan  <deniz@dogan.se>
15869         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15870         `memq' (Bug#8799).
15872 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15874         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15876 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
15878         * bs.el (bs--mark-unmark, bs--nth-wrapper):
15879         * mpc.el (mpc-select-extend, mpc-songpointer-context):
15880         * vc/log-view.el (log-view-beginning-of-defun):
15881         * vc/smerge-mode.el (smerge-apply-resolution-patch)
15882         (smerge-refine-forward, smerge-refine-chopup-region):
15883         Silence warning for unused `dotimes' counter variables.
15885 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15887         * net/tramp.el (tramp-with-progress-reporter): Rename from
15888         with-progress-reporter.  Use `declare'.
15889         * net/tramp-smb.el:
15890         * net/tramp-sh.el:
15891         * net/tramp-gvfs.el: Update all uses.
15893 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
15895         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15896         buffer isn't killed before making it current.
15898 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15900         Silence various byte-compiler warnings.
15901         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15902         `access-type' and new obsolescence format.
15903         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15904         new format.
15905         (byte-compile-check-variable): New `access-type' argument.
15906         Only warn if the access-type is obsolete.
15907         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15908         (byte-compile-variable-set): Adjust callers.
15909         * help-fns.el (describe-variable): Adjust to new obsolescence format.
15910         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15911         setting it as obsolete.
15912         * simple.el (minibuffer-completing-symbol):
15913         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15914         access as obsolete.
15915         * minibuffer.el (minibuffer-completing-file-name): Don't make it
15916         obsolete yet.
15917         * international/quail.el (quail-mouse-choose-completion): Remove unused
15918         code referring to obsolete var.
15919         (quail-choose-completion-string): Remove.
15920         * server.el (server-clients-with, server-kill-buffer-query-function)
15921         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15922         * proced.el (proced-send-signal):
15923         * emacs-lisp/lisp.el (lisp-complete-symbol):
15924         Replace completion-annotate-function with completion-extra-properties.
15926 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15928         * simple.el (goto-line): Use read-number.
15929         (overriding-map-is-bound): Remove.
15930         (saved-overriding-map): Change default.
15931         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15932         Take the map as argument.
15933         (universal-argument, negative-argument, digit-argument): Use it.
15934         (restore-overriding-map): Adjust.
15935         (do-auto-fill): Use fill-forward-paragraph.
15936         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15938         * minibuffer.el (minibuffer-inactive-mode-map): New var.
15939         (minibuffer-inactive-mode): New major mode.
15940         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15941         the *Messages* buffer" hack.
15942         (mouse-popup-menubar): Don't burp if the event is a normal key.
15944         Miscellaneous tweaks.
15945         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15946         lexical scoping as in subr.el's dolist and dotimes.
15947         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15948         Silence compiler warning.
15949         * thingatpt.el (forward-whitespace): Trivial coding style fix.
15950         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15951         * international/ccl.el (ccl-compile): Trivial simplification.
15952         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15953         * emacs-lisp/testcover.el (testcover-end): Remove spurious
15954         `printflag' argument.
15955         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15956         Purecopy the whole obsolescence data.
15958 2011-06-01  Leo Liu  <sdl.web@gmail.com>
15960         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15961         improve doc-string as suggested by Marco Pessotto
15962         <melmothx@gmail.com>.
15963         (rcirc-print): Fix last change.
15965 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15967         * minibuffer.el (complete-with-action): Return nil for the metadata and
15968         boundaries of non-functional tables.
15969         (completion-table-dynamic): Return nil for the metadata.
15970         (completion-table-with-terminator): Add default case, using
15971         complete-with-action.
15972         (completion--metadata): New function.
15973         (completion-all-sorted-completions, minibuffer-completion-help): Use it
15974         to try and avoid pathological performance problems.
15975         (completion--embedded-envvar-table): Return `category' metadata.
15977 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15979         * subr.el (process-alive-p): New tiny convenience function.
15981 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15983         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15984         content but also its previous major mode.
15986 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
15988         * emacs-lisp/debug.el (debug): Restore the previous content of the
15989         *Backtrace* buffer when we exit with C-M-c.
15991 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15993         * minibuffer.el: Add metadata method to completion tables.
15994         (completion-category-overrides): New defcustom.
15995         (completion-metadata, completion--field-metadata)
15996         (completion-metadata-get, completion--styles)
15997         (completion--cycle-threshold): New functions.
15998         (completion-try-completion, completion-all-completions):
15999         Add `metadata' argument to choose completion-styles.
16000         (completion--do-completion): Use metadata to choose cycling.
16001         (completion-all-sorted-completions): Use metadata for sorting.
16002         Remove :completion-cycle-penalty which is not needed any more.
16003         (completion--try-word-completion): Add `metadata' argument.
16004         (minibuffer-completion-help): Check metadata for annotation function
16005         and sorting.
16006         (completion-file-name-table): Return `category' metadata.
16007         (minibuffer-completing-file-name): Make obsolete.
16008         * simple.el (minibuffer-completing-symbol): Make obsolete.
16009         * icomplete.el (icomplete-completions): Pass new `metadata' param to
16010         completion-try-completion.
16012 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16014         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
16016 2011-05-30  Leo Liu  <sdl.web@gmail.com>
16018         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
16019         (rcirc-print): Decode all incoming messages (bug#8744).
16020         (rcirc-decode-coding-system): Allow value nil for automatic coding
16021         system detection.
16023 2011-06-01  Glenn Morris  <rgm@gnu.org>
16025         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
16027 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16029         * image.el (image-animate-max-time): Allow nil and t values.
16030         Default to nil.
16031         (create-animated-image): Doc fix.
16032         (image-animate-start): Remove second arg; just use
16033         image-animate-max-time.
16034         (image-animate-timeout): Doc fix.  Args changed.
16036         * image-mode.el (image-toggle-display-image): Ensure that the
16037         image spec passed to the animate timer is the same object as in
16038         the buffer's display property (Bug#6981).
16039         (image-transform-properties): Doc fix.
16041         * image.el (image-animate-max-time): Default to nil.
16043 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
16045         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
16046         entire buffer list (Bug#8184).
16048 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16050         * image.el (imagemagick-types-inhibit)
16051         (imagemagick-register-types): Doc fix.
16053 2011-05-29  Deniz Dogan  <deniz@dogan.se>
16055         * net/rcirc.el (rcirc): Use the user's stored encryption method by
16056         default.
16058 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
16060         * select.el: Don't perform clipboard-manager saving in hooks;
16061         leave the hooks empty.
16063 2011-05-28  Leo Liu  <sdl.web@gmail.com>
16065         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
16066         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
16067         (occur-edit-mode): New major mode (Bug#8463).
16068         (occur-after-change-function): New function.
16069         (occur-engine): Give Occur tags a read-only property.
16071 2011-05-28  Kevin Ryde  <user42@zip.com.au>
16073         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
16075 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16077         * bindings.el (help-echo): Make the initial non-indicator dash
16078         empty on graphical terminals (Bug#7295).
16080         * files.el (auto-mode-alist): Move config rule after the
16081         in-stripping one (Bug#8547).
16083         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
16085         * startup.el (normal-splash-screen): Remove gratuitous mode-line
16086         setting (Bug#8740).
16088 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
16090         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
16091         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
16092         (Bug#8539).
16094 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16096         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
16098 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
16100         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
16101         (hs-hide-block-at-point, hs-find-block-beginning)
16102         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
16103         (Bug#8279).
16105 2011-05-28  Glenn Morris  <rgm@gnu.org>
16107         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
16109 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
16111         * help-fns.el (describe-function-1): If the function is a derived
16112         major mode, print the parent mode.
16114         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
16115         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
16117 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         * minibuffer.el (completion--capf-wrapper): Check applicability before
16120         returning non-nil for non-exclusive completion data.
16121         * progmodes/etags.el (tags-completion-at-point-function):
16122         * info-look.el (info-lookup-completions-at-point): Mark as
16123         non-exclusive.
16124         (info-complete): Adjust accordingly.
16126         * info-look.el: Convert to lexical-binding and completion-at-point.
16127         (info-lookup-completions-at-point): New function.
16128         (info-complete): Use it and completion-in-region.
16130 2011-05-28  Drew Adams  <drew.adams@oracle.com>
16132         * isearch.el: Let M-e start with point at the first mismatched char.
16133         (isearch-fail-pos): New function.
16134         (isearch-edit-string): Use it.
16136 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16138         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16140 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
16142         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
16143         traversal functions for avl-trees.
16144         (avl-tree--stack): New struct.
16145         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
16146         (avl-tree-enter): Add optional `updatefun' arg.
16147         (avl-tree--do-enter): Add optional `updatefun' arg.
16148         Change return value.
16149         (avl-tree-delete): Add optional `test' and `nilflag' args.
16150         (avl-tree--do-delete): Add `test' and `nilflag' args.
16151         Change return value.
16152         (avl-tree-member): Add optional `nilflag'
16153         (avl-tree-member-p): New function.
16154         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
16155         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
16156         (avl-tree-stack-empty-p): New functions.
16158         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
16159         avl-tree--del-balance1 and make it work both ways.
16160         (avl-tree--del-balance2): Remove.
16161         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
16162         make it work both ways.
16163         (avl-tree--enter-balance2): Remove.
16164         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
16165         New macros.
16166         (avl-tree--mapc, avl-tree-map): Add direction argument.
16168 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
16170         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
16172 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
16174         * select.el: Support clipboard managers with built-in function
16175         x-clipboard-manager-save, via delete-frame-functions and
16176         kill-emacs-hook.
16177         (xselect-convert-to-targets): Add MULTIPLE target to list.
16178         (xselect-convert-to-save-targets): New function.
16180 2011-05-27  Kenichi Handa  <handa@m17n.org>
16182         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
16183         let-binding rfc2047-encode-encoded-words to nil.
16185 2011-05-27  Glenn Morris  <rgm@gnu.org>
16187         * mail/emacsbug.el: Don't require url-util.
16189         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
16191         * files.el (set-auto-mode):
16192         Also respect mode: entries at the end of the file.  (Bug#8586)
16194 2011-05-26  Glenn Morris  <rgm@gnu.org>
16196         * files.el (hack-local-variables-prop-line, hack-local-variables):
16197         Downcase mode names, as seems to be traditional.
16198         (hack-local-variables, hack-local-variables-apply): Doc fixes.
16200         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
16201         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
16203 2011-05-25  Julien Danjou  <julien@danjou.info>
16205         * textmodes/rst.el (rst-define-level-faces): Do not define face
16206         symbol if it is already defined.
16208 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16210         * play/5x5.el (5x5-new-game, 5x5-randomize):
16211         Reset 5x5-solver-output to nil when a new grid is cast.
16212         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
16213         these debugging traces, as defmacro breaks the compiled code.
16215 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
16217         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
16219 2011-05-24  Leo Liu  <sdl.web@gmail.com>
16221         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
16222         (vc-bzr-sha1): Adapt.
16224         * sha1.el: Remove.  Function `sha1' is now builtin.
16226         * bindings.el: Provide sha1 feature.
16228 2011-05-24  Kenichi Handa  <handa@m17n.org>
16230         * mail/sendmail.el: Require `rfc2047'.
16231         (mail-insert-from-field): Do not perform RFC2047 encoding.
16232         (mail-encode-header): New function.
16233         (sendmail-send-it): Set buffer-file-coding-system of the work
16234         buffer to the return value of select-message-coding-system.
16235         Call mail-encode-header.
16237         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
16239 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
16241         * mail/supercite.el (sc-default-cite-frame):
16242         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
16244 2011-05-24  Glenn Morris  <rgm@gnu.org>
16246         * progmodes/python.el (brm-menu): Declare.
16248         * emulation/viper.el (viper-set-hooks): Declare.
16250         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
16251         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
16252         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
16253         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16254         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16255         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16257 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16259         Add an :exit-function for completion-at-point.
16261         * minibuffer.el (completion--done): New fun.
16262         (completion--do-completion): Use it.  New arg `expect-exact'.
16263         (minibuffer-complete, minibuffer-complete-word): Don't output message,
16264         since completion--do-completion does it for us now.
16265         (minibuffer-force-complete): Use completion--done and
16266         completion--replace.  Handle sole-completion case with more care.
16267         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16268         (completion-extra-properties): New var.
16269         (completion-annotate-function): Make obsolete.
16270         (minibuffer-completion-help): Adjust accordingly.
16271         Use completion-list-insert-choice-function.
16272         (completion-at-point, completion-help-at-point):
16273         Bind completion-extra-properties.
16274         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16275         * simple.el (completion-list-insert-choice-function): New var.
16276         (completion-setup-function): Preserve it.
16277         (choose-completion): Pay attention to it, shuffle the code a bit.
16278         (choose-completion-string): New arg `insert-function'.
16280         * textmodes/bibtex.el: Convert to lexical binding.
16281         (bibtex-mode-map): Use completion-at-point.
16282         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16283         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16284         (bibtex-complete): Define as obsolete alias.
16285         (bibtex-complete-internal): Remove.
16286         (bibtex-format-entry): Remove unused sub-group in regexp.
16287         * shell.el (shell--command-completion-data)
16288         (shell-environment-variable-completion):
16289         * pcomplete.el (pcomplete-completions-at-point):
16290         * comint.el (comint--complete-file-name-data): Use :exit-function
16291         instead of completion-table-with-terminator so it also works for
16292         choose-completion.
16294 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16296         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16298         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16299         (bug#8710).
16301         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16303 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
16305         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16306         customization variable and implement: If non-nil, auto-fill will
16307         be inhibited while on topic's header line.
16309 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16311         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16312         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
16313         always have a solution in grid size = 5 cases.
16314         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16315         (5x5-solver-output, 5x5-log-buffer): New vars.
16316         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16317         Make these variables buffer local to achieve 5x5 multi-session-ness.
16318         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16319         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16320         (5x5-solve-suggest): New funs.
16321         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16322         randomize a grid so that we ensure that there is always a solution.
16323         (5x5-make-random-grid): Allow other movement than flipping.
16325 2011-05-23  Kevin Ryde  <user42@zip.com.au>
16327         * emacs-lisp/advice.el (ad-read-advised-function):
16328         Use `function-called-at-point' as the default, if it has
16329         advice and passes PREDICATE.
16331 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16333         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16334         byte-compile-lambda if it's actually a lambda.
16336         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16337         Fix function quoting.  Use backquote better.
16339 2011-05-22  Yuanle Song  <sylecn@gmail.com>
16341         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16342         matching (Bug#8516).
16344 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
16346         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16347         different face (Bug#8178).
16349 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
16351         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16352         defface (Bug#8144).
16354 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16356         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16357         funcall as well (bug#8712).  Warn when performing those conversions.
16358         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16360         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16362 2011-05-22  Glenn Morris  <rgm@gnu.org>
16364         * files.el (hack-local-variables-prop-line): Small simplifications.
16365         (hack-local-variables, hack-local-variables-prop-line):
16366         If MODE-ONLY, return the mode, rather than just `t'.
16368 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16370         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16372 2011-05-21  Glenn Morris  <rgm@gnu.org>
16374         * files.el (hack-local-variables-prop-line, hack-local-variables):
16375         If only interested in the mode, don't bother doing the other stuff.
16377         * image-mode.el (image-after-revert-hook):
16378         Redraw all frames on which the image is visible.  (Bug#8567)
16380         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
16382         * wid-edit.el (widget-checklist-match-inline):
16383         Fix 2011-04-19 change.  (Bug#8649)
16385 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16387         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16388         Also allow singlespace after single-letter capitals followed by a dot.
16390         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16391         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16393 2011-05-20  Nix  <nix@esperi.org.uk>
16395         * files.el (basic-save-buffer-2):
16396         Fix handling of break-hardlink-on-save with non-existent files.
16398 2011-05-19  Deniz Dogan  <deniz@dogan.se>
16400         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16401         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16403 2011-05-19  Glenn Morris  <rgm@gnu.org>
16405         * progmodes/f90.el (f90-type-def-re):
16406         Handle "type, bind(c)".  (Bug#8691)
16408         * emacs-lisp/autoload.el (batch-update-autoloads):
16409         Set autoload-excludes by parsing loadup.el rather than Makefiles.
16411 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
16413         * net/tramp.el (tramp-process-actions): Set "first-password-request"
16414         property for the correct connection in case of multihops.
16416 2011-05-18  Glenn Morris  <rgm@gnu.org>
16418         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16419         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16421         Rationalize calendar handling of day and month abbrev-arrays.
16422         * calendar/calendar.el (calendar-customized-p): New function.
16423         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16424         (calendar-day-name-array, calendar-month-name-array): Doc fix.
16425         Add :set function.
16426         (calendar-abbrev-length, calendar-day-abbrev-array)
16427         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16428         (calendar-day-abbrev-array, calendar-month-abbrev-array):
16429         Elements may no longer be nil.
16430         (calendar-day-name, calendar-month-name):
16431         Update for changed nature of abbrev arrays.
16432         * calendar/diary-lib.el (diary-name-pattern):
16433         Update for changed nature of abbrev arrays.
16434         (diary-mark-entries-1): Update calendar-make-alist calls.
16435         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16436         * calendar/cal-html.el (cal-html-day-abbrev-array):
16437         Simply inherit from calendar-day-abbrev-array.
16439 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16441         * progmodes/grep.el (grep-mode): Disable default
16442         compilation-directory-matcher setting (bug#8684).
16444 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
16446         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16447         instead of "head" and "tail".  There were problems with SunOS 5.9,
16448         and it performs better.
16450 2011-05-17  Glenn Morris  <rgm@gnu.org>
16452         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16454         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16455         Replace obsolete function.
16457         * shell.el (pcomplete-parse-arguments-function): Declare.
16459         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16460         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16461         (appt-check): Doc fixes.
16462         (appt-disp-window-function, appt-delete-window-function):
16463         Remove needless special case in custom :type.
16464         (appt-display-count): Default to 0, not nil.
16465         (appt-check): Reset appt-display-count to 0, not nil.
16467 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
16469         * progmodes/python.el (python-font-lock-keywords):
16470         Add the Python 3.X keyword "nonlocal" (bug#8639).
16472 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16474         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16476 2011-05-16  Kevin Ryde  <user42@zip.com.au>
16478         * info-look.el (makefile-automake-mode): New setups, looking in
16479         automake manual, then makefile-mode.
16480         (makefile-mode): Remove automake manual, have it just in
16481         makefile-automake-mode since there's various things different or
16482         not relevant to plain make.
16483         (makefile-mode): Remove "other-modes" non-existent automake-mode,
16484         believe a hypothetical automake-mode would go to makefile-mode,
16485         not the other way around.
16487 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
16489         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16490         hunk-end tags (Bug#8672).
16492         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16493         vc-annotate-show-diff-revision-at-line (Bug#8671).
16495 2011-05-14  Glenn Morris  <rgm@gnu.org>
16497         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16498         in the middle of an existing one with multiple authors.  (Bug#8645)
16499         (change-log-font-lock-keywords): Also handle multiple author lines
16500         with leading tabs.  (Bug#8644)
16502         * calendar/appt.el (appt-check): Rename some local variables.
16503         Some simplification/reordering.
16505         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16506         (feedmail-sendmail-f-doesnt-sell-me-out)
16507         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16508         (feedmail-debug-sit-for, feedmail-queue-express-hook)
16509         (feedmail-queue-runner-message-sender): Set :version.
16510         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16511         (bbdb-dwim-net-address, vm-mail): Declare.
16512         (feedmail-binmail-gnulinuxish-template):
16513         Rename from feedmail-binmail-linuxish-template.
16514         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16515         Use insert-buffer-substring.
16517 2011-05-14  Bill Carpenter  <bill@carpenter.org>
16519         * mail/feedmail.el (feedmail-patch-level): Increase.
16520         (feedmail-debug): New custom group.
16521         (feedmail-confirm-outgoing-timeout)
16522         (feedmail-sendmail-f-doesnt-sell-me-out)
16523         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16524         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16525         (feedmail-sender-line, feedmail-from-line)
16526         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16527         (feedmail-spray-this-address)
16528         (feedmail-spray-address-fiddle-plex-list)
16529         (feedmail-queue-use-send-time-for-date)
16530         (feedmail-queue-use-send-time-for-message-id)
16531         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16532         (feedmail-buffer-eating-function):
16533         Doc fixes.
16534         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16535         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16536         (feedmail-message-action-scroll-down): New functions.
16537         (feedmail-queue-directory, feedmail-queue-draft-directory):
16538         Use expand-file-name.
16539         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16540         Remove C-v help entry.
16541         (feedmail-queue-buffer-file-name): New variable.
16542         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16543         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16544         (feedmail-message-action-send-strong, feedmail-message-action-edit)
16545         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16546         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16547         (feedmail-message-action-toggle-spray)
16548         (feedmail-run-the-queue-no-prompts)
16549         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16550         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16551         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16552         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16553         (feedmail-envelope-deducer, feedmail-fiddle-from)
16554         (feedmail-fiddle-sender, feedmail-default-date-generator)
16555         (feedmail-fiddle-date, feedmail-fiddle-message-id)
16556         (feedmail-fiddle-spray-address)
16557         (feedmail-fiddle-list-of-spray-fiddle-plexes)
16558         (feedmail-fiddle-list-of-fiddle-plexes)
16559         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16560         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16561         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16562         Change default.  Doc fix.
16563         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16564         (feedmail-binmail-linuxish-template): New constant.
16565         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
16566         Respect feedmail-sendmail-f-doesnt-sell-me-out.
16567         (feedmail-send-it): Add debug call.
16568         Use feedmail-queue-buffer-file-name, and
16569         feedmail-send-it-immediately-wrapper.
16570         (feedmail-message-action-send): Add debug call.
16571         Use feedmail-send-it-immediately-wrapper.
16572         (feedmail-queue-express-to-queue): Add debug call.
16573         Run feedmail-queue-express-hook.
16574         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
16575         (feedmail-message-action-help-blat):
16576         Rename from feedmail-queue-send-edit-prompt-help-first.
16577         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
16578         Check line-endings.  Handle errors better.
16579         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16580         Doc fix.  Add debug call.
16581         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
16582         Use feedmail-queue-send-edit-prompt-inner.
16583         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16584         (feedmail-queue-send-edit-prompt-inner): New function, extracted
16585         from feedmail-queue-send-edit-prompt.
16586         (feedmail-queue-send-edit-prompt-help)
16587         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16588         (feedmail-tidy-up-slug): Add debug call.
16589         Respect feedmail-queue-slug-suspect-regexp.
16590         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16591         (feedmail-dump-message-to-queue): Add debug call.
16592         Expand queue-directory.
16593         (feedmail-dump-message-to-queue): Change message slightly.
16594         Use feedmail-say-chatter.
16595         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
16596         (feedmail-send-it-immediately-wrapper): New function.
16597         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
16598         Insert empty string rather than newline.  Handle full-frame case.
16599         Use catch/throw.  Use feedmail-say-chatter.
16600         (feedmail-fiddle-from): Try mail-host-address.
16601         (feedmail-default-message-id-generator): Doc fix.
16602         Bind system-time-locale.  Handle missing end.
16603         (feedmail-fiddle-x-mailer): Add debug call.
16604         Handle feedmail-x-mailer-line being nil.
16605         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16606         Add debug call.  Use buffer-substring-no-properties.
16607         (feedmail-say-debug, feedmail-say-chatter): New functions.
16608         (feedmail-find-eoh): Give an explicit error.
16610 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
16612         * net/newst-treeview.el (newsticker-treeview-face): Change default
16613         family from helvetica to sans.
16614         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16615         etc/images/newsticker.
16617         * net/newst-reader.el (newsticker-feed-face): Change default
16618         family from helvetica to sans.
16620         * net/newst-plainview.el (newsticker-new-item-face)
16621         (newsticker-old-item-face, newsticker-immortal-item-face)
16622         (newsticker-obsolete-item-face, newsticker-date-face)
16623         (newsticker-statistics-face): Change default family from
16624         helvetica to sans.
16625         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16626         etc/images/newsticker.
16628         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16629         (newsticker--process-auto-mark-filter-match): Tell user about
16630         auto-marking.
16632 2011-05-13  Didier Verna  <didier@xemacs.org>
16634         Common Lisp indentation improvements on defmethod and lambda-lists.
16635         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16636         TODO entries.
16637         (lisp-lambda-list-keyword-parameter-indentation)
16638         (lisp-lambda-list-keyword-parameter-alignment)
16639         (lisp-lambda-list-keyword-alignment): New customizable user options.
16640         (lisp-indent-defun-method): Improve docstring.
16641         (extended-loop-p): Fix comment.
16642         (lisp-indent-lambda-list-keywords-regexp): New variable.
16643         (lisp-indent-lambda-list): New function.
16644         (lisp-indent-259): Use it.
16645         (lisp-indent-defmethod): Support for more than one
16646         method qualifier and properly indent methods lambda-lists.
16647         (defgeneric): Provide a missing common-lisp-indent-function property.
16649 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16651         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16652         bounds for the empty string (bug#8667).
16654 2011-05-13  Glenn Morris  <rgm@gnu.org>
16656         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16658         * mail/sendmail.el (sendmail-program): Try executable-find first.
16659         (sendmail-send-it): `sendmail-program' cannot be unbound.
16661         * calendar/appt.el (appt-make-list): Simplify.
16662         (appt-time-msg-list): Doc fix.
16663         (appt-check): Change mode-line message at the time of the appointment.
16665 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
16667         * progmodes/ld-script.el (ld-script-keywords)
16668         (ld-script-builtins): Update keywords list.
16670 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16672         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16674         * shell.el (shell-completion-vars): New function.
16675         (shell-mode):
16676         * simple.el (read-shell-command): Use it.
16677         (blink-matching-open): No need for " [...]" in minibuffer-message.
16679 2011-05-12  Glenn Morris  <rgm@gnu.org>
16681         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16682         (appt-check): Simplify.
16684 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
16686         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16687         literal "/dev/null".
16689 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16691         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16692         Fix typo.
16694 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
16696         * progmodes/which-func.el (which-function):
16697         Use add-log-current-defun instead of add-log-current-defun-function,
16698         which might not be defined (Bug#8260).
16700 2011-05-12  Glenn Morris  <rgm@gnu.org>
16702         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16703         Let byte-compile-initial-macro-environment always take precedence.
16705 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16707         * net/rcirc.el: Add support for SSL/TLS connections.
16708         (rcirc-server-alist): New field `encryption'.
16709         (rcirc): Check `encryption' settings.
16710         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
16711         Merge make-local-variable into `set'.
16712         (rcirc--connection-open-p): New function.
16713         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16714         the process is not a network process (e.g. running gnutls-cli).
16715         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16716         Make rcirc-(en|de)code-coding-system local here.
16717         (rcirc-mode): Merge make-local-variable into `set'.
16718         (rcirc-parent-buffer): Make permanent buffer-local.
16719         (rcirc-multiline-minor-mode): Don't do it here.
16720         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16721         there's no server buffer.
16723 2011-05-11  Glenn Morris  <rgm@gnu.org>
16725         * newcomment.el (comment-kill): Prefix "unused" local.
16727         * term/w32console.el (get-screen-color): Declare.
16729         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16730         Handle symbol elements of byte-compile-initial-macro-environment.
16732 2011-05-10  Leo Liu  <sdl.web@gmail.com>
16734         * bookmark.el (bookmark-bmenu-mode-map):
16735         Bind bookmark-bmenu-search to `/'.
16737         * mail/footnote.el: Convert to utf-8 encoding.
16738         (footnote-unicode-string, footnote-unicode-regexp): New variable.
16739         (Footnote-unicode): New function.
16740         (footnote-style-alist): Add unicode style to the list.
16741         (footnote-style): Doc fix.
16743 2011-05-10  Jim Meyering  <meyering@redhat.com>
16745         Fix doubled-word typos.
16746         * international/quail.el (quail-insert-kbd-layout): and and -> and
16747         * kermit.el: and and -> and
16748         * net/ldap.el (ldap-search-internal): to to -> to
16749         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16750         * progmodes/js.el (js-mode): and and -> and
16751         * textmodes/artist.el (artist-move-to-xy): at at -> at
16752         (artist-draw-region-trim-line-endings): if if -> if
16753         And Safetyc -> Safety.
16754         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16756 2011-05-10  Glenn Morris  <rgm@gnu.org>
16757             Stefan Monnier  <monnier@iro.umontreal.ca>
16759         * files.el (hack-one-local-variable-eval-safep):
16760         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
16762 2011-05-10  Glenn Morris  <rgm@gnu.org>
16764         * calendar/diary-lib.el (diary-list-entries-hook)
16765         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16766         (diary-nongregorian-marking-hook, diary-list-entries)
16767         (diary-include-other-diary-files, diary-mark-entries)
16768         (diary-mark-included-diary-files): Doc fixes.
16770 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16772         * misc.el: Require tabulated-list.el during compilation.
16774 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16776         * progmodes/compile.el (compilation-start):
16777         Run compilation-filter-hook for the async case too.
16778         (compilation-filter-hook): Doc fix.
16780 2011-05-09  Deniz Dogan  <deniz@dogan.se>
16782         * wdired.el: Remove outdated installation comment.  Fix usage
16783         comment.
16785 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16787         * misc.el: Implement new command `list-dynamic-libraries'.
16788         (list-dynamic-libraries--loaded-only-p): New variable.
16789         (list-dynamic-libraries--refresh): New function.
16790         (list-dynamic-libraries): New command.
16792 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16794         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16795         Fix the ant regexp to handle end-line and end-column info from jikes.
16796         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
16797         higher priority to avoid clobbering by gnu.
16799 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16801         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16802         if the face has existing theme settings (Bug#8454).
16804 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
16806         * progmodes/perl-mode.el (perl-imenu-generic-expression):
16807         Only match variables declared via `my' or `our' (Bug#8261).
16809         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16810         special file names `.' and `..' (Bug#8259).
16812 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16814         * progmodes/grep.el (grep-mode-font-lock-keywords):
16815         Remove buffer-changing entries.
16816         (grep-filter): New function.
16817         (grep-mode): Add it to compilation-filter-hook.
16819         * progmodes/compile.el (compilation-filter-hook)
16820         (compilation-filter-start): New defvars.
16821         (compilation-filter): Call compilation-filter-hook prior to
16822         updating the process mark.
16824 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16828 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
16830         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16831         mailclient-send-it even if window-system is nil.  (Bug#8595)
16833         * term/w32console.el (terminal-init-w32console):
16834         Call get-screen-color and use its output to set the frame
16835         background-mode.  (Bug#8597)
16837 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16839         Make bytecomp.el understand that defmethod defines funs (bug#8631).
16840         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16841         New functions.
16842         (defgeneric, eieio--defmethod): Use them.
16843         (eieio-defgeneric): Remove.
16844         (defmethod): Call defgeneric in a way visible to the byte-compiler.
16846 2011-05-07  Glenn Morris  <rgm@gnu.org>
16848         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16849         Use let rather than let*.
16850         (timeclock-find-discrep): Remove unused local.
16852         * calendar/diary-lib.el (diary-comment-start): Doc fix.
16854         * calendar/appt.el (appt-time-msg-list): Doc fix.
16856 2011-05-06  Noah Friedman  <friedman@splode.com>
16858         * apropos.el (apropos-print-doc): Only use
16859         emacs-lisp-docstring-fill-column when it is bound to an integer,
16860         per that variable's documentation.
16862 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16864         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16865         and warnings are not silently discarded (e.g. use -d instead of -P).
16867 2011-05-06  Glenn Morris  <rgm@gnu.org>
16869         * calendar/appt.el (appt-message-warning-time): Doc fix.
16870         (appt-warning-time-regexp): New option.
16871         (appt-make-list): Respect appt-message-warning-time.
16873         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16874         New options.
16875         (diary-add-to-list): Strip comments from the displayed string.
16876         (diary-mode): Set comment-start and comment-end.
16878         * vc/diff-mode.el (smerge-refine-subst): Declare.
16879         (diff-refine-hunk): Don't require smerge-mode when compiling.
16881 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
16883         * simple.el (list-processes): Return nil as the docstring says.
16885 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16887         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16888         to "".
16889         (ange-ftp-write-region, ange-ftp-insert-file-contents)
16890         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16891         determining of binary transfer.  (Bug#7383)
16893 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16895         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16896         Fix port computation bug.  (Bug#8618)
16898 2011-05-05  Glenn Morris  <rgm@gnu.org>
16900         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16902         * simple.el (shell-dynamic-complete-functions)
16903         (comint-dynamic-complete-functions): Declare.
16905         * net/network-stream.el (gnutls-negotiate):
16906         * simple.el (tabulated-list-print): Fix declarations.
16908         * progmodes/gud.el (syntax-symbol, syntax-point):
16909         Remove unnecessary and incorrect declarations.
16911         * emacs-lisp/check-declare.el (check-declare-scan):
16912         Handle byte-compile-initial-macro-environment in bytecomp.el
16914 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16916         Fix earlier half-done eieio-defmethod change (bug#8338).
16917         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16918         Streamline and change calling convention.
16919         (defmethod): Adjust accordingly and simplify.
16920         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16921         new eieio--defmethod.
16922         (slot-boundp): Minor CSE simplification.
16924 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
16926         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16927         (glasses-make-readable): Use glasses-separate-capital-groups.
16929 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
16931         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16932         (warning-series): Doc fix.
16933         (display-warning): Don't try to create the buffer if we just found it.
16935 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
16937         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16938         (autoload-find-generated-file): New function.
16939         (generate-file-autoloads): Bind generated-autoload-file to
16940         buffer-file-name.
16941         (update-file-autoloads, update-directory-autoloads):
16942         Use autoload-find-generated-file.  If called interactively, prompt for
16943         output file (Bug#7989).
16944         (batch-update-autoloads): Doc fix.
16946 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
16948         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16950 2011-05-04  Glenn Morris  <rgm@gnu.org>
16952         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16953         function, so it follows changes in calendar-date-style.
16954         (diary-fancy-date-matcher): New function.
16955         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16956         (diary-fancy-font-lock-fontify-region-function):
16957         Use diary-fancy-date-pattern as a function.
16959         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16960         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
16962 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
16964         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16965         instead of positional arguments.  Allow :keylist and :crlfiles
16966         arguments.
16967         (open-gnutls-stream): Call it.
16969         * net/network-stream.el (network-stream-open-starttls): Adjust to
16970         call `gnutls-negotiate' with :process and :hostname arguments.
16972 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16974         * minibuffer.el (completion--message): New function.
16975         (completion--do-completion, minibuffer-complete)
16976         (minibuffer-force-complete, minibuffer-complete-word): Use it.
16977         (completion--do-completion): Don't ignore completion-auto-help when in
16978         icomplete-mode.
16980         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16981         internal encoding (e.g. tibetan zero is not whitespace).
16982         (global-whitespace-mode): Prefer save-current-buffer.
16983         (whitespace-trailing-regexp): Remove useless save-match-data.
16984         (whitespace-empty-at-bob-regexp): Minor simplification.
16986 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
16988         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16990 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
16992         * textmodes/ispell.el (ispell-add-per-file-word-list):
16993         Use `concat' to create string for insertion.
16995 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16997         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16998         Avoid open-line which runs post-self-insert-hook.
16999         (bibtex-fill-entry): Remove unused `end' var.
17001 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
17003         * textmodes/ispell.el (ispell-add-per-file-word-list):
17004         Protect against `nil' value of `comment-start' (Bug#8579).
17006 2011-05-03  Leo Liu  <sdl.web@gmail.com>
17008         * isearch.el (isearch-yank-pop): New command.
17009         (isearch-mode-map): Bind it to `M-y'.
17010         (isearch-forward): Mention it.
17012 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17014         * simple.el (minibuffer-complete-shell-command): Remove.
17015         (minibuffer-local-shell-command-map): Use completion-at-point.
17016         (read-shell-command): Setup completion vars here instead.
17017         (read-expression-map): Bind TAB to symbol completion.
17019         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
17020         error directly rather via storing it into `results'.
17022 2011-05-02  Leo Liu  <sdl.web@gmail.com>
17024         * vc/diff.el: Fix description.
17026 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17028         * server.el (server-eval-at): New function.
17030 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17032         * net/network-stream.el (open-network-stream): Take a :nowait
17033         parameter and pass it on to `make-network-process'.
17034         (network-stream-open-plain): Ditto.
17036 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
17038         * faces.el (face-spec-set-match-display): Don't match toolkit
17039         options on terminal frames.
17041 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17043         * progmodes/pascal.el: Use lexical binding.
17044         (pascal-mode-map): Remove author preferences.
17046         * pcomplete.el (pcomplete-std-complete): Don't abuse
17047         completion-at-point.
17049 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17051         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
17052         removing code that has been dead since 1991 or so.
17054         * startup.el (command-line): When warning about "_emacs", use a
17055         delayed warning to allow the user to filter it out.
17057 2011-04-28  Deniz Dogan  <deniz@dogan.se>
17059         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
17060         user has not joined.
17062 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17064         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
17065         aren't any completions at point.
17067 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
17069         * subr.el (display-delayed-warnings): New function.
17070         (delayed-warnings-hook): New variable.
17072 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17074         * minibuffer.el (completion-at-point, completion-help-at-point):
17075         Don't presume that a given completion-at-point-function will always
17076         use the same calling convention.
17078         * pcomplete.el (pcomplete-completions-at-point):
17079         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
17080         pcomplete-seen is non-nil.
17081         (pcomplete-comint-setup): Also recognize the new comint/shell
17082         completion functions.
17083         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
17084         pcomplete-seen is non-nil.
17086 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
17088         * calendar/icalendar.el (diary-lib): Add require statement.
17089         (icalendar--create-uid): Read out a uid from a text-property on
17090         the first character in the entry.  This allows for code to add its
17091         own uid to the entry.
17092         (icalendar--convert-float-to-ical): Add export of
17093         `diary-float'-entries save for those with the optional DAY
17094         argument.
17096 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
17098         * subr.el (shell-quote-argument): Use alternate escaping strategy
17099         when we spot a variable reference in a string.
17101 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17103         * cus-start.el (all): Define customization for debug-on-event.
17105 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
17107         * subr.el (shell-quote-argument): Escape correctly under Windows.
17109 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17111         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
17113 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
17115         * net/tramp.el (tramp-process-actions): Add POS argument.
17116         Delete region between POS and (pos).
17118         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17119         Use `nil' position in `tramp-process-actions' call.
17120         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
17122         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
17123         position in `tramp-process-actions' call.
17125         * net/trampver.el: Update release number.
17127 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17129         * custom.el (defcustom): Obey lexical-binding.
17131         Fix octave-inf completion problems reported by Alexander Klimov.
17132         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
17133         Inherit from octave-mode-syntax-table.
17134         (inferior-octave-mode): Set info-lookup-mode.
17135         (inferior-octave-completion-at-point): New function.
17136         (inferior-octave-complete): Use it and completion-in-region.
17137         (inferior-octave-dynamic-complete-functions): Use it as well, and use
17138         comint-filename-completion.
17139         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
17140         symbol elements which shouldn't be word elements.
17141         (octave-font-lock-keywords, octave-beginning-of-defun)
17142         (octave-function-header-regexp): Adjust regexps accordingly.
17143         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
17145 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
17147         * net/gnutls.el (gnutls-errorp): Declare before first use.
17149 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
17151         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
17152         verify-error, and verify-hostname-error parameters.  Check whether
17153         default trustfile exists before going to use it.  Add missing
17154         argument to gnutls-message-maybe call.  Return value.
17155         Reported by Claudio Bley <claudio.bley@gmail.com>.
17156         (open-gnutls-stream): Add usage example.
17158         * net/network-stream.el (network-stream-open-starttls): Give host
17159         parameter to `gnutls-negotiate'.
17160         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
17161         * subr.el (shell-quote-argument): Escape correctly under Windows.
17163 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
17165         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
17166         Use correct match group (bug#8438).
17168 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17170         * emacs-lisp/package.el (package-built-in-p): Fix typo.
17171         (package-menu--generate): New arg specifying packages to show.
17172         (package-menu-refresh, package-menu-execute, list-packages):
17173         Callers changed.
17174         (package-show-package-list): New function, replacing deleted
17175         package--list-packages (renamed because it is non-internal).
17177         * finder.el (finder-list-matches): Use package-show-package-list
17178         instead of deleted package--list-packages.
17180         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
17181         Based on a previous implementation by Juanma Barranquero (Bug#8366).
17182         (vc-annotate-mode-map): Bind it to RET.
17184 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
17186         * progmodes/etags.el (next-file): Don't use set-buffer to change
17187         buffers (Bug#8478).
17189 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
17191         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
17193         * apropos.el (apropos-label-face): Avoid variable-pitch face.
17194         (apropos-accumulator): Doc fix.
17195         (apropos-function, apropos-macro, apropos-command)
17196         (apropos-variable, apropos-face, apropos-group, apropos-widget)
17197         (apropos-plist): Add face property.
17198         (apropos-symbols-internal): Fix indentation.
17199         (apropos-print): Simplify help, and recognize apropos-multi-type.
17200         (apropos-print-doc): Use button-type-get to extract the button's
17201         face property.  Fill docstring (Bug#8352).
17203 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
17205         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
17207         * play/mpuz.el (mpuz-silent): Doc fix.
17208         (mpuz-mode-map): Use mapc.
17209         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
17210         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
17211         Fix typos in docstrings.
17213         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
17214         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
17216         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
17218 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
17220         * minibuffer.el (completion--do-completion): Avoid the "Next char
17221         not unique" prompt if icomplete-mode is enabled (Bug#5849).
17223         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
17224         mouse-2 into unread-command-events, it is interpreted correctly.
17226         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
17227         (image-toggle-display): Doc fix.
17229 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
17231         * textmodes/page.el (what-page): Use line-number-at-pos to
17232         calculate line number (Bug#6825).
17234 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17236         * eshell/esh-mode.el (find-tag-interactive): Declare function.
17237         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
17238         Pass argument NO-DEFAULT to `find-tag-interactive'.
17240 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
17242         Lexical-binding cleanup.
17244         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
17245         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
17246         * progmodes/ada-prj.el (ada-prj-initialize-values)
17247         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
17248         (ada-prj-show-value):
17249         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
17250         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
17251         (antlr-invalidate-context-cache, antlr-options-menu-filter)
17252         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
17253         * progmodes/bug-reference.el (bug-reference-push-button):
17254         * progmodes/fortran.el (fortran-line-length):
17255         * progmodes/glasses.el (glasses-change):
17256         * progmodes/octave-mod.el (octave-fill-paragraph):
17257         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17258         (python-pdbtrack-grub-for-buffer, python-sentinel):
17259         * progmodes/sql.el (sql-save-connection):
17260         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17261         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17262         Mark unused parameters.
17264         * progmodes/compile.el (compilation--flush-directory-cache)
17265         (compilation--flush-parse, compile-internal): Mark unused parameters.
17266         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17267         (compilation-next-error-function): Remove unused variable `timestamp'.
17269         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17270         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17272         * progmodes/dcl-mode.el (dcl-end-of-command):
17273         Remove unused variable `start'.
17274         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17275         (dcl-option-value-basic, dcl-option-value-offset)
17276         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17277         Mark unused parameters.
17278         (dcl-save-local-variable): Remove unused variable `val'.
17279         (mode): Declare.
17281         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17282         Mark unused parameters.
17283         (delphi-ignore-changes): Move before first use.
17284         (delphi-charset-token-at): Remove unused variable `start'.
17285         (delphi-else-start): Remove unused variable `if-count'.
17286         (delphi-comment-block-start, delphi-comment-block-end):
17287         Remove unused variable `kind'.
17288         (delphi-indent-line): Remove unused variable `new-point'.
17290         * progmodes/ebrowse.el (ebrowse-files-list)
17291         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17292         Mark unused parameters.  Don't quote `lambda'.
17293         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17294         Don't quote `lambda'.
17295         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17296         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17297         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17298         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17299         Use `ignore-errors'.
17300         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17301         (ebrowse-view/find-file-and-search-pattern)
17302         (ebrowse-view/find-member-declaration/definition):
17303         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17304         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17305         Rename parameter PREFIX-ARG to PREFIX.
17306         (ebrowse-tags-read-name): Remove unused variables `start' and
17307         `member-info'.
17308         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17309         to `tags-file'.
17311         * progmodes/etags.el (local-find-tag-hook): Declare.
17312         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17313         Mark unused parameters.
17315         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17316         (executable-interpret): Mark unused parameter.
17318         * progmodes/flymake.el (flymake-process-sentinel)
17319         (flymake-after-change-function)
17320         (flymake-create-temp-with-folder-structure)
17321         (flymake-get-include-dirs-dot): Mark unused parameters.
17322         (flymake-safe-delete-directory): Remove unused variable `err'.
17324         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17325         (speedbar-timer-fn, speedbar-line-text)
17326         (speedbar-change-expand-button-char, speedbar-delete-subblock)
17327         (speedbar-center-buffer-smartly): Declare functions.
17328         (gdb-find-watch-expression): Remove unused variable `array'.
17329         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17330         (gdb-starting): Mark unused parameters.
17331         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17332         (gdb-table-string): Remove unused variable `res'.
17333         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17334         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17335         (gdb-display-buffer): Remove unused variable `cur-size'.
17337         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17338         allow lexical-binding compilation.
17339         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17340         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17341         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17342         Mark unused parameters.
17343         (gud-gdb-marker-filter): Remove unused variable `match'.
17344         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17345         lambda expressions and funcall them, instead of using `fset'.
17347         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17348         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17350         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17351         variable `header-beg'; use `let'.
17353         * progmodes/icon.el (indent-icon-exp): Remove unused variables
17354         `restart', `last-sexp' and `at-do'.
17356         * progmodes/js.el (js--debug): Mark unused parameter.
17357         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17358         (js--splice-into-items): Remove unused variable `item'.
17359         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17361         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17362         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17363         (makefile-complete): Remove unused variable `try'.
17364         (makefile-fill-paragraph, makefile-match-function-end):
17365         Mark unused parameters.
17367         * progmodes/octave-inf.el (inferior-octave-complete):
17368         Remove unused variable `proc'.
17369         (inferior-octave-output-digest): Mark unused parameter.
17371         * progmodes/perl-mode.el (perl-calculate-indent):
17372         Remove unused variable `err'.
17374         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17375         (prolog-indent-line): Mark unused parameters.
17376         (prolog-indent-line): Remove unused variable `beg'.
17378         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17379         (reporter-dont-compact-list): Declare.
17381         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17382         Remove unused variable `char'.
17383         (sh-debug): Mark unused parameter.
17384         (sh-get-indent-info): Remove unused variable `start'.
17385         (sh-calculate-indent): Remove unused variable `var'.
17387         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17388         (simula-electric-keyword): Remove unused variable `null'.
17389         (simula-search-backward, simula-search-forward): Remove unused
17390         variables `begin' and `end'.
17392         * progmodes/vera-mode.el (vera-guess-basic-syntax):
17393         Remove unused variable `pos'.
17394         (vera-electric-tab, vera-comment-uncomment-region):
17395         Mark unused parameters.
17396         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17398 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
17400         * emacs-lisp/package.el (package--builtins, package-alist)
17401         (package-load-descriptor, package-built-in-p, package-activate)
17402         (define-package, package-installed-p)
17403         (package-compute-transaction, package-buffer-info)
17404         (package--push): Doc fix.  Distinguish more clearly between
17405         version strings and version lists.
17407 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
17409         Lexical-binding cleanup.
17411         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17412         (5x5-make-mutate-best):
17413         * play/fortune.el (fortune-in-buffer):
17414         * play/gomoku.el (gomoku-init-display):
17415         * play/solitaire.el (solitaire, solitaire-do-check):
17416         * play/tetris.el (tetris-default-update-speed-function):
17417         Mark unused parameters.
17419         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17420         (bubbles--shift): Remove unused variable `char-org'.
17421         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
17422         (bubbles--show-images): Remove unused variable `char'.
17424         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17425         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17426         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17427         (decipher-analyze-buffer): Use ?\s.
17428         (decipher-make-checkpoint): Remove unused variable `mapping'.
17430         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17432         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17433         Remove unused variable `result'; use `let'.
17435         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17436         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17437         (gametree-children-shown-p, gametree-compute-reduced-score):
17438         Use `ignore-errors'.
17440         * play/handwrite.el (ps-lpr-switches): Declare.
17441         (handwrite): Remove unused variables `pmin' and `lastp'.
17443         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17445         * play/landmark.el (landmark-init-display)
17446         (landmark-update-naught-weights): Mark unused parameters.
17447         (landmark-y): Remove unused variable `noise'.  Simplify.
17448         (landmark-human-plays): Remove unused variable `score'.
17450         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17451         (mpuz-try-proposal): Remove unused variable `game'.
17453         * play/zone.el (life-patterns): Declare.
17455 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
17457         * vc/vc.el (ediff-vc-internal): Declare function.
17459 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17461         * shell.el: Use lexical-binding and std completion UI.
17462         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17463         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17464         comint-preoutput-filter-functions rather than on
17465         comint-output-filter-functions.
17466         (shell-command-completion, shell--command-completion-data)
17467         (shell-filename-completion, shell-environment-variable-completion)
17468         (shell-c-a-p-replace-by-expanded-directory): New functions.
17469         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17470         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17471         (shell-dynamic-complete-environment-variable): Use them.
17472         (shell-dynamic-complete-as-environment-variable)
17473         (shell-dynamic-complete-as-command): Remove.
17474         (shell-match-partial-variable): Match past point.
17475         * comint.el: Clean up use of completion-at-point-functions.
17476         (comint-completion-at-point): New function.
17477         (comint-mode): Use it completion-at-point-functions.
17478         (comint-dynamic-complete): Make it obsolete.
17479         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17480         (comint-c-a-p-replace-by-expanded-history): New function.
17481         (comint-dynamic-complete-functions)
17482         (comint-replace-by-expanded-history): Use it.
17483         * minibuffer.el (completion-table-with-terminator): Allow dynamic
17484         termination strings.  Try harder to avoid second try-completion.
17485         (completion-in-region-mode-map): Disable bindings that don't work yet.
17487         * comint.el: Use lexical-binding.  Require CL.
17488         (comint-dynamic-complete-functions): Use comint-filename-completion.
17489         (comint-completion-addsuffix): Tweak custom type.
17490         (comint-filename-completion, comint--common-suffix)
17491         (comint--common-quoted-suffix, comint--table-subvert)
17492         (comint--complete-file-name-data): New functions.
17493         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17494         (comint-dynamic-list-filename-completions): Use them.
17495         (comint-dynamic-simple-complete): Make obsolete.
17497         * minibuffer.el (completion-in-region-mode):
17498         Keep completion-in-region-mode--predicate global.
17499         (completion-in-region--postch):
17500         Assume completion-in-region-mode--predicate is not null.
17502         * progmodes/flymake.el (flymake-start-syntax-check-process):
17503         Obey `dir'.  Simplify.
17505         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17506         we're in VC after all.
17508 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
17510         * vc/vc.el (vc-diff-build-argument-list-internal)
17511         (vc-version-ediff, vc-ediff): New commands.
17512         (vc-version-diff): Use vc-diff-build-argument-list-internal.
17514 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17516         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17517         add sanity check.
17519         * obsolete/erc-hecomplete.el: Make obsolete.
17520         * obsolete/: Standardize obsolescence info in the header.
17522 2011-04-20  Glenn Morris  <rgm@gnu.org>
17524         * calendar/solar.el (solar-horizontal-coordinates):
17525         Use the longitude argument rather than `calendar-longitude'.
17526         (solar-date-next-longitude): Remove unused locals.
17528 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17530         * whitespace.el: New version 13.2.1.
17532 2011-04-20  felix  <EmacsWiki>  (tiny change)
17534         * whitespace.el (global-whitespace-mode): Keep highlight when
17535         switching between major modes on a file.
17537 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17539         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17540         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17541         multi-line comments as well.
17543 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
17545         Lexical-binding cleanup.
17547         * arc-mode.el (archive-mode-revert):
17548         * cmuscheme.el (scheme-interactively-start-process):
17549         * custom.el (custom-initialize-delay):
17550         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17551         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17552         * emacs-lock.el (emacs-lock-clear-sentinel):
17553         * ezimage.el (defezimage):
17554         * follow.el (follow-avoid-tail-recenter):
17555         * fringe.el (set-fringe-mode-1):
17556         * generic-x.el (bat-generic-mode-compile):
17557         * help-mode.el (help-info-variable, help-do-xref)
17558         (help-mode-revert-buffer):
17559         * help.el (view-emacs-todo):
17560         * iswitchb.el (iswitchb-completion-help):
17561         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17562         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17563         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17564         * locate.el (locate-update):
17565         * longlines.el (longlines-encode-region)
17566         (longlines-after-change-function):
17567         * outline.el (outline-isearch-open-invisible):
17568         * ps-def.el (declare-function, charset-dimension, char-width)
17569         (encode-char):
17570         * ps-mule.el (ps-mule-plot-string):
17571         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17572         (recentf-edit-list-select, recentf-edit-list-validate)
17573         (recentf-open-files-action):
17574         * rect.el (delete-whitespace-rectangle-line)
17575         (rectangle-number-line-callback):
17576         * register.el (window-configuration-to-register)
17577         (frame-configuration-to-register):
17578         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17579         * select.el (xselect-convert-to-string, xselect-convert-to-length)
17580         (xselect-convert-to-targets, xselect-convert-to-delete)
17581         (xselect-convert-to-filename, xselect-convert-to-charpos)
17582         (xselect-convert-to-lineno, xselect-convert-to-colno)
17583         (xselect-convert-to-os, xselect-convert-to-host)
17584         (xselect-convert-to-user, xselect-convert-to-class)
17585         (xselect-convert-to-name, xselect-convert-to-integer)
17586         (xselect-convert-to-atom, xselect-convert-to-identity):
17587         * subr.el (declare, ignore, process-kill-without-query)
17588         (text-clone-maintain):
17589         * terminal.el (te-get-char, te-tic-sentinel):
17590         * tool-bar.el (tool-bar-make-keymap):
17591         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17592         * type-break.el (type-break-mode, type-break-noninteractive-query):
17593         * view.el (View-back-to-mark):
17594         * wid-browse.el (widget-browse-action, widget-browse-widget)
17595         (widget-browse-widgets, widget-browse-sexp):
17596         * widget.el (define-widget-keywords):
17597         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17598         Mark unused parameters.
17600         * align.el (align-adjust-col-for-rule): Mark unused parameter.
17601         (align-areas): Remove unused variable `look'.
17602         (align-region): Remove unused variables `real-end' and `pos-list'.
17604         * apropos.el (apropos-score-doc): Remove unused variable `i'.
17606         * bindings.el (mode-line-modified, mode-line-remote):
17607         Mark unused parameters.
17608         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17610         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17611         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17613         * comint.el (comint-history-isearch-pop-state)
17614         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17615         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17616         (comint-substitute-in-file-name): Doc fix.
17618         * completion.el (cmpl-statistics-block): Mark unused parameter.
17619         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17620         (save-completions-to-file, load-completions-from-file):
17621         Remove unused local variable `e'.
17623         * composite.el (compose-chars): Remove unused variable `len'.
17624         (lgstring-insert-glyph): Remove unused variable `g'.
17625         (compose-glyph-string): Remove unused variables `ascent',
17626         `descent', `lbearing' and `rbearing'.
17627         (compose-glyph-string-relative): Remove unused variables
17628         `lbearing', `rbearing' and `wadjust'.
17629         (compose-gstring-for-graphic): Remove unused variables `header',
17630         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
17631         (compose-gstring-for-terminal): Remove unused variables `header'
17632         and `nchars'.  Use `let', not `let*'.
17634         * cus-edit.el (Custom-set, Custom-save, custom-reset)
17635         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17636         (Custom-buffer-done, custom-buffer-create-internal)
17637         (custom-browse-visibility-action, custom-browse-group-tag-action)
17638         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17639         (widget-magic-mouse-down-action, custom-toggle-parent)
17640         (custom-add-parent-links, custom-toggle-hide-variable)
17641         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17642         (custom-toggle-hide-face, face, hook, custom-group-link-action)
17643         (custom-face-menu-create, custom-variable-menu-create, get)
17644         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17645         (custom-reset-standard-save-and-update): Remove unused variable `value'.
17646         (customize-apropos): Remove unused variable `tests'.
17647         (custom-group-value-create): Remove unused variable `hidden-p'.
17648         (sort-fold-case): Declare.
17650         * cus-theme.el (custom-reset-standard-faces-list)
17651         (custom-reset-standard-variables-list): Declare.
17652         (customize-create-theme, custom-theme-revert, custom-theme-write)
17653         (custom-theme-choose-mode, customize-themes, custom-theme-save):
17654         Mark unused parameters.
17656         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17658         * delim-col.el (delimit-columns-max): Move defvar before first use.
17660         * descr-text.el (describe-char-categories): Don't quote `lambda'.
17661         (describe-char): Don't quote `lambda'.  Mark unused parameter.
17663         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17664         (auto-insert): Declare.
17665         (desktop-restore-file-buffer): Rename desktop-* parameters;
17666         mark unused ones.
17667         (desktop-create-buffer): Rename desktop-* parameters and bind them.
17668         (desktop-buffer): Rename desktop-* parameters.
17670         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17671         (dframe-reposition-frame-xemacs, dframe-help-echo)
17672         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17673         Mark unused parameters.
17675         * dired-aux.el (backup-extract-version-start, overwrite-query)
17676         (overwrite-backup-query, rename-regexp-query)
17677         (rename-non-directory-query): Declare.
17678         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17679         (dired-add-entry): Remove unused variable `orig-file-name'.
17680         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17681         Use parameter PRESERVE-TIME instead of accessing dynamic variable
17682         `dired-copy-preserve-time' directly.
17683         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17684         (dired-insert-subdir-newpos): Rename unused variable `pos'.
17686         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17687         (dired-virtual-revert, dired-make-relative-symlink):
17688         Mark unused parameters.
17689         (manual-program): Declare.
17690         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17691         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17692         wrapped in `with-no-warnings' to avoid replacing one warning by another.
17694         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17696         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17698         * echistory.el (electric-history-in-progress, Helper-return-blurb):
17699         Declare.
17701         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17703         * electric.el (Electric-command-loop): Rename parameter
17704         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17706         * expand.el (expand-in-literal): Remove unused variable `here'.
17708         * facemenu.el (facemenu-add-new-color):
17709         Remove unused variable `docstring'.
17711         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17712         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17713         (face-attr-construct): Mark unused parameter.  Doc fix.
17714         (read-color): Remove unused variable `hex-string'.
17716         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17717         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17718         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17719         (display-buffer-other-frame): Remove unused variable `old-window'.
17720         (kill-buffer-hook): Declare.
17721         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17722         Mark unused parameters.
17723         (after-find-file): Pass 1 to `auto-save-mode', not t.
17725         * files-x.el (auto-insert): Declare.
17726         (modify-file-local-variable-prop-line): Remove unused variable `val'.
17728         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17729         variable `buf'.  Mark unused parameter.
17730         (find-lisp-insert-directory): Mark unused parameter.
17732         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17733         (format-encode-region): Remove unused variables `cur-buf' and `result'.
17734         (format-common-tail): Remove, unused.
17735         (format-deannotate-region): Remove unused variable `loc'.
17736         (format-annotate-region): Remove unused variable `p'.
17737         (format-annotate-single-property-change): Remove unused variables
17738         `default' and `tail'.
17740         * forms.el (read-file-filter): Declare.
17741         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17743         * frame.el (frame-creation-function-alist): Mark unused parameter.
17744         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17746         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17747         Remove unused parameters.
17748         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17749         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17751         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17752         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17753         (hfy-prepare-tag-map): Mark unused parameters.
17754         (htmlfontify-buffer): Use `called-interactively-p'.
17756         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17757         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17758         (ibuffer-do-occur): Mark unused parameters.
17759         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17760         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17762         * ibuffer.el: Don't quote `lambda'.
17763         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17764         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17765         Mark unused parameters.
17767         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17768         (ido-completing-read): Mark unused parameters.
17769         (ido-copy-current-word): Mark unused parameters;
17770         remove unused variable `name'.
17771         (ido-sort-merged-list): Remove unused parameter `dirs'.
17773         * ielm.el (ielm-input-sender): Mark unused parameter.
17774         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17775         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17776         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17777         `ielm-string' as a dynamic variable accessible from the IELM prompt.
17778         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
17780         * image-dired.el (image-dired-display-thumbs): Remove unused
17781         variables `curr-file' and `count'.
17782         (image-dired-remove-tag): Remove unused variable `start'.
17783         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17784         variable `curr-file'
17785         (image-dired-rotate-original): Remove unused variable `temp-file'.
17786         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17787         Remove unused variable `file'.
17788         (image-dired-gallery-generate): Remove unused variable `curr'.
17789         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17791         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17793         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17795         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17797         * isearch.el (minibuffer-history-symbol): Declare.
17798         (isearch-edit-string): Remove unused variable `err'.
17799         (isearch-message-prefix, isearch-message-suffix):
17800         Mark unused parameters.
17802         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17804         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17806         * makesum.el (double-column): Remove unused variable `cnt'.
17808         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17809         (ido-ignore-item-temp-list): Declare.
17811         * mouse-drag.el (mouse-drag-throw): Remove unused variables
17812         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17813         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17814         (mouse-drag-drag): Remove unused variables `mouse-delta' and
17815         `mouse-col-delta'.
17817         * mouse-sel.el (mouse-extend-internal):
17818         Remove unused variable `orig-window-frame'.
17820         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17821         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17822         Move declarations before first use.
17823         (pcomplete-opt): Mark unused parameters; doc fix.
17825         * proced.el (proced-revert): Mark unused parameter.
17826         (proced-send-signal): Remove unused variable `err'.
17828         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17829         Rename parameter PREFIX-ARG to ARG.
17830         (ps-basic-plot-string, ps-basic-plot-whitespace):
17831         Mark unused parameters.
17833         * replace.el (replace-count): Define.
17834         (occur-revert-function): Mark unused parameters.
17835         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17836         (isearch-case-fold-search, isearch-string): Declare.
17837         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17838         bind `case-fold-search'.  Remove unused variables `beg' and `end',
17839         and simplify.
17840         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17841         COUNT and bind `replace-count'.
17842         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17843         to COUNT.
17845         * savehist.el (print-readably, print-string-length): Declare.
17847         * shadowfile.el (shadow-expand-cluster-in-file-name):
17848         Remove unused variable `cluster'.
17849         (shadow-copy-file): Remove unused variable `i'.
17850         (shadow-noquery, shadow-clusters, shadow-site-cluster)
17851         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17852         (shadow-define-literal-group, shadow-define-regexp-group)
17853         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17855         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17856         (shell): Use `called-interactively-p'.
17857         (shell-directory-tracker): Remove unused variable `chdir-failure'.
17859         * simple.el (compilation-context-lines, comint-file-name-quote-list)
17860         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17861         (delete-backward-char): Remove unused variable `ocol'.
17862         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17863         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17864         (event-apply-hyper-modifier, event-apply-shift-modifier)
17865         (event-apply-control-modifier, event-apply-meta-modifier):
17866         Mark unused parameters.
17867         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17868         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17870         * speedbar.el (speedbar-ignored-directory-expressions)
17871         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17872         (speedbar-find-file, speedbar-dir-follow)
17873         (speedbar-directory-buttons-follow, speedbar-tag-find)
17874         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17875         (speedbar-buffers-line-directory, speedbar-buffer-click):
17876         Mark unused parameters.
17877         (speedbar-tag-file): Remove unused variable `mode'.
17878         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17880         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17882         * talk.el (talk): Remove unused variable `display'.
17884         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17885         (tar-write-region-annotate): Mark unused parameter.
17887         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17888         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17889         Declare them, wrapped in `with-no-warnings' to avoid replacing one
17890         warning by another.
17892         * time-stamp.el (time-stamp-string-preprocess):
17893         Remove unused variable `require-padding'.
17895         * tree-widget.el (widget-glyph-enable): Declare.
17896         (tree-widget-action): Mark unused parameter.
17898         * w32-fns.el (x-get-selection): Mark unused parameter.
17899         (autoload-make-program, generated-autoload-file): Declare.
17901         * wdired.el (wdired-revert): Mark unused parameters.
17902         (wdired-xcase-word): Remove unused variable `err'.
17904         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17905         (whitespace-help-scroll): Remove unused variable `data-help'.
17907         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17908         (widget-image-insert, widget-after-change, default)
17909         (widget-default-format-handler, widget-default-notify)
17910         (widget-default-prompt-value, widget-info-link-action)
17911         (widget-url-link-action, widget-function-link-action)
17912         (widget-variable-link-action, widget-file-link-action)
17913         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17914         (widget-field-prompt-internal, widget-field-action, widget-field-match)
17915         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17916         (widget-insert-button-action, widget-delete-button-action, visibility)
17917         (widget-documentation-link-action, widget-documentation-string-action)
17918         (widget-const-prompt-value, widget-regexp-match, symbol)
17919         (widget-coding-system-prompt-value)
17920         (widget-key-sequence-value-to-external, sexp)
17921         (widget-sexp-value-to-internal, character, vector, cons)
17922         (widget-choice-prompt-value, widget-boolean-prompt-value)
17923         (widget-color--choose-action): Mark unused parameters.
17924         (widget-item-match-inline, widget-choice-match-inline)
17925         (widget-checklist-match, widget-checklist-match-inline)
17926         (widget-group-match): Rename parameter VALUES to VALS.
17927         (widget-field-value-set): Remove unused variable `size'.
17928         (widget-color-action): Remove unused variables `value' and `start'.
17930         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17931         variable `dir'.  Doc fix.
17932         (windmove-find-other-window): Don't pass it.
17934         * window.el (count-windows): Mark unused parameter.
17935         (bw-adjust-window): Remove unused variable `err'.
17937         * woman.el (woman-file-name): Remove unused variable `default'.
17938         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17939         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17940         (global-font-lock-mode): Declare.
17941         (woman-decode-region): Mark unused parameter.
17942         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17944         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17945         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17946         (x-dnd-handle-moz-url): Remove unused variable `title'.
17947         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17949         * xml.el (xml-parse-tag, xml-parse-attlist):
17950         Remove unused variable `pos'.
17952 2011-04-19  Glenn Morris  <rgm@gnu.org>
17954         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17955         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17956         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17957         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17958         * calendar/cal-html.el (cal-html-insert-minical):
17959         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17960         (calendar-mark-date-pattern):
17961         Prefix "unused" locals.
17963         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17964         optional argument `style'.
17966         * calendar/appt.el (appt-make-list):
17967         * calendar/cal-china.el (calendar-chinese-date-string):
17968         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17969         (diary-hebrew-yahrzeit):
17970         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17971         * calendar/calendar.el (calendar-generate-window):
17972         * calendar/time-date.el (time-to-days):
17973         Remove unused local variables.
17975 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
17977         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17978         glyphless-char-display table.
17979         (tabulated-list-glyphless-char-display): New var.
17981 2011-04-18  Sam Steingold  <sds@gnu.org>
17983         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17984         to acknowledgments.
17986 2011-04-17  Glenn Morris  <rgm@gnu.org>
17988         * calendar/diary-lib.el (diary-sexp-entry):
17989         * calendar/holidays.el (holiday-sexp):
17990         Set debug-on-error rather than the removed stack-trace-on-error.
17992 2011-04-16  Glenn Morris  <rgm@gnu.org>
17994         * progmodes/f90.el: Use lexical-binding.
17995         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17997 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17999         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
18000         (mail-mode): Setup mailalias completion here instead.
18001         * mail/mailalias.el: Use lexical-binding.
18002         (pattern, mailalias-done): Declare dynamic.
18003         (mail-completion-at-point-function): New function, from mail-complete.
18004         (mail-complete): Use it.
18005         (mail-completion-expand): New function.
18006         (mail-get-names): Use it.
18007         (mail-directory, mail-directory-process, mail-directory-stream):
18008         Don't use `pattern' for lexically bound arg.
18010         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
18012         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
18013         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
18014         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
18016         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
18017         (byte-save-window-excursion, byte-temp-output-buffer-setup)
18018         (byte-interactive-p): Define them again, for use when inlining
18019         old code.
18021 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
18023         * loadup.el: Use `string-to-number', not `string-to-int'.
18025 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18027         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
18028         gud-gdb-complete-command.
18029         (gud-gdb-completions): New function, from gud-gdb-complete-command.
18030         (gud-gdb-completion-at-point): New function.
18031         (gud-gdb-completions): Remove.
18033 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
18035         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
18036         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
18037         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
18038         whether `executable-find' is bound.
18040         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
18042 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18044         * minibuffer.el (completion-in-region-mode-predicate)
18045         (completion-in-region-mode--predicate): New vars.
18046         (completion-in-region, completion-in-region--postch)
18047         (completion-in-region-mode): Use them.
18048         (completion--capf-wrapper): Also return the hook function.
18049         (completion-at-point, completion-help-at-point):
18050         Adjust and provide a predicate.
18052         Preserve arg names for advice of subr and lexical functions (bug#8457).
18053         * help-fns.el (help-function-arglist): Consolidate the subr and
18054         new-byte-code cases.  Add argument `preserve-names' to extract names
18055         from the docstring when needed.
18056         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
18057         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
18058         (ad-arglist): Use help-function-arglist's new arg.
18059         (ad-definition-type): Use cond.
18061 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
18063         * autorevert.el (auto-revert-handler):
18064         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
18065         which was removed in revno:101730 (2010-10-02).
18066         Don't quote lambda.
18068         * image-mode.el (image-transform-set-scale):
18069         Fix change in revno:103877 (2011-04-09).
18071 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18073         * net/network-stream.el (network-stream-open-starttls): Only do
18074         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
18075         Upgrades via gnutls-cli are too slow to be done opportunistically.
18077 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
18079         * dframe.el (dframe-current-frame): Remove spurious quote.
18081 2011-04-12  Glenn Morris  <rgm@gnu.org>
18083         * calendar/cal-tex.el (cal-tex-end-document):
18084         Try to automatically use latin1 input if needed.
18086         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
18087         Don't try to cons a mark onto an empty element.
18089 2011-04-11  Leo Liu  <sdl.web@gmail.com>
18091         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
18092         buffers.
18093         (ido-kill-buffer-at-head): Support killing virtual buffers.
18095 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
18097         * minibuffer.el (completion-show-inline-help): New var.
18098         (completion--do-completion, minibuffer-complete)
18099         (minibuffer-force-complete, minibuffer-complete-word):
18100         Inhibit minibuffer messages if completion-show-inline-help is nil.
18102         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
18103         to avoid interference from inline help (Bug#5849).
18105 2011-04-10  Leo Liu  <sdl.web@gmail.com>
18107         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18108         Fix typo.
18110 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
18112         * image-mode.el (image-toggle-display-image): Signal an error if
18113         not in Image mode.
18114         (image-transform-mode, image-transform-resize)
18115         (image-transform-set-rotation): Doc fix.
18116         (image-transform-set-resize): Delete.
18117         (image-transform-set-scale, image-transform-fit-to-height)
18118         (image-transform-fit-to-width): Handle image-toggle-display-image
18119         and image-transform-resize directly.
18121 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
18123         * doc-view.el (doc-view-fit-width-to-window)
18124         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
18125         New functions for fitting the shown image to the Emacs window size.
18126         (doc-view-mode-map): Add bindings for the new functions.
18128 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
18130         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
18131         Fix typo in docstring.
18133 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18135         * files.el (file-size-human-readable): Produce one digit after
18136         decimal, like "ls -lh" does.
18138         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
18139         the file size representation.
18141         * simple.el (list-processes): If async subprocesses are not
18142         available, error out with a clear error message.
18144 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
18146         * help.el (help-form-show): New function, to be called from C.
18147         Put help-form output in a buffer named differently than *Help*.
18149 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
18151         * files.el (file-size-human-readable): New function.
18153         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
18154         computing the representation inline.  Don't require `cl'.
18156 2011-04-08  Glenn Morris  <rgm@gnu.org>
18158         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
18160         * net/browse-url.el (browse-url-firefox):
18161         Test system-type, not system-configuration.
18163         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
18164         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
18165         Use log-edit-empty-buffer-p.  (Bug#7598)
18167         * net/rlogin.el (rlogin-process-connection-type): Simplify.
18168         (rlogin-mode-map): Initialize in the defvar.
18169         (rlogin): Use ignore-errors.
18171         * replace.el (occur-mode-map): Some fixes for menu items.
18173 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
18175         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
18177 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18179         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
18180         issuing unused warnings.
18182         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
18183         macro directly.
18185         * simple.el: Lisp reimplement of list-processes.  Based on an
18186         earlier reimplementation by Leo Liu, but using tabulated-list.el.
18187         (process-menu-mode): New major mode.
18188         (list-processes--refresh, list-processes):
18189         (process-menu-visit-buffer): New functions.
18191         * files.el (save-buffers-kill-emacs): Don't assume any return
18192         value of list-processes, which is undocumented anyway.
18194 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
18196         * emacs-lisp/tabulated-list.el: New file.
18198         * emacs-lisp/package.el: Use Tabulated List mode.
18199         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
18200         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
18201         table format using Tabulated List mode variables.
18202         (package--push): New macro, replacing package-list-maybe-add.
18203         (package-menu--generate): Use package--push.  Renamed from
18204         package--generate-package-list.
18205         (package-menu-refresh, list-packages): Use it.
18206         (package-menu--print-info): Rename from package-print-package.
18207         Return insertion data instead of inserting it directly.
18208         (package-menu-describe-package, package-menu-execute):
18209         Use tabulated-list-get-id.
18210         (package-menu-mark-delete, package-menu-mark-install)
18211         (package-menu-mark-unmark, package-menu-backup-unmark)
18212         (package-menu-mark-obsolete-for-deletion):
18213         Use tabulated-list-put-tag.
18214         (package--list-packages, package-menu-revert)
18215         (package-menu-get-package, package-menu-get-version)
18216         (package-menu-sort-by-column): Functions deleted.
18217         (package-menu-package-list, package-menu-sort-key): Vars deleted.
18218         (package-menu--status-predicate, package-menu--version-predicate)
18219         (package-menu--name-predicate)
18220         (package-menu--description-predicate): Handle arguments in the
18221         Tabulated List format.
18222         (package-list-packages-no-fetch): Call list-packages.
18224 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
18226         * files.el (after-find-file-from-revert-buffer): Remove variable.
18227         (after-find-file): Don't bind it.
18228         (revert-buffer-in-progress-p): New variable.
18229         (revert-buffer): Bind it.
18230         Pass nil for `after-find-file-from-revert-buffer'.
18232         * saveplace.el (save-place-find-file-hook): Use new variable
18233         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
18235 2011-04-06  Glenn Morris  <rgm@gnu.org>
18237         * Makefile.in (AUTOGEN_VCS): New variable.
18238         (autoloads): Use $AUTOGEN_VCS.
18240         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
18241         * calendar/calendar.el (calendar-mode-map):
18242         Check for toolkit scroll bars.  (Bug#8305)
18244 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18246         * minibuffer.el (completion-in-region--postch)
18247         (completion-in-region-mode): Remove unnecessary messages.
18249 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
18251         * font-lock.el (font-lock-refresh-defaults):
18252         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
18253         revno:99634.2.463 (2010-10-09) and revno:101913 (2010-10-12).
18255         * info.el (Info-directory-list, Info-read-node-name-2)
18256         (Info-split-parameter-string): Doc fixes.
18257         (Info-virtual-nodes): Reflow docstring.
18258         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18259         (Info-apropos-toc-nodes, info-finder, Info-get-token)
18260         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18261         Fix typos in docstrings.
18262         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18263         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18264         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18265         (Info-restore-desktop-buffer): Mark unused parameters.
18266         (Info-directory-find-file, Info-directory-find-node)
18267         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18268         (Info-virtual-index-find-node, Info-apropos-find-file)
18269         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18270         Mark unused parameters; fix typos in docstrings.
18271         (Info-virtual-index): Remove unused local variable `nodename'.
18273 2011-04-05  Deniz Dogan  <deniz@dogan.se>
18275         * net/rcirc.el: Update my e-mail address.
18276         (rcirc-mode-map): Remove M-o binding.
18278 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
18280         * startup.el (command-line): Save the cursor's theme-face
18281         directly, instead of using face-override-spec.
18283         * custom.el (load-theme): Minor optimization in assigning faces.
18285 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18287         * help-fns.el (describe-variable): Complete all variables having
18288         documentation, including keywords.
18289         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18291 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
18293         Convert to lexical-binding.
18295         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18296         (bs--get-marked-string, bs--get-modified-string)
18297         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18298         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18299         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18301         * ehelp.el (electric-help-execute-extended)
18302         (electric-help-ctrl-x-prefix):
18303         * hexl.el (hexl-revert-buffer-function):
18304         * linum.el (linum-after-change, linum-after-scroll):
18305         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18307         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18309 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
18311         * epa-dired.el:
18312         * epa-mail.el:
18313         * epa-hook.el:
18314         * epa-file.el:
18315         * epa.el:
18316         * epg.el: Use lexical binding.
18318 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
18320         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18322         * textmodes/flyspell.el (flyspell-word): Recognize default
18323         dictionary case for flyspell-mark-duplications-exceptions.
18324         Use regexp matching for languages.
18325         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18326         default dictionary (Bug#7926).
18328 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
18330         * emacs-lisp/package.el (package--with-work-buffer):
18331         Recognize https URLs.
18333         * net/network-stream.el: Move from gnus/proto-stream.el.
18334         Change prefix to network-stream throughout.
18335         (open-protocol-stream): Merge into open-network-stream, leaving
18336         open-protocol-stream as an alias.  Handle nil BUFFER args.
18338         * subr.el (open-network-stream): Move to net/network-stream.el.
18340 2011-04-02  Glenn Morris  <rgm@gnu.org>
18342         * find-dired.el (find-exec-terminator): New option.
18343         (find-ls-option): Test for -ls support.
18344         (find-ls-subdir-switches): Test for -b in find-ls-option.
18345         (find-dired, find-grep-dired): Doc fixes.
18346         (find-dired): Use find-exec-terminator.
18348         * find-dired.el (find-ls-option, find-ls-subdir-switches)
18349         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18350         (find-name-arg): Remove purecopy.
18352         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18353         (grep-compute-defaults): Check for `-exec COMMAND +' support.
18354         Set grep-find-use-xargs, grep-find-command, and grep-find-template
18355         accordingly.  Don't add the null-device if not needed.
18357         * files.el (save-some-buffers): Doc fix.
18359 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
18361         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18363 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
18365         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18366         Use `dolist' rather than `mapcar'.
18368 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18370         Add lexical binding.
18372         * subr.el (apply-partially): Use new closures rather than CL.
18373         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18374         (dolist, dotimes): Use slightly different expansion for lexical code.
18375         (functionp): Move to C.
18376         (letrec): New macro.
18377         (with-wrapper-hook): Use it and apply-partially instead of CL.
18378         (eval-after-load): Preserve lexical-binding.
18379         (save-window-excursion, with-output-to-temp-buffer): Turn them
18380         into macros.
18382         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18384         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18385         than the arglist.
18386         (help-add-fundoc-usage): Don't add `Not documented'.
18387         (help-function-arglist): Handle closures, subroutines, and new
18388         byte-code-functions.
18389         (help-make-usage): Remove leading underscores.
18390         (describe-function-1): Handle closures.
18391         (describe-variable): Use special-variable-p for completion.
18393         * files.el (lexical-binding): Declare safe.
18395         * emacs-lisp/pcase.el: Don't use destructuring-bind.
18396         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
18397         (pcase): Add `let' pattern.
18398         Change memoization so it actually works.
18399         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18400         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18401         <let>: New case.
18403         * emacs-lisp/macroexp.el: Use lexical binding.
18404         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
18405         Don't convert ' to #' without checking that it's indeed quoting
18406         a lambda.
18408         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18409         Use eval-sexp-add-defvars.
18410         (eval-sexp-add-defvars): New fun.
18412         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18414         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18415         Don't autoload.
18416         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18417         than the internal `byte-compile-lambda'.
18418         (defmethod): Don't hide code under quotes.
18419         (eieio-defmethod): New `code' argument.
18421         * emacs-lisp/eieio-comp.el: Remove.
18423         * emacs-lisp/edebug.el (edebug-eval-defun)
18424         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18425         (edebug-toggle): Avoid `eval'.
18427         * emacs-lisp/disass.el (disassemble-internal): Handle new
18428         `closure' objects.
18429         (disassemble-1): Handle new byte codes.
18431         * emacs-lisp/cl.el (pushnew): Silence warning.
18433         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18434         (cl-byte-compile-throw): Remove.
18435         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18437         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18438         closures.
18440         * emacs-lisp/cconv.el: New file.
18442         * emacs-lisp/bytecomp.el: Use lexical binding instead of
18443         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
18444         (byte-compile-initial-macro-environment):
18445         Handle declare-function here.
18446         (byte-compile--lexical-environment): New var.
18447         (byte-stack-ref, byte-stack-set, byte-discardN)
18448         (byte-discardN-preserve-tos): New lap codes.
18449         (byte-interactive-p): Don't use any more.
18450         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18451         New macros.
18452         (byte-compile-lapcode): Use them and handle new lap codes.
18453         (byte-compile-obsolete): Remove.
18454         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18455         (byte-compile-arglist-warn): Check late def of inlinable funs.
18456         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18457         since they should have been expanded by now.
18458         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18459         (byte-compile-from-buffer): Remove unused second arg.
18460         (byte-compile-preprocess): New function.
18461         (byte-compile-toplevel-file-form): New function to distinguish
18462         file-form calls from outside from file-form calls from hunk-handlers.
18463         (byte-compile-file-form): Simplify.
18464         (byte-compile-file-form-defsubst): Remove.
18465         (byte-compile-file-form-defmumble): Simplify now that
18466         byte-compile-lambda always returns a byte-code-function.
18467         (byte-compile): Preprocess.
18468         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18469         Remove, not used any more.
18470         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18471         (byte-compile-make-args-desc): New funs.
18472         (byte-compile-lambda): Handle lexical functions.  Always return
18473         a byte-code-function.
18474         (byte-compile-reserved-constants): New var, to make up room for
18475         closed-over variables.
18476         (byte-compile-constants-vector): Obey it.
18477         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18478         (byte-compile-macroexpand-declare-function): New function.
18479         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18480         byte-code-functions.
18481         (byte-compile-form): Check obsolescence here.
18482         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18483         (byte-compile-variable-ref): Remove.
18484         (byte-compile-dynamic-variable-op): New fun.
18485         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18486         (byte-compile-variable-set): New funs.
18487         (byte-compile-discard): Add 2 args.
18488         (byte-compile-stack-ref, byte-compile-stack-set)
18489         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18490         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18491         macroexpand-all instead.
18492         (byte-compile-quote-form): Remove.
18493         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18494         (byte-compile-bind, byte-compile-unbind): New funs.
18495         (byte-compile-let): Handle let* and lexical binding.
18496         (byte-compile-let*): Remove.
18497         (byte-compile-catch, byte-compile-unwind-protect)
18498         (byte-compile-track-mouse, byte-compile-condition-case):
18499         Handle a new :fun-body form, used for lexical scoping.
18500         (byte-compile-save-window-excursion)
18501         (byte-compile-with-output-to-temp-buffer): Remove.
18502         (byte-compile-defun): Simplify.
18503         (byte-compile-stack-adjustment): New fun.
18504         (byte-compile-out): Use it.
18505         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18507         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18508         handler any more.
18510         * emacs-lisp/byte-opt.el: Use lexical binding.
18511         (byte-inline-lapcode): Remove (to bytecomp).
18512         (byte-compile-inline-expand): Pay attention to inlining to/from
18513         lexically bound code.
18514         (byte-compile-unfold-lambda): Don't handle byte-code-functions
18515         any more.
18516         (byte-optimize-form-code-walker): Don't handle save-window-excursion
18517         any more and don't call compiler-macros.
18518         (byte-compile-splice-in-already-compiled-code): Remove.
18519         (byte-code): Don't inline any more.
18520         (disassemble-offset): Receive `bytes' as argument rather than via
18521         dynamic scoping.
18522         (byte-compile-tag-number): Declare before first use.
18523         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18524         `return' even if make-spliceable.
18525         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18526         obsolete interactive-p.
18527         (byte-optimize-lapcode): Optimize new lap-codes.
18528         Don't trip up on new form of `byte-constant' lap code.
18530         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18532         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18534         * custom.el (custom-initialize-default, custom-declare-variable):
18535         Use `defvar'.
18537         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18538         New variables.
18539         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18540         (COMPILE_FIRST): Add macroexp and cconv.
18541         * makefile.w32-in: Mirror changes in Makefile.in.
18543         * vc/cvs-status.el:
18544         * vc/diff-mode.el:
18545         * vc/log-edit.el:
18546         * vc/log-view.el:
18547         * vc/smerge-mode.el:
18548         * textmodes/bibtex-style.el:
18549         * textmodes/css-mode.el:
18550         * startup.el:
18551         * uniquify.el:
18552         * minibuffer.el:
18553         * newcomment.el:
18554         * reveal.el:
18555         * server.el:
18556         * mpc.el:
18557         * emacs-lisp/smie.el:
18558         * doc-view.el:
18559         * dired.el:
18560         * abbrev.el: Use lexical binding.
18562 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
18564         * info.el (info-display-manual): New function.
18566 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18568         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18570 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
18572         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18573         an entry for that server in rcirc-authinfo.  (Bug#8385)
18575 2011-03-31  Glenn Morris  <rgm@gnu.org>
18577         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18579         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18581 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
18583         * progmodes/python.el (python-default-interpreter)
18584         (python-python-command-args, python-jython-command-args)
18585         (python-which-shell, python-which-args, python-which-bufname)
18586         (python-file-queue, python-comint-output-filter-function)
18587         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18588         variables and functions.
18590 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18592         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18593         (completion-in-region-mode): New minor mode.
18594         (completion-in-region): Use it.
18595         (completion-in-region--data, completion-in-region-mode-map): New vars.
18596         (completion-in-region--postch): New function.
18597         (completion--capf-misbehave-funs, completion--capf-safe-funs):
18598         New vars.
18599         (completion--capf-wrapper): New function.
18600         (completion-at-point): Use it to track well-behavedness of
18601         hook functions.
18602         (completion-help-at-point): New command.
18604 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
18606         * vc/add-log.el (add-change-log-entry): Don't use whitespace
18607         syntax class to search for whitespace on a single line
18608         (Message-ID: <4D938140.4030905@redhat.com>).
18610 2011-03-30  Leo Liu  <sdl.web@gmail.com>
18612         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18613         New commands.
18614         (edit-abbrevs-map): Bind them here.
18615         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
18617 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
18619         * allout.el (allout-hide-by-annotation, allout-flag-region):
18620         Reduce possibility of overlay leakage by making them volatile.
18622         * allout-widgets.el (allout-widgets-tally): Define as nil so the
18623         hash is not shared between buffers.  Mode initialization is
18624         responsible for giving it a useful starting value.
18625         (allout-item-span): Reduce possibility of overlay leakage by
18626         making them volatile.
18627         (allout-widgets-count-buttons-in-region): Add diagnostic function
18628         for tracking down button overlay leaks.
18630 2011-03-29  Leo Liu  <sdl.web@gmail.com>
18632         * ido.el (ido-read-internal): Use the default history var
18633         minibuffer-history if no HISTORY is specified.
18635 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
18637         * net/imap.el (imap-shell-open, imap-process-connection-type):
18638         Use imap-process-connection-type for 'shell' streams as well as
18639         Kerberos, SSL, other subprocesses.
18641 2011-03-28  Leo Liu  <sdl.web@gmail.com>
18643         * abbrev.el (abbrev-table-empty-p): New function.
18644         (prepare-abbrev-list-buffer): Place empty abbrev tables after
18645         nonempty ones.  (Bug#5937)
18647 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
18649         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18651 2011-03-27  Leo Liu  <sdl.web@gmail.com>
18653         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18654         for foreground and background colors.
18655         (ansi-color-make-color-map): Adapt.
18657 2011-03-25  Leo Liu  <sdl.web@gmail.com>
18659         * midnight.el (midnight-time-float): Remove.  Note it calculates
18660         the microsecond component incorrectly and seconds-to-time does the
18661         same job.
18662         Remove redundant (require 'timer).
18664         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18665         (ido-completions): Remove unused arguments.  (Bug#8329)
18667 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18669         * minibuffer.el (completion--flush-all-sorted-completions):
18670         Remove itself from hook.
18671         (completion-at-point): Let the functions perform the completion
18672         immediately and return nil or t.
18673         * comint.el (comint-dynamic-complete-functions): Now identical to
18674         completion-at-point-functions.
18675         (comint-dynamic-list-input-ring): Remove unused var `index'.
18676         (comint--match-partial-filename, comint--unquote&expand-filename):
18677         New funs, split from comint-match-partial-filename.
18678         (comint-dynamic-complete): Use completion-at-point.
18679         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18681 2011-03-24  Drew Adams  <drew.adams@oracle.com>
18683         * thingatpt.el: Support `defun'.
18685 2011-03-23  Leo Liu  <sdl.web@gmail.com>
18687         * abbrevlist.el: Move to obsolete/abbrevlist.el.
18689         * help-mode.el (help-mode-finish): Tweak regexp.
18691 2011-03-23  Glenn Morris  <rgm@gnu.org>
18693         * eshell/esh-opt.el (eshell-eval-using-options):
18694         Do not bind unused local variable `eshell-option-stub'.
18696         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18698 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18700         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18701         keymap variable in `with-no-warnings' to avoid a warning when the
18702         keymap has been already `defconst'ed.
18704 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18706         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18707         encode all chars in abbrevs; otherwise use emacs-mule or
18708         utf-8-emacs.  (Bug#8308)
18710 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18712         * simple.el (backward-delete-char-untabify):
18713         Avoid warning about using `delete-backward-char'.
18715         * image.el (image-type-file-name-regexps): Make it variable.
18716         `imagemagick-register-types' modifies it, and the user may want
18717         to add new extensions for known image types.
18718         (imagemagick-register-types): Throw error if not using ImageMagick.
18720 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18722         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18723         located before rcirc-prompt-end-marker.
18724         (rcirc-complete): Error if point is not after rcirc prompt.
18725         Handle the case when table is nil.
18726         (rcirc-user-authenticated): Define to fix compiler warning.
18728 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
18730         * custom.el (custom--inhibit-theme-enable): Make it affect only
18731         custom-theme-set-variables and custom-theme-set-faces.
18732         (provide-theme): Ignore custom--inhibit-theme-enable.
18733         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18734         (custom-enabling-themes): Delete variable.
18735         (enable-theme): Accept only loaded themes as arguments.
18736         Ignore the special custom-enabled-themes variable.
18737         (custom-enabled-themes): Forbid themes from setting this.
18738         Eliminate use of custom-enabling-themes.
18739         (custom-push-theme): Quote "changed" custom var entry.
18741 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18743         * ido.el (ido-read-internal): Add ido-selected to history instead
18744         of user input.
18746 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18748         * subr.el (deferred-action-list, deferred-action-function):
18749         Mark obsolete.
18751 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18753         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18754         change on 2011-02-13 (bug#8309).
18756         * minibuffer.el (read-file-name-function): Change default value.
18757         (read-file-name--defaults): Rename from read-file-name-defaults.
18758         (read-file-name-default): Rename from read-file-name.
18759         (read-file-name): Call read-file-name-function.
18761 2011-03-21  Glenn Morris  <rgm@gnu.org>
18763         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18764         Doc fixes.
18766 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
18768         * cus-theme.el: Add missing provide statement.
18769         (customize-create-theme): Extract theme value correctly.
18770         (custom-theme-visit-theme): Autoload.
18771         (customize-create-theme): Prompt before inserting default faces.
18773 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
18775         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18776         units and musical notes.
18778 2011-03-20  Leo Liu  <sdl.web@gmail.com>
18780         * ido.el (ido-read-internal): Use completing-read-default.
18781         (ido-completing-read): Fix compatibility with completing-read.
18783 2011-03-20  Christian Ohler  <ohler@gnu.org>
18785         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18786         (ert-delete-all-tests): Use `called-interactively-p' rather than
18787         `interactive-p'.
18788         (ert--make-xrefs-region): Respect END.
18790 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18792         * dired-aux.el (dired-create-directory): Signal an error if the
18793         directory already exists (Bug#8246).
18795         * facemenu.el (list-colors-display): Call list-faces-display
18796         inside with-help-window.
18797         (list-colors-print): Use display property to align the final
18798         column, instead of checking window-width.
18800 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
18802         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18803         windows-nt systems.
18804         (emerge-protect-metachars): Quote correctly for ms-dos and
18805         windows-nt systems.
18807 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
18809         * info.el (info-initialize): Replace all uses of `:' with
18810         path-separator for compatibility with non-Unix systems.
18811         Cache quoting of path-separator.  (Bug#8258)
18813 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
18815         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18816         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18817         (mouse-avoidance-mode): Fix typos in docstrings.
18819 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18821         * startup.el (package-subdirectory-regexp): Move from package.el.
18822         Omit \\` and \\', and let callers add them.
18824         * emacs-lisp/package.el (package-strip-version)
18825         (package-load-all-descriptors): Add \\` and \\' to
18826         package-subdirectory-regexp before using it.
18827         (package-untar-buffer): New arg DIR; ensure that file untars only
18828         into this expected directory.  Remove superfluous delete-region.
18829         (package-unpack): Caller changed.
18830         (package-tar-file-info): Use package-subdirectory-regexp.
18832 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18834         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18835         diff-mode-shared-map (bug#8284).
18836         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18838 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18840         * calendar/time-date.el (format-seconds): Use assoc instead of
18841         assoc-string, since assoc-string doesn't exist in XEmacs.
18843 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
18845         * custom.el (custom-known-themes): Reflow docstring.
18846         (custom-theme-load-path): Fix typo in docstring.
18847         (load-theme): Fix typo in error message.
18848         (custom-available-themes, custom-variable-theme-value):
18849         Use `let', not `let*'.
18851 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
18853         * calc/README: Mention inclusion of musical notes.
18855         * calc/calc-units.el (calc-lu-quant): Rename from
18856         `calc-logunits-quantity'.
18857         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18858         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18859         (calc-db): Rename from `calc-dblevel'.
18860         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18861         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18862         (calc-np): Rename from `calc-nplevel'.
18863         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18864         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18865         (calc-lu-plus): Rename from `calc-logunits-add'.
18866         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18867         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18868         (calc-lu-minus): Rename from `calc-logunits-sub'.
18869         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18870         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18871         (calc-lu-times): Rename from `calc-logunits-mul'.
18872         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18873         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18874         (calc-lu-divide): Rename from `calc-logunits-div'.
18875         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18876         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18878         * calc/calc-ext.el (calc-init-extensions): Update the names of the
18879         functions being autoloaded.
18881         * calc/calc.el (calc-lu-power-reference): Rename from
18882         `calc-logunits-power-reference'.
18883         (calc-lu-field-reference): Rename from
18884         `calc-logunits-field-reference'.
18886         * calc/calc-help.el (calc-l-prefix-help):
18887         Mention musical note functions.
18889 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18891         * minibuffer.el (completion-all-sorted-completions):
18892         Use :completion-cycle-penalty text property if present.
18894 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
18896         * allout.el (allout-yank-processing): Adjust for new rebulleting
18897         regime so bullet being yanked is used without prompting the user
18898         for a choice.
18900 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18902         * startup.el (command-line): Warn the user that _emacs is deprecated.
18904 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18906         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18907         (delphi-verbose, delphi-comment-face, delphi-string-face)
18908         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18909         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18910         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18911         (delphi-new-comment-line, delphi-font-lock-defaults)
18912         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18913         Fix typos in docstrings.
18915 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
18917         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18918         Invert the roles of character and string values for INSTEAD, so a
18919         string is used for the more common case of a defaulting prompt.
18921 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * progmodes/ruby-mode.el (ruby-backward-sexp):
18924         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18925         * play/gamegrid.el (gamegrid-make-face):
18926         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18927         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18928         * notifications.el (notifications-notify):
18929         * net/xesam.el (xesam-search-engines):
18930         * net/quickurl.el (quickurl-list-insert):
18931         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18933 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
18935         * startup.el (command-line): Update package subdirectory regexp.
18937 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18939         * allout.el (allout-abbreviate-flattened-numbering)
18940         (allout-mode-deactivate-hook): Fix up obsolescence "date".
18942         * subr.el (read-char-choice): Only show the cursor after the prompt,
18943         not after the answer.
18945 2011-03-15  Kevin Ryde  <user42@zip.com.au>
18947         * help-fns.el (variable-at-point): Skip leading quotes, if any
18948         (bug#8253).
18950 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18952         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18953         warning message.
18955 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
18957         * shell.el (shell): When called interactively, offer to change the
18958         shell file name on remote hosts.
18960 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
18962         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18963         integration for LDAP parameters.  The host, base, user or binddn,
18964         and secret tokens can be specified in a netrc file, for instance.
18965         This is optional because an `auth-source' parameter must be
18966         specified in the search attributes.
18968 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
18970         * help.el (describe-mode): Link to the mode's definition (bug#8185).
18972 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18974         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18975         into declaration.  Remove redundant and harmful binding.
18977 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
18979         * files.el (file-ownership-preserved-p): Pass `integer' as an
18980         explicit 2nd argument to `file-attributes'.  If the file's owner
18981         is the Administrators group on Windows, and the current user is
18982         Administrator, consider that a match.
18984         * server.el (server-ensure-safe-dir): Consider server directory
18985         safe on MS-Windows if its owner is the Administrators group while
18986         the current Emacs user is Administrator.  Use `=' to compare
18987         numerical UIDs, since they could be integers or floats.
18989 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
18991         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18993 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
18995         Sync with Tramp 2.2.1.
18997         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18999         * net/trampver.el: Update release number.
19001 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19003         * progmodes/compile.el (compilation--previous-directory): Fix up
19004         various nil/dead-marker mismatches (bug#8014).
19005         (compilation-directory-properties, compilation-error-properties):
19006         Don't call it at a position past the one we're about to change.
19008         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
19009         Disable obsolescence warnings in the file that declares it.
19011 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
19013         * allout-widgets.el (allout-widgets-tally):
19014         Initialize allout-widgets-tally as a hash table rather than nil to
19015         prevent mode-line redisplay warnings.  Also, clarify the module
19016         description and fix a comment typo.
19018 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
19020         * help-fns.el (describe-variable): Don't complete keywords.
19021         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
19023 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
19025         * emacs-lisp/package.el (package-version-join): Impose a standard
19026         string representation for pre/alpha/beta version lists.
19027         (package-unpack-single): Standardize the directory name by passing
19028         it through package-version-join.
19029         (package-strip-rcs-id): Accept any version string that does not
19030         signal an error in version-to-list.
19032 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
19034         * simple.el (delete-trailing-whitespace): Return nil for the
19035         benefit of `write-file-functions'.
19037 2011-03-10  Glenn Morris  <rgm@gnu.org>
19039         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
19041         * vc/vc-git.el (vc-git-program): New option.
19042         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
19043         (vc-git--call): Use it.
19045         * eshell/esh-util.el (eshell-condition-case): Doc fix.
19047         * cus-edit.el (Custom-newline): If no button at point, look
19048         for a subgroup button at start-of-line.  (Bug#2298)
19050         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
19052 2011-03-10  Julien Danjou  <julien@danjou.info>
19054         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
19055         `cursor-type' is nil.
19057 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
19059         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
19061 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
19063         * allout.el: Change so yank of distinctive-bullet items
19064         preserves the existing header prefix, rebulleting it if necessary,
19065         rather than replacing it.  This is necessary for proper operation
19066         of cooperative addons like allout-widgets.
19067         (allout-make-topic-prefix, allout-rebullet-heading):
19068         Change SOLICIT arg to INSTEAD, and interpret additionally a string
19069         value as alternate bullet to be used, instead of prompting the user
19070         for a bullet character.
19072 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
19074         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19075         Do not use `tramp-file-name-port', because this returns also
19076         `tramp-default-port'.
19078 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
19080         * net/rcirc.el (rcirc-handler-001): Remove useless
19081         with-rcirc-process-buffer.
19082         (rcirc-check-auth-status): Swap arguments to string-match.
19084 2011-03-09  Glenn Morris  <rgm@gnu.org>
19086         * shell.el (shell-mode):
19087         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
19089         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
19090         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
19092 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19094         * emacs-lisp/package.el (package-refresh-contents)
19095         (package-menu-execute): Use condition-case-no-debug.
19097 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
19099         * simple.el (shell-command-to-string): Use `process-file'.
19101         * emacs-lisp/package.el (package-tar-file-info): Handle also
19102         remote files.
19104         * emacs-lisp/package-x.el (package-upload-buffer-internal):
19105         Use `equal' for upload base check.
19107 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
19109         * textmodes/texinfo.el (texinfo-environments):
19110         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
19112 2011-03-08  Glenn Morris  <rgm@gnu.org>
19114         * cus-start.el (cursor-in-non-selected-windows):
19115         Fix :set quoting oddness.  (Bug#8192)
19117         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
19118         in some setf expressions.  (Bug#2159)
19120 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
19122         * custom.el (custom-available-themes): Return themes in
19123         alphabetical order.
19125 See ChangeLog.15 for earlier changes.
19127 ;; Local Variables:
19128 ;; coding: utf-8
19129 ;; End:
19131   Copyright (C) 2011-2012  Free Software Foundation, Inc.
19133   This file is part of GNU Emacs.
19135   GNU Emacs is free software: you can redistribute it and/or modify
19136   it under the terms of the GNU General Public License as published by
19137   the Free Software Foundation, either version 3 of the License, or
19138   (at your option) any later version.
19140   GNU Emacs is distributed in the hope that it will be useful,
19141   but WITHOUT ANY WARRANTY; without even the implied warranty of
19142   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19143   GNU General Public License for more details.
19145   You should have received a copy of the GNU General Public License
19146   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.